Bug 192414 - www/firefox-31.0,1 fails to build
Summary: www/firefox-31.0,1 fails to build
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gecko (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-06 00:04 UTC by marka
Modified: 2015-08-01 09:22 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description marka 2014-08-06 00:04:33 UTC
When building firefox it fails here:

../../../content/media/Unified_cpp_content_media1.o: In function `mozilla::AudioQueueMemoryFunctor::operator()(void*)':
Unified_cpp_content_media1.cpp:(.text._ZN7mozilla23AudioQueueMemoryFunctorclEPv[_ZN7mozilla23AudioQueueMemoryFunctorclEPv]+0x82): undefined reference to `mozilla::AudioQueueMemoryFunctor::MallocSizeOf(void const*)'
/usr/local/bin/ld: ../../../content/media/Unified_cpp_content_media1.o: relocation R_386_GOTOFF against undefined symbol `_ZN7mozilla23AudioQueueMemoryFunctor12MallocSizeOfEPKv' can not be used when making a shared object
/usr/local/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
gmake[3]: *** [libxul.so] Error 1
gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-i386-portbld-freebsd8.4/toolkit/library/build'
gmake[2]: *** [toolkit/library/build/libs] Error 2
gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-i386-portbld-freebsd8.4'
gmake[1]: *** [libs] Error 2
gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/obj-i386-portbld-freebsd8.4'
gmake: *** [default] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop in /usr/ports/www/firefox.
*** Error code 1

Stop in /usr/ports/www/firefox.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20140806-55878-143ovxi env UPGRADE_TOOL=portupgrade UPGRADE_PORT=firefox-30.0_2,1 UPGRADE_PORT_VER=30.0_2,1 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! www/firefox (firefox-30.0_2,1)	(linker error)

How-To-Repeat:
Attempt to build firefox.
Comment 1 John Marino freebsd_committer freebsd_triage 2014-08-06 08:51:19 UTC
over to maintainer group...
Comment 2 Jan Beich freebsd_committer freebsd_triage 2014-08-06 13:39:45 UTC
Are you on -RELEASE or -STABLE? Can you show the list of installed packages and either full build log or just selected options and CFLAGS? www/firefox builds fine on 8.4-RELEASE i386 within clean environment. Try doing so yourself to debug the environment in case I still can't reproduce.

  $ uname -r
  $ cd /usr/ports/www/firefox
  $ make showconfig
  $ make -V CFLAGS
  $ pkg info -q || pkg_info -aE

  $ cd ports-mgmt/poudriere; make install
  $ poudriere jail -cj 84i386 -a i386 -v 8.4-RELEASE
  $ poudriere bulk -j 84i386 www/firefox

https://qat.redports.org/~bapt@FreeBSD.org/20140804091200-39434-391723/firefox-31.0,1.log
Comment 3 Jan Beich freebsd_committer freebsd_triage 2015-08-01 09:22:00 UTC
8.x reached EOL. Not a supported configuration anymore.