iceweasel backport and elf-hack

Mike Hommey mh at glandium.org
Tue Aug 16 10:30:12 UTC 2011


On Tue, Aug 16, 2011 at 11:44:51AM +0200, Ronny Standtke wrote:
> Hi all
> 
> I am trying to backport iceweasel 6.0 to squeeze but this fails with the
> following error message:
> 
> ------------
> <snip>
> g++ -fno-rtti -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth
> -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align
> -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type
> -Wno-long-long -g -O2 -fno-strict-aliasing -fshort-wchar -pthread -pipe
> -fexceptions  -DNDEBUG -DTRIMMED -g -Os -freorder-blocks
> -fomit-frame-pointer -fPIC -shared -Wl,-z,defs -Wl,-h,test.so -o test.so
> test.o
> ===
> === If you get failures below, please file a bug describing the error
> === and your environment (compiler and linker versions), and use
> === --disable-elf-hack until this is fixed.
> ===
> /mnt/sda8/backports/squeeze/src/iceweasel-6.0/build-iceweasel/build/unix/elfhack/elfhack -b test.so
> test.so: terminate called after throwing an instance of
> 'std::runtime_error'
>   what():  Error opening file
> make[7]: *** [test.so] Aborted
> make[7]: *** Deleting file `test.so'
> make[7]: Leaving directory
> `/mnt/sda8/backports/squeeze/src/iceweasel-6.0/build-iceweasel/build/unix/elfhack'
> make[6]: *** [libs] Error 2
> make[6]: Leaving directory
> `/mnt/sda8/backports/squeeze/src/iceweasel-6.0/build-iceweasel/build/unix'
> make[5]: *** [libs] Error 2
> make[5]: Leaving directory
> `/mnt/sda8/backports/squeeze/src/iceweasel-6.0/build-iceweasel/build'
> make[4]: *** [libs_tier_base] Error 2
> make[4]: Leaving directory
> `/mnt/sda8/backports/squeeze/src/iceweasel-6.0/build-iceweasel'
> make[3]: *** [tier_base] Error 2
> make[3]: Leaving directory
> `/mnt/sda8/backports/squeeze/src/iceweasel-6.0/build-iceweasel'
> make[2]: *** [default] Error 2
> make[2]: Leaving directory
> `/mnt/sda8/backports/squeeze/src/iceweasel-6.0/build-iceweasel'
> dh_auto_build: make -j1 returned exit code 2
> make[1]: *** [stamps/build-iceweasel] Error 2
> make[1]: Leaving directory
> `/mnt/sda8/backports/squeeze/src/iceweasel-6.0'
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> debuild: fatal error at line 1325:
> dpkg-buildpackage -rfakeroot -D -us -uc -nc failed
> ------------
> 
> Is this a known problem? Is there an easy workaround/fix?

The probably cause is building a i386 package on an amd64 host, without
changing personality (man linux32).

Other than that, the package build just fine on squeeze, and you can get
official backports on http://mozilla.debian.net/

Mike



More information about the pkg-mozilla-maintainers mailing list