Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382111 - media-libs/libpgf-6.11.28: fails to build on ppc
Summary: media-libs/libpgf-6.11.28: fails to build on ppc
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Viorel Munteanu
Keywords: PATCH
Depends on:
Reported: 2011-09-07 03:01 UTC by Andrew John Hughes
Modified: 2021-11-10 07:52 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Andrew John Hughes 2011-09-07 03:01:51 UTC
libtool: compile:  powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mtune=G5 -mcpu=G5 -mabi=altivec -pipe -ggdb -c PGFimage.cpp  -fPIC -DPIC -o .libs/PGFimage.o
libtool: compile:  powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mtune=G5 -mcpu=G5 -mabi=altivec -pipe -ggdb -c Encoder.cpp  -fPIC -DPIC -o .libs/Encoder.o
libtool: compile:  powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mtune=G5 -mcpu=G5 -mabi=altivec -pipe -ggdb -c PGFstream.cpp  -fPIC -DPIC -o .libs/PGFstream.o
libtool: compile:  powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mtune=G5 -mcpu=G5 -mabi=altivec -pipe -ggdb -c Subband.cpp  -fPIC -DPIC -o .libs/Subband.o
libtool: compile:  powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -mtune=G5 -mcpu=G5 -mabi=altivec -pipe -ggdb -c Decoder.cpp  -fPIC -DPIC -o .libs/Decoder.o
Encoder.cpp: In member function 'void CEncoder::WriteMacroBlock(CEncoder::CMacroBlock*)':
Encoder.cpp:310:3: error: 'm_codeBuffer' was not declared in this scope


The patch on that bug fixes the build as does building from the Subversion repository at

Reproducible: Always

Portage 2.2.0_alpha51 (default/linux/powerpc/ppc64/10.0/32bit-userland/desktop, gcc-4.5.2, glibc-2.13-r4, ppc64)
System uname:,_altivec_supported-with-gentoo-2.0.3
Timestamp of tree: Wed, 07 Sep 2011 01:15:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r2, 3.1.3-r1, 3.2-r2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.6.3, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo kde-sunset java-overlay ppc64 xmmsroot2_overlay fixes-overlay
Installed sets: @system
CFLAGS="-O2 -mtune=G5 -mcpu=G5 -mabi=altivec -pipe -ggdb"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -mtune=G5 -mcpu=G5 -mabi=altivec -pipe -ggdb"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages installsources news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB en"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/var/lib/layman/kde-sunset /var/lib/layman/java-overlay /usr/local/portage/ppc64 /usr/local/portage/xmmsroot2_overlay /usr/local/portage/fixes-overlay"
USE="X a52 aac acl addbookmarks alias alsa altivec asf autoreplace avahi bash-completion berkdb bindist bluetooth bluray branding bzip2 cairo caps cdaudio cdda cddb cdparanoia cdr cli connectionstatus consolekit contactnotes cracklib crypt cups curl cvs cxx daap dbus dga dia dirac djvu doc dri dts dv dvd dvdnav dvdr dvdread dvi eds effects emacs emboss emf encode evo examples exif fam fame ffmpeg fftw firefox flac fontconfig fortran fping gcc64 gcj gd gdbm gdu gif gimp git gmp gnome gnome-keyring gnutls gpac gpgme gphoto2 gpm gstreamer gtk hfs highlight history iconv id3tag idn ieee1394 imagemagick imap imlib ipv6 irc java java5 javascript jingle jpeg jpeg2k kde kerberos ladspa lame lapack latex lcms libnotify live lzma lzo mad matroska mbox mjpeg mmap mng modules mp2 mp3 mp4 mpeg mpi mplayer mudflap musepack musicbrainz ncurses netmeeting network nls nntp nowlistening nptl nptlonly nsplugin ogg openal openexr opengl openmp optimisememory oss pam pango pch pcre pdf perl pidgin plotutils png pnm policykit pop postscript ppc ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline rtc rtmp sasl scanner sdl semantic-desktop session shout slp smime smp sms smtp snmp sox speex spell sqlite ssl startup-notification statistics stream subtitles subversion svg sysfs syslog t1lib tcpd tetex texteffect tga theora threads tiff translator truetype twolame udev unicode urandom usb v4l2 vcd visualization vorbis vram webkit webm webp webpresence wifi wmf xattr xcb xchattext xcomposite xine xinerama xml xmmsroot2 xorg xscreensaver xulrunner xv xvid yahoo zeroconf zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" 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 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 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" 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"
Comment 1 Viorel Munteanu gentoo-dev 2021-04-01 04:33:47 UTC
This bug is 10 years old.  The current stable version is 7.19.3, unstable 7.21.7

Do current versions still fail to compile on ppc?
Comment 2 Viorel Munteanu gentoo-dev 2021-11-10 07:52:00 UTC
Found media-libs/libpgf-7.21.7 built succesfully on ppc back in April.  Haven't checked since, but should be ok, it had been fixed upstream.