Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 402105 - net-print/cups-1.5.0-r4 - phpcups.c:43:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'phpcups_functions'
Summary: net-print/cups-1.5.0-r4 - phpcups.c:43:16: error: expected '=', ',', ';', 'as...
Status: RESOLVED DUPLICATE of bug 388105
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-03 22:06 UTC by J.C. Wren
Modified: 2012-02-07 16:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log from emerge -q cups (build.log,40.69 KB, text/plain)
2012-02-03 22:06 UTC, J.C. Wren
Details

Note You need to log in before you can comment on or make changes to this bug.
Description J.C. Wren 2012-02-03 22:06:38 UTC
cups-1.5.0-r4 fails to compile due to an error in phpcups.c


Reproducible: Always

Steps to Reproduce:
1.emerge -q cups
2.
3.
Actual Results:  
See attached build log

Expected Results:  
Compiles cleanly :)

# emerge --info
Portage 2.1.10.44 (hardened/linux/x86/selinux, gcc-4.5.3, glibc-2.14.1-r2, 3.2.2-hardened-r1-raid i686)
=================================================================
System uname: Linux-3.2.2-hardened-r1-raid-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-2.1
Timestamp of tree: Fri, 03 Feb 2012 05:45:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3
dev-util/cmake:           2.8.7-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.10.3, 1.11.2-r1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo hardened-dev x-portage
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.espri.arizona.edu/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/hardened-development /usr/local/portage"
SYNC="rsync://portage.private.com/gentoo-portage"
USE="aac apache2 ares berkdb bzip2 cli cracklib crypt ctype cups curl cxx dlz dri enscript gd gdbm hardened iconv imagemagick jbig jpeg jpeg2k lame mailwrapper mime modules mp3 mpm-prefork mudflap mysql mysqli ncurses netboot nfsv3 nls nptl nptlonly ogg open_perms openmp pam pax_kernel pcre perl php pic png readline rle sasl selinux sendmail sensord server session ssl subversion svnserve sysfs tcpd tiff truetype twolame unicode unzip urandom usb vhosts vim-syntax vorbis webdav x86 xml xpm zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3 php5-4" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa via vmware nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 J.C. Wren 2012-02-03 22:06:58 UTC
Created attachment 300883 [details]
build.log from emerge -q cups
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2012-02-07 15:06:05 UTC
Works fine here...
Which php version do you use? What's your output of "php-config" ?



Here: dev-lang/php-5.3.10, 

