dev-libs/boost-1.65.0을 설치하는 동안 다음 오류가 발생했습니다.
>>> Install boost-1.65.0 into /var/tmp/portage/dev-libs/boost-1.65.0/image/ category dev-libs
* abi_x86_64.amd64: running multilib-minimal_abi_src_install
* python2_7: running installation
* ACCESS DENIED: symlinkat: /var/tmp/portage/dev-libs/boost-1.65.0/temp/libpython2.7.so
ln: failed to create symbolic link '/var/tmp/portage/dev-libs/boost-1.65.0/temp/libpython2.7.so': Permission denied
* ERROR: dev-libs/boost-1.65.0::gentoo failed (install phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 124: Called src_install
* environment, line 4438: Called multilib-minimal_src_install
* environment, line 2558: Called multilib_foreach_abi 'multilib-minimal_abi_src_install'
* environment, line 2752: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
* environment, line 2388: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
* environment, line 2386: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install'
* environment, line 412: Called multilib-minimal_abi_src_install
* environment, line 2548: Called multilib_src_install
* environment, line 3063: Called python_foreach_impl 'installation'
* environment, line 3831: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'installation'
* environment, line 2388: Called _multibuild_run '_python_multibuild_wrapper' 'installation'
* environment, line 2386: Called _python_multibuild_wrapper 'installation'
* environment, line 541: Called installation
* environment, line 3021: Called create_user-config.jam
* environment, line 897: Called die
* The specific snippet of code:
* ln -f -s "$(python_get_library_path)" "${T}/lib${EPYTHON}$(get_libname)" || die;
*
* If you need support, post the output of `emerge --info '=dev-libs/boost-1.65.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/boost-1.65.0::gentoo'`.
* The complete build log is located at '/var/log/portage/build/dev-libs/boost-1.65.0:20171016-171019.log'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/boost-1.65.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/boost-1.65.0/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/boost-1.65.0/work/boost_1_65_0-abi_x86_64.amd64'
* S: '/var/tmp/portage/dev-libs/boost-1.65.0/work/boost_1_65_0'
* --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
* LOG FILE: "/var/log/sandbox/sandbox-19920.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: symlinkat
S: deny
P: /var/tmp/portage/dev-libs/boost-1.65.0/temp/libpython2.7.so
A: /var/tmp/portage/dev-libs/boost-1.65.0/temp/libpython2.7.so
R: /usr/lib64/libpython2.7.so.1.0
C: ln -f -s /usr/lib64/libpython2.7.so /var/tmp/portage/dev-libs/boost-1.65.0/temp/libpython2.7.so
* --------------------------------------------------------------------------------
>>> Failed to emerge dev-libs/boost-1.65.0, Log file:
>>> '/var/log/portage/build/dev-libs/boost-1.65.0:20171016-171019.log'
* Messages for package sys-process/atop-2.3.0-r1:
* Log file: /var/log/portage/build/sys-process/atop-2.3.0-r1:20171016-170944.log
* CONFIG_BSD_PROCESS_ACCT: is not set when it should be.
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
* Messages for package sys-fs/eudev-3.2.4:
* Log file: /var/log/portage/build/sys-fs/eudev-3.2.4:20171016-170946.log
*
* As of 2013-01-29, eudev-3.2.4 provides the new interface renaming functionality,
* as described in the URL below:
* https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
*
* This functionality is enabled BY DEFAULT because eudev has no means of synchronizing
* between the default or user-modified choice of sys-fs/udev. If you wish to disable
* this new iface naming, please be sure that /etc/udev/rules.d/80-net-name-slot.rules
* exists: touch /etc/udev/rules.d/80-net-name-slot.rules
*
* Messages for package dev-libs/boost-1.65.0:
* Log file: /var/log/portage/build/dev-libs/boost-1.65.0:20171016-171019.log
* ERROR: dev-libs/boost-1.65.0::gentoo failed (install phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 124: Called src_install
* environment, line 4438: Called multilib-minimal_src_install
* environment, line 2558: Called multilib_foreach_abi 'multilib-minimal_abi_src_install'
* environment, line 2752: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
* environment, line 2388: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
* environment, line 2386: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install'
* environment, line 412: Called multilib-minimal_abi_src_install
* environment, line 2548: Called multilib_src_install
* environment, line 3063: Called python_foreach_impl 'installation'
* environment, line 3831: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'installation'
* environment, line 2388: Called _multibuild_run '_python_multibuild_wrapper' 'installation'
* environment, line 2386: Called _python_multibuild_wrapper 'installation'
* environment, line 541: Called installation
* environment, line 3021: Called create_user-config.jam
* environment, line 897: Called die
* The specific snippet of code:
* ln -f -s "$(python_get_library_path)" "${T}/lib${EPYTHON}$(get_libname)" || die;
*
* If you need support, post the output of `emerge --info '=dev-libs/boost-1.65.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/boost-1.65.0::gentoo'`.
* The complete build log is located at '/var/log/portage/build/dev-libs/boost-1.65.0:20171016-171019.log'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/boost-1.65.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/boost-1.65.0/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/boost-1.65.0/work/boost_1_65_0-abi_x86_64.amd64'
* S: '/var/tmp/portage/dev-libs/boost-1.65.0/work/boost_1_65_0'
Emergency --info '=dev-libs/boost-1.65.0::gentoo'의 결과:
Portage 2.3.11 (python 3.4.6-final-0, default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.25-r7, 4.12.12-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-4.12.12-gentoo-x86_64-Intel-R-_Core-TM-_i5-6300HQ_CPU_@_2.30GHz-with-gentoo-2.4.1
KiB Mem: 8037396 total, 3869472 free
KiB Swap: 12582908 total, 12582908 free
Timestamp of repository gentoo: Sun, 15 Oct 2017 10:00:01 +0000
Head commit of repository gentoo: 207d64181ea82d5d3251db27d856244b0e78ef6f
sh bash 4.4_p12
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash: 4.4_p12::gentoo
dev-java/java-config: 2.2.0-r3::gentoo
dev-lang/perl: 5.24.3::gentoo
dev-lang/python: 2.7.14::gentoo, 3.4.6::gentoo
dev-util/cmake: 3.7.2::gentoo
dev-util/pkgconfig: 0.28-r2::gentoo
sys-apps/baselayout: 2.4.1-r2::gentoo
sys-apps/openrc: 0.32.1::gentoo
sys-apps/sandbox: 2.10-r3::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo
sys-devel/automake: 1.11.6-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils: 2.28.1::gentoo, 2.29.1::gentoo
sys-devel/gcc: 5.4.0-r3::gentoo, 6.4.0::gentoo
sys-devel/gcc-config: 1.9.0::gentoo
sys-devel/libtool: 2.4.6-r3::gentoo
sys-devel/make: 4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc: 2.25-r7::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-extra-opts:
dotnet
location: /var/lib/layman/dotnet
sync-type: laymansync
sync-uri: https://anongit.gentoo.org/git/proj/dotnet.git
masters: gentoo
priority: 50
fw-overlay
location: /var/lib/layman/fw-overlay
sync-type: laymansync
sync-uri: https://github.com/no-hope/fw-overlay.git
masters: gentoo
priority: 50
seeds
location: /var/lib/layman/seeds
sync-type: laymansync
sync-uri: git://github.com/vonavi/seeds.git
masters: gentoo
priority: 50
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-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/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/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 /usr/bin/startx"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://gentoo.prz.rzeszow.pl/gentoo"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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 acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cjk cli colord consolekit cracklib crypt cups curl custom-cflags cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fontconfig fortran gdbm gif glamor gphoto2 gpm gsm gstreamer gtk hardened iconv introspection ipv6 jack java jpeg kerberos lcms ldap libnotify libsecret lzma mad mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl odbc ogg openal opengl openmp pam pango pcre pdf perl png policykit postgres ppds python qt3support qt4 readline savedconfig scanner sdl seccomp session socks5 spell ssl startup-notification svg tcl tcpd threads tiff tools tracker truetype udev udisks unicode upower usb userlocales v4l vaapi vim-syntax vorbis wifi wxwidgets x264 xattr xcb xcomposite xinerama xml xv xvid zlib" ABI_X86="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="mmx mmxext sse sse2" 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" INPUT_DEVICES="libinput synaptics evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="fastcgi access addition auth_basic auth_ldap auth_pam auth_request autoindex browser cache_purge charset dav dav_ext degradation echo empty_gif fancyindex flv geo geoip gunzip gzip gzip_static headers_more image_filter limit_conn limit_req lua map memc memcached metrics mp4 naxsi perl proxy push_stream random_index realip referer rewrite scgi secure_link security slice slowfs_cache spdy split_clients ssi sticky stub_status sub upload_progress upstream_check upstream_hash upstream_ip_hash upstream_keepalive upstream_least_conn upstream_zone userid uwsgi xslt" NGINX_MODULES_MAIL="imap pop3 smtp" NGINX_MODULES_STREAM="access geo geoip limit_conn map realip return split_clients ssl_preread upstream_hash upstream_least_conn upstream_zone" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
erge -pqv '=dev-libs/boost-1.65.0::gentoo'의 결과:
[ebuild r U ] dev-libs/boost-1.65.0 [1.62.0-r1] USE="nls python threads tools -context -debug -doc -icu -mpi -static-libs" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7 python3_4 -python3_5 -python3_6%"
[ebuild rR ] net-libs/nghttp2-1.26.0 USE="cxx threads xml -debug -hpack-tools -jemalloc -libressl -static-libs {-test} -utils" ABI_X86="(64) -32 (-x32)"
[ebuild r U ] net-libs/libtorrent-rasterbar-1.0.11-r1 [1.0.10] USE="dht geoip python ssl -debug -doc -examples -libressl -static-libs {-test}" PYTHON_TARGETS="python2_7 python3_4 -python3_5"
The following packages are causing rebuilds:
(dev-libs/boost-1.65.0:0/1.65.0::gentoo, ebuild scheduled for merge) causes rebuilds for:
(net-libs/libtorrent-rasterbar-1.0.11-r1:0/8::gentoo, ebuild scheduled for merge)
(net-libs/nghttp2-1.26.0:0/1.14::gentoo, ebuild scheduled for merge)
* IMPORTANT: 7 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
빌드 로그:https://filebin.net/nehtpkwbxqc9ctxx/build.log.txt
누가 날 도울 수 있죠?
답변1
오류로 인해https://bugs.gentoo.org/615072:
이 문제는 샌드박스 2.10-r3에서 발생했으나 2.10-r4로 업데이트하면 문제가 해결되었습니다.