[opensuse-packaging] build-compare problem?
Hi all, I'm trying to get the list of unnecessary republishings in my repos down, even in the "fun" repos. One problem I was not able to solve is: seife@susi:~/buildservice/arduino/avr-libc> osc bl openSUSE_Factory x86_64|tail -25 +++ /tmp/tmp.ilF7FI2UUs 2011-09-29 12:41:38.176000001 +0000 @@ -110,9 +110,9 @@ 000006d0 00 00 00 00 00 00 00 00 44 00 dd 00 00 00 00 00 |........D.......| 000006e0 00 00 00 00 44 00 df 00 00 00 00 00 00 00 00 00 |....D...........| 000006f0 44 00 24 01 00 00 00 00 00 00 00 00 44 00 25 01 |D.$.........D.%.| -00000700 00 00 00 00 00 2f 74 6d 70 2f 63 63 56 6a 77 49 |...../tmp/ccVjwI| -00000710 79 38 2e 73 00 2f 74 6d 70 2f 63 63 56 6a 77 49 |y8.s./tmp/ccVjwI| -00000720 79 38 2e 73 00 76 6f 69 64 3a 74 31 3d 31 00 5f |y8.s.void:t1=1._| +00000700 00 00 00 00 00 2f 74 6d 70 2f 63 63 6a 46 54 74 |...../tmp/ccjFTt| +00000710 5a 43 2e 73 00 2f 74 6d 70 2f 63 63 6a 46 54 74 |ZC.s./tmp/ccjFTt| +00000720 5a 43 2e 73 00 76 6f 69 64 3a 74 31 3d 31 00 5f |ZC.s.void:t1=1._| 00000730 5f 76 65 63 74 6f 72 73 3a 46 31 00 2e 2e 2f 2e |_vectors:F1.../.| 00000740 2e 2f 2e 2e 2f 2e 2e 2f 63 72 74 31 2f 67 63 72 |./../../crt1/gcr| 00000750 74 31 2e 53 00 5f 5f 62 61 64 5f 69 6e 74 65 72 |t1.S.__bad_inter| ... saving built packages /usr/src/packages/RPMS/noarch/avr-libc-1.7.1-3.9.noarch.rpm /usr/src/packages/SRPMS/avr-libc-1.7.1-3.9.src.rpm build34 finished "build avr-libc.spec" at Thu Sep 29 12:41:38 UTC 2011. [ 269.320282] SysRq : Power Off [ 271.127880] Power down. build: extracting built packages... avr-libc-1.7.1-3.9.noarch.rpm avr-libc-1.7.1-3.9.src.rpm This is in home:seife:arduino, my private "develproject" for CT:avr, the package avr-libc is linked from CrossToolchain:avr. It looks like the problem is some temporary filename from compilation. Anything I can do about this? Or can this be whitelisted in build-compare? Best regards, seife -- Stefan Seyfried "Dispatch war rocket Ajax to bring back his body!" -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 1 October 2011 08:44, Stefan Seyfried
Hi all,
I'm trying to get the list of unnecessary republishings in my repos down, even in the "fun" repos.
One problem I was not able to solve is:
seife@susi:~/buildservice/arduino/avr-libc> osc bl openSUSE_Factory x86_64|tail -25 +++ /tmp/tmp.ilF7FI2UUs 2011-09-29 12:41:38.176000001 +0000 @@ -110,9 +110,9 @@ 000006d0 00 00 00 00 00 00 00 00 44 00 dd 00 00 00 00 00 |........D.......| 000006e0 00 00 00 00 44 00 df 00 00 00 00 00 00 00 00 00 |....D...........| 000006f0 44 00 24 01 00 00 00 00 00 00 00 00 44 00 25 01 |D.$.........D.%.| -00000700 00 00 00 00 00 2f 74 6d 70 2f 63 63 56 6a 77 49 |...../tmp/ccVjwI| -00000710 79 38 2e 73 00 2f 74 6d 70 2f 63 63 56 6a 77 49 |y8.s./tmp/ccVjwI| -00000720 79 38 2e 73 00 76 6f 69 64 3a 74 31 3d 31 00 5f |y8.s.void:t1=1._| +00000700 00 00 00 00 00 2f 74 6d 70 2f 63 63 6a 46 54 74 |...../tmp/ccjFTt| +00000710 5a 43 2e 73 00 2f 74 6d 70 2f 63 63 6a 46 54 74 |ZC.s./tmp/ccjFTt| +00000720 5a 43 2e 73 00 76 6f 69 64 3a 74 31 3d 31 00 5f |ZC.s.void:t1=1._| 00000730 5f 76 65 63 74 6f 72 73 3a 46 31 00 2e 2e 2f 2e |_vectors:F1.../.| 00000740 2e 2f 2e 2e 2f 2e 2e 2f 63 72 74 31 2f 67 63 72 |./../../crt1/gcr| 00000750 74 31 2e 53 00 5f 5f 62 61 64 5f 69 6e 74 65 72 |t1.S.__bad_inter| ... saving built packages /usr/src/packages/RPMS/noarch/avr-libc-1.7.1-3.9.noarch.rpm /usr/src/packages/SRPMS/avr-libc-1.7.1-3.9.src.rpm
build34 finished "build avr-libc.spec" at Thu Sep 29 12:41:38 UTC 2011.
[ 269.320282] SysRq : Power Off [ 271.127880] Power down. build: extracting built packages... avr-libc-1.7.1-3.9.noarch.rpm avr-libc-1.7.1-3.9.src.rpm
This is in home:seife:arduino, my private "develproject" for CT:avr, the package avr-libc is linked from CrossToolchain:avr.
It looks like the problem is some temporary filename from compilation. Anything I can do about this? Or can this be whitelisted in build-compare?
Seems to be because of debugging information. The file is assembled using gcc -Wa,-gstabs, and it is never stripped, quite normal since to start with the package is... noarch?? I don't know the details about that package, but in any case you can remove that string using avr-strip on the file. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Am Sat, 1 Oct 2011 12:59:54 +0100
schrieb Cristian Morales Vega
On 1 October 2011 08:44, Stefan Seyfried
wrote:
It looks like the problem is some temporary filename from compilation. Anything I can do about this? Or can this be whitelisted in build-compare?
Seems to be because of debugging information. The file is assembled using gcc -Wa,-gstabs, and it is never stripped, quite normal since to start with the package is... noarch??
The package is a cross-built libc for AVR microcontrollers (the target is AVR), so noarch is ok.
I don't know the details about that package, but in any case you can remove that string using avr-strip on the file.
I'm not sure if stripping is the right thing to do, as people might need the debug symbols later for debugging. A "-debuginfo" package is not really an option AFAICT as this is all static code, it is used to build static binaries for microcontrollers. I'm now doing this: # make build_compare happy: find $RPM_BUILD_ROOT/%PREFIX/avr/lib -name '*.o' -o -name '*.a' | \ xargs --no-run-if-empty sed -i "s#/tmp/cc......\.s#/tmp/temp_asm.s#g" and will see if this has bad side effect. I can't imagine any, but I'll see :-) Thanks for the hint, seife -- Stefan Seyfried "Dispatch war rocket Ajax to bring back his body!" -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
Cristian Morales Vega
-
Stefan Seyfried