qutecom version 2.2.1+dfsg1-3 FTBFS on armhf in precise

Bug #935400 reported by Andreas Moog
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qutecom (Ubuntu)
Fix Released
High
Unassigned
Precise
Fix Released
High
Unassigned

Bug Description

This is a semi-automatic report based on the latest archive rebuild results [1].
Apologies if it reaches you in error.

Excerpt from the buildlog:

/build/buildd/qutecom-2.2.1+dfsg1/wifo/phapi/amrwb/dec_util.c:323:8: warning: no previous prototype for 'D_UTIL_inverse_sqrt' [-Wmissing-prototypes]
/build/buildd/qutecom-2.2.1+dfsg1/wifo/phapi/amrwb/dec_util.c:417:6: warning: no previous prototype for 'D_UTIL_log2' [-Wmissing-prototypes]
/build/buildd/qutecom-2.2.1+dfsg1/wifo/phapi/amrwb/dec_util.c:440:6: warning: no previous prototype for 'D_UTIL_l_extract' [-Wmissing-prototypes]
/build/buildd/qutecom-2.2.1+dfsg1/wifo/phapi/amrwb/dec_util.c:466:8: warning: no previous prototype for 'D_UTIL_mpy_32_16' [-Wmissing-prototypes]
/build/buildd/qutecom-2.2.1+dfsg1/wifo/phapi/amrwb/dec_util.c:494:8: warning: no previous prototype for 'D_UTIL_mpy_32' [-Wmissing-prototypes]
/build/buildd/qutecom-2.2.1+dfsg1/wifo/phapi/amrwb/dec_util.c:517:8: warning: no previous prototype for 'D_UTIL_saturate' [-Wmissing-prototypes]
/build/buildd/qutecom-2.2.1+dfsg1/wifo/phapi/amrwb/dec_util.c:553:6: warning: no previous prototype for 'D_UTIL_signal_up_scale' [-Wmissing-prototypes]
/build/buildd/qutecom-2.2.1+dfsg1/wifo/phapi/amrwb/dec_util.c:581:6: warning: no previous prototype for 'D_UTIL_signal_down_scale' [-Wmissing-prototypes]
/build/buildd/qutecom-2.2.1+dfsg1/wifo/phapi/amrwb/dec_util.c:787:8: warning: no previous prototype for 'D_UTIL_interpol' [-Wmissing-prototypes]
/build/buildd/qutecom-2.2.1+dfsg1/wifo/phapi/amrwb/dec_util.c:906:6: warning: no previous prototype for 'D_UTIL_hp400_12k8' [-Wmissing-prototypes]
/build/buildd/qutecom-2.2.1+dfsg1/wifo/phapi/amrwb/dec_util.c:1023:6: warning: no previous prototype for 'D_UTIL_bp_6k_7k' [-Wmissing-prototypes]
/build/buildd/qutecom-2.2.1+dfsg1/wifo/phapi/amrwb/dec_util.c:1121:6: warning: no previous prototype for 'D_UTIL_dec_synthesis' [-Wmissing-prototypes]
/build/buildd/qutecom-2.2.1+dfsg1/wifo/phapi/amrwb/dec_util.c:1360:6: warning: no previous prototype for 'D_UTIL_preemph' [-Wmissing-prototypes]
/tmp/ccC5O8L3.s: Assembler messages:
/tmp/ccC5O8L3.s:1156: Error: branch out of range
make[3]: *** [wifo/phapi/amrwb/CMakeFiles/amrwb.dir/dec_util.o] Error 1
make[3]: Leaving directory `/build/buildd/qutecom-2.2.1+dfsg1/obj-arm-linux-gnueabihf'
make[2]: *** [wifo/phapi/amrwb/CMakeFiles/amrwb.dir/all] Error 2
make[2]: Leaving directory `/build/buildd/qutecom-2.2.1+dfsg1/obj-arm-linux-gnueabihf'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/qutecom-2.2.1+dfsg1/obj-arm-linux-gnueabihf'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20120215-2030
FAILED [dpkg-buildpackage died]

The full buidlog can be found at https://launchpad.net/ubuntu/+archive/test-rebuild-20120201/+build/3168893/+files/buildlog_ubuntu-precise-armhf.qutecom_2.2.1+dfsg1-3_FAILEDTOBUILD.txt.gz.

[1] http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20120201-precise.html

Andreas Moog (ampelbein)
Changed in qutecom (Ubuntu):
importance: Undecided → High
Revision history for this message
Juan Solano (solano) wrote :

I have tried to build qutecom on my pandaboard ES, tracking the daily precise/armhf.

The assembler error is caused when compiling function D_UTIL_signal_up_scale, specifically the call to D_UTIL_saturate inside the loop.

A workaround to make it compile is to remove "-funroll-loops". Another one is to add "-marm", this compiles:

gcc -D_FORTIFY_SOURCE=2 -DDEBUG -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -Wmissing-prototypes -O2 -g -I/home/juan/qutecom-2.2.1+dfsg1/wifo/phapi/amrwb -fPIC -Wall -Wstrict-aliasing -Wextra -Wno-unused-parameter -fmessage-length=0 -funroll-loops -marm -o CMakeFiles/amrwb.dir/dec_util.o -c /home/juan/qutecom-2.2.1+dfsg1/wifo/phapi/amrwb/dec_util.c

This seems to be caused by a gcc bug: https://bugs.launchpad.net/bugs/926855.

Let me know if I can help with more tests.

Changed in qutecom (Ubuntu Precise):
status: New → Confirmed
tags: added: arm-porting-queue
Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

Built just fine on my up-to-date precise/armhf pandaboard:

dpkg-deb: budowanie pakietu "qutecom" w "../qutecom_2.2.1+dfsg1-3_armhf.deb".
dh_gencontrol -pqutecom-dbg
dpkg-gencontrol: warning: Depends field of package qutecom-dbg: unknown substitution variable ${shlibs:Depends}
# only call dh_scour for packages in main
if grep -q '^Component:[[:space:]]*main' /CurrentlyBuilding 2>/dev/null; then dh_scour -pqutecom-dbg ; fi
dh_md5sums -pqutecom-dbg
dh_builddeb -pqutecom-dbg
dpkg-deb: budowanie pakietu "qutecom-dbg" w "../qutecom-dbg_2.2.1+dfsg1-3_armhf.deb".
 dpkg-genchanges -b >../qutecom_2.2.1+dfsg1-3_armhf.changes
dpkg-genchanges: binary-only upload - not including any source code

Revision history for this message
Juan Solano (solano) wrote :

I have updated gcc to version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu2), and this fixes the problem. Now dec_util.c compiles and the package builds fine on my machine.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

it build on armhf in precise eventually.

Changed in qutecom (Ubuntu Precise):
status: Confirmed → Fix Released
Jeremy Bícha (jbicha)
Changed in qutecom (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.