Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278329 - dev-libs/poppler-glib-0.10.7 won't compile; problem with the configure script
Summary: dev-libs/poppler-glib-0.10.7 won't compile; problem with the configure script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Peter Alfredsen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-19 14:54 UTC by Paul-Sebastian Manole
Modified: 2009-07-30 21:18 UTC (History)
2 users (show)

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


Attachments
poppler-0.10.7/config.log (config.log,11.05 KB, text/plain)
2009-07-19 14:59 UTC, Paul-Sebastian Manole
Details
Build environment (environment,115.41 KB, text/plain)
2009-07-19 15:00 UTC, Paul-Sebastian Manole
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul-Sebastian Manole 2009-07-19 14:54:56 UTC
Original scenario was this:

emerge -av gimp 

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-libs/poppler-glib-0.10.7  USE="cairo" 0 kB
[ebuild  N    ] media-libs/libart_lgpl-2.3.20  USE="-debug" 0 kB
[ebuild  N    ] media-libs/babl-0.0.22  USE="mmx sse" 0 kB
[ebuild  N    ] virtual/poppler-glib-0.10.7  USE="cairo" 0 kB
[ebuild  N    ] media-libs/gegl-0.0.22  USE="cairo jpeg mmx png sdl sse svg -debug -doc -ffmpeg -openexr -raw -v4l" 0 kB
[ebuild  N    ] media-gfx/gimp-2.6.4  USE="alsa dbus hal jpeg mmx pdf png python smp sse svg tiff -aalib (-altivec) -curl -debug -doc -exif -gnome -lcms -mng -webkit -wmf" 0 kB

Where dev-libs/poppler-glib wouldn't compile.

Reproducible: Always

Steps to Reproduce:
1. emerge -av dev-libs/poppler-glib

Actual Results:  
emerge -av dev-libs/poppler-glib

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-libs/poppler-glib-0.10.7  USE="cairo" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] Y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-libs/poppler-glib-0.10.7
 * poppler-0.10.7.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                           [ ok ]
 * checking ebuild checksums ;-) ...                                                                                               [ ok ]
 * checking auxfile checksums ;-) ...                                                                                              [ ok ]
 * checking miscfile checksums ;-) ...                                                                                             [ ok ]
>>> Unpacking source...
>>> Unpacking poppler-0.10.7.tar.gz to /var/tmp/portage/dev-libs/poppler-glib-0.10.7/work
>>> Source unpacked in /var/tmp/portage/dev-libs/poppler-glib-0.10.7/work
>>> Preparing source in /var/tmp/portage/dev-libs/poppler-glib-0.10.7/work/poppler-0.10.7 ...
 * Running elibtoolize in: poppler-0.10.7
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/poppler-glib-0.10.7/work/poppler-0.10.7 ...
 * econf: updating poppler-0.10.7/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating poppler-0.10.7/config.guess with /usr/share/gnuconfig/config.guess
./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-static --enable-poppler-qt4 --enable-poppler-glib --enable-xpdf-headers --enable-libjpeg --enable-libopenjpeg --enable-zlib --enable-splash-output --enable-cairo-output --enable-gdk --enable-splash-output
./configure:1584: command not found: ac_cv_env_POPPLER_QT4_TEST_CFLAGS_set=set
configure: error: `POPPLER_QT4_TEST_CFLAGS' was not set in the previous run
configure: error: in `/var/tmp/portage/dev-libs/poppler-glib-0.10.7/work/poppler-0.10.7':
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm /dev/null' and start over

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-libs/poppler-glib-0.10.7/work/poppler-0.10.7/config.log
 * 
 * ERROR: dev-libs/poppler-glib-0.10.7 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 3062:  Called poppler_src_configure
 *             environment, line 2816:  Called econf '--disable-static' '--enable-poppler-qt4' '--enable-poppler-glib' '--enable-xpdf-headers' '--enable-libjpeg' '--enable-libopenjpeg' '--enable-zlib' '--enable-splash-output' '--enable-cairo-output' '--enable-gdk' '--enable-splash-output'
 *               ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 *  The die message:
 *   econf failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-libs/poppler-glib-0.10.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/poppler-glib-0.10.7/temp/environment'.
 * 

>>> Failed to emerge dev-libs/poppler-glib-0.10.7, Log file:

