cc -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -I.. -D_CUPS_SOURCE -I/usr/local/include -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fstack-protector -fno-delete-null-pointer-checks -fno-strict-aliasing -Wformat -Wformat-security -s -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -c subscriptions.c echo Compiling sysman.c... Compiling sysman.c... cc -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -I.. -D_CUPS_SOURCE -I/usr/local/include -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fstack-protector -fno-delete-null-pointer-checks -fno-strict-aliasing -Wformat -Wformat-security -s -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -c sysman.c echo Linking cupsd... Linking cupsd... cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -L/usr/local/lib -Wl,-R/usr/local/lib -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -o cupsd auth.o banners.o cert.o classes.o client.o conf.o dirsvc.o env.o main.o ipp.o listen.o job.o log.o network.o policy.o printers.o process.o quotas.o removefile.o select.o server.o statbuf.o subscriptions.o sysman.o -L. -lcupsmime \ -lz -L/usr/local/lib -lgnutls -lpam \ -lpaper -pthread -L/usr/local/lib -ldbus-1 -lcups -L/usr/local/lib -lgnutls -pthread -lm -lcrypt \ client.o(.text+0x1daa): In function `encrypt_client': /usr/ports/print/cups-base/work/cups-1.4.2/scheduler/client.c:3217: undefined reference to `_httpReadGNUTLS' client.o(.text+0x1db9):/usr/ports/print/cups-base/work/cups-1.4.2/scheduler/client.c:3218: undefined reference to `_httpWriteGNUTLS' gmake[1]: *** [cupsd] Ошибка 1 gmake[1]: Leaving directory `/usr/ports/print/cups-base/work/cups-1.4.2/scheduler' gmake: *** [all] Ошибка 1 *** Error code 1 Stop in /usr/ports/print/cups-base. *** Error code 1 Stop in /usr/ports/print/cups-base. ** Command failed [exit code 1]: /usr/bin/script -qa /var/tmp/portupgrade20091130-71779-b3sojz-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=cups-base-1.3.10_4 UPGRADE_PORT_VER=1.3.10_4 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! print/cups-base (cups-base-1.3.10_4) (linker error) How-To-Repeat: # cd /usr/ports/print/cups-base # make
Responsible Changed From-To: freebsd-ports-bugs->dinoex Over to maintainer (via the GNATS Auto Assign Tool)
Are you building with the DBUS option? If so, try disabling this for now and see if this works for you as well.
Because "make patch" delete some target directory from Makefile, libcups.a is not compiled correctly. =3D=3D=3D=3D=3D # cd /usr/ports/print/cups-base # make patch # pushd work/cups-1.4.2/ /usr/ports/print/cups-base/work/cups-1.4.2 /usr/ports/print/cups-base # diff Makefile Makefile.bak 30c30 < DIRS=A0 =3D=A0=A0=A0=A0=A0=A0 backend berkeley cgi-bin driver locale man = monitor \ --- > DIRS=A0 =3D=A0=A0=A0=A0=A0=A0 cups filter backend berkeley cgi-bin driver= locale man monitor \ 177c177 <=A0=A0=A0=A0=A0=A0 echo skip: cups-config $(BINDIR)/cups-config --- >=A0=A0=A0=A0=A0=A0 $(INSTALL_SCRIPT) cups-config $(BINDIR)/cups-config =3D=3D=3D=3D=3D I think "cups" directory should be containd DIRS. Please check the following patch for Makefile. # diff -u print/cups-base/Makefile.orig print/cups-base/Makefile --- print/cups-base/Makefile.orig=A0=A0=A0 2009-12-01 22:53:29.000000000 +0= 900 +++ print/cups-base/Makefile 2009-12-01 22:56:09.000000000 +0900 @@ -261,7 +261,7 @@ =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ${WRKSRC}/Makefile =A0.else =A0=A0=A0=A0=A0=A0=A0 @${REINPLACE_CMD} \ -=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -e 's|cups filter backend|backe= nd|' \ +=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -e 's|cups filter backend|cups = backend|' \ =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -e 's|$$.INSTALL_SCRIPT. cups= -config|echo skip: cups-config|' \ =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -e 's|/usr/share|${PREFIX}/sh= are|g' \ =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 -e 's|installhdrs$$||' \
dinoex 2009-12-01 19:23:46 UTC FreeBSD ports repository Modified files: print/cups-base Makefile Log: - Fix build with GNUTLS PR: 141014, 141039 Revision Changes Path 1.128 +6 -3 ports/print/cups-base/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed A fix has been commited.