Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2012 17:00:41 -0500
From:      angelv <angelvg@gmail.com>
To:        gecko@FreeBSD.org
Subject:   Firefox Port Compile Error
Message-ID:  <CA%2BwWuAyyUjZAkFZ1RH=KsLQkJRF7%2BWdLLk-Lyg9y_z6p7LzbLg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I try install Firefox from ports unsussefully

System info:
# uname -a
FreeBSD delta.alpha.telemedellin.tv 9.1-RELEASE FreeBSD 9.1-RELEASE #0
r243825: Tue Dec  4 09:23:10 UTC 2012
root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

Update ports tree:
# csup -h cvsup15.us.FreeBSD.org -g -L 2 /usr/share/examples/cvsup/ports-supfile

# cat /usr/ports/UPDATING
...
20121211:
  AFFECTS: users of graphics/ImageMagick
  AUTHOR: bdrewery@FreeBSD.org

  The ImageMagick library has been updated to version 6.8.0-7.  Please
  rebuild all ports that depend on it.

  If you use portmaster:
        portmaster -w -r ImageMagick

20121211:
  AFFECTS: users of devel/pcre
  AUTHOR: bdrewery@FreeBSD.org

  The pcre library has been updated to version 8.32.  Please
  rebuild all ports that depend on it.

  If you use portmaster:
        portmaster -w -r pcre
...

List all ports installed:
# ls /var/db/pkg  -> http://pastebin.com/L1qY6xKN

Enter to port dorectory:
# cd /usr/ports/www/firefox

Port options:
# make showconfig
===> The following configuration options are available for firefox-17.0.1,1:
     DBUS=on: D-Bus IPC system
     DEBUG=off: Install debug symbols
     GCONF=off: GConf configuration backend
     GIO=on: GIO for file I/O
     GNOMEUI=off: libgnomeui support module
     GNOMEVFS2=off: GnomeVFS2 (virtual file system)
     GSTREAMER=off: Multimedia via GStreamer
     LIBPROXY=off: Proxy support via libproxy
     LOGGING=on: Additional log messages
     OPTIMIZED_CFLAGS=off: Use extra compiler optimizations
     PGO=off: Use Profile-Guided Optimization
====> Options available for the single AUDIO: you have to select
exactly one of them
     ALSA=on: ALSA audio architecture
     OSS=off: Open Sound System
     PULSEAUDIO=off: PulseAudio sound server
====> Options available for the single TOOLKIT: you have to select
exactly one of them
     GTK2=on: GTK+ 2 GUI toolkit
     QT4=off: Qt GUI (EXPERIMENTAL, bug 521582)
===> Use 'make config' to modify these settings

Installing the port:
# make install clean

