ports/99502: cups-base does not compile
Thomas Schweikle
tps at vr-web.de
Mon Jun 26 22:40:27 UTC 2006
>Number: 99502
>Category: ports
>Synopsis: cups-base does not compile
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 26 22:40:24 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Thomas Schweikle
>Release: FreeBSD 6.1-STABLE
>Organization:
>Environment:
FreeBSD hazel.tps 6.1-STABLE FreeBSD 6.1-STABLE #4: Fri Jun 9 23:37:31 CEST 2006 screen at hazel.tps:/usr/obj/usr/src/sys/HAZEL i386
>Description:
cups-base fails with error:
Compiling phpcups.c...
cc -Wshadow -Wunused -Wall -Wno-format-y2k -fPIC -Os -g -I.. -I/usr/local/include -I.. -I/usr/local/include -O2 -fno-strict-aliasing -pipe -march=pentium2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -I../.. `/usr/local/bin/php-config --includes` -c phpcups.c
In file included from /usr/local/include/php/main/php.h:38,
from phpcups.c:33:
/usr/local/include/php/Zend/zend_API.h:315: warning: declaration of 'index' shadows a global declaration
/usr/include/strings.h:50: warning: shadowed declaration is here
In file included from /usr/local/include/php/main/php.h:404,
from phpcups.c:33:
/usr/local/include/php/TSRM/tsrm_virtual_cwd.h:178: warning: declaration of 'link' shadows a global declaration
/usr/include/unistd.h:348: warning: shadowed declaration is here
In file included from /usr/local/include/php/main/php.h:406,
from phpcups.c:33:
/usr/local/include/php/Zend/zend_constants.h:62: warning: declaration of 'strlen' shadows a global declaration
/usr/include/string.h:90: warning: shadowed declaration is here
In file included from /usr/local/include/cups/ipp.h:35,
from /usr/local/include/cups/cups.h:34,
from phpcups.h:32,
from phpcups.c:36:
/usr/local/include/cups/http.h:308: warning: declaration of 'encrypt' shadows a global declaration
/usr/include/unistd.h:426: warning: shadowed declaration is here
phpcups.c: In function `zm_startup_phpcups':
phpcups.c:131: error: `CUPS_PRINTER_DELETE' undeclared (first use in this function)
phpcups.c:131: error: (Each undeclared identifier is reported only once
phpcups.c:131: error: for each function it appears in.)
phpcups.c:132: error: `CUPS_PRINTER_NOT_SHARED' undeclared (first use in this function)
phpcups.c:133: error: `CUPS_PRINTER_AUTHENTICATED' undeclared (first use in this function)
phpcups.c:134: error: `CUPS_PRINTER_COMMANDS' undeclared (first use in this function)
phpcups.c:144: error: `IPP_OK_EVENTS_COMPLETE' undeclared (first use in this function)
phpcups.c: In function `zif_cups_last_error_string':
phpcups.c:367: warning: implicit declaration of function `cupsLastErrorString'
gmake[1]: *** [phpcups.o] Error 1
gmake[1]: Leaving directory `/usr/ports/print/cups-base/work/cups-1.2.0/scripting/php'
gmake: *** [all] Error 1
*** Error code 2
Stop in /usr/ports/print/cups-base.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade8832.0 make
** Fix the problem and try again.
---> Skipping 'print/cups-pdf' (cups-pdf-2.4.0) because a requisite package 'cups-base-1.1.23.0_9' (print/cups-base) failed (specify -k to force)
** Listing the failed packages (*:skipped / !:failed)
! print/cups-base (cups-base-1.1.23.0_9) (compiler error)
* print/cups-pdf (cups-pdf-2.4.0)
---> Packages processed: 0 done, 0 ignored, 1 skipped and 1 failed
>How-To-Repeat:
Have cups installed, then try to upgrade.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list