Nightly Builds ???

More
07 Aug 2015 04:51 - 07 Aug 2015 04:52 #36636 by vlad_vy
Nightly Builds ??? was created by vlad_vy
Where are new Nightly Builds? Trunk has recent changes but latest night build is 2015-07-26.
Last edit: 07 Aug 2015 04:52 by vlad_vy.

Please Log in or Create an account to join the conversation.

More
08 Aug 2015 01:54 #36669 by mwm
Replied by mwm on topic Nightly Builds ???
Possibly the build broke. Again. PM PB if you need him to look at it. If you do, you might ask him if we could get public build logs as well, and maybe builds for the things that worked if not everything died.

Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.

My remotely piloted vehicle ("drone") is a yacht.

Please Log in or Create an account to join the conversation.

More
20 Aug 2015 05:36 #37057 by vlad_vy
Replied by vlad_vy on topic Nightly Builds ???
Can it be the reason?

+ Copying template files for devo12
+ Checking string list length for devo12
filesystem/devo12
ERROR: Not enough stringspace allocated:
filesystem/devo12/language/lang.afr: 359 lines, 3793 bytes, 118 bytes/line
filesystem/devo12/language/lang.cn : 253 lines, 2976 bytes, 111 bytes/line
filesystem/devo12/language/lang.dut: 156 lines, 1656 bytes, 146 bytes/line
filesystem/devo12/language/lang.es : 227 lines, 2745 bytes, 167 bytes/line
filesystem/devo12/language/lang.fr : 256 lines, 3023 bytes, 141 bytes/line
filesystem/devo12/language/lang.ger: 334 lines, 4052 bytes, 155 bytes/line
filesystem/devo12/language/lang.hu : 356 lines, 4326 bytes, 184 bytes/line
filesystem/devo12/language/lang.it : 279 lines, 3378 bytes, 154 bytes/line
filesystem/devo12/language/lang.ro : 356 lines, 3937 bytes, 167 bytes/line
filesystem/devo12/language/lang.ru : 359 lines, 7271 bytes, 267 bytes/line
filesystem/devo12/language/lang.tw : 252 lines, 3077 bytes, 109 bytes/line
devo12 : 413 lines
filesystem/devo12 : 413 lines, 7271 bytes, 267 bytes/line
Total : 413 lines, 7271 bytes, 267 bytes/line
Allocated : 410 lines, 8192 bytes, 300 bytes/line
make: *** [filesystem/devo12/models/model30.ini] Error 1

Please Log in or Create an account to join the conversation.

More
20 Aug 2015 09:09 #37059 by mwm
Replied by mwm on topic Nightly Builds ???
Yup, that would do it all right.

Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.

My remotely piloted vehicle ("drone") is a yacht.

Please Log in or Create an account to join the conversation.

More
01 Sep 2015 08:40 #37352 by Thomas.Heiss
Replied by Thomas.Heiss on topic Nightly Builds ???
Can't you temporarily disable the Devo 12 build if that may be the only transmitter target which hungs?

Please Log in or Create an account to join the conversation.

More
01 Sep 2015 08:57 #37355 by vlad_vy
Replied by vlad_vy on topic Nightly Builds ???
For nightly builds? No I can't, I think it can to do PB only. For local builds I can build Devo12 firmware but with error. Probably nightly builds can't be build with any error.

Please Log in or Create an account to join the conversation.

More
03 Sep 2015 11:41 #37397 by vlad_vy
Replied by vlad_vy on topic Nightly Builds ???
To fix this error:

/config/language.c

#define MAX_STRINGS 420

Please Log in or Create an account to join the conversation.

More
08 Sep 2015 15:25 #37572 by vlad_vy
Replied by vlad_vy on topic Nightly Builds ???
Why we need translatable name of protocol? It's do nothing and increase number of strings for translating. For example:

_tr_noop("V9x9"), _tr_noop("V6x6"), _tr_noop("V912")

_tr_noop("WLToys"), _tr_noop("Feilun")

_tr_noop("YD717"), _tr_noop("Sky Wlkr"), _tr_noop("XinXun"), _tr_noop("Ni Hui"), _tr_noop("SymaX4")

_tr_noop("SymaX5C")

Please Log in or Create an account to join the conversation.

More
28 Sep 2015 16:49 #38168 by hexfet
Replied by hexfet on topic Nightly Builds ???
Agreed. Pull request submitted that cleans up the examples you gave. Since this might fix the nightly build I plan to merge the request once it gets an approval (or sooner ;)

I wasn't sure of the intended use for _tr_noop so I dug into the code. This macro does not actually consume any of the translatable string space, so the compile error isn't strictly necessary. It seems to me this macro is intended to flag strings that should be translated, but cannot be due to the current implementation. Strings are translated by a function call so you can't use _tr() in some places, like initializing the <proto>_opts array. Anyone with knowledge of the code history who can confirm this?

It also appears that "make language" needs to be run separately to generate the common language files. Running "make language" on the current repo generates quite a few new strings in the common language files, but I'm not certain enough about this to make a pull request. Anyone know the procedure to be used?

Please Log in or Create an account to join the conversation.

