Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404195 - dev-lang/parrot-4.0.0 USE=pcre - "Failed to load libpcre"
Summary: dev-lang/parrot-4.0.0 USE=pcre - "Failed to load libpcre"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-16 21:26 UTC by Henrique Dias
Modified: 2012-03-16 11:21 UTC (History)
1 user (show)

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


Attachments
Build Log for parrot-4.0.0 (build.log,402.97 KB, text/plain)
2012-02-17 10:21 UTC, Henrique Dias
Details
Try libpcre.so.1 after libpcre.so.0 (gentoo404195a.patch,630 bytes, patch)
2012-03-11 09:50 UTC, Martin von Gagern
Details | Diff
parrot-4.1.0.ebuild which works /lib64/libpcre.so.0.0.1 (parrot-4.1.0.ebuild,2.56 KB, text/plain)
2012-03-16 11:21 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henrique Dias 2012-02-16 21:26:49 UTC
Portage 2.1.10.46 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r2, 3.2.6-gentoo x86_64)
=================================================================
System uname: Linux-3.2.6-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7250_@_2.00GHz-with-gentoo-2.1
Timestamp of tree: Thu, 16 Feb 2012 19:00:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo x-local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 AdobeFlash-10 google-talkplugin"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://rsync.de.gentoo.org/ 		http://de-mirror.org/distro/gentoo/ 		http://gentoo.mirror.pw.edu.pl/ 		http://gentoo.tiscali.nl/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en pt"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx db dbus dri dts dvd dvdr emboss encode exif fam firefox flac gdbm gdu gif gnome gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd qt3support readline sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pt" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Henrique Dias 2012-02-16 21:28:08 UTC
...
./parrot -o runtime/parrot/library/Parrot/Exception.pbc runtime/parrot/library/Parrot/Exception.pir
./parrot -o runtime/parrot/library/Getopt/Obj.pbc runtime/parrot/library/Getopt/Obj.pir
./parrot -o runtime/parrot/library/dumper.pbc runtime/parrot/library/dumper.pir
./parrot -o runtime/parrot/library/PCT/Dumper.pbc compilers/pct/src/PCT/Dumper.pir
./parrot -o runtime/parrot/library/PCT/HLLCompiler.pbc compilers/pct/src/PCT/HLLCompiler.pir
/usr/bin/perl5.14.2 -e "" > compilers/pge/PGE/builtins_gen.pir
./parrot -o runtime/parrot/library/PGE.pbc compilers/pge/PGE.pir
./parrot runtime/parrot/library/PGE/Perl6Grammar.pir --output=compilers/pge/PGE/builtins_gen.pir compilers/pge/PGE/builtins.pg
./parrot -o runtime/parrot/library/PGE.pbc compilers/pge/PGE.pir
./parrot -o runtime/parrot/library/PGE/Util.pbc runtime/parrot/library/PGE/Util.pir
./parrot -o runtime/parrot/library/PGE/Text.pbc runtime/parrot/library/PGE/Text.pir
./parrot -o runtime/parrot/library/PGE/Perl6Grammar.pbc runtime/parrot/library/PGE/Perl6Grammar.pir
./parrot runtime/parrot/library/PGE/Perl6Grammar.pbc --output=compilers/tge/TGE/Parser.pir compilers/tge/TGE/Parser.pg
./parrot -o runtime/parrot/library/TGE.pbc compilers/tge/TGE.pir
./parrot runtime/parrot/library/PGE/Perl6Grammar.pbc --output=compilers/data_json/data_json/grammar.pir compilers/data_json/data_json/grammar.pg
./parrot -o compilers/tge/tgc.pbc compilers/tge/tgc.pir
./parrot compilers/tge/tgc.pbc --output=compilers/data_json/data_json/pge2pir.pir compilers/data_json/data_json/pge2pir.tg
./parrot -o compilers/data_json/data_json.pbc compilers/data_json/data_json.pir
/usr/bin/perl5.14.2 -MExtUtils::Command -e mkpath runtime/parrot/languages/data_json
/usr/bin/perl5.14.2 -MExtUtils::Command -e cp compilers/data_json/data_json.pbc runtime/parrot/languages/data_json/data_json.pbc
./parrot -o runtime/parrot/library/Regex.pbc ext/nqp-rx/src/stage0/Regex-s0.pir
./parrot -o runtime/parrot/library/HLL.pbc ext/nqp-rx/src/stage0/HLL-s0.pir
./parrot -o runtime/parrot/library/P6Regex.pbc ext/nqp-rx/src/stage0/P6Regex-s0.pir
./parrot -o runtime/parrot/library/nqp-rx.pbc ext/nqp-rx/src/stage0/NQP-s0.pir
x86_64-pc-linux-gnu-gcc -I./include -I./include/pmc -march=nocona -O2 -pipe -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED  -DHASATTRIBUTE_WARN_UNUSED_RESULT  -DHASATTRIBUTE_HOT  -DHASATTRIBUTE_COLD  -DHAS_GETTEXT -I/usr/lib64/libffi-3.0.10/include   -g  -fPIC  -falign-functions=16 -funit-at-a-time -fexcess-precision=standard -maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wdiv-by-zero -Wenum-compare -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wjump-misses-init -Wlogical-op -Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-attribute -Wmissing-include-dirs -Wmultichar -Wpacked -Wparentheses -Wpointer-arith -Wpointer-sign -Wreturn-type -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wno-unused -Wunknown-pragmas -Wvariadic-macros -Wwrite-strings -Wc++-compat -Wdeclaration-after-statement -Werror=declaration-after-statement -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull -Wold-style-definition -Wstrict-prototypes -fvisibility=hidden -Ifrontend/pbc_merge -Isrc/ -o frontend/pbc_merge/main.o -c frontend/pbc_merge/main.c
x86_64-pc-linux-gnu-gcc -o pbc_merge \
frontend/pbc_merge/main.o \
src/parrot_config.o \
src/longopt.o \
 -L"/var/tmp/portage/dev-lang/parrot-4.0.0/work/parrot-4.0.0/blib/lib" -lparrot -lpthread -ldl -lm   -L/usr/lib64  -licuuc -licudata  -lpthread -ldl -lm    -lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt -lreadline  -lffi   -Wl,-E -Wl,--as-needed    
