Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to emerge app-text/poppler-0.22.2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 3991
Location: india

PostPosted: Wed Mar 13, 2013 4:06 am    Post subject: Failed to emerge app-text/poppler-0.22.2 Reply with quote

Code:
am.cc:2392:12: warning: ‘dctClipInit’ defined but not used [-Wunused-variable]
make[2]: *** [CMakeFiles/poppler.dir/poppler/Stream.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Building CXX object CMakeFiles/poppler.dir/poppler/strtok_r.cpp.o
/usr/bin/i686-pc-linux-gnu-g++  -DHAVE_CONFIG_H=1 -Dpoppler_EXPORTS  -DNDEBUG -Wall -Wcast-align -fno-exceptions -fno-check-new -fno-common -ansi -Wnon-virtual-dtor -Woverloaded-virtual -O2 -march=i686 -pipe  -fPIC -I/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2 -I/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2/fofi -I/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2/goo -I/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2/poppler -I/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2_build -I/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2_build/poppler -I/usr/include/freetype2    -o CMakeFiles/poppler.dir/poppler/strtok_r.cpp.o -c /var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2/poppler/strtok_r.cpp
make[2]: Leaving directory `/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2_build'
make[1]: *** [CMakeFiles/poppler.dir/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2_build'
make: *** [all] Error 2
 * ERROR: app-text/poppler-0.22.2 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-text/poppler-0.22.2'`,
 * the complete build log and the output of `emerge -pqv '=app-text/poppler-0.22.2'`.
 * The complete build log is located at '/var/tmp/portage/app-text/poppler-0.22.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/poppler-0.22.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2_build'
 * S: '/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2'

>>> Failed to emerge app-text/poppler-0.22.2, Log file:

>>>  '/var/tmp/portage/app-text/poppler-0.22.2/temp/build.log'


Code:
localhost ramaswamy # emerge --info '=app-text/poppler-0.22.2'
Portage 2.2.0_alpha157 (default/linux/x86/13.0, gcc-4.6.3, glibc-2.16.0, 3.8.0-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.8.0-gentoo-i686-AMD_E1-1200_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2
KiB Mem:     3616692 total,   1780808 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Wed, 13 Mar 2013 03:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.5.4, 4.6.3, 4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
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 --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl alsa berkdb bzip2 cdr cli cracklib crypt cxx dri dvd fortran gdbm gnome gpm gtk iconv ipv6 modules mudflap ncurses nls nptl openmp pam pcre qt4 readline session ssl tcpd unicode x86 zlib" ABI_X86="32" 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="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" 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="synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="ati radeon vesa" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

localhost ramaswamy #


what is the unfinished job here
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
LA GLOBULE
n00b
n00b


Joined: 14 Mar 2007
Posts: 7

PostPosted: Wed Mar 13, 2013 1:23 pm    Post subject: Reply with quote

Same problem for me :

Code:
[ 40%] Building CXX object CMakeFiles/poppler.dir/poppler/PSOutputDev.cc.o
/usr/bin/i686-pc-linux-gnu-g++  -Dpoppler_EXPORTS -DHAVE_CONFIG_H=1  -DNDEBUG -Wall -Wcast-align -fno-exceptions -fno-check-new -fno-common -ansi -Wnon-virtual-dtor -Woverloaded-virtual -march=prescott -O2 -fomit-frame-pointer -pipe  -fPIC -I/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2 -I/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2/fofi -I/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2/goo -I/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2/poppler -I/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2_build -I/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2_build/poppler -I/usr/include/freetype2    -o CMakeFiles/poppler.dir/poppler/PSOutputDev.cc.o -c /var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2/poppler/PSOutputDev.cc
/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2/poppler/Stream.cc: In member function 'Stream* Stream::makeFilter(char*, Stream*, Object*, Object*)':
/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2/poppler/Stream.cc:287:46: error: no matching function for call to 'DCTStream::DCTStream(Stream*&, int&, Object*&)'
/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2/poppler/Stream.h:853:3: note: candidates are: DCTStream::DCTStream(Stream*, int)
/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2/poppler/Stream.h:850:38: note:                 DCTStream::DCTStream(const DCTStream&)
/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2/poppler/Stream.cc: At global scope:
/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2/poppler/Stream.cc:2413:1: error: prototype for 'DCTStream::DCTStream(Stream*, int, Object*)' does not match any in class 'DCTStream'
/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2/poppler/Stream.h:850:38: error: candidates are: DCTStream::DCTStream(const DCTStream&)
/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2/poppler/Stream.h:853:3: error:                 DCTStream::DCTStream(Stream*, int)
/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2/poppler/Stream.cc:2392:12: warning: 'dctClipInit' defined but not used
make[2]: *** [CMakeFiles/poppler.dir/poppler/Stream.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2/poppler/PSOutputDev.cc: In function 'void outputToFile(void*, const char*, int)':
/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2/poppler/PSOutputDev.cc:1049:39: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
make[2]: Leaving directory `/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2_build'
make[1]: *** [CMakeFiles/poppler.dir/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2_build'
make: *** [all] Error 2
 * ERROR: app-text/poppler-0.22.2 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-text/poppler-0.22.2'`,
 * the complete build log and the output of `emerge -pqv '=app-text/poppler-0.22.2'`.
 * The complete build log is located at '/var/tmp/portage/app-text/poppler-0.22.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/poppler-0.22.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2_build'
 * S: '/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2'

>>> Failed to emerge app-text/poppler-0.22.2, Log file:

>>>  '/var/tmp/portage/app-text/poppler-0.22.2/temp/build.log'

 * Messages for package app-text/poppler-0.22.2:

 * ERROR: app-text/poppler-0.22.2 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-text/poppler-0.22.2'`,
 * the complete build log and the output of `emerge -pqv '=app-text/poppler-0.22.2'`.
 * The complete build log is located at '/var/tmp/portage/app-text/poppler-0.22.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/poppler-0.22.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2_build'
 * S: '/var/tmp/portage/app-text/poppler-0.22.2/work/poppler-0.22.2'


Code:
14:24:19 [jabba] root /home/globule # emerge --info '=app-text/poppler-0.22.2'
Portage 2.1.11.52 (default/linux/x86/13.0, gcc-4.5.4, glibc-2.15-r3, 3.8.0 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.8.0-i686-Intel-R-_Core-TM-_i5-2410M_CPU_@_2.30GHz-with-gentoo-2.1
KiB Mem:     4043796 total,   1539492 free
KiB Swap:     530140 total,    530140 free
Timestamp of tree: Wed, 13 Mar 2013 10:00:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r2, 3.1.4-r3, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /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"
CXXFLAGS="-march=prescott -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="bzip2 cli cracklib cxx dri gdbm iconv introspection minimal modules mudflap nls nptl opengl openmp pam pcre readline session ssl tcpd userlocales x86 xinerama zlib" ABI_X86="32" 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="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" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets 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="evdev synaptics keyboard mouse void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr fr_FR" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel dummy" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
[/code]
Back to top
View user's profile Send private message
comprookie2000
Developer
Developer


Joined: 25 Jul 2004
Posts: 884
Location: Pompano Beach, Florida

PostPosted: Wed Mar 13, 2013 1:30 pm    Post subject: Reply with quote

May want to follow the bug;
https://bugs.gentoo.org/show_bug.cgi?id=461510
_________________
http://dev.gentoo.org/~dabbott/
Back to top
View user's profile Send private message
LA GLOBULE
n00b
n00b


Joined: 14 Mar 2007
Posts: 7

PostPosted: Thu Mar 14, 2013 10:21 pm    Post subject: Reply with quote

Quote:
Duncan Forster 2013-03-13 23:14:13 UTC
It seems poppler is now broken if libjpeg is not enabled.

To fix just add:

app-text/poppler jpeg

To file:

/etc/portage/package.use


Works for me too :) Thanks.
Back to top
View user's profile Send private message
dilfridge
Developer
Developer


Joined: 18 Sep 2010
Posts: 35
Location: Regensburg, Germany

PostPosted: Sat Mar 16, 2013 11:18 am    Post subject: Reply with quote

And also without jpeg it is fixed now. (Note that building poppler with USE=jpeg is highly recommended by upstream.)
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 3991
Location: india

PostPosted: Sun Mar 17, 2013 3:26 am    Post subject: Reply with quote

today's poppler has merged with jpeg useflag by tself.
i did not alter package.use
portage update must have done it
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
dilfridge
Developer
Developer


Joined: 18 Sep 2010
Posts: 35
Location: Regensburg, Germany

PostPosted: Sun Mar 17, 2013 4:43 pm    Post subject: Reply with quote

Indeed... have a look at the ChangeLog:

Code:

  13 Mar 2013; Andreas K. Huettel <dilfridge@gentoo.org> poppler-0.22.2.ebuild,
  +files/poppler-0.22.2-nojpeg.patch:
  Fix build without libjpeg, bug 461510; build by default with libjpeg
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum