From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 26 22:40:27 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A706316A5E5 for ; Mon, 26 Jun 2006 22:40:27 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C74443D53 for ; Mon, 26 Jun 2006 22:40:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5QMePmD095548 for ; Mon, 26 Jun 2006 22:40:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5QMeOfF095543; Mon, 26 Jun 2006 22:40:24 GMT (envelope-from gnats) Resent-Date: Mon, 26 Jun 2006 22:40:24 GMT Resent-Message-Id: <200606262240.k5QMeOfF095543@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Thomas Schweikle Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45E5216A410 for ; Mon, 26 Jun 2006 22:31:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E1B84407D for ; Mon, 26 Jun 2006 22:27:47 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k5QMReEB021595 for ; Mon, 26 Jun 2006 22:27:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k5QMRejC021594; Mon, 26 Jun 2006 22:27:40 GMT (envelope-from nobody) Message-Id: <200606262227.k5QMRejC021594@www.freebsd.org> Date: Mon, 26 Jun 2006 22:27:40 GMT From: Thomas Schweikle To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/99502: cups-base does not compile X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 22:40:27 -0000 >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@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: