Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 438104 - net-libs/libsoup-gnome-2.38.1 emerge fails because of sandbox access violation
Summary: net-libs/libsoup-gnome-2.38.1 emerge fails because of sandbox access violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-12 12:45 UTC by toon
Modified: 2012-10-20 06:09 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 toon 2012-10-12 12:45:19 UTC
...
checking Apache version... 2.2.22 (Unix) (ok)
checking for Apache module directory... /usr/lib/apache2/modules
checking for php... php
checking for Apache PHP module... yes
checking for xmlrpc-epi-php... ACCESS DENIED  mkdir:        /var/lib/net-snmp/mib_indexes
yes
checking for curl... /usr/bin/curl
configure: creating ./config.status
config.status: creating libsoup-2.4.pc
config.status: creating libsoup-gnome-2.4.pc
config.status: creating Makefile
config.status: creating libsoup-zip
config.status: creating libsoup/Makefile
config.status: creating tests/Makefile
config.status: creating tests/httpd.conf
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

Some regression tests will not be run due to missing packages:
glib-networking

>>> Source configured.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-13593.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkdir
S: deny
P: /var/lib/net-snmp/mib_indexes
A: /var/lib/net-snmp/mib_indexes
R: /var/lib/net-snmp/mib_indexes
C: php --rf xmlrpc_server_create 
--------------------------------------------------------------------------------

>>> Failed to emerge net-libs/libsoup-gnome-2.38.1, Log file:

>>>  '/var/log/portage/net-libs:libsoup-gnome-2.38.1:20121012-104434.log'


Reproducible: Always

Steps to Reproduce:
1. emerge -uDN world
2.
3.
Actual Results:  
See description for the actual results.

Expected Results:  
libsoup-gnome should build successfully.

Portage 2.1.11.9 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.4, glibc-2.15-r2, 3.4.9-gentoo x86_64)
=================================================================
System uname: Linux-3.4.9-gentoo-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-2.1
Timestamp of tree: Fri, 12 Oct 2012 08:45:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13::<unknown repository>, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo x-portage-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 Oracle-BCLA-JavaSE googleearth AdobeFlash-10.1 AdobeFlash-10.3"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /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="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://darkstar.ist.utl.pt/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="nl_NL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="nl en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/mnt/backups/portagetmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-overlay"
SYNC="rsync://wwwood2.vanvergehaald.nl/gentoo-portage"
USE="3dnow 3dnowext 64bit X X509 a52 aac aalib acl acpi acpi4linux addressbook akode alsa amd64 amrnb apache2 apng archive audiofile bdf berkdb bidi bl bluetooth branding bzip2 bzlib cairo caps cdda cdio cdparanoia cdr chardet chroot clamdtop cli colord consolekit corba cracklib cron crypt css cups curl cxx dar64 dbus declarative device-mapper dga divx djvu doc dri dtaus dts dv dvb dvd dvdnav dvdr dvi ebook eds emboss enca encode evo evo2 exif extensions extras fam fax fbcon ffmpeg firefox flac fontconfig fortran freetype fts3 g3dvl gb gd gdbm gdu gif gimp gimpprint gmedia gnokii gnome gnome-keyring gnome-online-accounts gnome-print gnomedb gnuplot gphoto2 gpm gs gstreamer gtk h323 hbci iconv ieee1394 imap inkjar innodb insecure-drivers ipv6 irmc isag ithreads j2ee jabber jack java java6 javadoc javamail javascript jboss jce jdepend jmx jpeg kde kdepim kdrive keyring kipi kpathsea ladspa lame largeterminal lcms ldap leim libcaca libgda libnotify libsamplerate live lm_sensors lprng lvm lzo mad mailwrapper matroska mbox md5sum mdnsresponder-compat minizip mjpeg mmx mmxext mng mod modplug modules mono moonlight mozcalendar mozp3p mozplaintext mp2 mp3 mp4 mpeg mpeg2 mpeg4 mplayer mudflap mule multilib musepack nas nautilus ncurses nemesi network networkmanager nls nptl nsplugin oav odbc offensive ofx ogg oggvorbis ole on-the-fly-crypt openal opengl openmp pam pango parted passfile password pcap pcre pdf php pic plasma png pnm policykit ppds pppd procmail pulseaudio qt3support qt4 quicktime radio rar readline realmedia regex resolvconf rrdtool rss rtc rtsp samba sasl scanner sdl seamonkey server session slp smime smtp sndfile snmp soap socialweb socks5 sound sounds sox speex spell spice sqlite sqlite3 srt sse sse2 ssl startup-notification stream svg swat syslog t1lib tcpd tga theora threads threadsafe thumbnail tiff truetype type1 udev udisks unicode upower usb utf8 vcd vcdinfo vcdx vdpau vim-syntax virt-network vlm vnc vorbis wav wavelan wavpack webdav webm wma wma-fixed wmf wmp wxwidgets wxwindows x264 xanim xattr xcb xface xforms xine xinerama xml xmlrpc xosd xscreensaver xulrunner xv xvid xvmc zeo zlib zoran" ALSA_CARDS="ice1724 usb-audio" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2 directory canon samsung" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="nl en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" 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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Pedro Sanchez 2012-10-13 09:35:13 UTC
Same here.

See bug #331281 ( https://bugs.gentoo.org/show_bug.cgi?id=331281 )

You can solve it, doing:

$ php --version

This instruction creates the required directory.
Comment 2 toon 2012-10-13 10:16:41 UTC
(In reply to comment #1)
> Same here.
> 
> See bug #331281 ( https://bugs.gentoo.org/show_bug.cgi?id=331281 )
> 
> You can solve it, doing:
> 
> $ php --version
> 
> This instruction creates the required directory.

Hi Pedro, thanks, interesting!
After some googling around, I unmerged and emerged net-snmp last night,
and then emerged libsoup-gnome-2.38.1 successfully.
Apparently remerging net-snmp is another way to create the missing directory.

Now, in my opinion both ways should be regarded as work-arounds at best.
What would be the final solution and who should be in charge of fixing it?
Should a 'php --version' command be added to the php ebuild?

Regards,
Toon.
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-10-20 06:09:47 UTC
Fixed in cvs, thanks for reporting!

>  20 Oct 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
>  libsoup-gnome-2.36.1.ebuild, libsoup-gnome-2.38.1.ebuild:
>  Explicitly disable apache-using tests to prevent access violation (bug
>  #438104, thanks to toon and Pedro Sanchez).