Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162050 - mozilla-firefox-2.0.0.1-r1 fails to build
Summary: mozilla-firefox-2.0.0.1-r1 fails to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-14 14:39 UTC by Oskar Ellström
Modified: 2007-01-14 18:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Emerge --info (emergeinfo,3.13 KB, text/plain)
2007-01-14 14:41 UTC, Oskar Ellström
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oskar Ellström 2007-01-14 14:39:23 UTC
Trying to emerge www-client/mozilla-firefox-2.0.0.1-r1. It results in this error:

x86_64-pc-linux-gnu-g++ -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -fno-rtti -fno-handle-exceptions  -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=nocona -pipe -fPIC -Wno-return-type -w -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2 -fPIC -shared -Wl,-z,defs -Wl,-h,libxpcom_core.so -o libxpcom_core.so  pldhash.o nsCOMPtr.o nsComponentManagerUtils.o nsDebug.o nsID.o nsIInterfaceRequestorUtils.o nsINIParser.o nsMemory.o nsTraceRefcnt.o nsWeakReference.o nsGREGlue.o nsVersionComparator.o nsTHashtable.o nsTArray.o nsGenericFactory.o nsXPComInit.o nsStringAPI.o       -Wl,--whole-archive ../../dist/lib/libxpcomds_s.a ../../dist/lib/libxpcomio_s.a ../../dist/lib/libxpcomcomponents_s.a ../../dist/lib/libxpcomthreads_s.a ../../dist/lib/libxpcomproxy_s.a ../../dist/lib/libxpcombase_s.a ../../dist/lib/libxptcall.a ../../dist/lib/libxptinfo.a ../../dist/lib/libxpt.a ../../dist/lib/libxptcmd.a ../../dist/lib/libstring_s.a  -Wl,--no-whole-archive  -Wl,-R/usr/lib64/nspr -L/usr/lib64/nspr -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: nsCOMPtr.o: relocation R_X86_64_PC32 against `nsGetServiceByContractIDWithError::operator()(nsID const&, void**) const' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
gmake[3]: *** [libxpcom_core.so] Error 1
gmake[3]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0.0.1-r1/work/mozilla/xpcom/build'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0.0.1-r1/work/mozilla/xpcom'
gmake[1]: *** [tier_2] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0.0.1-r1/work/mozilla'
make: *** [default] Error 2

!!! ERROR: www-client/mozilla-firefox-2.0.0.1-r1 failed.
Call stack:
  ebuild.sh, line 1611:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4070:   Called src_compile
  mozilla-firefox-2.0.0.1-r1.ebuild, line 187:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/www-client/mozilla-firefox-2.0.0.1-r1/temp/build.log'.


Reproducible: Always
Comment 1 Oskar Ellström 2007-01-14 14:41:06 UTC
Created attachment 106937 [details]
Emerge --info

Bugreporters emerge --info
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2007-01-14 15:01:20 UTC
r1 has been removed, try with r2.
Comment 3 Oskar Ellström 2007-01-14 18:30:41 UTC
I synced an hour or so after this was reported and after that it worked. I think this bug can be closed. Have not tried r2 but r1 compiled and runs.