Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302237 - dev-libs/poppler-0.10.17 failed compile due to 'GDirEntry* GDir::getNextEntry()' function
Summary: dev-libs/poppler-0.10.17 failed compile due to 'GDirEntry* GDir::getNextEntry...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High critical
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-25 22:39 UTC by Petronio Coelho
Modified: 2010-02-07 04:57 UTC (History)
0 users

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


Attachments
Emerge log (dev-libs:poppler-0.10.7:20100125-221050.log,16.04 KB, text/plain)
2010-01-25 22:40 UTC, Petronio Coelho
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petronio Coelho 2010-01-25 22:39:09 UTC
Once trying to compile dev-libs/poppler-0.10.17 the compile fails.

Reproducible: Always

Steps to Reproduce:
1. emerge dev-libs/poppler-0.10.17
(or just 'emerge dev-libs/poppler' for us non-"~amd64" users)



The emerge log is attached.

emerge --info

Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-17-generic x86_64)
=================================================================
System uname: Linux-2.6.31-17-generic-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-gentoo-1.12.13
Timestamp of tree: Mon, 25 Jan 2010 20:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r2
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
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.namerica.gentoo.org/gentoo-portage"
USE="# 3dnow DVDs/CDs General Gnome Images KDE Languages Network Servers Sound System Video X X11 a52 aac acl acpi alsa amd64 apache2 berkdb branding bsf bzip2 cairo cdda cgi cli cracklib crypt css cups curl cxx dbus dri dv dvd dvdr encode exif fam fbcon ffmpeg flac fortran ftp gd gdbm gif gimp gnome gnutls gphoto gpm gsm gtk gzip hal hddtemp iconv ipv6 java javascript jpeg jpeg2k kde lame libnotify lm_sensors mad matroska mime mmx modules mono mozilla mp3 mp4 mpeg mplayer msn mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl php png pppd python qt3 qt4 quicktime raw rdesktop readline reflection rss ruby samba scanner session smp socks5 spell spl sqlite sse sse2 ssl svg symlink sysfs syslog szip tcpd threads tiff truetype unicode usb v4l v4l2 vcd vhosts vnc vorbis wavpack wmf x264 xcomposite xine xinerama xinetd xml xorg xscreensaver xulrunner xv xvid zlib" 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" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Petronio Coelho 2010-01-25 22:40:56 UTC
Created attachment 217423 [details]
Emerge log
Comment 2 Ben de Groot (RETIRED) gentoo-dev 2010-01-26 01:44:02 UTC
Try app-text/poppler-0.12.3-r2 instead, which is our next stable candidate.
Comment 3 Petronio Coelho 2010-01-26 03:22:30 UTC
(In reply to comment #2)
> Try app-text/poppler-0.12.3-r2 instead, which is our next stable candidate.
> 

I did by adding "dev-libs/poppler ~amd64" to /etc/portage/package.keywords but since other libraries depend on it the versions clash.
Adding ACCEPT_KEYWORDS="~amd64" to my make.conf gives me some nice circular dependencies. Although I was able to associate some use flags I could not manage to get rid of it. Removing the USE flags cups, pdf, and qt4 did not help.

Circular Dependencies (~amd64):
app-text/poppler
net-print/cups
dev-util/cmake
x11-libs/qt-gui
virtual/poppler-utils

I'm not sure since I didn't look in the source code itself but
gfile.cc: In member function ‘GDirEntry* GDir::getNextEntry()’:
gfile.cc:722: error: cannot convert ‘direct*’ to ‘dirent*’ in assignment
gfile.cc:724: error: invalid use of incomplete type ‘struct dirent’
seems like a simple fix where the glitch is caused by a spelling error where it was spelled "dirent" instead of "direct".
Comment 4 Maciej Mrozowski gentoo-dev 2010-02-07 02:37:46 UTC
I think circular dependencies are caused by cups USE flag.
As for Qt4 - run emerge with --tree option to get dependency tree so that you can hunt down package pulling Qt.
Comment 5 Petronio Coelho 2010-02-07 04:57:53 UTC
I decided not to hang on this and started a new system (since this happened while building one). Since I can no longer test this I will be closing this. Thank you for all that helped.