Thunderbird Port Compile Error

angelv angelvg at gmail.com
Wed Dec 12 22:22:03 UTC 2012


Hi,

 I try install Thunderbird 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 at 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 at 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 at 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/mail/thunderbird

 Port options:
 # make showconfig
===> The following configuration options are available for thunderbird-17.0:
     DBUS=on: D-Bus IPC system
     DEBUG=off: Install debug symbols
     ENIGMAIL=on: Enigmail extension
     GCONF=off: GConf configuration backend
     GIO=off: 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
     LIGHTNING=on: Calendar extension
     LOGGING=on: Additional log messages
     OPTIMIZED_CFLAGS=off: Use extra compiler optimizations
====> Options available for the single AUDIO: you have to select
exactly one of them
     ALSA=off: ALSA audio architecture
     OSS=on: 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[5]: Entering directory
`/usr/ports/mail/thunderbird/work/comm-release/mozilla/ipc/testshell'
gmake[5]: Nothing to be done for `tools'.
gmake[5]: Leaving directory
`/usr/ports/mail/thunderbird/work/comm-release/mozilla/ipc/testshell'
gmake -C app libs
MozillaRuntimeMain.cpp
gmake[5]: Entering directory
`/usr/ports/mail/thunderbird/work/comm-release/mozilla/ipc/app'
c++ -o MozillaRuntimeMain.o -c -I../../dist/stl_wrappers
-I../../dist/system_wrappers -include ../../config/gcc_hidden.h
-DMOZ_GLUE_IN_PROGRAM -DMOZ_THUNDERBIRD=1 -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/mail/thunderbird/work/comm-release/mozilla/ipc/app/MozillaRuntimeMain.cpp
/usr/ports/mail/thunderbird/work/comm-release/mozilla/_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/mail/thunderbird/work/comm-release/mozilla/dist/bin
-Wl,-rpath-link,/usr/local/lib   -L../../dist/bin -L../../dist/lib
-L/usr/ports/mail/thunderbird/work/comm-release/mozilla/dist/bin
-lxpcom -lmozalloc -lxul  -liconv -L/usr/local/lib -lplds4 -lplc4
-lnspr4 -pthread  -Wl,--whole-archive
/usr/ports/mail/thunderbird/work/comm-release/mozilla/dist/lib/libmozglue.a
/usr/ports/mail/thunderbird/work/comm-release/mozilla/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[5]: *** [plugin-container] Error 1
gmake[5]: Leaving directory
`/usr/ports/mail/thunderbird/work/comm-release/mozilla/ipc/app'
gmake[4]: *** [tools] Error 2
gmake[4]: Leaving directory
`/usr/ports/mail/thunderbird/work/comm-release/mozilla/ipc'
gmake[3]: *** [tools_tier_platform] Error 2
gmake[3]: Leaving directory
`/usr/ports/mail/thunderbird/work/comm-release/mozilla'
gmake[2]: *** [tier_platform] Error 2
gmake[2]: Leaving directory
`/usr/ports/mail/thunderbird/work/comm-release/mozilla'
gmake[1]: *** [default] Error 2
gmake[1]: Leaving directory
`/usr/ports/mail/thunderbird/work/comm-release/mozilla'
gmake: *** [default] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/mail/thunderbird.
*** [install] Error code 1

Stop in /usr/ports/mail/thunderbird.

I thinking the error is caused for the updated pcre "The pcre library
has been updated to version 8.32."

After i run comand...
# portmaster -w -r pcre

for update all my ports, Firefox show error and no build, the two ports need
pcre-8.31_1 buy my system have more new

# ls /var/db/pkg | grep pcre
pcre-8.32

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


More information about the freebsd-gecko mailing list