huettel@porto ~/Gentoo/gentoo-x86/net-print/cups $ php-config 
Usage: /usr/bin/php-config [OPTION]
Options:
  --prefix            [/usr/lib64/php5.3]
  --includes          [-I/usr/lib64/php5.3/include/php -I/usr/lib64/php5.3/include/php/main -I/usr/lib64/php5.3/include/php/TSRM -I/usr/lib64/php5.3/include/php/Zend -I/usr/lib64/php5.3/include/php/ext -I/usr/lib64/php5.3/include/php/ext/date/lib]
  --ldflags           []
  --libs              [-lcrypt   -lresolv -lsqlite -lreadline -lncurses -laspell -lpspell -lmysqlclient -lmcrypt -lltdl -lonig -lldap -llber -lt1 -lfreetype -lpng -lz -ljpeg -ldb-4.8 -lgdbm -lcurl -lbz2 -lz -lpcre -lcrypt -lrt -lm -ldl -lnsl  -lcrypt -lxml2 -lz -lm -lssl -lcrypto -lcurl -lssl -lcrypto -lldap -lrt -lssl -lcrypto -lz -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt ]
  --extension-dir     [/usr/lib64/php5.3/lib/extensions/no-debug-non-zts-20090626]
  --include-dir       [/usr/lib64/php5.3/include/php]
  --man-dir           [/usr/lib64/php5.3/man]
  --php-binary        [/usr/lib64/php5.3/bin/php]
  --php-sapis         [cli apache2handler]
  --configure-options [--prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr/lib64/php5.3 --mandir=/usr/lib64/php5.3/man --infodir=/usr/lib64/php5.3/info --libdir=/usr/lib64/php5.3/lib --with-libdir=lib64 --without-pear --disable-maintainer-zts --disable-bcmath --with-bz2 --disable-calendar --enable-ctype --with-curl --without-curlwrappers --enable-dom --without-enchant --enable-exif --enable-fileinfo --enable-filter --disable-ftp --with-gettext --without-gmp --enable-hash --without-mhash --with-iconv --disable-intl --disable-ipv6 --enable-json --without-kerberos --enable-libxml --enable-mbstring --with-mcrypt --without-mssql --with-onig=/usr --with-openssl --with-openssl-dir=/usr --disable-pcntl --enable-phar --disable-pdo --without-pgsql --enable-posix --with-pspell --without-recode --enable-simplexml --disable-shmop --without-snmp --disable-soap --enable-sockets --with-sqlite=/usr --enable-sqlite-utf8 --without-sqlite3 --without-sybase-ct --disable-sysvmsg --disable-sysvsem --disable-sysvshm --without-tidy --enable-tokenizer --disable-wddx --enable-xml --disable-xmlreader --disable-xmlwriter --without-xmlrpc --without-xsl --disable-zip --with-zlib --disable-debug --enable-dba --without-cdb --with-db4 --disable-flatfile --with-gdbm --disable-inifile --without-qdbm --with-freetype-dir=/usr --with-t1lib=/usr --disable-gd-jis-conv --with-jpeg-dir=/usr --with-png-dir=/usr --without-xpm-dir --with-gd --with-ldap --without-ldap-sasl --with-mysql=/usr --with-mysql-sock=/var/run/mysqld/mysqld.sock --without-mysqli --with-readline --without-libedit --without-mm --with-pcre-regex=/usr --with-pcre-dir=/usr --with-config-file-path=/etc/php/cli-php5.3 --with-config-file-scan-dir=/etc/php/cli-php5.3/ext-active --disable-embed --enable-cli --disable-cgi --disable-fpm --without-apxs2]
  --version           [5.3.10-pl0-gentoo]
  --vernum            [50310]
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2012-02-07 15:07:22 UTC
@php: any idea? this could be a problem in/with php includes...
Comment 4 J.C. Wren 2012-02-07 15:07:39 UTC
# php-config
Usage: /usr/bin/php-config [OPTION]
Options:
  --prefix            [/usr/lib/php5.4]
  --includes          [-I/usr/lib/php5.4/include/php -I/usr/lib/php5.4/include/php/main -I/usr/lib/php5.4/include/php/TSRM -I/usr/lib/php5.4/include/php/Zend -I/usr/lib/php5.4/include/php/ext -I/usr/lib/php5.4/include/php/ext/date/lib]
  --ldflags           [ -L/usr/lib/mysql -L/usr//lib]
  --libs              [-lcrypt   -lz -lresolv -lcrypt -lreadline -lncurses -lmysqlclient -lmcrypt -lltdl -lonig -lt1 -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -ldb-4.8 -lgdbm -lcurl -lbz2 -lz -lpcre -lrt -lm -ldl -lnsl  -lxml2 -lz -lm -lssl -lcrypto -lcurl -lcares -lssl -lcrypto -lrt -lssl -lcrypto -lz -lxml2 -lz -lm -lmysqlclient -lz -lcrypt -lnsl -lm -lssl -lcrypto -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lcrypt ]
  --extension-dir     [/usr/lib/php5.4/lib/extensions/no-debug-non-zts-20100525]
  --include-dir       [/usr/lib/php5.4/include/php]
  --man-dir           [/usr/lib/php5.4/man]
  --php-binary        [/usr/lib/php5.4/bin/php]
  --php-sapis         [cli apache2handler]
  --configure-options [--prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr/lib/php5.4 --mandir=/usr/lib/php5.4/man --infodir=/usr/lib/php5.4/info --libdir=/usr/lib/php5.4/lib --with-libdir=lib --without-pear --disable-maintainer-zts --disable-bcmath --with-bz2 --disable-calendar --enable-ctype --with-curl --without-curlwrappers --enable-dom --without-enchant --disable-exif --enable-fileinfo --enable-filter --disable-ftp --with-gettext --without-gmp --enable-hash --without-mhash --with-iconv --disable-intl --disable-ipv6 --enable-json --without-kerberos --enable-libxml --enable-mbstring --with-mcrypt --without-mssql --with-onig=/usr --with-openssl --with-openssl-dir=/usr --disable-pcntl --enable-phar --disable-pdo --without-pgsql --enable-posix --without-pspell --without-recode --enable-simplexml --disable-shmop --without-snmp --disable-soap --disable-sockets --without-sqlite3 --without-sybase-ct --disable-sysvmsg --disable-sysvsem --disable-sysvshm --without-tidy --enable-tokenizer --disable-wddx --enable-xml --disable-xmlreader --disable-xmlwriter --without-xmlrpc --without-xsl --enable-zip --with-zlib --disable-debug --enable-dba --without-cdb --with-db4 --disable-flatfile --with-gdbm --disable-inifile --without-qdbm --with-freetype-dir=/usr --with-t1lib=/usr --disable-gd-jis-conv --with-jpeg-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr --with-gd --with-mysql=/usr --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-mysqli=/usr/bin/mysql_config --with-readline --without-libedit --without-mm --with-pic --with-pcre-regex=/usr --with-pcre-dir=/usr --with-config-file-path=/etc/php/cli-php5.4 --with-config-file-scan-dir=/etc/php/cli-php5.4/ext-active --disable-embed --enable-cli --disable-cgi --disable-fpm --without-apxs2]
  --version           [5.4.0-rc7-pl0-gentoo]
  --vernum            [50400]
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2012-02-07 16:35:13 UTC

*** This bug has been marked as a duplicate of bug 388105 ***