Config
Log for #openttdcoop.devzone on 26th September 2010:
Times are UTC Toggle Colours
09:21:09  *** Webster has joined #openttdcoop.devzone
09:22:33  <planetmaker> fanioz: I *think* that the CC= variable is not properly set. call make by explicitly giving it the path to your CC
09:23:47  <fanioz> I did override on Makefile.local, where $(CC) = gcc, isn't that enough ?
09:24:27  <Alberth> line should be at least          CC=gcc         then
09:24:53  <planetmaker> the line should read as alberth says
09:25:21  <fanioz> CC             = gcc on my Makefile.local
09:25:31  <planetmaker> hm
09:33:06  <Alberth> do you have the source somewhere available?
09:37:14  <fanioz> yes, but not yet pushed
09:38:03  <fanioz> http://hg.openttdcoop.org/indonesiantowns
09:39:26  <planetmaker> I guess the question was "give me the exact source and I can possibly look at it" :-P
09:40:05  <Alberth> or rather, 'and try it here', to check whether it is msys specific.
09:40:39  <fanioz> :D
09:42:27  *** andythenorth_ has quit IRC
09:44:47  <Brot6> Indonesian Town Names - Revision 14:063e16596848: [NML] defines the principal settings for this p... (fanioz) @ http://dev.openttdcoop.org/projects/indonesiantowns/repository/revisions/063e16596848
09:44:47  <Brot6> Indonesian Town Names - Revision 15:f07420b0a65f: [NML] -Changed: Splitted script for generating ... (fanioz) @ http://dev.openttdcoop.org/projects/indonesiantowns/repository/revisions/f07420b0a65f
09:44:47  <Brot6> Indonesian Town Names - Revision 16:5841fdc4a814: [NML] Added REPO_DATE tag to make file (fanioz) @ http://dev.openttdcoop.org/projects/indonesiantowns/repository/revisions/5841fdc4a814
09:45:35  <fanioz> still 5 revision again :D
09:46:08  <Brot6> Indonesian Town Names - Revision 17:556ac8382616: [NML] -Specify build inclusion (fanioz) @ http://dev.openttdcoop.org/projects/indonesiantowns/repository/revisions/556ac8382616
09:46:08  <Brot6> Indonesian Town Names - Revision 18:6507ed4f09d0: [NML] -Added main NML source (fanioz) @ http://dev.openttdcoop.org/projects/indonesiantowns/repository/revisions/6507ed4f09d0
09:46:08  <Brot6> Indonesian Town Names - Revision 19:b1f1a1f0c842: [NML] -Fixed: no more name with 0 probability t... (fanioz) @ http://dev.openttdcoop.org/projects/indonesiantowns/repository/revisions/b1f1a1f0c842
09:46:10  <Brot6> Indonesian Town Names - Revision 20:5e3860e73691: [NML] -Updated ignored file list (fanioz) @ http://dev.openttdcoop.org/projects/indonesiantowns/repository/revisions/5e3860e73691
09:46:14  <Brot6> Indonesian Town Names - Revision 21:11bb41ca48a5: [NML] -Use the repo revision as the version (fanioz) @ http://dev.openttdcoop.org/projects/indonesiantowns/repository/revisions/11bb41ca48a5
09:46:38  <fanioz> all pushed
09:48:20  <Alberth> what to run for building?
09:48:27  *** frosch123 has joined #openttdcoop.devzone
09:48:36  <Ammler> fanioz: what is the sence to habe a part with same probability? You could use 1 then :-)
09:48:54  <Ammler> sense"
09:50:05  <planetmaker> Ammler: easier modification when one wants to add lower probability than default?
09:51:25  <planetmaker> hm. I cannot set a default value for boolean action14 settings in NML?
09:52:08  *** fanioz_ has joined #openttdcoop.devzone
09:52:44  <Alberth> your *.sh scripts have no executable properties :(
09:53:21  <fanioz_> it was FAT hasn't that properties :D
09:53:31  <fanioz_> ~FAT32
09:53:50  <Brot6> NewGRF Meta Language - Feature Request #1550 (New): allow setting default value also for boolean ... (planetmaker) @ http://dev.openttdcoop.org/issues/1550
09:54:24  <Alberth> I have no warnings from the C compiler, only from Make:
09:54:24  <Alberth> <stdin>:2:30: error: sprites/towns.pnml: No such file or directory
09:55:08  <planetmaker> :-D
09:55:13  <fanioz_> It was generated later
09:56:15  *** fanioz has quit IRC
09:56:31  *** fanioz_ has quit IRC
09:57:21  *** fanioz has joined #openttdcoop.devzone
09:57:34  * planetmaker wonders about the taste of milk delivered in a tank wagon which was just refitted from chemicals to milk... :-P
09:58:11  <Alberth> not worse than milk from the tank that just got cleaned
10:00:09  <Ammler> what does refit in openttd mean? Replacing the tank or just put another sticker on it?
10:00:49  <Alberth> nah, we just change a few bits on the Vehicle :)
10:01:12  <Ammler> without cleaning?
10:01:53  <Alberth> only Windows get cleaned (or rather, we make them this->SetDirty(), and the program cleans them)
10:03:13  <Alberth> the most scary part of course is that everything is just an illusion, everything in OpenTTD is incredible flat
10:06:06  <Ammler> ha, I knew it!
10:21:35  <Alberth> hmm, perhaps you should ask the author of the tanks, did he draw a new one from scratch, or re-use a previous one?
10:27:42  *** KenjiE20 has joined #openttdcoop.devzone
10:30:09  *** frosch has joined #openttdcoop.devzone
10:30:30  *** frosch123 has quit IRC
10:56:55  <Brot6> Indonesian Town Names - Revision 22:b54097b4746c: -Merge [NML] to default branch (fanioz) @ http://dev.openttdcoop.org/projects/indonesiantowns/repository/revisions/b54097b4746c
10:56:56  <Brot6> Indonesian Town Names - Revision 23:beebddb93f52: -Closed: #1515. (fanioz) @ http://dev.openttdcoop.org/projects/indonesiantowns/repository/revisions/beebddb93f52
11:04:37  *** fanioz has quit IRC
11:04:49  *** fanioz has joined #openttdcoop.devzone
11:05:48  * fanioz grumble about the internet connection
11:05:59  *** thgergo has joined #openttdcoop.devzone
11:09:03  <Brot6> Indonesian Town Names - Support #1515: convert to nml :-) (fanioz) @ http://dev.openttdcoop.org/issues/1515#change-4071
11:10:41  <Ammler> fanioz: you like open tickets?
11:11:16  <fanioz> I'm sory that is not clear
11:11:26  <frosch> indonesian flag does not work very well on white background :)
11:12:28  <fanioz> Ammler: I did just close it
11:12:34  <fanioz> frosch: true, perhaps if I could add a border (black)
11:15:46  <Brot6> Indonesian Town Names - Support #1515 (Closed): convert to nml :-) (fanioz) @ http://dev.openttdcoop.org/issues/1515#change-4072
11:16:08  <fanioz> well, I think it could be closed automatically with "Close" keyword :D
11:22:09  <Ammler> it does
11:22:41  <Ammler> but "closed" means it is already
11:22:52  <Alberth> http://dev.openttdcoop.org/projects/home/wiki/Writing_Commit_Messages   at the bottom
11:23:09  <Ammler> try not using past form in commit messages
11:24:02  <Ammler> usually the commit will do what you describe and not has already done :-)
11:27:14  <fanioz> okay :D
11:30:14  <Ammler> you don't enable #1524 on purpose?
11:30:15  <Brot6> Ammler: #1524 is http://dev.openttdcoop.org/issues/show/1524 "Indonesian Town Names - Support #1524: DevZone has automatic push, nightly or release (tag) building - #openttdcoop Development Zone"
11:33:15  <fanioz> <repo>/build/pushes/type <----- nml only. is it enough?
11:33:51  <fanioz> <repo>/build/type <----- nml
11:34:10  <fanioz> <repo>/build/pushes/enable
11:35:18  <fanioz> I mean the content of 'type'. why does swisstown has 'bash.nml ' ?
11:40:24  <Ammler> because of make.sh
11:40:48  <Ammler> but you are using the regular makefile, so type nml is fine
11:41:08  <Ammler> there is no build branch pushes
11:41:34  <fanioz> :D I'll use nightly instead
11:43:16  <Ammler> there is also no nightly
11:43:59  <Ammler> there is releases, nightlies, push and testing
11:44:11  <Ammler> I would recommend releases and nightlies
11:44:20  <Ammler> as you already have a tag
11:45:01  <Ammler> echo "nml" > .devzone/build/type
11:45:13  <Ammler> touch .devzone/build/releases/enable
11:45:23  <Ammler> touch .devzone/build/nightlies/enable
11:51:09  <Brot6> Indonesian Town Names - Revision 24:e6e890d3a4fa: - Feature #1524: Implement nightly build (fanioz) @ http://dev.openttdcoop.org/projects/indonesiantowns/repository/revisions/e6e890d3a4fa
11:51:23  <Brot6> OpenGFX - Revision 547:394bb67c10fd: Feature #380: make target bundle_ttdp (Ammler) @ http://dev.openttdcoop.org/projects/opengfx/repository/revisions/394bb67c10fd
11:51:42  <Ammler> hmm
11:53:40  <fanioz> :D
12:01:10  <Brot6> Indonesian Town Names - Bug #1551 (New): Invisible white part of flag (fanioz) @ http://dev.openttdcoop.org/issues/1551
12:10:26  <Ammler> why do you tag it but then don't make a bundle from it?
12:10:28  <Brot6> Indonesian Town Names - Bug #1551 (Closed): Invisible white part of flag (fanioz) @ http://dev.openttdcoop.org/issues/1551
12:10:28  <Brot6> Indonesian Town Names - Revision 25:ffe2786b017c: -Fix #1551: Invisible white part of flag (fanioz) @ http://dev.openttdcoop.org/projects/indonesiantowns/repository/revisions/ffe2786b017c
12:10:28  <Brot6> Indonesian Town Names - Bug #1551 (Closed): Invisible white part of flag (fanioz) @ http://dev.openttdcoop.org/issues/1551#change-4074
12:11:11  <Brot6> OpenGFX - Feature #380: TTDPatch support (Ammler) @ http://dev.openttdcoop.org/issues/380#change-4073
12:12:14  *** michi_cc has quit IRC
12:12:16  *** michi_cc has joined #openttdcoop.devzone
12:16:00  <fanioz> okay, I'm reading :D
13:05:56  <Brot6> Indonesian Town Names - Revision 26:3d0125b096b1: - Feature #1524: Implement Releases build (fanioz) @ http://dev.openttdcoop.org/projects/indonesiantowns/repository/revisions/3d0125b096b1
13:06:57  <Brot6> Indonesian Town Names - Bug #1552 (New): DevZone compile failed (compiler) @ http://dev.openttdcoop.org/issues/1552
13:10:35  <Ammler> [13:44] <Ammler> echo "nml" > .devzone/build/type <-- I see no "bash" here :-P
13:11:46  <Ammler> you are using a regular makefile framework, not the bash crap I do ;-)
13:12:14  <fanioz> but there is bash script run inside it
13:12:38  <fanioz> generate_town.sh
13:12:41  <Ammler> but that is run from the Makefile?
13:12:55  <fanioz> yup
13:13:03  <fanioz> count_town.sh
13:13:21  <Ammler> so why do you need to run make.sh, which you don't have?
13:14:16  <Ammler> again, the Makefile does run those bash scripts?
13:14:31  <Ammler> or you need to run those before you run make?
13:14:32  <fanioz> yes :-(
13:15:02  <fanioz> just call make and the script run
13:15:17  <Ammler> then configure it that way
13:15:28  <Ammler> type "nml" :-)
13:16:16  <Ammler> bash.nml needs a make.sh in the repo
13:16:33  <fanioz> whats? :D
13:17:05  <Ammler> just do that: [13:44] <Ammler> echo "nml" > .devzone/build/type
13:17:36  <fanioz> okay
13:17:45  <fanioz> how many hour until the next build?
13:17:59  <Ammler> 0
13:18:17  <fanioz> :-(
13:18:24  <Ammler> releases builds are done immediately
13:19:46  <Ammler> but you should fix that also for nightly, it uses the same
13:22:48  <Brot6> Backup indonesiantowns: warning: repository is unrelated
13:24:51  <Ammler> fanioz: and don't forget to push :-)
13:26:34  <Brot6> Indonesian Town Names - Revision 27:47f4c56e086e: -Fix : No bash, it was just a make file (Ammler) (fanioz) @ http://dev.openttdcoop.org/projects/indonesiantowns/repository/revisions/47f4c56e086e
13:26:42  *** fani0z has joined #openttdcoop.devzone
13:27:48  <Ammler> I force a rebuild of the 1.0 tag
13:28:37  <fani0z> or do I need to re-tag
13:28:49  <Brot6> indonesiantowns: compile of 1.0 still failed (#1552) - http://bundles.openttdcoop.org/indonesiantowns/releases/ERROR/1.0
13:29:08  <Ammler> re-tag would also trigger a rebuild
13:29:18  <Ammler> but first fix the next bugs :-)
13:29:32  <Brot6> SMITS - Revision 2:e5f691176f7a: Fix: add execute permission to file scripts/mdep.py (Froix) @ http://dev.openttdcoop.org/projects/smts/repository/revisions/e5f691176f7a
13:29:52  *** fanioz has quit IRC
13:31:04  <Ammler> <stdin>:2:30: error: sprites/towns.pnml: No such file or directory
13:31:18  <Ammler> doesn't look like make is making those files
13:31:55  <Ammler> so maybe my guess wasn't that wrong and you need to run those scripts before make?
13:32:14  <fani0z> it does make in my machine
13:32:23  <fani0z> but I'm looking at log
13:32:30  <fani0z> ...
13:32:35  <Rubidium> missing files in the repository?
13:32:50  <Ammler> fani0z: easy test is to simply clone your repo locally and try to build there
13:33:05  <Ammler> hg clone repo repo-test
13:34:35  *** Alberth is now known as Guest899
13:34:52  *** Alberth has joined #openttdcoop.devzone
13:36:03  <fani0z> is the 'executable' bit has effect?
13:36:35  *** Guest899 has quit IRC
13:36:36  <fani0z> those .sh are made on FAT32
13:37:30  <fani0z> sprites/towns.pnml should be generated by generate_town.sh
13:39:45  <fani0z> indonesian-towns.pnml depend on towns.pnml
13:46:35  <Alberth> you need the 'x' bit on a unix machine otherwise you get
13:46:35  <Alberth> make: execvp: ./generate_town.sh: Permission denied
13:47:13  <Alberth> alternatively, you could do  "sh generate_town.sh" instead of "./generate_town.sh"
13:47:44  *** Froix has joined #openttdcoop.devzone
13:49:25  <Brot6> SMITS - Revision 3:91152db533db: Add: tunnel gimp file. (Froix) @ http://dev.openttdcoop.org/projects/smts/repository/revisions/91152db533db
13:49:39  *** andythenorth_ has joined #openttdcoop.devzone
14:00:37  <fani0z> [CPP] indonesian-towns.nml
14:00:37  <fani0z> cc1.exe: warning:  is shorter than expected
14:01:01  * fani0z would like to reboot into linux machine
14:01:33  *** fani0z has quit IRC
14:12:47  <Ammler> fanioz, wanna a remove KDE session?
14:12:55  <Ammler> remote*
14:13:10  <Ammler> you just need nxclient
14:30:03  *** fanioz has joined #openttdcoop.devzone
16:45:13  <Brot6> firs: update from r1411 to r1423 done (1 errors) - http://bundles.openttdcoop.org/firs/nightlies/r1423
16:45:56  <Brot6> Indonesian Town Names - Bug #1553 (New): DevZone compile failed (compiler) @ http://dev.openttdcoop.org/issues/1553
16:47:45  <Brot6> OpenGFX+ Trains - Bug #1554 (New): DevZone compile failed (compiler) @ http://dev.openttdcoop.org/issues/1554
16:49:18  <Brot6> opengfx: update from r546 to r547 done - http://bundles.openttdcoop.org/opengfx/nightlies/r547
16:49:53  <Brot6> smts: update from r1 to r3 done - http://bundles.openttdcoop.org/smts/nightlies/r3
16:50:11  <Brot6> FIRS Industry Replacement Set - Revision 1424:dc5c075a3f88: Feature: Building Materials wasn't su... (andythenorth) @ http://dev.openttdcoop.org/projects/firs/repository/revisions/dc5c075a3f88
16:50:13  <Brot6> Following repos didn't need a nightlies update: 2cctrainset (r615), 32bpp-extra (r39), ai-admiralai (r68), airportsplus (r63), basecosts (r22), belarusiantowns (r7), comic-houses (r71), fish (r394), frenchtowns (r4), grfcodec (r771), heqs (r376), metrotrackset (r56), newgrf_makefile (r219), nforenum (r506), nml (r797), nutracks (r117), ogfx-trees (r30), ogfxplus (r42), openmsx (r97), opensfx (r97), snowlinemod (r45), swedishrails (r182),
16:50:13  <Brot6> swisstowns (r19), transrapidtrackset (r15), ttdviewer (r25), ttrs (r23), worldairlinersset (r664)
16:51:09  <Brot6> indonesiantowns: compile of r27 still failed (#1553) - http://bundles.openttdcoop.org/indonesiantowns/nightlies/ERROR/r27
16:51:49  <Brot6> ogfx-trains: compile of r29 still failed (#1554) - http://bundles.openttdcoop.org/ogfx-trains/nightlies/ERROR/r29
16:52:23  <Brot6> OpenGFX+ Trains - Bug #1554: DevZone compile failed (Ammler) @ http://dev.openttdcoop.org/issues/1554#change-4075
17:03:25  *** Froix has quit IRC
18:02:16  <Brot6> 32bpp-ez-patches: update from r20845 to r20852 done (2 errors) - http://bundles.openttdcoop.org/32bpp-ez-patches/testing/r20852
18:05:00  <Rubidium> HAHAH :)
18:07:05  <frosch> fetched too early :p
18:07:45  <Rubidium> yeah
18:10:56  <Brot6> clientpatches: update from r20845 to r20853 done - http://bundles.openttdcoop.org/clientpatches/testing/r20853
18:19:43  <Brot6> NewGRF Meta Language - Feature Request #1555 (New): Explicitly define callbacks (Hirundo) @ http://dev.openttdcoop.org/issues/1555
18:20:18  <Brot6> serverpatches: update from h445f3020 to he188ad2a done (2 errors) - http://bundles.openttdcoop.org/serverpatches/testing/he188ad2a
18:32:39  <Ammler> [20:06] <frosch> fetched too early  <-- Rubidium fixed too late
18:34:31  <Brot6> NewGRF Meta Language - Feature Request #1555: Explicitly define callbacks (yexo) @ http://dev.openttdcoop.org/issues/1555#change-4076
18:36:05  <Hirundo> Yexo: w.r.t. CB implementations per cargo type, we have things like var 47 for that
18:36:40  <Hirundo> The user is of course free to *not* use this functionality
18:37:14  <Hirundo> There are very few things that cannot be done by hacking around in varaction2
18:39:09  <Brot6> NewGRF Meta Language - Feature Request #1327 (Closed): allow more than 255 names (Alberth) @ http://dev.openttdcoop.org/issues/1327#change-4077
18:45:35  *** andythenorth_ has quit IRC
20:17:59  *** frosch has quit IRC
20:21:52  <Ammler> oh, I forgot to comment on that ticket :-)
20:22:04  <Ammler> but well, might be an openttd issue itself
20:26:58  <Brot6> NewGRF Meta Language - Feature Request #1556 (New): nfo output better readable (Ammler) @ http://dev.openttdcoop.org/issues/1556
20:27:09  <Ammler> I should check the settings, so that members aren't able to make Feature Requests :-)
20:31:54  <Brot6> NewGRF Meta Language - Feature Request #1555: Explicitly define callbacks (Hirundo) @ http://dev.openttdcoop.org/issues/1555#change-4078
20:34:35  <Hirundo> Ammler: nfo-output, although uncommented, is pretty readable IMO
20:34:51  <Alberth> Ammler: that's simple, make a status, "waiting for patch from reporter" :p
20:35:20  <Hirundo> printing the nml statement for action2/actionD might help an awful lot
20:35:23  <Ammler> Hirundo: the nfo from town names isn't
20:36:45  <Alberth> hmm, I don't even remember how that is done :)
20:36:53  <Hirundo> http://dev.openttdcoop.org/projects/nml/repository/entry/regression/expected/007_townnames.nfo <- could use a newline or two, yes
20:37:29  <Ammler> wouldn't it be possible to comment the bytes?
20:37:38  <Ammler> with the names from nml
20:38:27  <Ammler> do you still use the nfo for making the grf?
20:38:43  <Hirundo> does renum/grfcodec accept /*...*/ as comment or only //..... ?
20:39:00  <Hirundo> nfo is for human reference only, basically
20:39:26  <Ammler> well, it must be quite easy to implement, it isn't worth else
20:39:50  * Rubidium doesn't dare to answer that from the top of his head
20:40:00  <Ammler> :-)
20:41:33  <Ammler> I never saw "/*" comments in nfo
20:49:38  <Brot6> OpenGFX - Revision 548:f804a76e76bf: Change: build ttdp bundle and publish to subfolder (Ammler) @ http://dev.openttdcoop.org/projects/opengfx/repository/revisions/f804a76e76bf
20:49:49  <Alberth> good night
20:50:24  <Brot6> NewGRF Meta Language - Feature #1008: verify that the program using the generated grf is new enough (Alberth) @ http://dev.openttdcoop.org/issues/1008#change-4079
20:50:44  <Hirundo> It seems that #, ; and // are comments
20:51:07  *** Alberth has left #openttdcoop.devzone
20:51:27  <Ammler> true, the gcc does add # comments
20:52:31  <Ammler> but there is no /*...*/ comments whcih you can use through newlines, I think
20:54:05  <Brot6> OpenGFX - Bug #1557 (New): DevZone compile failed (compiler) @ http://dev.openttdcoop.org/issues/1557
20:56:05  <Brot6> NewGRF Meta Language - Feature #1008: verify that the program using the generated grf is new enough (Hirundo) @ http://dev.openttdcoop.org/issues/1008#change-4080
20:56:34  <Ammler> ./scheduler.sh: line 316: [: /home/ottdc/chroots/devzone-openSUSE_11.3-x86_64-nightlies/usr/src/packages/BUILD/opengfx/opengfx-nightly-r548.zip: binary operator expected <-- what does that mean?
20:56:57  <Hirundo> It'd help if the commenting code and newline code could be independent, but that seems to be not possible
21:00:26  <Rubidium> Ammler: that it didn't encounter an unary operator before the expression and as such expects a binary operator (and expression)
21:00:58  <Ammler> id do [ -f *.zip ] and the error might be because there are >1 zips
21:05:04  *** andythenorth_ has joined #openttdcoop.devzone
21:08:44  <Brot6> opengfx: compile of r548 still failed (#1557) - http://bundles.openttdcoop.org/opengfx/nightlies/ERROR/r548
21:13:43  <Brot6> OpenGFX - Revision 549:2d1fbba3d239: Fix (rPREV): subdir ttdpatch is missing in spec, publish the... (Ammler) @ http://dev.openttdcoop.org/projects/opengfx/repository/revisions/2d1fbba3d239
21:17:39  <Brot6> opengfx: update from r547 to r549 done - http://bundles.openttdcoop.org/opengfx/nightlies/r549
21:20:20  <Ammler> hmm, with or without dot? :-)
21:31:49  <Brot6> OpenGFX - Revision 550:9857de8ccdb0: Fix (rPREV): publish source package (Ammler) @ http://dev.openttdcoop.org/projects/opengfx/repository/revisions/9857de8ccdb0
21:34:51  <Brot6> OpenGFX - Bug #1557 (Closed): DevZone compile failed (compiler) @ http://dev.openttdcoop.org/issues/1557
21:34:51  <Brot6> OpenGFX - Bug #1557 (Closed): DevZone compile failed (Ammler) @ http://dev.openttdcoop.org/issues/1557#change-4081
21:35:37  <Ammler> hmm, sorry for all the spam, forgot the silent switch ;-)
21:35:39  <Brot6> NewGRF Meta Language - Feature #1008: verify that the program using the generated grf is new enough (yexo) @ http://dev.openttdcoop.org/issues/1008#change-4082
21:36:31  <Brot6> opengfx: update from r549 to r550 done - http://bundles.openttdcoop.org/opengfx/nightlies/r550
21:37:19  <Ammler> wondering, if source also should get a subdir
21:39:54  <Brot6> NewGRF Meta Language - Feature Request #1555: Explicitly define callbacks (yexo) @ http://dev.openttdcoop.org/issues/1555#change-4083
21:47:31  <Brot6> HEQS "Heavy Equipment" Set - Bug #1558 (New): Replaced standard road vehicles (Terkhen) @ http://dev.openttdcoop.org/issues/1558
21:51:58  *** ODM has quit IRC
22:01:00  *** andythenorth_ has quit IRC
22:04:47  *** GT has joined #openttdcoop.devzone
22:28:03  *** Webster has joined #openttdcoop.devzone
22:35:40  * fanioz Wondering. It just didn't compile on Ubuntu 10.4
22:36:46  <fanioz> generate_town.sh: 7: let: not found
22:37:21  <Rubidium> what if you run it using bash, i.e bash generate_town.sh?
22:38:17  <fanioz> generate_town.sh: 7: let: not found
22:38:46  <fanioz> help let <---------- does well
22:38:49  <Rubidium> hmm, windows newlines?
22:39:00  <Rubidium> dos2unix generate_town.sh and retry
22:41:10  <Ammler> I just had to chmod +x the shell scripts and make worked
22:42:04  <Ammler> Rubidium: ubuntu doesn't use dash like debian?
22:42:40  <Rubidium> Ammler: it probably does, but when forcing it to be started with bash that should be circumvented
22:43:00  <Ammler> and not possible they symlink dash to bash?
22:43:18  <Rubidium> Ammler: no, /bin/bash *is* bash
22:43:26  <Ammler> ok :-)
22:43:43  <Ammler> I should install a debian or ubuntu too :-)
22:43:46  <Rubidium> it'd be stupid to symlink ttdpatch to openttd
22:45:08  <Rubidium> if I run it with bash it seems to work just fine
22:45:55  <Rubidium> in any case seems like bashism
22:46:03  <Ammler> I never understood why planetmaker does support non bash shells
22:46:18  <Rubidium> Ammler: because mingw is *stupid*
22:46:28  <Ammler> since he obviously can't test it
22:46:41  <Ammler> Rubidium: mingw has bash here
22:46:44  <Rubidium> mingw does not have a /bin/bash, only a /bin/sh
22:47:14  <Rubidium> which means that for your script to work on MinGW you need to shebang /bin/sh
22:47:23  <Ammler> hmm
22:47:45  <Ammler> don't start my win vm anymore :-)
22:47:48  <Rubidium> which implies that you don't use bashisms
22:50:15  <Ammler> fanioz: you should in any case add "bash ?= /bin/bash" or however that should be defined and then run your script with $(bash) script.sh
22:50:52  <Ammler> then it should also not matter if +x or not
22:51:01  <fanioz> would try
22:51:15  <Ammler> and you don't get troubles with your win env
22:51:23  <Rubidium> http://rbijker.net/openttd/foes.diff <- might do the trick
22:51:40  <Ammler> but I assume, hg does save +x also on a fat32 system
22:51:41  <Rubidium> makes the let errors go away, *but* I've not checked the actual result
22:52:36  <Rubidium> https://wiki.ubuntu.com/DashAsBinSh has some stuff about common bashisms
22:52:39  <Webster> Title: DashAsBinSh - Ubuntu Wiki (at wiki.ubuntu.com)
22:54:14  <Ammler> I wonder, how dash can be that good, there is still no dash for suse :-)
22:55:02  <Rubidium> there's no OpenTTD either, right?
22:55:13  <Ammler> oh, there is now, since 11.3
22:55:35  <Ammler> suse has openttd since 0.4..
22:55:46  <Ammler> at least since I know
22:56:14  <Ammler> (not on the dvd anymore)
22:56:48  <Rubidium> maybe (d)ash is too new for suse
22:57:17  <Rubidium> ash is from 1997 and was renamed to dash in 2002
22:58:29  <Ammler> ash is in
22:58:47  <Rubidium> guess they didn't like the rebranding or something
23:00:12  <Rubidium> in any case... time for some zs
23:00:51  <Ammler> shshsh
23:01:11  *** GT has quit IRC
23:02:11  <Ammler> fanioz: if Rubidium's patch solves your issue, my recommendation is still valid, just that you don't need to use bash, use the xisiting $(shell)
23:02:25  <Ammler> exisiting*
23:11:00  *** thgergo has quit IRC
23:19:04  <fanioz> almost near correct :D
23:19:32  <fanioz> line 14::generate_town.sh           awk -F'\t' '{print "    text(\"""\", ""),"}' cities/$i.txt`
23:19:55  <fanioz> only print ----> text(, 40)
23:22:19  <fanioz> however replace #!/bin/sh with #!/bin/bash does the job well :D
23:29:00  <fanioz> make shell=/bin/bash <----- done
23:29:02  *** thgergo has joined #openttdcoop.devzone
23:29:28  <Brot6> Indonesian Town Names - Revision 28:9a2eb743d90a: Fix: Bash-Dash-Sh compatibility issue (Rubidium) @ http://dev.openttdcoop.org/projects/indonesiantowns/repository/revisions/9a2eb743d90a
23:29:28  <Brot6> Indonesian Town Names - Revision 29:5ebeab693bd5: Fix: Shell scripts need to be executable (fanioz) @ http://dev.openttdcoop.org/projects/indonesiantowns/repository/revisions/5ebeab693bd5
23:33:38  <Ammler> hmm, you you didn't add $(shell) to scripts, did you?
23:34:17  <Ammler> here: http://dev.openttdcoop.org/projects/indonesiantowns/repository/entry/scripts/Makefile.in
23:35:17  <fanioz> I did
23:35:27  <fanioz> not yet pushed :D
23:35:33  <Ammler> ah ok :-)
23:35:45  <Ammler> wondered how make shell=bash has effect :-P
23:36:06  <fanioz> :D I'm sory, I'm forget
23:40:18  <Brot6> Indonesian Town Names - Revision 30:9751ea2e040d: Fix: Use the $(shell) variable to call script, r28 (fanioz) @ http://dev.openttdcoop.org/projects/indonesiantowns/repository/revisions/9751ea2e040d

Powered by YARRSTE version: svn-trunk