Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478102 - dev-python/pygobject-3.8.3 - ./configure: line 14251: syntax error near unexpected token `maximum'
Summary: dev-python/pygobject-3.8.3 - ./configure: line 14251: syntax error near unexp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnome-3.8
  Show dependency tree
 
Reported: 2013-07-25 08:48 UTC by tka
Modified: 2013-07-25 20:26 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,11.75 KB, text/plain)
2013-07-25 08:49 UTC, tka
Details
config.log (config.log,45.61 KB, text/plain)
2013-07-25 08:51 UTC, tka
Details
configure (configure,489.61 KB, text/plain)
2013-07-25 19:34 UTC, tka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tka 2013-07-25 08:48:35 UTC
checking for GLIB - version >= 2.34.2... yes (version 2.36.3)
checking for ffi... checking for FFI... yes
checking for GIO... yes
checking for GI... yes
checking for CAIRO... yes
checking for PYCAIRO... yes
./configure: line 14251: syntax error near unexpected token `maximum'
./configure: line 14251: `GNOME_COMPILE_WARNINGS(maximum)'

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-python/pygobject-3.8.3/work/pygobject-3.8.3-python3_3/config.log
 * ERROR: dev-python/pygobject-3.8.3 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 4603:  Called python_foreach_impl 'run_in_build_dir' 'gnome2_src_configure' '--with-ffi' '--enable-cairo' '--enable-thread'
 *        environment, line 4271:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'run_in_build_dir' 'gnome2_src_configure' '--with-ffi' '--enable-cairo' '--enable-thread'
 *        environment, line 3634:  Called _multibuild_run '_python_multibuild_wrapper' 'run_in_build_dir' 'gnome2_src_configure' '--with-ffi' '--enable-cairo' '--enable-thread'
 *        environment, line 3632:  Called _python_multibuild_wrapper 'run_in_build_dir' 'gnome2_src_configure' '--with-ffi' '--enable-cairo' '--enable-thread'
 *        environment, line  801:  Called run_in_build_dir 'gnome2_src_configure' '--with-ffi' '--enable-cairo' '--enable-thread'
 *        environment, line 4592:  Called gnome2_src_configure '--with-ffi' '--enable-cairo' '--enable-thread'
 *        environment, line 3184:  Called econf '--with-ffi' '--enable-cairo' '--enable-thread'
 *   phase-helpers.sh, line  521:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-python/pygobject-3.8.3'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/pygobject-3.8.3'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/pygobject-3.8.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pygobject-3.8.3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/pygobject-3.8.3/work/pygobject-3.8.3-python3_3'



# emerge -pqv '=dev-python/pygobject-3.8.3'
[ebuild     U ] dev-python/pygobject-3.8.3 [3.4.2-r1] USE="cairo {test*} threads -examples" PYTHON_TARGETS="python2_7 python3_3 -python2_6 -python3_1 -python3_2"

# emerge --info '=dev-python/pygobject-3.8.3'
Portage 2.1.12.13 (hardened/linux/amd64/no-multilib, gcc-4.7.3, glibc-2.17, 3.10.2 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.2-x86_64-Intel-R-_Core-TM-_i7-3720QM_CPU_@_2.60GHz-with-gentoo-2.2
KiB Mem:    16370372 total,  12452016 free
KiB Swap:   17825788 total,  17825788 free
Timestamp of tree: Thu, 25 Jul 2013 07:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r1, 3.3.2-r1
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo science
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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=native -mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 acl acpi alsa amd64 avx berkdb bzip2 cairo caps cdda cddb cdparanoia cli cracklib crypt cups cxx dbus dri dts dvd fam ffmpeg fftw flac fontconfig fortran gdbm gif gimp gmp gnutls gpm gtk hardened iconv icu idn ipv6 jpeg justify lame lcms libnotify mad matroska mmap mmx mmxext modules mp3 mpeg mudflap ncurses networkmanager nptl ogg opengl openmp pam pax_kernel pcre png policykit ppds readline sasl sdl session sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification svg tcpd theora threads tiff truetype udev unicode vorbis x264 xattr xcb xinerama xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="i965 intel nouveau" XFCE_PLUGINS="brightness logout menu trash" 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"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 tka 2013-07-25 08:49:24 UTC
Created attachment 354150 [details]
build.log
Comment 2 tka 2013-07-25 08:51:20 UTC
Created attachment 354152 [details]
config.log
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-25 13:15:43 UTC
Comment on attachment 354152 [details]
config.log

I don't think this is the config.log for the econf that went bad. Could you attach the other ones as well?
Comment 4 tka 2013-07-25 14:38:45 UTC
(In reply to Jeroen Roovers from comment #3)
> I don't think this is the config.log for the econf that went bad. Could you
> attach the other ones as well?

The attached file is the only config.log I have:

# find /var/tmp/portage/dev-python/ -name config.log
/var/tmp/portage/dev-python/pygobject-3.8.3/work/pygobject-3.8.3-python3_3/config.log
Comment 5 Pacho Ramos gentoo-dev 2013-07-25 17:59:34 UTC
I cannot reproduce :/, and your configure line looks to not inherit the warning option from gnome2.eclass, compare with mine:
./configure --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 --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --with-ffi --enable-cairo --enable-thread
Comment 6 tka 2013-07-25 18:52:21 UTC
Sorry, I can't see any difference between yours and mine.
Comment 7 Pacho Ramos gentoo-dev 2013-07-25 19:13:45 UTC
I copied yours by error:
./configure --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 --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --enable-compile-warnings=minimum --with-ffi --enable-cairo --enable-thread

I am referring to enable-compile-warnings
Comment 8 tka 2013-07-25 19:34:44 UTC
Created attachment 354202 [details]
configure

Looking at gnome2.eclass, this option is added only if configure contains the string "enable-compile-warnings". On my system, this is not the case as can be seen in the attached configure script and the following grep:

# grep "enable-compile-warnings" configure
#
Comment 9 Pacho Ramos gentoo-dev 2013-07-25 19:48:35 UTC
What gnome-common are you using? I have 3.7.4
Comment 10 tka 2013-07-25 20:01:24 UTC
(In reply to Pacho Ramos from comment #9)
> What gnome-common are you using? I have 3.7.4

Ok, that is the reason: gnome-common is not installed here. Since I am using XFCE (plus some gnome applications, e.g., evince), I have only the required bits of gnome installed. After installing gnome-base, pygobject-3.8.3 compiles without error.

So please, add gnome-base to pygobject's DEPEND.
Comment 11 Pacho Ramos gentoo-dev 2013-07-25 20:26:25 UTC
+  25 Jul 2013; Pacho Ramos <pacho@gentoo.org> -pygobject-3.8.2.ebuild,
+  pygobject-3.8.3.ebuild:
+  Add missing dep on gnome-common due eautoreconf (#478102 by Timo Kamph), drop
+  old.
+