Subject: pkg/32744: cups build fails on darwin, basic c++ symbols unresolved
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 02/05/2006 07:20:00
>Number:         32744
>Category:       pkg
>Synopsis:       cups build fails on darwin, basic c++ symbols unresolved
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 05 07:20:00 +0000 2006
>Originator:     Juha-Matti Liukkonen
>Release:        Mac OS X 10.4.4
Ascia Oy
Darwin 8.4.0 Darwin Kernel Version 8.4.0: Tue Jan  3 18:22:10 PST 2006; root:xnu-792.6.56.obj~1/RELEASE_PPC Power Macintosh powerpc

cups pdftops tool link fails with the following:

Linking pdftops...
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
gcc -pipe -prebind -Wall -fPIC -O2 -o .libs/pdftops pdftops.o -framework CoreFoundation  -L/Users/admin/Projects/pkgsrc/print/cups/work/cups-1.1.23/cups -L/Users/admin/Projects/pkgsrc/print/cups/work/cups-1.1.23/filter -L/Users/admin/Projects/pkgsrc/print/cups/work/.buildlink/lib libxpdf.a ../cups/.libs/libcups.dylib -lssl -lcrypto -lm
/usr/bin/ld: Undefined symbols:
operator delete(void*)
operator new(unsigned long)
vtable for __cxxabiv1::__si_class_type_info
operator delete[](void*)
operator new[](unsigned long)
vtable for __cxxabiv1::__class_type_info
collect2: ld returned 1 exit status
gnumake[1]: *** [pdftops] Error 1
gnumake: *** [all] Error 1
*** Error code 2

bmake: stopped in /Users/admin/Projects/pkgsrc/print/cups

pkgsrc-current: cd pkgsrc/print/cups; bmake
A workaround is available via PR/32743 (add builtin support for cups).