Skip site navigation (1)Skip section navigation (2)
Date:      30 Nov 2009 23:30:36 -0000
From:      Andrew Reilly <areilly@bigpond.net.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/141039: cups needs _httpReadGNUTLS but linker can't find them
Message-ID:  <20091130233036.4908.qmail@areilly.bpa.nu>
Resent-Message-ID: <200911302340.nAUNe0Xq096072@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         141039
>Category:       ports
>Synopsis:       cups needs _httpReadGNUTLS but linker can't find them
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 30 23:40:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Reilly
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD duncan.reilly.home 9.0-CURRENT FreeBSD 9.0-CURRENT #6: Sat Nov 28 09:41:57 EST 2009 root@duncan.reilly.home:/usr/obj/usr/src/sys/DUNCAN amd64


	
>Description:
	Build of cups stops with linker errors:

Linking cupsd...
cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -L/usr/local/lib/ -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    -lldap -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] Error 1
gmake[1]: Leaving directory `/usr/ports/print/cups-base/work/cups-1.4.2/scheduler'
gmake: *** [all] Error 1
*** Error code 1

Stop in /usr/ports/print/cups-base.
*** Error code 1

        This error showed up in a search on a debian list,
        where the answer seemed to be to remove an out-of-date
        dependency.  I would have thought that portmaster would
        look after that, but I'm investigating...

>How-To-Repeat:
	cd /usr/ports/print/cups; make
>Fix:

        Probably need to delete an obsolete library, but not
        sure how to find it.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091130233036.4908.qmail>