./parrot -o compilers/pct/src/PCT/Node.pbc compilers/pct/src/PCT/Node.pir
./parrot -o compilers/pct/src/PAST/Node.pbc compilers/pct/src/PAST/Node.pir
./parrot -o compilers/pct/src/PAST/Compiler.pbc compilers/pct/src/PAST/Compiler.pir
./parrot -o compilers/pct/src/POST/Node.pbc compilers/pct/src/POST/Node.pir
./parrot -o compilers/pct/src/POST/Compiler.pbc compilers/pct/src/POST/Compiler.pir
./pbc_merge -o runtime/parrot/library/PCT/PAST.pbc \
compilers/pct/src/PCT/Node.pbc \
compilers/pct/src/PAST/Node.pbc \
compilers/pct/src/PAST/Compiler.pbc \
compilers/pct/src/POST/Node.pbc \
compilers/pct/src/POST/Compiler.pbc
./parrot -o pbc_to_exe.pbc tools/dev/pbc_to_exe.pir
./parrot pbc_to_exe.pbc pbc_to_exe.pbc
x86_64-pc-linux-gnu-gcc -o pbc_to_exe.o -I"/var/tmp/portage/dev-lang/parrot-4.0.0/work/parrot-4.0.0/include" -march=nocona -O2 -pipe -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED  -DHASATTRIBUTE_WARN_UNUSED_RESULT  -DHASATTRIBUTE_HOT  -DHASATTRIBUTE_COLD  -DHAS_GETTEXT -I/usr/lib64/libffi-3.0.10/include    -c pbc_to_exe.c
Compiled: pbc_to_exe.o
x86_64-pc-linux-gnu-gcc -o pbc_to_exe "pbc_to_exe.o" "/var/tmp/portage/dev-lang/parrot-4.0.0/work/parrot-4.0.0/src/parrot_config.o"  -L"/var/tmp/portage/dev-lang/parrot-4.0.0/work/parrot-4.0.0/blib/lib" -lparrot -Wl,-E -Wl,--as-needed   -lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt -lreadline  -lffi    -lpthread -ldl -lm   -L/usr/lib64  -licuuc -licudata  -lpthread -ldl -lm   
Linked: pbc_to_exe
/usr/bin/perl5.14.2 -MExtUtils::Command -e cp runtime/parrot/library/nqp-rx.pbc parrot-nqp.pbc
./pbc_to_exe parrot-nqp.pbc
x86_64-pc-linux-gnu-gcc -o parrot-nqp.o -I"/var/tmp/portage/dev-lang/parrot-4.0.0/work/parrot-4.0.0/include" -march=nocona -O2 -pipe -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED  -DHASATTRIBUTE_WARN_UNUSED_RESULT  -DHASATTRIBUTE_HOT  -DHASATTRIBUTE_COLD  -DHAS_GETTEXT -I/usr/lib64/libffi-3.0.10/include    -c parrot-nqp.c
Compiled: parrot-nqp.o
x86_64-pc-linux-gnu-gcc -o parrot-nqp "parrot-nqp.o" "/var/tmp/portage/dev-lang/parrot-4.0.0/work/parrot-4.0.0/src/parrot_config.o"  -L"/var/tmp/portage/dev-lang/parrot-4.0.0/work/parrot-4.0.0/blib/lib" -lparrot -Wl,-E -Wl,--as-needed   -lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt -lreadline  -lffi    -lpthread -ldl -lm   -L/usr/lib64  -licuuc -licudata  -lpthread -ldl -lm   
Linked: parrot-nqp
./parrot-nqp --target=pir --output=compilers/opsc/gen/Ops/Compiler.pir  compilers/opsc/src/Ops/Compiler.pm
./parrot-nqp --target=pir --output=compilers/opsc/gen/Ops/Compiler/Actions.pir compilers/opsc/src/Ops/Compiler/Actions.pm
./parrot-nqp --target=pir --output=compilers/opsc/gen/Ops/Compiler/Grammar.pir compilers/opsc/src/Ops/Compiler/Grammar.pm
./parrot-nqp --target=pir --output=compilers/opsc/gen/Ops/Emitter.pir compilers/opsc/src/Ops/Emitter.pm
./parrot-nqp --target=pir --output=compilers/opsc/gen/Ops/Trans.pir compilers/opsc/src/Ops/Trans.pm
./parrot-nqp --target=pir --output=compilers/opsc/gen/Ops/Trans/C.pir compilers/opsc/src/Ops/Trans/C.pm
./parrot-nqp --target=pir --output=compilers/opsc/gen/Ops/Op.pir compilers/opsc/src/Ops/Op.pm
./parrot-nqp --target=pir --output=compilers/opsc/gen/Ops/OpLib.pir  compilers/opsc/src/Ops/OpLib.pm
./parrot-nqp --target=pir --output=compilers/opsc/gen/Ops/File.pir compilers/opsc/src/Ops/File.pm
./parrot runtime/parrot/library/nqp-rx.pbc --target=pir -o ext/nqp-rx/src/stage0/nqp-setting.pir ext/nqp-rx/src/stage0/nqp-setting.nqp
./parrot -o runtime/parrot/library/nqp-setting.pbc ext/nqp-rx/src/stage0/nqp-setting.pir
./parrot -o runtime/parrot/library/opsc.pbc compilers/opsc/opsc.pir
./parrot-nqp --target=pir compilers/opsc/ops2c.nqp >ops2c.pir
./parrot -o ops2c.pbc ops2c.pir
./pbc_to_exe ops2c.pbc
x86_64-pc-linux-gnu-gcc -o ops2c.o -I"/var/tmp/portage/dev-lang/parrot-4.0.0/work/parrot-4.0.0/include" -march=nocona -O2 -pipe -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED  -DHASATTRIBUTE_WARN_UNUSED_RESULT  -DHASATTRIBUTE_HOT  -DHASATTRIBUTE_COLD  -DHAS_GETTEXT -I/usr/lib64/libffi-3.0.10/include    -c ops2c.c
Compiled: ops2c.o
x86_64-pc-linux-gnu-gcc -o ops2c "ops2c.o" "/var/tmp/portage/dev-lang/parrot-4.0.0/work/parrot-4.0.0/src/parrot_config.o"  -L"/var/tmp/portage/dev-lang/parrot-4.0.0/work/parrot-4.0.0/blib/lib" -lparrot -Wl,-E -Wl,--as-needed   -lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt -lreadline  -lffi    -lpthread -ldl -lm   -L/usr/lib64  -licuuc -licudata  -lpthread -ldl -lm   
Linked: ops2c
./ops2c --dynamic src/dynoplibs/bit.ops --quiet
x86_64-pc-linux-gnu-gcc -I./include -I./include/pmc -march=nocona -O2 -pipe -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED  -DHASATTRIBUTE_WARN_UNUSED_RESULT  -DHASATTRIBUTE_HOT  -DHASATTRIBUTE_COLD  -DHAS_GETTEXT -I/usr/lib64/libffi-3.0.10/include   -g  -fPIC  -falign-functions=16 -funit-at-a-time -fexcess-precision=standard -maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wdiv-by-zero -Wenum-compare -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wjump-misses-init -Wlogical-op -Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-attribute -Wmissing-include-dirs -Wmultichar -Wpacked -Wparentheses -Wpointer-arith -Wpointer-sign -Wreturn-type -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wno-unused -Wunknown-pragmas -Wvariadic-macros -Wwrite-strings -Wc++-compat -Wdeclaration-after-statement -Werror=declaration-after-statement -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull -Wold-style-definition -Wstrict-prototypes -fvisibility=hidden -Isrc/dynoplibs -Isrc/ -o src/dynoplibs/bit_ops.o -c src/dynoplibs/bit_ops.c
x86_64-pc-linux-gnu-gcc -o runtime/parrot/dynext/bit_ops.so src/dynoplibs/bit_ops.o -Wl,--as-needed  -shared -march=nocona -O2 -pipe -Wl,--as-needed -fPIC   -lpthread -ldl -lm   -L/usr/lib64  -licuuc -licudata  -lpthread -ldl -lm    -lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt -lreadline  -lffi  
./ops2c --dynamic src/dynoplibs/sys.ops --quiet
x86_64-pc-linux-gnu-gcc -I./include -I./include/pmc -march=nocona -O2 -pipe -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED  -DHASATTRIBUTE_WARN_UNUSED_RESULT  -DHASATTRIBUTE_HOT  -DHASATTRIBUTE_COLD  -DHAS_GETTEXT -I/usr/lib64/libffi-3.0.10/include   -g  -fPIC  -falign-functions=16 -funit-at-a-time -fexcess-precision=standard -maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wdiv-by-zero -Wenum-compare -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wjump-misses-init -Wlogical-op -Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-attribute -Wmissing-include-dirs -Wmultichar -Wpacked -Wparentheses -Wpointer-arith -Wpointer-sign -Wreturn-type -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wno-unused -Wunknown-pragmas -Wvariadic-macros -Wwrite-strings -Wc++-compat -Wdeclaration-after-statement -Werror=declaration-after-statement -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull -Wold-style-definition -Wstrict-prototypes -fvisibility=hidden -Isrc/dynoplibs -Isrc/ -o src/dynoplibs/sys_ops.o -c src/dynoplibs/sys_ops.c
x86_64-pc-linux-gnu-gcc -o runtime/parrot/dynext/sys_ops.so src/dynoplibs/sys_ops.o -Wl,--as-needed  -shared -march=nocona -O2 -pipe -Wl,--as-needed -fPIC   -lpthread -ldl -lm   -L/usr/lib64  -licuuc -licudata  -lpthread -ldl -lm    -lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt -lreadline  -lffi  
./parrot -o runtime/parrot/library/pcre.pbc runtime/parrot/library/pcre.pir
./parrot -o parrot_nci_thunk_gen.pbc tools/dev/nci_thunk_gen.pir
./pbc_to_exe parrot_nci_thunk_gen.pbc
x86_64-pc-linux-gnu-gcc -o parrot_nci_thunk_gen.o -I"/var/tmp/portage/dev-lang/parrot-4.0.0/work/parrot-4.0.0/include" -march=nocona -O2 -pipe -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED  -DHASATTRIBUTE_WARN_UNUSED_RESULT  -DHASATTRIBUTE_HOT  -DHASATTRIBUTE_COLD  -DHAS_GETTEXT -I/usr/lib64/libffi-3.0.10/include    -c parrot_nci_thunk_gen.c
Compiled: parrot_nci_thunk_gen.o
x86_64-pc-linux-gnu-gcc -o parrot_nci_thunk_gen "parrot_nci_thunk_gen.o" "/var/tmp/portage/dev-lang/parrot-4.0.0/work/parrot-4.0.0/src/parrot_config.o"  -L"/var/tmp/portage/dev-lang/parrot-4.0.0/work/parrot-4.0.0/blib/lib" -lparrot -Wl,-E -Wl,--as-needed   -lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt -lreadline  -lffi    -lpthread -ldl -lm   -L/usr/lib64  -licuuc -licudata  -lpthread -ldl -lm   
Linked: parrot_nci_thunk_gen
./parrot_nci_thunk_gen \
	--loader-name=Parrot_glut_nci_loader \
	--loader-storage-class=PARROT_DYNEXT_EXPORT \
	--output=src/glut_nci_thunks.c \
	<src/glut_nci_thunks.nci
