cups-image build failure

Scot Hetzel swhetzel at gmail.com
Mon Nov 30 04:08:25 UTC 2009


On 11/29/09, Scott Nicholson <scott.a.nicholson at gmail.com> wrote:
> Hi, I'm having issues attempting to update cups via ports:
>
>  ...
>
>  Linking bannertops...
>  cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler
> -L/usr/local/lib -Wl,-R/usr/local/lib  -pie -fPIE -Wall -Wno-format-y2k
> -fPIC -Os -g -fstack-protector -o bannertops bannertops.o pstext.o common.o
> -lcupsimage \
>                  -lcups   -pthread -lm -lcrypt
>  /usr/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 can not be used when
> making a shared object; recompile with -fPIC
>  /usr/lib/crt1.o: could not read symbols: Bad value
>  gmake[1]: *** [bannertops] Error 1
>  gmake[1]: Leaving directory
> `/usr/ports/print/cups-image/work/cups-1.4.2/filter'
>  gmake: *** [all] Error 1
>  *** Error code 1
>
>  Stop in /usr/ports/print/cups-image.
>  *** Error code 1
>
>  Stop in /usr/ports/print/cups-image.
>
>
I'm also getting this issue when building cups-image.

When I try to build cups-base, I also get this error:

Linking ipp...
cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler
-L/usr/local/lib/ -L/usr/local/lib -rpath=/usr/lib:/usr/local/lib
-Wl,-R/usr/local/lib  -pie -fPIE -Wall -Wno-format-y2k -fPIC -Os -g
-fstack-protector -o ipp ipp.o libbackend.a -lcups -lssl -lcrypto
-pthread -lm -lcrypt
/usr/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 can not be used
when making a shared object; recompile with -fPIC
/usr/lib/crt1.o: could not read symbols: Bad value
gmake[1]: *** [ipp] Error 1
gmake[1]: Leaving directory `/usr/ports/print/cups-base/work/cups-1.4.2/backend'
gmake: *** [all] Error 1
*** Error code 1

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

Stop in /usr/ports/print/cups-base.

I'm also using FreeBSD 8/amd64:

dv8t01# uname -a
FreeBSD dv8t01 8.0-STABLE FreeBSD 8.0-STABLE #3: Sun Nov 29 21:36:10
CST 2009     root at dv8t01:/usr/obj/usr/src/8.0-REL/sys/GENERIC  amd64


Scot


More information about the freebsd-ports mailing list