Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117047 - poppler fails to emerge with USE=-jpeg due to class decl duplication
Summary: poppler fails to emerge with USE=-jpeg due to class decl duplication
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
: 117862 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-28 20:55 UTC by SpanKY
Modified: 2006-01-05 02:43 UTC (History)
2 users (show)

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


Attachments
upstream patch (patch,773 bytes, patch)
2006-01-01 07:23 UTC, Daniel Drake (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2005-12-28 20:55:48 UTC
Making all in utils
make[2]: Entering directory `/var/tmp/portage/poppler-0.4.3-r1/work/poppler-0.4.3/utils'
if sh4-gentoo-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../poppler -I..    -Wall -Wno-unused -Os -m4 -pipe -MT ImageOutputDev.o -MD -MP -MF ".deps/ImageOutputDev.Tpo" -c -o ImageOutputDev.o ImageOutputDev.cc; \
then mv -f ".deps/ImageOutputDev.Tpo" ".deps/ImageOutputDev.Po"; else rm -f ".deps/ImageOutputDev.Tpo"; exit 1; fi
In file included from ImageOutputDev.cc:25:
../poppler/DCTStream.h:52: error: redefinition of `class DCTStream'
../poppler/Stream.h:569: error: previous definition of `class DCTStream'
make[2]: *** [ImageOutputDev.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/poppler-0.4.3-r1/work/poppler-0.4.3/utils'




Portage 2.0.53 (uclibc/sh, gcc-3.4.5, uclibc-0.9.28-r0, 2.6.14-sh sh4)
=================================================================
System uname: 2.6.14-sh sh4 
Gentoo Base System version 1.6.13
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.4.26-r1
ACCEPT_KEYWORDS="sh ~sh"
AUTOCLEAN="yes"
CBUILD="sh4-gentoo-linux-uclibc"
CFLAGS="-Os -pipe -m4"
CHOST="sh4-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-Os -m4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks noauto nodoc noinfo noman sfperms"
GENTOO_MIRRORS="ftp://vapier"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://gentoo/gentoo-portage"
USE="sh bitmap-fonts bzip2 expat jpeg mysql ncurses perl png python readline truetype truetype-fonts type1-fonts uclibc udev zlib userland_GNU kernel_linux elibc_uclibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2005-12-29 10:12:37 UTC
same here
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2005-12-29 11:51:02 UTC
Patch here:
http://lists.freedesktop.org/archives/poppler/2005-December/001335.html
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2006-01-01 07:23:04 UTC
Created attachment 75915 [details, diff]
upstream patch

They don't mind dropping a few #ifdefs here and there, so here's the simpler patch which was merged upstream.
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2006-01-02 04:46:00 UTC
SRC_URI should also be fixed:
"mirror://${P}-utils.patch.gz"
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2006-01-03 15:00:12 UTC
I added the patch and fixed the mirror-thingy, too. Thanks.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-01-05 02:43:49 UTC
*** Bug 117862 has been marked as a duplicate of this bug. ***