Bug 99387

Summary: Build Failure
Product: Ports & Packages Reporter: Beech Rintoul <beech>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Beech Rintoul 2006-06-23 19:40:19 UTC

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 -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

How-To-Repeat: 

make clean && make
Comment 1 Beech Rintoul 2006-06-23 19:52:55 UTC
Please cancel this pr. I didn't fill it out correctly.

Beech
-- 

---------------------------------------------------------------------------------------
Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com
/"\   ASCII Ribbon Campaign  | Alaska Paradise
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---------------------------------------------------------------------------------------
Comment 2 Andrey Slusar freebsd_committer freebsd_triage 2006-06-23 20:37:34 UTC
State Changed
From-To: open->closed

Closed by submitter request.