On Wed, Nov 9, 2011 at 7:02 PM, Maurice Janssen <[email protected]> wrote: > Hi, > > I'm having some trouble doing a build of xenocara on a vaxstation under > 5.0-stable. > I know it's not needed because there are no patches for xenocara yet for > 5.0-stable, but it bugs me that the build fails consistently. > > My setup: > - An OpenBSD NFS server with the src and xenocara source tree > - A bunch of machines, with NFS mounts for /usr/src and > /usr/xenocara, all of them doing a build of kernel, userland and > xenocara just fine, except xenocara on the vax. > So the vax survives a make kernel and make build for userland just > fine (so the hardware seems stable), and the other machines also can do > a xenocara build just fine (so the xenocara source tree seems OK). > - FWIW: this machine was running 4.8-stable before 1 November and I > never had a problem with building xenocara on it. > - I tried a xenocara build with a fresh install of 5.0-release and > after an update to 5.0-stable, but xenocara fails on the same spot. > > Last lines from the console are below. > I hope someone can give me a little push in the right direction.
There is a know problem with OpenBSD's pkg-config implementation, which shuffles the order of computed libraries dependencies differently than it used to. It needs to be fixed. In the mean time you can use the pkg-config from 4.9 for that. > > Thanks, > Maurice > > > gcc -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wformat=2 -I/usr/X11R6/include -O2 -pipe -o sxpm sxpm.o -L/usr/X11R6/lib /usr/X11R6/lib/libXt.a /usr/X11R6/lib/libSM.a /usr/X11R6/lib/libICE.a /usr/X11R6/lib/libXext.a ../src/.libs/libXpm.a /usr/X11R6/lib/libX11.a -lxcb > sxpm.o: warning: sprintf() is often misused, please use snprintf() > Error.o: warning: sprintf() is often misused, please use snprintf() > Initialize.o: warning: sprintf() is often misused, please use snprintf() > Initialize.o: warning: strcat() is almost always misused, please use strlcat() > Initialize.o: warning: strcpy() is almost always misused, please use strlcpy() > Intrinsic.o: warning: strcpy() is almost always misused, please use strlcpy() > NextEvent.o: warning: sprintf() is often misused, please use snprintf() > Selection.o: warning: sprintf() is often misused, please use snprintf() > Shell.o: warning: strcpy() is almost always misused, please use strlcpy() > Shell.o: warning: sprintf() is often misused, please use snprintf() > TMaction.o: warning: strcat() is almost always misused, please use strlcat() > TMprint.o: warning: strcpy() is almost always misused, please use strlcpy() > TMprint.o: warning: sprintf() is often misused, please use snprintf() > Converters.o: warning: strcpy() is almost always misused, please use strlcpy() > ResConfig.o: warning: sprintf() is often misused, please use snprintf() > ResConfig.o: warning: strcpy() is almost always misused, please use strlcpy() > sm_client.o: warning: strcpy() is almost always misused, please use strlcpy() > sm_misc.o: warning: strcpy() is almost always misused, please use strlcpy() > process.o: warning: sprintf() is often misused, please use snprintf() > authutil.o: warning: strcpy() is almost always misused, please use strlcpy() > authutil.o: warning: strcat() is almost always misused, please use strlcat() > RdFToI.o: warning: strcpy() is almost always misused, please use strlcpy() > scan.o: warning: sprintf() is often misused, please use snprintf() > Font.o: warning: strcpy() is almost always misused, please use strlcpy() > FSWrap.o: warning: strcpy() is almost always misused, please use strlcpy() > GetAtomNm.o: warning: strcpy() is almost always misused, please use strlcpy() > InitExt.o: warning: strcpy() is almost always misused, please use strlcpy() > IntAtom.o: warning: strcpy() is almost always misused, please use strlcpy() > KeysymStr.o: warning: sprintf() is often misused, please use snprintf() > SetHints.o: warning: strcpy() is almost always misused, please use strlcpy() > XlibInt.o: warning: sprintf() is often misused, please use snprintf() > XlibInt.o: warning: strcpy() is almost always misused, please use strlcpy() > lcWrap.o: warning: strcpy() is almost always misused, please use strlcpy() > lcWrap.o: warning: strcat() is almost always misused, please use strlcat() > ErrDes.o: warning: sprintf() is often misused, please use snprintf() > lcUTF8.o: warning: sprintf() is often misused, please use snprintf() > lcGenConv.o: warning: strcpy() is almost always misused, please use strlcpy() > XKBGAlloc.o: warning: strcpy() is almost always misused, please use strlcpy() > lcDB.o: warning: strcpy() is almost always misused, please use strlcpy() > lcFile.o: warning: strcpy() is almost always misused, please use strlcpy() > lcFile.o: warning: sprintf() is often misused, please use snprintf() > lcFile.o: warning: strcat() is almost always misused, please use strlcat() > lcGeneric.o: warning: strcpy() is almost always misused, please use strlcpy() > lcGeneric.o: warning: sprintf() is often misused, please use snprintf() > lcGeneric.o: warning: strcat() is almost always misused, please use strlcat() > lcPubWrap.o: warning: strcpy() is almost always misused, please use strlcpy() > lcPublic.o: warning: strcpy() is almost always misused, please use strlcpy() > lcTxtPr.o: warning: strcpy() is almost always misused, please use strlcpy() > imInt.o: warning: strcpy() is almost always misused, please use strlcpy() > imInsClbk.o: warning: strcpy() is almost always misused, please use strlcpy() > imInsClbk.o: warning: strcat() is almost always misused, please use strlcat() > imLcIm.o: warning: strcpy() is almost always misused, please use strlcpy() > imLcPrs.o: warning: strcpy() is almost always misused, please use strlcpy() > imRm.o: warning: strcpy() is almost always misused, please use strlcpy() > omGeneric.o: warning: strcpy() is almost always misused, please use strlcpy() > omGeneric.o: warning: sprintf() is often misused, please use snprintf() > omGeneric.o: warning: strcat() is almost always misused, please use strlcat() > lcCT.o: warning: strcpy() is almost always misused, please use strlcpy() > lcPrTxt.o: warning: strcpy() is almost always misused, please use strlcpy() > imDefIm.o: warning: sprintf() is often misused, please use snprintf() > imDefIm.o: warning: strcpy() is almost always misused, please use strlcpy() > imExten.o: warning: strcpy() is almost always misused, please use strlcpy() > imRmAttr.o: warning: strcat() is almost always misused, please use strlcat() > imTrX.o: warning: sprintf() is often misused, please use snprintf() > imTrans.o: warning: strcpy() is almost always misused, please use strlcpy() > /usr/xenocara/lib/libxcb/libxcb/../../../dist/libxcb/src/xcb_util.c:349: warning: strcpy() is almost always misused, please use strlcpy() > /usr/xenocara/lib/libxcb/libxcb/../../../dist/libxcb/src/xcb_auth.c:143: Undefined symbol `_XauGetBestAuthByAddr' referenced from text segment > /usr/xenocara/lib/libxcb/libxcb/../../../dist/libxcb/src/xcb_auth.c:236: Undefined symbol `_XdmcpWrap' referenced from text segment > /usr/xenocara/lib/libxcb/libxcb/../../../dist/libxcb/src/xcb_auth.c:341: Undefined symbol `_XauDisposeAuth' referenced from text segment > /usr/xenocara/lib/libxcb/libxcb/../../../dist/libxcb/src/xcb_auth.c:349: Undefined symbol `_XauDisposeAuth' referenced from text segment > collect2: ld returned 1 exit status > *** Error code 1 > > Stop in /usr/xenocara/lib/libXpm/obj/sxpm (line 301 of Makefile). > *** Error code 1 > > Stop in /usr/xenocara/lib/libXpm/obj (line 343 of Makefile). > *** Error code 1 > > Stop in /usr/xenocara/lib/libXpm/obj (line 231 of Makefile). > *** Error code 1 > > Stop in /usr/xenocara/lib/libXpm (line 144 of /usr/X11R6/share/mk/bsd.xorg.mk). > *** Error code 1 > > Stop in /usr/xenocara/lib/libXpm (line 206 of /usr/X11R6/share/mk/bsd.xorg.mk). > *** Error code 1 > > Stop in /usr/xenocara/lib (line 48 of /usr/share/mk/bsd.subdir.mk). > *** Error code 1 > > Stop in /usr/xenocara (line 48 of /usr/share/mk/bsd.subdir.mk). > # > > -- Matthieu Herrb