Failed to load libpcre
current instr.: 'parrot;PCRE;init' pc 249 (runtime/parrot/library/pcre.pir:162)
called from Sub 'read_one_sig' pc 1984 (tools/dev/nci_thunk_gen.pir:861)
called from Sub 'read_sigs' pc 1905 (tools/dev/nci_thunk_gen.pir:823)
called from Sub 'main' pc 40 (tools/dev/nci_thunk_gen.pir:48)
make: *** [src/glut_nci_thunks.c] Error 1
emake failed
 * ERROR: dev-lang/parrot-4.0.0 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 2078:  Called die
 * The specific snippet of code:
 *       emake -j1 || die;
 * 
 * If you need support, post the output of 'emerge --info =dev-lang/parrot-4.0.0',
 * the complete build log and the output of 'emerge -pqv =dev-lang/parrot-4.0.0'.
 * The complete build log is located at '/var/tmp/portage/dev-lang/parrot-4.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/parrot-4.0.0/temp/environment'.
 * S: '/var/tmp/portage/dev-lang/parrot-4.0.0/work/parrot-4.0.0'

>>> Failed to emerge dev-lang/parrot-4.0.0, Log file:

>>>  '/var/tmp/portage/dev-lang/parrot-4.0.0/temp/build.log'

 * Messages for package dev-lang/parrot-4.0.0:

 * ERROR: dev-lang/parrot-4.0.0 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 2078:  Called die
 * The specific snippet of code:
 *       emake -j1 || die;
 * 
 * If you need support, post the output of 'emerge --info =dev-lang/parrot-4.0.0',
 * the complete build log and the output of 'emerge -pqv =dev-lang/parrot-4.0.0'.
 * The complete build log is located at '/var/tmp/portage/dev-lang/parrot-4.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/parrot-4.0.0/temp/environment'.
 * S: '/var/tmp/portage/dev-lang/parrot-4.0.0/work/parrot-4.0.0'
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-17 03:53:44 UTC
Please attach the entire build log to this bug report.
Comment 3 Henrique Dias 2012-02-17 10:21:09 UTC
Created attachment 302249 [details]
Build Log for parrot-4.0.0

