From nobody@FreeBSD.org  Mon Jun 26 22:31:23 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 45E5216A410
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <tps@vr-web.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: cups-base does not compile
X-Send-Pr-Version: www-2.3

>Number:         99502
>Category:       ports
>Synopsis:       cups-base does not compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 26 22:40:24 GMT 2006
>Closed-Date:    Tue Jun 27 10:09:04 GMT 2006
>Last-Modified:  Tue Jun 27 10:09:04 GMT 2006
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Mon Jun 26 22:50:33 UTC 2006 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99502 

From: Sergey Akifyev <asa@agava.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/99502: print/cups-base does not compile
Date: Tue, 27 Jun 2006 13:26:18 +0400

 On , 2006-06-26 at 22:50 +0000, Edwin Groothuis wrote:
 > Maintainer of print/cups-base,
 > 
 > Please note that PR ports/99502 has just been submitted.
 > 
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 > 
 
 This problem is already fixed in ports/99371 .
 
 > The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/99502
 > 
 -- 
 regards,
 Sergey Akifyev
 AGAVA Software Ltd <http://agava.com>
 PGP key available from:
 ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt
 
State-Changed-From-To: feedback->closed 
State-Changed-By: itetcu 
State-Changed-When: Tue Jun 27 10:09:01 UTC 2006 
State-Changed-Why:  
Fix already commited. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99502 
>Unformatted:
