Subject: pkg/36417: devel/pango in 2007Q1 will not build on OpenBSD 4.1
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <mphuff@gmail.com>
List: pkgsrc-bugs
Date: 05/31/2007 08:00:01
>Number: 36417
>Category: pkg
>Synopsis: devel/pango in 2007Q1 will not build on OpenBSD 4.1
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 31 08:00:00 +0000 2007
>Originator: Michael Huff
>Release: n/a (OpenBSD 4.1)
>Organization:
n/a
>Environment:
OpenBSD puffy.localdomain 4.1 GENERIC#1435 i386
>Description:
I am trying to build firefox2 from pkgsrc 2007Q1 on OpenBSD 4.1, and it choked trying to build pango. I ran 'bmake clean' in the devel/pango directory but it still would not build.
The error looks like it can't find the X11 headers or libraries; but they are installed.
Error message follows:
*** Warning: This system can not link to static lib archive /pkgsrc/devel/pango/work/.buildlink/lib/libXft.la.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** Warning: This system can not link to static lib archive /pkgsrc/devel/pango/work/.buildlink/lib/libXrender.la.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** Warning: linker path does not have real file for library -lX11.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libX11 and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /pkgsrc/devel/pango/work/.x11-buildlink/lib/libX11.a
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
generating symbol list for `libpangoxft-1.0.la'
nm .libs/pangoxft-font.o .libs/pangoxft-fontmap.o .libs/pangoxft-render.o | sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libpangoxft-1.0.exp
/usr/bin/egrep -e "^pango_.*" ".libs/libpangoxft-1.0.exp" > ".libs/libpangoxft-1.0.expT"
mv -f ".libs/libpangoxft-1.0.expT" ".libs/libpangoxft-1.0.exp"
cc -shared -fPIC -DPIC -o .libs/libpangoxft-1.0.so.0.1600.1 .libs/pangoxft-font.o .libs/pangoxft-fontmap.o .libs/pangoxft-render.o -L/pkgsrc/devel/pango/work/pango-1.16.1/pango/.libs -L/pkgsrc/devel/pango/work/.buildlink/lib -L/pkgsrc/devel/pango/work/.x11-buildlink/lib -L./.libs -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lfreetype -lz -lfontconfig -lm -Wl,-R/usr/local/lib -Wl,-R/usr/X11R6/lib -Wl,-rpath -Wl,/usr/local/lib -Wl,-retain-symbols-file,.libs/libpangoxft-1.0.exp
(cd .libs && rm -f libpangoxft-1.0.so.0.1600 && ln -s libpangoxft-1.0.so.0.1600.1 libpangoxft-1.0.so.0.1600)
ar cru .libs/libpangoxft-1.0.a pangoxft-font.o pangoxft-fontmap.o pangoxft-render.o
ranlib .libs/libpangoxft-1.0.a
creating libpangoxft-1.0.la
(cd .libs && rm -f libpangoxft-1.0.la && ln -s ../libpangoxft-1.0.la libpangoxft-1.0.la)
if cc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/usr/local/libdata\" -DLIBDIR=\"/usr/local/lib\" -I.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -D_REENTRANT -I/usr/local/include/glib/glib-2.0 -I/usr/local/lib/glib-2.0/include -DXTHREADS -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/X11R6/include -DXTHREADS -I/usr/local/include/cairo -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/libpng12 -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -I/usr/include -I/usr/local/include/freetype2 -O2 -I/usr/local/include -I/usr/include -I/usr/local/include/freetype2 -Wall -MT querymodules.o -MD -MP -MF ".deps/querymodules.Tpo" -c -o querymodules.o querymodules.c; \
then mv -f ".deps/querymodules.Tpo" ".deps/querymodules.Po"; else rm -f ".deps/querymodules.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link cc -O2 -I/usr/local/include -I/usr/include -I/usr/local/include/freetype2 -Wall -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -o pango-querymodules querymodules.o libpangox-1.0.la libpangoxft-1.0.la libpangoft2-1.0.la libpango-1.0.la -Wl,-R/usr/local/lib -L/usr/local/lib -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
cc -O2 -I/pkgsrc/devel/pango/work/.buildlink/include -I/pkgsrc/devel/pango/work/.buildlink/include/freetype2 -Wall -Wl,-R/usr/local/lib -Wl,-R/usr/X11R6/lib -o .libs/pango-querymodules querymodules.o -L/pkgsrc/devel/pango/work/pango-1.16.1/pango/.libs -L/pkgsrc/devel/pango/work/.buildlink/lib -L/pkgsrc/devel/pango/work/.x11-buildlink/lib -L./.libs -lpangox-1.0 -lpangoxft-1.0 /pkgsrc/devel/pango/work/.buildlink/lib/libXft.a /pkgsrc/devel/pango/work/.buildlink/lib/libXrender.a -lX11 -lpangoft2-1.0 -lfontconfig -lexpat -lfreetype -lz -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -Wl,-rpath,/usr/local/lib -Wl,-rpath,/pkgsrc/devel/pango/work/.buildlink/lib
/pkgsrc/devel/pango/work/.buildlink/lib/libglib-2.0.so.0.1200: warning: vsprintf() is often misused, please use vsnprintf()
/pkgsrc/devel/pango/work/pango-1.16.1/pango/.libs/libpangox-1.0.so.0.1600: warning: strcpy() is almost always misused, please use strlcpy()
/pkgsrc/devel/pango/work/.buildlink/lib/libX11.a(ConnDis.o)(.text+0x372): In function `_X11TransConnectDisplay':
: warning: sprintf() is often misused, please use snprintf()
/pkgsrc/devel/pango/work/.buildlink/lib/libX11.a(AuFileName.o)(.text+0xb6): In function `XauFileName':
: warning: strcat() is almost always misused, please use strlcat()
/pkgsrc/devel/pango/work/pango-1.16.1/pango/.libs/libpangoxft-1.0.so.0.1600: undefined reference to `XftGlyphExtents'
/pkgsrc/devel/pango/work/pango-1.16.1/pango/.libs/libpangoxft-1.0.so.0.1600: undefined reference to `XftCharIndex'
/pkgsrc/devel/pango/work/pango-1.16.1/pango/.libs/libpangoxft-1.0.so.0.1600: undefined reference to `XRenderFindStandardFormat'
/pkgsrc/devel/pango/work/pango-1.16.1/pango/.libs/libpangoxft-1.0.so.0.1600: undefined reference to `XftTextExtents8'
/pkgsrc/devel/pango/work/pango-1.16.1/pango/.libs/libpangoxft-1.0.so.0.1600: undefined reference to `XftGlyphSpecRender'
/pkgsrc/devel/pango/work/pango-1.16.1/pango/.libs/libpangoxft-1.0.so.0.1600: undefined reference to `XftDefaultHasRender'
/pkgsrc/devel/pango/work/pango-1.16.1/pango/.libs/libpangoxft-1.0.so.0.1600: undefined reference to `XftDrawGlyphSpec'
/pkgsrc/devel/pango/work/pango-1.16.1/pango/.libs/libpangoxft-1.0.so.0.1600: undefined reference to `XftDefaultSubstitute'
/pkgsrc/devel/pango/work/pango-1.16.1/pango/.libs/libpangoxft-1.0.so.0.1600: undefined reference to `XftDrawSrcPicture'
/pkgsrc/devel/pango/work/pango-1.16.1/pango/.libs/libpangoxft-1.0.so.0.1600: undefined reference to `XRenderCompositeTrapezoids'
/pkgsrc/devel/pango/work/pango-1.16.1/pango/.libs/libpangoxft-1.0.so.0.1600: undefined reference to `XftFontOpenPattern'
/pkgsrc/devel/pango/work/pango-1.16.1/pango/.libs/libpangoxft-1.0.so.0.1600: undefined reference to `XftLockFace'
/pkgsrc/devel/pango/work/pango-1.16.1/pango/.libs/libpangoxft-1.0.so.0.1600: undefined reference to `XftUnlockFace'
/pkgsrc/devel/pango/work/pango-1.16.1/pango/.libs/libpangoxft-1.0.so.0.1600: undefined reference to `XftCharExists'
/pkgsrc/devel/pango/work/pango-1.16.1/pango/.libs/libpangoxft-1.0.so.0.1600: undefined reference to `XftFontClose'
/pkgsrc/devel/pango/work/pango-1.16.1/pango/.libs/libpangoxft-1.0.so.0.1600: undefined reference to `XftFontOpen'
/pkgsrc/devel/pango/work/pango-1.16.1/pango/.libs/libpangoxft-1.0.so.0.1600: undefined reference to `XftDrawPicture'
collect2: ld returned 1 exit status
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/pkgsrc/devel/pango/work/.gcc/bin/gcc -O2 -I/pkgsrc/devel/pango/work/.buildlink/include -I/pkgsrc/devel/pango/work/.buildlink/include/freetype2 -Wall -Wl,-R/usr/local/lib -Wl,-R/usr/X11R6/lib -o .libs/pango-querymodules querymodules.o -L/pkgsrc/devel/pango/work/pango-1.16.1/pango/.libs -L/pkgsrc/devel/pango/work/.buildlink/lib -L/pkgsrc/devel/pango/work/.x11-buildlink/lib -L./.libs /pkgsrc/devel/pango/work/.buildlink/lib/libXft.a /pkgsrc/devel/pango/work/.buildlink/lib/libXrender.a -Wl,-rpath,/usr/local/lib -lpangox-1.0 -lpangoxft-1.0 -lX11 -lpangoft2-1.0 -lfontconfig -lexpat -lfreetype -lz -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/local/bin/libtool --tag=CC --mode=link cc -O2 -I/pkgsrc/devel/pango/work/.buildlink/include -I/pkgsrc/devel/pango/work/.buildlink/include/freetype2 -Wall -L/pkgsrc/devel/pango/work/.buildlink/lib -Wl,-R/usr/local/lib -L/pkgsrc/devel/pango/work/.x11-buildlink/lib -Wl,-R/usr/X11R6/lib -o pango-querymodules querymodules.o libpangox-1.0.la libpangoxft-1.0.la libpangoft2-1.0.la libpango-1.0.la -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
gmake[4]: *** [pango-querymodules] Error 1
gmake[4]: Leaving directory `/pkgsrc/devel/pango/work/pango-1.16.1/pango'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/pkgsrc/devel/pango/work/pango-1.16.1/pango'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/pkgsrc/devel/pango/work/pango-1.16.1/pango'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/pkgsrc/devel/pango/work/pango-1.16.1'
gmake: *** [all] Error 2
*** Error code 2
>How-To-Repeat:
When running OpenBSD 4.1, change to the devel/pango directory in your pkgsrc directory and run 'bmake package'.
>Fix:
none known