Build Log for parrot-4.0.0
Comment 4 Martin von Gagern 2012-02-18 22:49:47 UTC
Happens for me as well, using dev-libs/libpcre-8.30-r2 which uses libpcre.so.1 as the soname of the library. parrot-4.0.0/runtime/parrot/library/pcre.pir has a fixed list of sonames it attempts to load, and .1 is not among them:

# Plain name
    loadlib libpcre, 'libpcre'
    loaded = defined libpcre
    if loaded goto LIB_LOADED
# Shared object name
    loadlib libpcre, 'libpcre.so'
    loaded = defined libpcre
    if loaded goto LIB_LOADED
# soname of recent versions
    loadlib libpcre, 'libpcre.so.3'
    loaded = defined libpcre
    if loaded goto LIB_LOADED

    # See TT #578
    loadlib libpcre, 'libpcre.so.0'
    loaded = defined libpcre
    if loaded goto LIB_LOADED

    branch LIB_FAILED

The ticket http://trac.parrot.org/parrot/ticket/578 which is referenced in the comment was motivated by Gentoo and its libpcre setup. Not sure how upstream will like having to adjust things for Gentoo again.

Workaround for now:
# ebuild /usr/portage/dev-lang/parrot/parrot-4.0.0.ebuild clean prepare
# sed -i 's:libpcre.so.0:libpcre.so.1:' /var/tmp/portage/dev-lang/parrot-4.0.0\
/work/parrot-4.0.0/runtime/parrot/library/pcre.pir
# ebuild /usr/portage/dev-lang/parrot/parrot-4.0.0.ebuild merge
Comment 5 Patrick Lauer gentoo-dev 2012-03-08 04:19:25 UTC
+  08 Mar 2012; Patrick Lauer <patrick@gentoo.org> +parrot-4.1.0.ebuild,
+  -parrot-2.11.0.ebuild, -parrot-3.11.0-r1.ebuild, -parrot-3.3.0.ebuild,
+  -parrot-3.6.0.ebuild, -parrot-3.9.0.ebuild:
+  Bump, remove old, partial fix for #404195