More
28 Sep 2015 17:09 #38169 by vlad_vy
Replied by vlad_vy on topic Nightly Builds ???
It's not a compile error. I think the error generated by Makefile
...
@echo " + Checking string list length for $(FILESYSTEM)"
../utils/check_string_size.pl -target $(FILESYSTEM) -objdir $(ODIR) -quiet
...

Please Log in or Create an account to join the conversation.

More
28 Sep 2015 18:02 - 28 Sep 2015 19:14 #38175 by hexfet
Replied by hexfet on topic Nightly Builds ???
Wasn't clear - I meant an error that stops the build. Digging into check_string_size.pl and extract_strings.pl reveals that _tr_noop strings are counted against the max strings limit.

For the code to work the strings array only needs to be big enough to hold the strings that have translations and we're well below that limit. For example, running check_string_size on the devo12 shows the max strings in any language file is 359. The error means that if translations were added for all the translatable strings (both _tr and _tr_noop), then the max strings limit would be exceeded.
Last edit: 28 Sep 2015 19:14 by hexfet.

Please Log in or Create an account to join the conversation.

More
30 Sep 2015 09:54 - 30 Sep 2015 11:17 #38270 by vlad_vy
Replied by vlad_vy on topic Nightly Builds ???
Last edit: 30 Sep 2015 11:17 by vlad_vy.

Please Log in or Create an account to join the conversation.

More
30 Sep 2015 12:01 #38275 by hexfet
Replied by hexfet on topic Nightly Builds ???
Excellent. Good find, vlad_vy.

Just for completeness I'll add to my previous comment. The runtime code also checks that MAX_STRINGS is not exceeded when loading the translation files. So even if the build-time check was bypassed and files created with more strings than would fit, at runtime deviation will still work correctly.

Please Log in or Create an account to join the conversation.

More
30 Sep 2015 19:11 - 08 Oct 2015 19:25 #38285 by wasp09
Replied by wasp09 on topic Nightly Builds ???
Hi Hexfet,

Glad to see a new nightly build and some changes coming through hg pull today.

It does not look like your combo patch is in but we also have a new timestamp on the test patch. Your patch works well on my new Eachine H8 mini. I hope that you would be merging it into main soon.

Regards,
++++++++++++++++++++++++++++++++++++++++++++++
We have bayang after I did hg pull. Great. Thanks.
Last edit: 08 Oct 2015 19:25 by wasp09.

Please Log in or Create an account to join the conversation.

More
18 Nov 2015 01:42 #40173 by hexfet
Replied by hexfet on topic Nightly Builds ???
Looks like the nightly build didn't happen after the merge on Nov 10. Everything builds fine for me with gcc 4.9.3. Anyone else having issues?

Please Log in or Create an account to join the conversation.

More
18 Nov 2015 04:48 #40177 by mwm
Replied by mwm on topic Nightly Builds ???
What target are you building? If I try doing a "make release", it fails on the f12e file system. Just build fs_devof12e fails the same way - there's no filesyste/devof12e.

BTW, we have a bug report in Mantis - and multiple reports on rcgroups - that DSMX in the latest nightly is no longer binding. Anyone got time to work on it? I expect to get the UMX B17 in the next day or so, and will find out the hard way - but probably not until this weekend at the earliest.

Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.

My remotely piloted vehicle ("drone") is a yacht.

Please Log in or Create an account to join the conversation.

More
18 Nov 2015 06:49 #40178 by Gyrfalcon
Replied by Gyrfalcon on topic Nightly Builds ???
I found that in my build environment I had to edit ‘chdir’ to be ‘cd’ in the following files.

src\target\common\devo\devofs\tests\t\DevoFS.t
line 93 @imgfiles = split(/\n/, `cd $imgdir; find . -type f`);

src\target\common\devo\devofs\buildfs.pl
line 28 my (@files) = map {s/^..//; $_} split(/\n/, `cd $root; find . -type f`);

Also to build the firmware zip files that match the nightly builds I use the following make command.

make zips INCLUDE_FS=1

This will include a file system for the devof12e based on the devof7 file system and give the zip file needed to install the firmware on the devof12e using PB’s java installer ‘DeviationUpload-0.8.0.jar ‘

Please Log in or Create an account to join the conversation.

More
28 Mar 2016 04:52 #45324 by vlad_vy
Replied by vlad_vy on topic Nightly Builds ???
Once again, where are nightly builds?

Please Log in or Create an account to join the conversation.

More
28 Mar 2016 08:55 #45328 by Thomas.Heiss
Replied by Thomas.Heiss on topic Nightly Builds ???
There is a red "!" at the build column on bitbucket.org repository: "
deviation 1.0.6 AppVeyor build failed
ci.appveyor.com/project/mwm/deviation/build/1.0.6
Specify a project or solution file. The directory does not contain a project or solution file.

Pardon, I have not yet followed / checked Mikes newer build / restructuring threads...

Please Log in or Create an account to join the conversation.

More
28 Mar 2016 15:14 #45339 by mwm
Replied by mwm on topic Nightly Builds ???
This would be PB's work, not mine. He's re-organizing the nightly build based on some of my suggestions. Hopefully, he'll see this and let us know when it's fixed.

Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.

My remotely piloted vehicle ("drone") is a yacht.

Please Log in or Create an account to join the conversation.

Time to create page: 0.062 seconds
Powered by Kunena Forum