x11-toolkits/wxgtk28 : Error building under 7.0-BETA2

Norberto Meijome freebsd at meijome.net
Sun Nov 4 18:01:29 PST 2007


Hi everyone,

I'm trying to install filezilla. It built fine under 6.2, but under 7 i can't
build one of its requirements ( x11-toolkits/wxgtk28 ). The last lines of this
ports builds are below, in particular :

/usr/local/lib/compat/libpthread.so.2: undefined reference to `__malloc_lock'

(the last screenfull of that failed build is below)

I build my ports with 
portinstall -p {portname}
or either, in the port directory,
make package 

with same result.

my make.conf is :
-----------------
#### WORLD BUILDING OPTIONS ####
#LUIT setting needed for secure locales in xterm, xorg client
WITH_SETUID_LUIT=true

X_WINDOW_SYSTEM=xorg

WITH_GTK2=true

WITH_MOZILLA=firefox
WITH_GECKO=firefox

WITH_FAM_SYSTEM=gamin
WITH_GAMIN=true
WITH_APACHE=2.2
WITH_APACHE22="YES"
WITH_APACHE2="YES"

# added by use.perl 2006-09-15 18:16:22
PERL_VER=5.8.8
PERL_VERSION=5.8.8

DEFAULT_PGSQL_VER=82
WANT_PGSQL_VER=82
-----------------

I don't have any entries in pkgtools.conf that refer to the ports i'm building
(and make package shouldn't read it anyway. 

/etc/libmap.conf is empty.
i have compat6x port installed.
I use a custom kernel config, which is basically GENERIC with hardware support
I dont need removed, and GEOM_JOURNAL and UFS_JOURNAL added (though I am not
using journal   anymore in my system, the code is still linked in).

CPU: Intel(R) Pentium(R) M processor 2.00GHz (1995.01-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6d8  Stepping = 8
  Features=0xafe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>
  Features2=0x180<EST,TM2>
real memory  = 1609433088 (1534 MB)
avail memory = 1567780864 (1495 MB)

If you need more information, please let me know!

thanks in advance!
Beto

PS ( apologies if the long lines wrapped too much!!)


/usr/ports/x11-toolkits/wxgtk28/work/wxGTK-2.8.5/bk-deps c++ -c -o
gldll_glcanvas.o -I.pch/wxprec_gldll -D__WXGTK__            -DWXUSINGDLL
-DWXMAKINGDLL_GL -fPIC -DPIC -DWX_PRECOMP -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/usr/ports/x11-toolkits/wxgtk28/work/wxGTK-2.8.5/lib/wx/include/gtk2-ansi-release-2.8
-I./include -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0
-I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/freetype2 -D_REENTRANT -DORBIT2=1
-I/usr/local/include/gstreamer-0.10 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2
-I/usr/local/include -I/usr/local/include/gconf/2
-I/usr/local/include/orbit-2.0 -I/usr/local/include -pthread -D_THREAD_SAFE
-Wall -Wundef -Wno-ctor-dtor-privacy -D_THREAD_SAFE
-I/usr/local/include/libgnomeprintui-2.2 -I/usr/local/include/libgnomeprint-2.2
-I/usr/local/include/libgnomecanvas-2.0 -I/usr/local/include/libart-2.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2
-I/usr/local/include/gail-1.0 -I/usr/local/include/gtk-2.0
-I/usr/local/include/atk-1.0 -I/usr/local/lib/gtk-2.0/include
-I/usr/local/include/cairo -O2 -fno-strict-aliasing -pipe
-march=pentium-m ./src/gtk/glcanvas.cpp c++ -shared -fPIC
-o /usr/ports/x11-toolkits/wxgtk28/work/wxGTK-2.8.5/lib/libwx_gtk2_gl-2.8.so.0.2.0
gldll_glcanvas.o -pthread   -L/usr/local/lib
-L/usr/ports/x11-toolkits/wxgtk28/work/wxGTK-2.8.5/lib
-Wl,-soname,libwx_gtk2_gl-2.8.so.0   -lz -pthread -L/usr/local/lib
-lgstreamer-0.10 -lgmodule-2.0 -lxml2 -lgconf-2 -lORBit-2 -lgthread-2.0
-lgobject-2.0 -lglib-2.0 -liconv -lgstinterfaces-0.10 -liconv -L/usr/local/lib
-pthread -lm    -pthread -Wl,--rpath -Wl,/usr/local/lib -R/usr/local/lib
-L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lXext
-lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage
-lpangoft2-1.0 -lfontconfig -lfreetype -lz -lXfixes -lgthread-2.0 -lpangox-1.0
-lX11 -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv -lXinerama
-lXxf86vm -lSM -lpng -lz -ljpeg -ltiff     -pthread   -L/usr/local/lib
-Wl,--version-script,/usr/ports/x11-toolkits/wxgtk28/work/wxGTK-2.8.5/version-script
-lz -pthread -L/usr/local/lib -lgstreamer-0.10 -lgmodule-2.0 -lxml2 -lgconf-2
-lORBit-2 -lgthread-2.0 -lgobject-2.0 -lglib-2.0 -liconv -lgstinterfaces-0.10
-liconv -L/usr/local/lib -pthread -lm  -lwx_gtk2_core-2.8 -lwx_base-2.8  -lGL
-lGLU (cd /usr/ports/x11-toolkits/wxgtk28/work/wxGTK-2.8.5/lib/; rm -f
libwx_gtk2_gl-2.8.so libwx_gtk2_gl-2.8.so.0; ln -s libwx_gtk2_gl-2.8.so.0.2.0
libwx_gtk2_gl-2.8.so.0; ln -s libwx_gtk2_gl-2.8.so.0 libwx_gtk2_gl-2.8.so) (if
test -d utils/wxrc ; then cd utils/wxrc && gmake all ; fi) gmake[1]: Entering
directory
`/usr/ports/x11-toolkits/wxgtk28/work/wxGTK-2.8.5/utils/wxrc' /usr/ports/x11-toolkits/wxgtk28/work/wxGTK-2.8.5/bk-deps
c++ -c -o wxrc_wxrc.o -D__WXGTK__     -I. -DWXUSINGDLL -DwxUSE_GUI=0
-DWX_PRECOMP -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/usr/ports/x11-toolkits/wxgtk28/work/wxGTK-2.8.5/lib/wx/include/gtk2-ansi-release-2.8
-I../../include -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0
-I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/freetype2 -D_REENTRANT -DORBIT2=1
-I/usr/local/include/gstreamer-0.10 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2
-I/usr/local/include -I/usr/local/include/gconf/2
-I/usr/local/include/orbit-2.0 -I/usr/local/include -pthread -D_THREAD_SAFE
-Wall -Wundef -Wno-ctor-dtor-privacy -D_THREAD_SAFE
-I/usr/local/include/libgnomeprintui-2.2 -I/usr/local/include/libgnomeprint-2.2
-I/usr/local/include/libgnomecanvas-2.0 -I/usr/local/include/libart-2.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2
-I/usr/local/include/gail-1.0 -I/usr/local/include/gtk-2.0
-I/usr/local/include/atk-1.0 -I/usr/local/lib/gtk-2.0/include
-I/usr/local/include/cairo -O2 -fno-strict-aliasing -pipe
-march=pentium-m ./wxrc.cpp c++ -o wxrc wxrc_wxrc.o -pthread
-L/usr/local/lib     -L/usr/ports/x11-toolkits/wxgtk28/work/wxGTK-2.8.5/lib
-lz -pthread -L/usr/local/lib -lgstreamer-0.10 -lgmodule-2.0 -lxml2 -lgconf-2
-lORBit-2 -lgthread-2.0 -lgobject-2.0 -lglib-2.0 -liconv -lgstinterfaces-0.10
-liconv -L/usr/local/lib -pthread -lm -lwx_base_xml-2.8 -lexpat
-lwx_base-2.8       -pthread   -L/usr/local/lib
-Wl,--version-script,/usr/ports/x11-toolkits/wxgtk28/work/wxGTK-2.8.5/version-script
-lz -pthread -L/usr/local/lib -lgstreamer-0.10 -lgmodule-2.0 -lxml2 -lgconf-2
-lORBit-2 -lgthread-2.0 -lgobject-2.0 -lglib-2.0 -liconv -lgstinterfaces-0.10
-liconv -L/usr/local/lib -pthread -lm 

/usr/bin/ld: warning: libstdc++.so.5, needed
by /usr/local/lib/libicui18n.so.36, may conflict with
libstdc++.so.6 

/usr/bin/ld: warning: libm.so.4, needed
by /usr/local/lib/libicui18n.so.36, may conflict with libm.so.5

 /usr/bin/ld:
warning: libm.so.4, needed by /usr/local/lib/libicui18n.so.36, may conflict
with libm.so.5 

/usr/local/lib/compat/libpthread.so.2: undefined reference to
`__malloc_lock' gmake[1]: 

*** [wxrc] Error 1 gmake[1]: Leaving directory
`/usr/ports/x11-toolkits/wxgtk28/work/wxGTK-2.8.5/utils/wxrc' gmake: *** [wxrc]
Error 2 *** Error code 2

Stop in /usr/ports/x11-toolkits/wxgtk28

_________________________
{Beto|Norberto|Numard} Meijome

"The only people that never change are the stupid and the dead"
  Jorge Luis Borges.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.


More information about the freebsd-ports mailing list