the sed-ing is not the nicest way, but at least it's buildable.
Comment 6 Tanktalus 2012-03-11 06:09:24 UTC
Of course, if you're running an older libpcre, such as 8.12 (stable), this is broken again: because I still have libpcre.so.0, not .1.
Comment 7 Martin von Gagern 2012-03-11 09:50:30 UTC
Created attachment 304903 [details, diff]
Try libpcre.so.1 after libpcre.so.0

In the portage tree, rather use this patch instead of the sed. It tries both versions, so users of either library should be satisfied by it.
Comment 8 Juergen Rose 2012-03-16 11:19:02 UTC
I get the same error with parrot-4.1.0 and libpcre-8.21 at 3.2.5-gentoo system with ACCEPT_KEYWORDS="amd64 ~amd64", i.e. I have the following libpcre files:

root@orca:/usr/local/portage/dev-lang/parrot(86)# qlist -v libpcre | grep "/lib64"
/usr/lib64/pkgconfig/libpcre.pc
/usr/lib64/pkgconfig/libpcreposix.pc
/usr/lib64/pkgconfig/libpcrecpp.pc
/usr/lib64/libpcre.so
/usr/lib64/libpcreposix.so.0.0.0
/usr/lib64/libpcreposix.so.0 -> libpcreposix.so.0.0.0
/usr/lib64/libpcreposix.so -> libpcreposix.so.0.0.0
/usr/lib64/libpcrecpp.so.0.0.0
/usr/lib64/libpcrecpp.so.0 -> libpcrecpp.so.0.0.0
/usr/lib64/libpcrecpp.so -> libpcrecpp.so.0.0.0
/lib64/libpcre.so.0 -> libpcre.so.0.0.1
/lib64/libpcre.so.0.0.1

If I substitute the "sed patch" with the patch of comment 7 (see the attached ebuild), I can emerge parrot-4.1.0.
Comment 9 Juergen Rose 2012-03-16 11:21:15 UTC
Created attachment 305615 [details]
parrot-4.1.0.ebuild which works /lib64/libpcre.so.0.0.1