Firefox upgrade fails

Dimitry Andric dim at FreeBSD.org
Fri Feb 22 10:50:13 UTC 2013


On 2013-02-21 12:44, Andrea Venturoli wrote:
>> # uname -a
>> FreeBSD xxxxxx.xxxxx 9.0-RELEASE-p5 FreeBSD 9.0-RELEASE-p5 #2: Sat Dec  1 14:43:22 CET 2012     root at xxxxxx.xxxxx:/usr/obj/usr/src/sys/XXXXXX  i386
>
>   > portupgrade -R firefox
>   > ...
>> /usr/local/local/storage/alamartmp/usr/ports/www/firefox/work/mozilla-release/obj-i386-portbld-fla-release/config/pythonpath.py -I../../config /usr/local/local/storage/alamartmp/usr/ports/www/mozalloc.so --uselist --  clang++ -Qunused-arguments -isystem/usr/local/include  -Qunused-argumetor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wno-c++0x-ech=athlon-mp -fno-strict-aliasing -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sectfomit-frame-pointer -fPIC -shared -Wl,-z,defs -Wl,-h,libmozalloc.so -o libmozalloc.so  mozalloc.GIN -Wl,-z,noexecstack  -fprofile-generate -Wl,-rpath-link,/usr/local/local/storage/alamartmp/usocal/local/storage/alamartmp/usr/ports/www/firefox/work/fake/lib
>> /usr/bin/ld: /usr/bin/../lib/libprofile_rt.a: No such file: No such file or directory
>> clang++: error: linker command failed with exit code 1 (use -v to see invocation)
>> gmake[5]: *** [libmozalloc.so] Error 1
>   > ...

The commands in your log seem to be strangely corrupted, maybe something
went wrong with saving the log?

In any case, this looks like Firefox is attempting to use profile guided
optimization (via -fprofile-generate, etc), which is currently not
supported.  Try turning it off.

-Dimitry


More information about the freebsd-ports mailing list