Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560604 - app-text/poppler-0.36.0 - Bad address - accessing /var/tmp/portage/sys-apps/sandbox-2.7, which is not present
Summary: app-text/poppler-0.36.0 - Bad address - accessing /var/tmp/portage/sys-apps/s...
Status: RESOLVED DUPLICATE of bug 560396
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-16 08:44 UTC by Juergen Rose
Modified: 2015-09-27 17:49 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,250.08 KB, text/x-log)
2015-09-16 08:44 UTC, Juergen Rose
Details
build log (poppler0360build.log,277.32 KB, application/octet-stream)
2015-09-18 17:11 UTC, barrie backhurst
Details
My emerge --info (emergeinfo18092015.txt,5.66 KB, text/plain)
2015-09-18 17:15 UTC, barrie backhurst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2015-09-16 08:44:54 UTC
Created attachment 412022 [details]
build.log

'emerge poppler' fails with:
...
g-ir-scanner: link: cc -o /var/tmp/portage/app-text/poppler-0.36.0/work/poppler-0.36.0_build/glib/tmp-introspectOhjls4/Poppler-0.18 -O2 -march=i686 -pipe -Wl,-O1 -Wl,--as-needed /var/tmp/portage/app-text/poppler-0.36.0/work/poppler-0.36.0_build/glib/tmp-introspectOhjls4/Poppler-0.18.o -L. -Wl,-rpath=. -Wl,--no-as-needed -lpoppler-glib -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0
 * /var/tmp/portage/sys-apps/sandbox-2.7/work/sandbox-2.7/libsandbox/trace.c:do_peekstr():110: failure (Bad address):
 * ISE:do_peekstr: process_vm_readv() hates us: Bad address
ldd: exited with unknown exit code (134)
ERROR: can't resolve libraries to shared libraries: poppler-glib
 * /var/tmp/portage/sys-apps/sandbox-2.7/work/sandbox-2.7/libsandbox/trace.c:do_peekstr():110: failure (Bad address):
 * ISE:do_peekstr: process_vm_readv() hates us: Bad address
ldd: exited with unknown exit code (134)
ERROR: can't resolve libraries to shared libraries: poppler-glib
glib/CMakeFiles/gir-typelibs.dir/build.make:93: recipe for target 'glib/Poppler-0.18.gir' failed
make[2]: *** [glib/Poppler-0.18.gir] Error 1




root@lynxvirt:/var/tmp(356)# emerge --info '=app-text/poppler-0.36.0::gentoo'
Portage 2.2.20.1 (python 2.7.10-final-0, default/linux/x86/13.0, gcc-4.7.3, glibc-2.21-r1, 3.10.1-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.1-gentoo-i686-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:     1924208 total,    188284 free
KiB Swap:    4194300 total,   4185236 free
Timestamp of repository gentoo: Wed, 16 Sep 2015 07:30:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.2.5-r1::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.7::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.9.6-r3::gentoo, 1.10.3::gentoo, 1.11.6::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.6.3::gentoo, 4.7.3::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage_lynxvirt
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl admin alsa apng automount bash-completion berkdb bindist boost bzip2 cairo cli consolekit cracklib crypt cups curl cxx dbus djvu doc dot dri emacs exif extra fftw fontconfig fortran fpx fuse gdbm gif gimp gnome gnome-keyring gnuplot gnutls graphics graphtft graphviz gstreamer gtk gudev hdri hwdb iconv imagemagick ipv6 ithreads jadetex jbig jpeg jpeg2k latex lcms lensfun libkms lzma lzo mmx modules motif mp3 mp4 ncurses netpbm nls nptl ntp openexr openmp pam pango pcre pdf perl plotutils png policykit postscript preview-latex python q32 qemu raw readline seccomp session sockets sound sse sse2 ssl svg systemd tcl tcpd tex threads tiff tk truetype udev udisks unicode usb vala wmf x86 xa xemacs xml xpm yaml zlib" ABI_X86="32" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" 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 ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="virtualbox" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON



root@lynxvirt:/var/tmp(357)# emerge -pqv '=app-text/poppler-0.36.0::gentoo'
[ebuild  N    ] app-text/poppler-0.36.0  USE="cairo curl cxx doc introspection jpeg jpeg2k lcms png tiff utils -cjk -debug -qt4 -qt5"
Comment 1 Juergen Rose 2015-09-16 08:55:07 UTC
BTW., reemerging sandbox did not help.
Comment 2 Juergen Rose 2015-09-16 11:50:38 UTC
Almost the same error I see, if I try to emerge gobject-introspection-1.44.0. I fails with:

libtool: link: i686-pc-linux-gnu-gcc -o /var/tmp/portage/dev-libs/gobject-introspection-1.44.0/work/gobject-introspection-1.44.0/tmp-introspectnr1K5r/GLib-2.0 -fno-strict-aliasing -Wsign-compare -Wcast-align -Wpointer-arith -Wnested-externs -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wall -O2 -march=i686 -pipe -Wl,-O1 /var/tmp/portage/dev-libs/gobject-introspection-1.44.0/work/gobject-introspection-1.44.0/tmp-introspectnr1K5r/GLib-2.0.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic  -Wl,--as-needed -lgio-2.0 -lgmodule-2.0 -lglib-2.0 -lgobject-2.0 -pthread
 * /var/tmp/portage/sys-apps/sandbox-2.7/work/sandbox-2.7/libsandbox/trace.c:do_peekstr():110: failure (Bad address):
 * ISE:do_peekstr: process_vm_readv() hates us: Bad address
ldd: exited with unknown exit code (134)
ERROR: can't resolve libraries to shared libraries: gobject-2.0, glib-2.0
Makefile:3409: recipe for target 'GLib-2.0.gir' failed
make[2]: *** [GLib-2.0.gir] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-libs/gobject-introspection-1.44.0/work/gobject-introspection-1.44.0'
Makefile:2702: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
Comment 3 Juergen Rose 2015-09-16 12:20:49 UTC
'emerge -uvDNe system' fails with the error described in Comment 2.
Comment 4 Juergen Rose 2015-09-16 12:50:14 UTC
I found that there was a similar error one year ago:

https://bugs.gentoo.org/show_bug.cgi?id=560396
Comment 5 Juergen Rose 2015-09-16 12:51:53 UTC
(In reply to Juergen Rose from comment #4)
> I found that there was a similar error one year ago:
> 
> https://bugs.gentoo.org/show_bug.cgi?id=560396

Sorry, it was not a year ago.
Comment 6 Juergen Rose 2015-09-16 13:07:29 UTC
The patch of Comment 3 of https://bugs.gentoo.org/show_bug.cgi?id=560396#c1 seems to solve my issues.
Comment 7 barrie backhurst 2015-09-18 17:11:08 UTC
Created attachment 412208 [details]
build log

I am seeing this problem as well
Comment 8 barrie backhurst 2015-09-18 17:15:28 UTC
Created attachment 412212 [details]
My emerge --info
Comment 9 barrie backhurst 2015-09-18 17:30:16 UTC
Is the patch applied to poppler or sandbox, I assume sandbox?
Comment 10 barrie backhurst 2015-09-18 22:07:38 UTC
Applied the patch to sandbox and poppler emerged ok
Comment 11 Alex Xu (Hello71) 2015-09-27 17:49:54 UTC

*** This bug has been marked as a duplicate of bug 560396 ***