Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240303 - dev-lang/fpc-2.2.2 fails to emerge
Summary: dev-lang/fpc-2.2.2 fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Maintainers for Miscelleneous Language Packages [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-06 16:51 UTC by Konrad Karczewski
Modified: 2008-10-06 19:25 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konrad Karczewski 2008-10-06 16:51:19 UTC
On PPC dev-lang/fpc-2.2.2 fails with the following error:
 * checking fpc-2.2.2-doc-pdf.zip ;-) ...                                 [ ok ]
>>> Unpacking source...
>>> Unpacking fpcbuild-2.2.2.tar.gz to /var/tmp/portage/dev-lang/fpc-2.2.2/work
>>> Unpacking fpc-2.2.0.powerpc-linux.tar to /var/tmp/portage/dev-lang/fpc-2.2.2/work
>>> Unpacking fpc-2.2.2-doc-pdf.zip to /var/tmp/portage/dev-lang/fpc-2.2.2/work
 * Applying fpc-2.2.2-unneeded-symbols.patch ...                          [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-lang/fpc-2.2.2/work/fpcbuild-2.2.2/fpcsrc ...
Makefile:129: *** Compiler /var/tmp/portage/dev-lang/fpc-2.2.2/work/lib/fpc/2.2.2/ppcppc not found.  Stop.

It seems it's looking for fpc compiler in the freshly unpacked sources and failing. I didn't see this behavior on x86 nor x86_64. I have fpc-2.2.0 installed (there was a bug mentioning self-dependency for fpc, si just in case..):

# emerge -pv fpc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-lang/fpc-2.2.2 [2.2.0] USE="doc -source" 0 kB 

Total: 1 package (1 upgrade), Size of downloads: 0 kB


Reproducible: Always

Steps to Reproduce:
1.emerge dev-lang/fpc




# emerge --info
Portage 2.1.4.4 (default-linux/ppc/ppc32/2007.0/G4/Pegasos, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r9 ppc)
=================================================================
System uname: 2.6.23-gentoo-r9 ppc 7447/7457, altivec supported
Timestamp of tree: Mon, 06 Oct 2008 15:45:04 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-mcpu=7450 -mtune=7450 -O2 -pipe -maltivec -mabi=altivec -fomit-frame-pointer -fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-mcpu=7450 -mtune=7450 -O2 -pipe -maltivec -mabi=altivec -fomit-frame-pointer -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.icis.pcz.pl/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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/portage/local/layman/desktop-effects /home/xeno/ebuilds /home/xeno/doc/portage"
SYNC="rsync://mirror.icis.pcz.pl/gentoo-portage"
USE="X X509 a52 aac aalib accessibility acl activefilter adns adplug alsa altivec amr amrnb amrwb avahi bdf berkdb bzip2 cairo cdda cddb cdparanoia cdrom chardet chroot cli context cracklib crypt dbus doc dri dts dv dvb dvd dvdread emacs encode erandom expat extra extrafilters fame ffmpeg flac flexresp fortran ftp gdbm ggi gif glitz gmp gpm gps graphics graphviz gsm gtk guile hal iconv idea imagemagick imlib ipod ipv6 isdnlog jabber jack jbig joystick jpeg jpeg2k kpathsea lcms leim libcaca libsamplerate loop-aes lzo mad matroska midi mjpeg mng modplug mono mp2 mp3 mpeg mudflap musepack musicbrainz mysql ncurses nethack network nls nptl nptlonly nsplugin objc odbc ogg openal openexr opengl openmp pcmcia pcre perl php pic png pnm portaudio postgres ppc pppd pstricks pulseaudio python qt3 qt3support qt4 quicktime readline reflection rtc rtsp sdl sdl-image session shout sid skey slang sndfile snmp snortsam speex spell spl sqlite ssl svg tcl tcpd tex4ht tga theora tiff timidity tk tlen truetype tta unicode usb userlocales utempter v4l v4l2 vcd vidix vim-syntax vorbis wavpack wma wmf x264 xanim xcb xml xorg xosd xv xvid zlib" ALSA_CARDS="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 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="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2008-10-06 19:10:06 UTC
This looks like it has been broken for a long time in the same manner for sparc, but apparently we have had no sparc fpc users to notice it. I'm working on a fix.
Comment 2 Harald van Dijk (RETIRED) gentoo-dev 2008-10-06 19:25:05 UTC
I've updated fpc-2.2.2.ebuild to look for the bootstrap compiler in the correct path. Thanks for the report.