avidemux version 1:2.5.4-0ubuntu6 failed to build on i386
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Avidemux |
New
|
Undecided
|
Unassigned | ||
Gentoo Linux |
Fix Released
|
Medium
|
|||
avidemux (Ubuntu) |
Fix Released
|
High
|
Alessio Treglia |
Bug Description
avidemux version 1:2.5.4-0ubuntu6 failed to build on i386
Link to failed build: https:/
Direct link to the build log: https:/
This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 7098 lines into the build log:
[ 83%] Building CXX object avidemux/
/build/
/build/
/build/
/build/
/build/
/build/
make[3]: *** [avidemux/
make[3]: Leaving directory `/build/
make[2]: *** [avidemux/
make[2]: Leaving directory `/build/
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
*******
Build finished at 20110419-0221
FAILED [dpkg-buildpackage died]
Purging chroot-
Related branches
Changed in avidemux (Ubuntu): | |
importance: | Undecided → High |
Changed in gentoo: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
I tried to compile media-video/ avidemux- 2.5.4-r2, but the compile phase always fails. I have been able to patch the problem successfully. GCC 4.6 is stricter than previous versions and avidemux code triggers some spots where some particular code semantics is not allowed by the standard.
Reproducible: Always
Steps to Reproduce:
1. emerge -1 gcc:4.6
2. use it as default compiler
3. emerge -1 avidemux
Actual Results:
Avidemux fails to compile.
Expected Results:
Avidemux should compile fine.
I'm on ~amd64 but I guess the compile errors should show up on any architecture when using GCC 4.6. The errors arise because GCC 4.6 is stricter than previous versions about code semantics. I tried with and without graphite flags (whole world was recompiled), and all of the available versions in portage. I have tried also the SVN ebuild from multimedia overlay but it still fails in the same spots.
The three attached patches resolve the problems and allow avidemux to compile fine. I've tested the avidemux GUI interface which is the affected part and it works ok.
It should not introduce errors with previous GCC versions since the patch is cosmetic only (I've been unable to test with GCC<4.6).
I guess this should also be filed upstream.
Thanks.