Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293899 - Problem compiling poppler 0.12.1
Summary: Problem compiling poppler 0.12.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Peter Alfredsen (RETIRED)
URL: http://bugs.freedesktop.org/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-20 21:37 UTC by Michael
Modified: 2010-02-10 23:24 UTC (History)
4 users (show)

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


Attachments
my modified ebuild (poppler-0.12.1.ebuild,1.50 KB, text/plain)
2009-12-02 16:25 UTC, Michael
Details
the patch i made (poppler-0.12.1-configure.patch,30.09 KB, patch)
2009-12-02 16:27 UTC, Michael
Details | Diff
conftest.c (conftest.c,1.90 KB, text/plain)
2010-01-03 13:59 UTC, hiyuh
Details
conftest.i (conftest.i,114.38 KB, text/plain)
2010-01-03 14:02 UTC, hiyuh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2009-11-20 21:37:36 UTC
poppler's configure file was messed up somehow, I reported the bug to bugs.freedesktop.org and a fix was developed, I now the ebuild and patch that I made, 

would these files be helpful to someone else?

Reproducible: Always

Steps to Reproduce:
1. emerge =poppler-0.12.1
2. fails
3. fixed it
4. want to know if someone wants/can use the fix

Actual Results:  
it works now


i'm not familiar with the whole bug reporting stuffs, but I mean well and I'm eager to help. I believe that I have done something to advance things a bit, but I can't get anyone to tell me if I have or not (or if i'm being annoying, which I don't want to be) I just want to know what to do in a situation like this.
Comment 1 Rafał Mużyło 2009-11-20 23:05:45 UTC
Somehow, I get the feeling, that when they've "fixed"
this bug upstream, they've simply masked an altivec specific
compiler problem.
Comment 2 Ian Johnson 2009-11-27 03:51:05 UTC
(In reply to comment #0)
> poppler's configure file was messed up somehow, I reported the bug to
> bugs.freedesktop.org and a fix was developed, I now the ebuild and patch that I
> made, 
> 
> would these files be helpful to someone else?
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. emerge =poppler-0.12.1
> 2. fails
> 3. fixed it
> 4. want to know if someone wants/can use the fix
> 
> Actual Results:  
> it works now
> 
> 
> i'm not familiar with the whole bug reporting stuffs, but I mean well and I'm
> eager to help. I believe that I have done something to advance things a bit,
> but I can't get anyone to tell me if I have or not (or if i'm being annoying,
> which I don't want to be) I just want to know what to do in a situation like
> this.
> 

Please post the fix - I have been waiting for this to be fixed for a few weeks now.  Thank you
Comment 3 Rafał Mużyło 2009-11-27 04:31:50 UTC
My comment was misunderstood - other than the upstream "fix",
I've got nothing. I simply suspect that the real problem lies
in altivec/gcc combo (on x86, so it's not like I can test it).
Comment 4 Michael 2009-12-02 16:25:57 UTC
Created attachment 211780 [details]
my modified ebuild
Comment 5 Michael 2009-12-02 16:27:05 UTC
Created attachment 211781 [details, diff]
the patch i made

sorry for the delay on these things, the holiday took me away from email for a bit
Comment 6 Rafał Mużyło 2009-12-03 13:04:41 UTC
@reporter:
following my comments, I've opened 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42199

Now, could you provide standard info for a gcc bug ?

Among other, compile that failing test with gcc (not g++)
and attach the preprocessed sources (see http://gcc.gnu.org/bugs/
for details).
Comment 7 hiyuh 2010-01-03 13:59:52 UTC
Created attachment 215018 [details]
conftest.c

snipped conftest.c from config.log.
On top of comments, there are actual fail-expected CC and preprocess command that i did by hand.
ill attach preprocessed output later.
Comment 8 hiyuh 2010-01-03 14:02:54 UTC
Created attachment 215020 [details]
conftest.i

preprocessed output.

FYI, following is my emerge --info.
Portage 2.1.7.16 (default/linux/powerpc/ppc32/10.0/desktop, gcc-4.4.2, glibc-2.10.1-r1, 2.6.31-gentoo-r2 ppc)
=================================================================
System uname: Linux-2.6.31-gentoo-r2-ppc-7447A,_altivec_supported-with-gentoo-2.0.1
Timestamp of tree: Sat, 02 Jan 2010 15:00:22 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.6.3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="ppc ~ppc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-Os -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -Wall"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
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"
CXXFLAGS="-Os -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -Wall"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.gg3.net 	http://ftp.jaist.ac.jp/pub/Linux/Gentoo 	ftp://ftp.jaist.ac.jp/pub/Linux/Gentoo 	ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO 	ftp://gg3.net/pub/linux/gentoo 	http://mirror.gentoo.gr.jp 	http://gentoo.channelx.biz"
LDFLAGS="-Wl,-O1"
LINGUAS="ja"
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="/usr/local/overlay/hiyuh /usr/local/overlay/x11"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib alisp alsa altivec apm asf async audiofile bash-completion bdf berkdb branding bzip2 cairo canvas cdparanoia cdr cjk cli consolekit cracklib crypt cscope ctype curl cxx dga dri dts dvd dvdr dvdread dvix4linux ecc edl emboss encode evo expat fat fbcon fbdev ffmpeg fftw firefox flac flash fltk fontconfig fortran ftp gcrypt gdbm ggi gif glitz glx gmp gpm graphviz gs gtk gtk2 hfs ibam iconv icu idn imagemagick imlib ipv6 jbig jpeg jpeg2k lame lcms libcaca libwww lzma lzo mad matroska midi mikmod mng modplug modules mp2 mp3 mp4 mpeg mudflap ncurses network nfs nls nptl nptlonly nsplugin ntfs ogg opengl openmp openssh openssl pango pbbuttonsd pci pcre pdf png ppc ppds pppd python qt3support quicktime readline reflection sdl session sftplogging speex spl sqlite ssl svg sysfs theora threads thunar tiff timidity truetype uim unicode usb vcd vim vim-pager vim-syntax vim-with-x vorbis wifi x264 xanim xcb xft xine xinerama xml xml2 xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-tas aoa-soundbus aoa-soundbus-i2s" 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" ELIBC="glibc" INPUT_DEVICES="keyboard evdev mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ja" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 hiyuh 2010-01-03 14:06:29 UTC
(In reply to comment #6)
> @reporter:
> following my comments, I've opened 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42199
> 
> Now, could you provide standard info for a gcc bug ?
> 
> Among other, compile that failing test with gcc (not g++)
> and attach the preprocessed sources (see http://gcc.gnu.org/bugs/
> for details).

i have no gcc bugzie account ATM.
feel free to copy that above ones.
Comment 10 Rafał Mużyło 2010-01-03 14:27:48 UTC
(In reply to comment #9)
OK, but:
- just to make sure:
if compiled with gcc, it fails for you the same way,
as for the original poster ?

- 'gcc -v' output is still missing
Comment 11 hiyuh 2010-01-03 15:54:32 UTC
(In reply to comment #10)
> (In reply to comment #9)
> OK, but:
> - just to make sure:
> if compiled with gcc, it fails for you the same way,
> as for the original poster ?

yes, and the attached patch works.

> - 'gcc -v' output is still missing

Using built-in specs.
Target: powerpc-unknown-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.4.2/work/gcc-4.4.2/configure --prefix=/usr --bindir=/usr/powerpc-unknown-linux-gnu/gcc-bin/4.4.2 --includedir=/usr/lib/gcc/powerpc-unknown-linux-gnu/4.4.2/include --datadir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/4.4.2 --mandir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/4.4.2/man --infodir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/4.4.2/info --with-gxx-include-dir=/usr/lib/gcc/powerpc-unknown-linux-gnu/4.4.2/include/g++-v4 --host=powerpc-unknown-linux-gnu --build=powerpc-unknown-linux-gnu --enable-altivec --disable-fixed-point --with-ppl --with-cloog --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/powerpc-unknown-linux-gnu/4.4.2/python --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.4.2 p1.0'
Thread model: posix
gcc version 4.4.2 (Gentoo 4.4.2 p1.0)
Comment 12 Rafał Mużyło 2010-01-03 16:49:00 UTC
OK, sent info to gcc bugzilla.
Now, we need to wait for a response.
Comment 13 Rafał Mużyło 2010-01-03 16:50:01 UTC
Upstream bug number: 42199.
Comment 14 Samuli Suominen (RETIRED) gentoo-dev 2010-02-10 23:22:23 UTC
http://bugs.freedesktop.org/show_bug.cgi?id=25103#c8 is closed "RESOLVED, FIXED" and says it's in 0.12.3 which we have.

Please test =app-text/poppler-0.12.3-r3.
Comment 15 Ben de Groot (RETIRED) gentoo-dev 2010-02-10 23:24:24 UTC
Closing as fixed, since the version this was reported for is no longer in the portage tree. Reopen if the issue reappears.