Skip to content

Instantly share code, notes, and snippets.

@cosmo0920
Created November 19, 2011 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cosmo0920/1379063 to your computer and use it in GitHub Desktop.
Save cosmo0920/1379063 to your computer and use it in GitHub Desktop.
emerge perl-5.12.3-r1
emerge --info =dev-lang/perl-5.12.3-r1
Portage 2.2.01.19572-prefix (prefix/linux/x86, gcc-4.4.5, unavailable, 2.6.41-custom-fornewercore2 i686)
=================================================================
System Settings
=================================================================
System uname: Linux-2.6.41-custom-fornewercore2-i686-Intel-R-_Core-TM-_i3_CPU_560_@_3.33GHz-with-debian-squeeze-sid
Timestamp of tree: Sat, 19 Nov 2011 16:10:28 +0000
app-shells/bash: 4.2_p10
sys-devel/binutils: 2.21.53.0.2
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool: 2.4-r01.1
Repositories: gentoo_prefix
Installed sets:
ACCEPT_KEYWORDS="~x86-linux"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -m32"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/portage /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe -m32"
DISTDIR="/home/cosmo/gentoo/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ja_JP.UTF-8"
LDFLAGS="-Wl,-O1"
PKGDIR="/home/cosmo/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/home/cosmo/gentoo/"
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="/home/cosmo/gentoo/var/tmp"
PORTDIR="/home/cosmo/gentoo/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pcre pppd prefix readline session ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
-----------------------------------------
以下エラー
・・・・・
CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -I/home/cosmo/gentoo/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c89 -O2 -march=i686 -pipe -m32 -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
gcc -Wl,-O1 -o miniperl \
gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o \
miniperlmain.o opmini.o perlmini.o
pp.o: In function `Perl_pp_int':
pp.c:(.text+0xb954): undefined reference to `floor'
pp.c:(.text+0xb981): undefined reference to `ceil'
pp.o: In function `Perl_pp_sin':
pp.c:(.text+0xbb89): undefined reference to `sin'
pp.o: In function `Perl_pp_atan2':
pp.c:(.text+0xbe3d): undefined reference to `atan2'
pp.o: In function `Perl_pp_modulo':
pp.c:(.text+0xd8bd): undefined reference to `floor'
pp.c:(.text+0xd8e0): undefined reference to `floor'
pp.c:(.text+0xda39): undefined reference to `fmod'
pp.o: In function `Perl_pp_pow':
pp.c:(.text+0xde43): undefined reference to `pow'
pp.o:(.rodata+0x194): undefined reference to `cos'
pp.o:(.rodata+0x198): undefined reference to `sin'
pp.o:(.rodata+0x19c): undefined reference to `sin'
pp.o:(.rodata+0x1a0): undefined reference to `exp'
pp.o:(.rodata+0x1a4): undefined reference to `log'
pp.o:(.rodata+0x1a8): undefined reference to `sqrt'
pp_sys.o: In function `S_gmtime64_r':
pp_sys.c:(.text+0x1e40): undefined reference to `ceil'
pp_sys.c:(.text+0x1e91): undefined reference to `ceil'
pp_sys.c:(.text+0x1ee2): undefined reference to `ceil'
pp_sys.c:(.text+0x1f8e): undefined reference to `floor'
pp_sys.c:(.text+0x211a): undefined reference to `floor'
pp_sys.c:(.text+0x216a): undefined reference to `floor'
pp_sys.c:(.text+0x2182): undefined reference to `floor'
pp_sys.c:(.text+0x21af): undefined reference to `ceil'
pp_sys.c:(.text+0x2313): undefined reference to `fmod'
pp_sys.c:(.text+0x233b): undefined reference to `fmod'
pp_sys.c:(.text+0x2363): undefined reference to `fmod'
pp_sys.c:(.text+0x238b): undefined reference to `fmod'
pp_sys.o: In function `Perl_pp_gmtime':
pp_sys.c:(.text+0x2442): undefined reference to `floor'
pp_pack.o: In function `S_pack_rec':
pp_pack.c:(.text+0x67e2): undefined reference to `floor'
pp_pack.c:(.text+0x6802): undefined reference to `floor'
collect2: ld returned 1 exit status
make: *** [miniperl] Error 1
emake failed
* ERROR: dev-lang/perl-5.12.3-r1 failed (compile phase):
* emake failed
*
* Call stack:
* ebuild.sh, line 98: Called call-ebuildshell 'src_compile'
* environment, line 566: Called src_compile
* environment, line 2832: Called die
* The specific snippet of code:
* emake -j1 || die "emake failed"
*
* If you need support, post the output of 'emerge --info =dev-lang/perl-5.12.3-r1',
* the complete build log and the output of 'emerge -pqv =dev-lang/perl-5.12.3-r1'.
* The complete build log is located at '/home/cosmo/gentoo/var/tmp/portage/dev-lang/perl-5.12.3-r1/temp/build.log'.
* The ebuild environment file is located at '/home/cosmo/gentoo/var/tmp/portage/dev-lang/perl-5.12.3-r1/temp/environment'.
* S: '/home/cosmo/gentoo/var/tmp/portage/dev-lang/perl-5.12.3-r1/work/perl-5.12.3'
@npinto
Copy link

npinto commented Jan 25, 2012

I got the same bug (on Ubuntu 11.04), were you able to fix it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment