Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401133 - net-print/cups-1.5.0-r3 - phpcups.c:43:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘phpcups_functions’
Summary: net-print/cups-1.5.0-r3 - 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-01-28 07:52 UTC by tman
Modified: 2012-02-07 21:52 UTC (History)
4 users (show)

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


Attachments
/var/log/portage/net-print:cups-1.5.0-r3:20120128-074938.log (net-print:cups-1.5.0-r3:20120128-074938.log,44.52 KB, text/plain)
2012-01-28 07:53 UTC, tman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2012-01-28 07:52:32 UTC
cups-lpd.8...
    cups-polld.8...
    cupsd.8...
    cupsenable.8...
    lpadmin.8...
    lpinfo.8...
    lpmove.8...
    lpc.8...
Making all in doc...
Making all in examples...
Making all in templates...
Making all in scripting/php...
Compiling phpcups.c...
phpcups.c:43:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘phpcups_functions’
phpcups.c:64:3: error: ‘phpcups_functions’ undeclared here (not in a function)
cc1: warning: unrecognized command line option "-Wno-tautological-compare"
make[1]: *** [phpcups.o] Error 1
make: *** [all] Error 1
 * ERROR: net-print/cups-1.5.0-r3 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =net-print/cups-1.5.0-r3',
 * the complete build log and the output of 'emerge -pqv =net-print/cups-1.5.0-r3'.
 * The complete build log is located at '/var/log/portage/net-print:cups-1.5.0-r3:20120128-074938.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-print/cups-1.5.0-r3/temp/environment'.
 * S: '/var/tmp/portage/net-print/cups-1.5.0-r3/work/cups-1.5.0'
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info


Reproducible: Always




Portage 2.2.0_alpha84_p48 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r2, 3.2.1-gentoo-r2 x86_64)
=================================================================
System uname: Linux-3.2.1-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.1
Timestamp of tree: Sat, 28 Jan 2012 07:00:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake:           2.8.7-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          9999
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 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 lxde mpd qting-edge science wirelay scarabeus Techwolf poly-c luman nikai emacs java-overlay gnome mgorny lokal
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en vi"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
Comment 1 tman 2012-01-28 07:53:06 UTC
Created attachment 300079 [details]
/var/log/portage/net-print:cups-1.5.0-r3:20120128-074938.log
Comment 2 Brandon Penglase 2012-01-29 17:31:52 UTC
This seems to be the same as bug: https://bugs.gentoo.org/show_bug.cgi?id=388105
so I'll put my comments in that thread (as I too am having the same issue.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2012-02-07 21:52:35 UTC

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