Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 611964 - media-libs/opencv-3.1.0-r7[java] - sandbox violation
Summary: media-libs/opencv-3.1.0-r7[java] - sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 612108 612156 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-03-07 16:34 UTC by Richard Cox
Modified: 2018-05-25 19:34 UTC (History)
7 users (show)

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


Attachments
build log (build.log.bz2,129.89 KB, application/x-bzip)
2017-03-07 16:43 UTC, Richard Cox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Cox 2017-03-07 16:34:54 UTC
attempt to emerge opencv-3.1.0-r7 fails with a sandbox violation.

Reproducible: Always

Steps to Reproduce:
1.  emerge -uDN --keep-going world
2.
3.
Actual Results:  
emerge fails with sandbox violations

Expected Results:  
emerge should succeed.

emerge --info
Portage 2.3.4 (python 2.7.13-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.4.0, glibc-2.24-r1, 4.10.1-gentoo x86_64)
=================================================================
System uname: Linux-4.10.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.3
KiB Mem:    32851324 total,  17560244 free
KiB Swap:    8388604 total,   8388308 free
Timestamp of repository gentoo: Tue, 07 Mar 2017 05:45:01 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.27 p1.0) 2.27
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo, 3.5.3::gentoo, 3.6.0::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.23.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.27::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://zbox/gentoo-portage
    priority: -1000

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

java
    location: /usr/local/portage/layman/java
    sync-type: git
    sync-uri: git://anongit.gentoo.org/proj/java.git
    masters: gentoo
    priority: 50

sunrise
    location: /usr/local/portage/layman/sunrise
    sync-type: git
    sync-uri: git://anongit.gentoo.org/proj/sunrise-reviewed.git
    masters: gentoo
    priority: 50

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/lib64/udev/rules.d/97-bluetooth-hid2hci.rules /usr/share/config /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/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/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=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --quiet-build=n --with-bdeps=y --autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5 -l4"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aacplus acl acpi aes alsa amd64 aspell avx berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt css cups curl cxx dbus declarative doc dri dts dvd dvdnav dvdr emboss encode eselect exif fam ffmpeg firefox flac fortran gdbm gif glamor gpm gstreamer gtk hunspell iconv icu ipv6 jack java jpeg kde kipi kwallet lcms ldap libnotify libwww lm_sensors mad matroska mmx mmxext mng modules mp3 mp4 mpeg multilib multislot mysql ncurses nls nptl nsplugin ogg openexr opengl openmp openrc oss pam pango pcre pdf perl phonon plasma png policykit popcnt ppds python qml qt3support qt4 qt5 rdesktop readline samba sdl seccomp semantic-desktop session spell spl sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg tcpd theora threads tiff tools truetype udev udisks unicode upower usb v4l v4l2 vaapi vdpau vlc vorbis vpx widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zlib" ABI_X86="32 64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AArch64" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby21 ruby22 ruby23 ruby24" 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"
USE_PYTHON="2.7 3.4 3.5"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Richard Cox 2017-03-07 16:43:47 UTC
Created attachment 466204 [details]
build log
Comment 2 James Le Cuirot gentoo-dev 2017-03-09 11:00:34 UTC
*** Bug 612108 has been marked as a duplicate of this bug. ***
Comment 3 James Le Cuirot gentoo-dev 2017-03-09 11:03:04 UTC
Java team really should have been assigned or CC'd here. No idea what's causing it though. I'll see if I can reproduce it later.
Comment 4 Coacher 2017-03-09 21:48:50 UTC
*** Bug 612156 has been marked as a duplicate of this bug. ***
Comment 5 James Le Cuirot gentoo-dev 2017-03-09 22:40:08 UTC
I tried opencv[java] and then I tried rebuilding java-config before trying opencv again. That didn't trigger it and it may even be that rebuilding java-config is the way to avoid it. I'm going to CC python team because I'm at a loss.
Comment 6 Richard Cox 2017-03-10 13:11:02 UTC
I just updated my world today and the opencv-3.1.0-r7 ebuild merged successfully.  I didn't change anything except just emerge/updated world.  I guess this issue is resolved, though why it was getting the sandbox violation is still a mystery.
Comment 7 Ben Kohler gentoo-dev 2017-03-10 14:09:38 UTC
I believe this is a known issue with python packages' cache being detected as stale and trying to rebuild.  I cannot find the relevant open bug report, though.
Comment 8 Daniele 2017-03-20 09:58:25 UTC
I can confirm that Doing

emerge -k n -1 java-config

fixed a duplicate bug (#612108) for me
Comment 9 Larry the Git Cow gentoo-dev 2018-05-25 19:34:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87c7f56621506120ca81cb7098b836d922280d7d

commit 87c7f56621506120ca81cb7098b836d922280d7d
Author:     Amy Liffey <amynka@gentoo.org>
AuthorDate: 2018-05-25 19:33:22 +0000
Commit:     Amy Liffey <amynka@gentoo.org>
CommitDate: 2018-05-25 19:33:22 +0000

    media-libs/opencv: drop old 3.1.0
    
    Closes: https://bugs.gentoo.org/557328
    Closes: https://bugs.gentoo.org/600658
    Closes: https://bugs.gentoo.org/607830
    Closes: https://bugs.gentoo.org/611964
    Closes: https://bugs.gentoo.org/639896
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-libs/opencv/Manifest               |   2 -
 media-libs/opencv/opencv-3.1.0-r8.ebuild | 328 -------------------------------
 2 files changed, 330 deletions(-)