Error:
...
gmake[4]: Entering directory
`/usr/ports/www/firefox/work/mozilla-release/ipc/chromium'
gmake[4]: Nothing to be done for `tools'.
gmake[4]: Leaving directory
`/usr/ports/www/firefox/work/mozilla-release/ipc/chromium'
gmake -C glue tools
gmake[4]: Entering directory
`/usr/ports/www/firefox/work/mozilla-release/ipc/glue'
gmake[4]: Nothing to be done for `tools'.
gmake[4]: Leaving directory
`/usr/ports/www/firefox/work/mozilla-release/ipc/glue'
gmake -C ipdl tools
gmake[4]: Entering directory
`/usr/ports/www/firefox/work/mozilla-release/ipc/ipdl'
gmake[4]: Nothing to be done for `tools'.
gmake[4]: Leaving directory
`/usr/ports/www/firefox/work/mozilla-release/ipc/ipdl'
gmake -C testshell tools
gmake[4]: Entering directory
`/usr/ports/www/firefox/work/mozilla-release/ipc/testshell'
gmake[4]: Nothing to be done for `tools'.
gmake[4]: Leaving directory
`/usr/ports/www/firefox/work/mozilla-release/ipc/testshell'
gmake -C app libs
MozillaRuntimeMain.cpp
gmake[4]: Entering directory
`/usr/ports/www/firefox/work/mozilla-release/ipc/app'
c++ -o MozillaRuntimeMain.o -c -I../../dist/stl_wrappers
-I../../dist/system_wrappers -include ../../config/gcc_hidden.h
-DMOZ_GLUE_IN_PROGRAM -DEXCLUDE_SKIA_DEPENDENCIES  -DOS_POSIX=1
-DOS_FREEBSD=1 -DOS_BSD=1  -I../../toolkit/xre -I../../xpcom/base
-I../../ipc/chromium/src -I../../ipc/glue
-I../../ipc/ipdl/_ipdlheaders  -I../../ipc/app -I.
-I../../dist/include  -I/usr/local/include/nspr
-I/usr/local/include/nss -I/usr/local/include/nss/nss
-I/usr/local/include -I/usr/local/include    -fPIC
-isystem/usr/local/include  -I/usr/local/include -Wall -Wpointer-arith
-Woverloaded-virtual -Werror=return-type -Wno-ctor-dtor-privacy
-Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros
-Wcast-align -O2 -pipe -fno-strict-aliasing -fno-exceptions
-fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections
-fno-exceptions -fshort-wchar -pipe  -DNDEBUG -DTRIMMED
-fno-omit-frame-pointer   -isystem/usr/local/include
-I/usr/local/include -DMOZILLA_CLIENT -include ../../mozilla-config.h
-MD -MF .deps/MozillaRuntimeMain.o.pp
/usr/ports/www/firefox/work/mozilla-release/ipc/app/MozillaRuntimeMain.cpp
/usr/ports/www/firefox/work/mozilla-release/_virtualenv/bin/python
../../config/pythonpath.py -I../../config
../../config/expandlibs_exec.py --depend .deps/plugin-container.pp
--target plugin-container --uselist --  c++ -o plugin-container
-isystem/usr/local/include  -I/usr/local/include -Wall -Wpointer-arith
-Woverloaded-virtual -Werror=return-type -Wno-ctor-dtor-privacy
-Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros
-Wcast-align -O2 -pipe -fno-strict-aliasing -fno-exceptions
-fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections
-fno-exceptions -fshort-wchar -pipe  -DNDEBUG -DTRIMMED
-fno-omit-frame-pointer  MozillaRuntimeMain.o   -pthread
-L/usr/local/lib -Wl,-z,origin -Wl,-rpath,\$ORIGIN -Wl,-z,noexecstack
-Wl,-rpath-link,/usr/ports/www/firefox/work/mozilla-release/dist/bin
-Wl,-rpath-link,/usr/local/lib   -L../../dist/bin -L../../dist/lib
-L/usr/ports/www/firefox/work/mozilla-release/dist/bin -lxpcom
-lmozalloc -lxul  -liconv -L/usr/local/lib -lplds4 -lplc4 -lnspr4
-pthread  -Wl,--whole-archive
/usr/ports/www/firefox/work/mozilla-release/dist/lib/libmozglue.a
/usr/ports/www/firefox/work/mozilla-release/dist/lib/libmemory.a
-Wl,--no-whole-archive -rdynamic  -lkvm
/usr/bin/ld: warning: libxcb-util.so.0, needed by
/usr/local/lib/libstartup-notification-1.so.0, not found (try using
-rpath or -rpath-link)
/usr/local/lib/libstartup-notification-1.so.0: undefined reference to
`xcb_aux_get_screen'
gmake[4]: *** [plugin-container] Error 1
gmake[4]: Leaving directory
`/usr/ports/www/firefox/work/mozilla-release/ipc/app'
gmake[3]: *** [tools] Error 2
gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/ipc'
gmake[2]: *** [tools_tier_platform] Error 2
gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release'
gmake[1]: *** [tier_platform] Error 2
gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release'
gmake: *** [default] Error 2
*** [do-build] Error code 1

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

Stop in /usr/ports/www/firefox.

Try remove old options in the port:
# rm /var/db/ports/firefox/options

# make showconfig
===> The following configuration options are available for firefox-17.0.1,1:
     DBUS=on: D-Bus IPC system
     DEBUG=off: Install debug symbols
     GCONF=off: GConf configuration backend
     GIO=on: GIO for file I/O
     GNOMEUI=off: libgnomeui support module
     GNOMEVFS2=off: GnomeVFS2 (virtual file system)
     GSTREAMER=off: Multimedia via GStreamer
     LIBPROXY=off: Proxy support via libproxy
     LOGGING=on: Additional log messages
     OPTIMIZED_CFLAGS=off: Use extra compiler optimizations
     PGO=off: Use Profile-Guided Optimization
====> Options available for the single AUDIO: you have to select
exactly one of them
     ALSA=on: ALSA audio architecture
     OSS=off: Open Sound System
     PULSEAUDIO=off: PulseAudio sound server
====> Options available for the single TOOLKIT: you have to select
exactly one of them
     GTK2=on: GTK+ 2 GUI toolkit
     QT4=off: Qt GUI (EXPERIMENTAL, bug 521582)
===> Use 'make config' to modify these settings

Try again:
# make install clean

Error again:
gmake[4]: Nothing to be done for `tools'.
gmake[4]: Leaving directory
`/usr/ports/www/firefox/work/mozilla-release/ipc/testshell'
gmake -C app libs
gmake[4]: Entering directory
`/usr/ports/www/firefox/work/mozilla-release/ipc/app'
/usr/ports/www/firefox/work/mozilla-release/_virtualenv/bin/python
../../config/pythonpath.py -I../../config
../../config/expandlibs_exec.py --depend .deps/plugin-container.pp
--target plugin-container --uselist --  c++ -o plugin-container
-isystem/usr/local/include  -I/usr/local/include -Wall -Wpointer-arith
-Woverloaded-virtual -Werror=return-type -Wno-ctor-dtor-privacy
-Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros
-Wcast-align -O2 -pipe -fno-strict-aliasing -fno-exceptions
-fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections
-fno-exceptions -fshort-wchar -pipe  -DNDEBUG -DTRIMMED
-fno-omit-frame-pointer  MozillaRuntimeMain.o   -pthread
-L/usr/local/lib -Wl,-z,origin -Wl,-rpath,\$ORIGIN -Wl,-z,noexecstack
-Wl,-rpath-link,/usr/ports/www/firefox/work/mozilla-release/dist/bin
-Wl,-rpath-link,/usr/local/lib   -L../../dist/bin -L../../dist/lib
-L/usr/ports/www/firefox/work/mozilla-release/dist/bin -lxpcom
-lmozalloc -lxul  -liconv -L/usr/local/lib -lplds4 -lplc4 -lnspr4
-pthread  -Wl,--whole-archive
/usr/ports/www/firefox/work/mozilla-release/dist/lib/libmozglue.a
/usr/ports/www/firefox/work/mozilla-release/dist/lib/libmemory.a
-Wl,--no-whole-archive -rdynamic  -lkvm
/usr/bin/ld: warning: libxcb-util.so.0, needed by
/usr/local/lib/libstartup-notification-1.so.0, not found (try using
-rpath or -rpath-link)
/usr/local/lib/libstartup-notification-1.so.0: undefined reference to
`xcb_aux_get_screen'
gmake[4]: *** [plugin-container] Error 1
gmake[4]: Leaving directory
`/usr/ports/www/firefox/work/mozilla-release/ipc/app'
gmake[3]: *** [tools] Error 2
gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release/ipc'
gmake[2]: *** [tools_tier_platform] Error 2
gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release'
gmake[1]: *** [tier_platform] Error 2
gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release'
gmake: *** [default] Error 2
*** [do-build] Error code 1

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

Stop in /usr/ports/www/firefox.


Thank you for you hard work!

Bye.

-- 
"When you understand why you dismiss all the other possible gods, you will
understand why I dismiss yours." - Stephen F Roberts



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BwWuAyyUjZAkFZ1RH=KsLQkJRF7%2BWdLLk-Lyg9y_z6p7LzbLg>