>>>  '/var/tmp/portage/dev-libs/poppler-glib-0.10.7/temp/build.log'

 * Messages for package dev-libs/poppler-glib-0.10.7:

 * 
 * ERROR: dev-libs/poppler-glib-0.10.7 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 3062:  Called poppler_src_configure
 *             environment, line 2816:  Called econf '--disable-static' '--enable-poppler-qt4' '--enable-poppler-glib' '--enable-xpdf-headers' '--enable-libjpeg' '--enable-libopenjpeg' '--enable-zlib' '--enable-splash-output' '--enable-cairo-output' '--enable-gdk' '--enable-splash-output'
 *               ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 *  The die message:
 *   econf failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-libs/poppler-glib-0.10.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/poppler-glib-0.10.7/temp/environment'.
 *

Expected Results:  
Configure and compile with no errors.

emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5sokka01 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r5sokka01-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-glibc2.2.5
Timestamp of tree: Sat, 18 Jul 2009 20:45:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.6, 2.5.4-r3
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ http://mirrors.evolva.ro/gentoo/ http://mirrors.xservers.ro/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en ro"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 apache2 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session smp spell spl sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis xml xorg xulrunner xv zlib" ALSA_CARDS="emu10k1x hda-intel usb-audio" 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 authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache 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" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ro" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa vga vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

env
DISPLAY=:0.0
XDG_SESSION_COOKIE=b40c5fafee170b3b1458b7334a5608a9-1247944330.468708-46974848
TERM=rxvt-unicode
USER=root
LOGNAME=root
HUSHLOGIN=FALSE
SHLVL=5
PWD=/home/thorns
OLDPWD=/home/thorns
CONFIG_PROTECT_MASK=/etc/sandbox.d /etc/php/cli-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/udev/rules.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/ca-certificates.conf
CVS_RSH=ssh
GCC_SPECS=
GDK_USE_XFT=1
INFOPATH=/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2/info:/usr/share/info/emacs-22
LANG=en_US.UTF-8
LESS=-R -M --shift 5
LESSOPEN=|lesspipe.sh %s
MANPATH=/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2/man:/usr/lib64/php5/man/
OPENGL_PROFILE=nvidia
PAGER=/usr/bin/less
XDG_CONFIG_DIRS=/etc/xdg
XDG_DATA_DIRS=/usr/local/share:/usr/share
EDITOR=/bin/nano
HISTSIZE=2000
HISTFILE=/root/.history
SAVEHIST=2000
_=/bin/env
XAUTHORITY=/root/.xauthwumX60
WINDOWPATH=7
WINDOWID=16777222
COLORFGBG=default;0
COLORTERM=rxvt
PATH=/sbin:/bin:/usr/sbin:/usr/bin
HOME=/root
SHELL=/bin/zsh
Comment 1 Paul-Sebastian Manole 2009-07-19 14:59:06 UTC
Created attachment 198483 [details]
poppler-0.10.7/config.log

The config log
Comment 2 Paul-Sebastian Manole 2009-07-19 15:00:59 UTC
Created attachment 198484 [details]
Build environment
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-07-19 18:55:08 UTC
Please don't change Severity if you don't know what it means, thanks.
Comment 4 Paul-Sebastian Manole 2009-07-19 20:22:16 UTC
(In reply to comment #3)
> Please don't change Severity if you don't know what it means, thanks.
> 

Yeah, sorry. I don't. The explanation it had along with it, in the selection dialog, told me to select it. It thought this was something that broke something (compiling).

Now, I wonder if anyone else has the same problem. I talked to someone but doesn't seem to.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-07-22 18:22:02 UTC
What version of qt-4 do you have installed?
Comment 6 Paul-Sebastian Manole 2009-07-24 23:23:36 UTC
(In reply to comment #5)
> What version of qt-4 do you have installed?
> 

Version 4.5.1
Comment 7 Paul-Sebastian Manole 2009-07-30 21:18:54 UTC
FOUND FIX:

emerge virtual/poppler-qt4

--
AFAICT, some `configure` parameters were not exported in "/usr/share/gnuconfig/config.guess" (check the build log) because `poppler-qt4` wasn't installed and the `configure` parameters *required* building with "--enable-poppler-qt4".

THIS PRODUCED A VALID FIX FOR ME. EMERGING GIMP ALSO WORKS NOW.