Bug 199404 - www/firefox fails to build
Summary: www/firefox fails to build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-gecko (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-12 21:08 UTC by pvoigt
Modified: 2015-05-13 09:03 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (gecko)


Attachments
www/firefox build log (782.93 KB, text/plain)
2015-04-12 21:08 UTC, pvoigt
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description pvoigt 2015-04-12 21:08:03 UTC
Created attachment 155526 [details]
www/firefox build log

Port www/firefox-37.0.1,1 fails to build.

My system:
# uname -a
FreeBSD spock 10.1-RELEASE-p9 FreeBSD 10.1-RELEASE-p9 #0: Tue Apr  7 01:09:46 UTC 2015     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

My www/firefox configuration:
# make showconfig
===> The following configuration options are available for firefox-37.0.1,1:
     CANBERRA=off: Sound theme alerts
     DBUS=on: D-Bus IPC system support
     DEBUG=off: Build with debugging support
     DTRACE=off: Build with DTrace probes
     GCONF=off: GConf configuration backend support
     GIO=on: Use GIO for file I/O
     GNOMEUI=off: libgnomeui support module
     GSTREAMER=on: Multimedia support via GStreamer
     LIBPROXY=off: Proxy support via libproxy
     LOGGING=off: Additional log messages
     OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
     PGO=off: Use Profile-Guided Optimization
     PROFILE=off: Build with profiling support
     TEST=off: Build and/or run tests
====> Options available for the multi AUDIO: you have to choose at least one of them
     ALSA=on: ALSA audio architecture support
     PULSEAUDIO=off: PulseAudio sound server support
====> Options available for the single TOOLKIT: you have to select exactly one of them
     GTK2=on: GTK+ 2 GUI toolkit support
     GTK3=off: GTK+ 3 GUI toolkit support
===> Use 'make config' to modify these settings

Please find full build log attached.

Please see also PR 198090, I have mentioned this PR there for the first time because the error appears to be the same, but PR has status "Closed FIXED".
Comment 1 Jan Beich freebsd_committer freebsd_triage 2015-05-09 20:51:52 UTC
Comment on attachment 155526 [details]
www/firefox build log

> gmake[6]: Entering directory '/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-portbld-freebsd10.1/layout/build'
...
> /usr/ports/www/firefox/work/mozilla-release/config/rules.mk:930: recipe for target 'Unified_cpp_layout_build0.o' failed

Did you forget to log stderr? There's no error message as for why the recipe failed, usually a compiler error.
Comment 2 pvoigt 2015-05-09 23:12:30 UTC
I have redirected stdout to file using tee, because I expected stderr on stdout.

Nevertheless, I rebuilt www/firefox - meanwhile at version 37.0.2 - with
# portmaster -D -G www/firefox >/tmp/firefox_build.log 2>&1

and found no additional information. I am not sure if this is what you mean.
Comment 3 pvoigt 2015-05-13 09:03:13 UTC
Well, yesterday I discovered how to use pkg to check shared library depenndencies and I found a stale dependency of print/cups-filters on port openssl. After a rebuild of prints/cups-filters against base openssl I started a rebuild of www/firefox - success!

One hint about my above conclusion: I noticed that I could not even cleanly install www/firefox as a binary package because pkg insisted on installing port openssl. But my system does not have port openssl installed at all. Instead I recently rebuilt all ports against base openssl.

I change the status of this PR correspondingly.

Peter