www-apps/rt-4.4.4-r2::gentoo failed tail --lines=200 /var/tmp/portage/www-apps/rt-4.4.4-r2/temp/build.log * Messages for package www-apps/rt-4.4.4-r2: * * If you are upgrading from an existing RT installation * make sure to read the related upgrade documentation in * /usr/share/doc/rt-4.4.4-r2. * * ERROR: www-apps/rt-4.4.4-r2::gentoo failed (install phase): * emake failed * * If you need support, post the output of `emerge --info '=www-apps/rt-4.4.4-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-apps/rt-4.4.4-r2::gentoo'`. * The complete build log is located at '/var/tmp/portage/www-apps/rt-4.4.4-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-apps/rt-4.4.4-r2/temp/environment'. * Working directory: '/var/tmp/portage/www-apps/rt-4.4.4-r2/work/rt-4.4.4' * S: '/var/tmp/portage/www-apps/rt-4.4.4-r2/work/rt-4.4.4' All dependencies have been found. /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c -m 0755 -o rt -g rt -d /usr/share/webapps/rt/4.4.4-r2/hostroot/rt-4.4.4-r2/etc * ACCESS DENIED: mkdir: /usr/share/webapps/rt /usr/bin/install: cannot create directory '/usr/share/webapps/rt': Permission denied make: *** [Makefile:372: config-install] Error 1 * ERROR: www-apps/rt-4.4.4-r2::gentoo failed (install phase): * emake failed * * If you need support, post the output of `emerge --info '=www-apps/rt-4.4.4-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-apps/rt-4.4.4-r2::gentoo'`. * The complete build log is located at '/var/tmp/portage/www-apps/rt-4.4.4-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-apps/rt-4.4.4-r2/temp/environment'. * Working directory: '/var/tmp/portage/www-apps/rt-4.4.4-r2/work/rt-4.4.4' * S: '/var/tmp/portage/www-apps/rt-4.4.4-r2/work/rt-4.4.4' * ----------------------- SANDBOX ACCESS VIOLATION SUMMARY ----------------------- * LOG FILE: "/var/tmp/portage/www-apps/rt-4.4.4-r2/temp/sandbox.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: rt A: /usr/share/webapps/rt R: /usr/share/webapps/rt C: /usr/bin/install -c -m 0755 -o rt -g rt -d /usr/share/webapps/rt 4.4.4-r2/hostroot/rt-4.4.4-r2/etc * -------------------------------------------------------------------------------- Reproducible: Always emerge --info '=www-apps/rt-4.4.4-r2::gentoo' Portage 3.0.30 (python 3.10.5-final-0, default/linux/amd64/17.1/no-multilib/hardened, gcc-11.3.0, glibc-2.34-r13, 5.15.52-gentoo-x86_64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.15.52-gentoo-x86_64-x86_64-Intel-R-_Xeon-R-_E-2276G_CPU_@_3.80GHz-with-glibc2.34 KiB Mem: 8074788 total, 3563804 free KiB Swap: 2097148 total, 2097148 free Timestamp of repository gentoo: Sat, 23 Jul 2022 22:30:01 +0000 Head commit of repository gentoo: 5581e5d9e8ca80a125dfaa6c66d848907016b007 sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 app-misc/pax-utils: 1.3.4::gentoo app-shells/bash: 5.1_p16::gentoo dev-lang/perl: 5.34.1-r3::gentoo dev-lang/python: 3.10.5::gentoo dev-util/cmake: 3.22.4::gentoo dev-util/meson: 0.62.2::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/openrc: 0.44.10::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.37_p1-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/gcc: 11.3.0::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r13::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.remote.inc/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/ossec/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php7.4/ext-active/ /etc/php/fpm-php8.0/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php7.4/ext-active/ /etc/php/phpdbg-php8.0/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--jobs=1 --load-average=2" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms 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" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j1" 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" SHELL="/bin/bash" USE="acl addc agent amd64 apache2 bzip2 cli cpumining crypt cryptsetup curl device-mapper fpm gd gnutls hardened hvm iconv imagemagick imap initramfs intl ipv6 jit json ldap libglvnd libtirpc lvm mmx mysqli ncurses nls nptl openmp pam pcre pdo php pie png python readline sasl savedconfig screen seccomp sockets split-usr sse sse2 ssl ssp symlink truetype unicode vhosts winbind xattr xmlreader xmlwriter xtpax zip zlib" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="actions alias auth_basic authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Please always attach the full build.log, and in this case, sandbox.log.
it looks like file /var/tmp/portage/www-apps/rt-4.4.4-r2/temp/sandbox.log is not created ls -lh /var/tmp/portage/www-apps/rt-4.4.4-r2/temp/ total 72K -rw-rw---- 1 portage portage 9.3K Jul 24 17:57 build.log -rw-rw-r-- 1 portage portage 640 Jul 24 17:57 eclass-debug.log -rw-rw-r-- 1 portage portage 45K Jul 24 17:57 environment drwxr-xr-x 2 portage portage 4.0K Jul 24 17:57 logging -rw-r--r-- 1 portage portage 0 Jul 24 17:57 setup_by_webapp_eclass -rw-r--r-- 1 portage portage 3.4K Jul 24 17:57 t
(In reply to 5836000 from comment #2) > it looks like file /var/tmp/portage/www-apps/rt-4.4.4-r2/temp/sandbox.log is > not created > > ls -lh /var/tmp/portage/www-apps/rt-4.4.4-r2/temp/ > total 72K > -rw-rw---- 1 portage portage 9.3K Jul 24 17:57 build.log > -rw-rw-r-- 1 portage portage 640 Jul 24 17:57 eclass-debug.log > -rw-rw-r-- 1 portage portage 45K Jul 24 17:57 environment > drwxr-xr-x 2 portage portage 4.0K Jul 24 17:57 logging > -rw-r--r-- 1 portage portage 0 Jul 24 17:57 setup_by_webapp_eclass > -rw-r--r-- 1 portage portage 3.4K Jul 24 17:57 t np. It's fixed in newer Portages. build.log?
cat /var/tmp/portage/www-apps/rt-4.4.4-r2/temp/build.log * Package: www-apps/rt-4.4.4-r2 * Repository: gentoo * Maintainer: titanofold@gentoo.org web-apps@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux mysql userland_GNU vhosts * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * * If you are upgrading from an existing RT installation * make sure to read the related upgrade documentation in * /usr/share/doc/rt-4.4.4-r2. * >>> Unpacking source... >>> Unpacking rt-4.4.4.tar.gz to /var/tmp/portage/www-apps/rt-4.4.4-r2/work >>> Source unpacked in /var/tmp/portage/www-apps/rt-4.4.4-r2/work >>> Preparing source in /var/tmp/portage/www-apps/rt-4.4.4-r2/work/rt-4.4.4 ... * Applying rt-makefile-serialize-install-prereqs.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/www-apps/rt-4.4.4-r2/work/rt-4.4.4 ... checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking for perl... /usr/bin/perl checking checking version of find... find (GNU findutils) 4.9.0 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. configuring for GNU find checking for chosen layout... Gentoo checking if database name is set... yes checking for dot... yes checking for gdlib-config... no checking for gpg... yes checking for openssl... yes configure: creating ./config.status config.status: creating etc/upgrade/3.8-ical-extension config.status: creating etc/upgrade/4.0-customfield-checkbox-extension config.status: creating etc/upgrade/generate-rtaddressregexp config.status: creating etc/upgrade/reset-sequences config.status: creating etc/upgrade/sanity-check-stylesheets config.status: creating etc/upgrade/shrink-cgm-table config.status: creating etc/upgrade/shrink-transactions-table config.status: creating etc/upgrade/switch-templates-to config.status: creating etc/upgrade/time-worked-history config.status: creating etc/upgrade/upgrade-articles config.status: creating etc/upgrade/upgrade-assets config.status: creating etc/upgrade/vulnerable-passwords config.status: creating etc/upgrade/upgrade-sla config.status: creating sbin/rt-ldapimport config.status: creating sbin/rt-attributes-viewer config.status: creating sbin/rt-preferences-viewer config.status: creating sbin/rt-session-viewer config.status: creating sbin/rt-dump-metadata config.status: creating sbin/rt-setup-database config.status: creating sbin/rt-test-dependencies config.status: creating sbin/rt-email-digest config.status: creating sbin/rt-email-dashboards config.status: creating sbin/rt-externalize-attachments config.status: creating sbin/rt-clean-sessions config.status: creating sbin/rt-shredder config.status: creating sbin/rt-validator config.status: creating sbin/rt-validate-aliases config.status: creating sbin/rt-email-group-admin config.status: creating sbin/rt-search-attributes config.status: creating sbin/rt-server config.status: creating sbin/rt-server.fcgi config.status: creating sbin/standalone_httpd config.status: creating sbin/rt-setup-fulltext-index config.status: creating sbin/rt-fulltext-indexer config.status: creating sbin/rt-serializer config.status: creating sbin/rt-importer config.status: creating sbin/rt-passwd config.status: creating sbin/rt-munge-attachments config.status: creating bin/rt-crontool config.status: creating bin/rt-mailgate config.status: creating bin/rt config.status: creating Makefile config.status: creating etc/RT_Config.pm config.status: creating lib/RT/Generated.pm config.status: creating t/data/configs/apache2.2+mod_perl.conf config.status: creating t/data/configs/apache2.2+fastcgi.conf config.status: creating t/data/configs/apache2.4+mod_perl.conf config.status: creating t/data/configs/apache2.4+fastcgi.conf >>> Source configured. >>> Compiling source in /var/tmp/portage/www-apps/rt-4.4.4-r2/work/rt-4.4.4 ... >>> Source compiled. * Skipping make test/check due to ebuild restriction. >>> Test phase [disabled because of RESTRICT=test]: www-apps/rt-4.4.4-r2 >>> Install www-apps/rt-4.4.4-r2 into /var/tmp/portage/www-apps/rt-4.4.4-r2/image/ make -j1 install /usr/bin/perl ./sbin/rt-test-dependencies --with-mysql --with-modperl2 perl: >=5.10.1(5.34.1) ...found users: rt group (rt) ...found bin owner (rt) ...found libs owner (rt) ...found libs group (rt) ...found web owner (apache) ...found web group (apache) ...found CLI dependencies: HTTP::Request::Common ...found LWP >= 6.02 ...found Getopt::Long >= 2.24 ...found Text::ParseWords ...found Term::ReadLine ...found Term::ReadKey ...found CORE dependencies: HTML::FormatText::WithLinks >= 0.14 ...found Module::Versions::Report >= 1.05 ...found UNIVERSAL::require ...found Digest::MD5 >= 2.27 ...found CSS::Minifier::XS ...found JSON ...found Email::Address::List >= 0.06 ...found IPC::Run3 ...found HTML::Quoted ...found Text::Wrapper ...found DateTime::Format::Natural >= 0.67 ...found Plack >= 1.0002 ...found Data::ICal ...found Devel::StackTrace >= 1.19 ...found LWP::Simple ...found Locale::Maketext >= 1.06 ...found File::Spec >= 0.8 ...found Tree::Simple >= 1.04 ...found HTML::FormatText::WithLinks::AndTables >= 0.06 ...found DateTime::Locale >= 0.40 ...found Module::Refresh >= 0.03 ...found Net::CIDR ...found Time::HiRes ...found Mail::Mailer >= 1.57 ...found Text::Quoted >= 2.07 ...found HTML::Mason::PSGIHandler >= 0.52 ...found Regexp::IPv6 ...found CGI::Cookie >= 1.20 ...found Apache::Session >= 1.53 ...found Email::Address >= 1.912 ...found HTML::Scrubber >= 0.08 ...found Devel::GlobalDestruction ...found DateTime >= 0.44 ...found XML::RSS >= 1.05 ...found HTML::Entities ...found Mail::Header >= 2.12 ...found File::ShareDir ...found Net::IP ...found Regexp::Common::net::CIDR ...found CGI::Emulate::PSGI ...found URI::QueryParam ...found HTML::RewriteAttributes >= 0.05 ...found Text::Template >= 1.44 ...found MIME::Entity >= 5.504 ...found DBIx::SearchBuilder >= 1.65 ...found Symbol::Global::Name >= 0.05 ...found Pod::Select ...found Role::Basic >= 0.12 ...found Scope::Upper ...found Data::GUID ...found Scalar::Util ...found File::Temp >= 0.19 ...found Plack::Handler::Starlet ...found CGI::PSGI >= 0.12 ...found Digest::SHA ...found Digest::base ...found File::Glob ...found HTTP::Message >= 6.0 ...found Text::WikiFormat >= 0.76 ...found Data::Page::Pageset ...found Regexp::Common ...found Business::Hours ...found Convert::Color ...found Class::Accessor::Fast ...found Time::ParseDate ...found CGI >= 4 ...found Crypt::Eksblowfish ...found Errno ...found Encode >= 2.64 ...found HTML::Mason >= 1.43 ...found Locale::Maketext::Lexicon >= 0.32 ...found DBI >= 1.37 ...found Locale::Maketext::Fuzzy >= 0.11 ...found MIME::Types ...found List::MoreUtils ...found Date::Manip ...found CSS::Squish >= 0.06 ...found Clone ...found Storable >= 2.08 ...found Sys::Syslog >= 0.16 ...found JavaScript::Minifier::XS ...found Text::Password::Pronounceable ...found Date::Extract >= 0.02 ...found URI >= 1.59 ...found Log::Dispatch >= 2.30 ...found GPG dependencies: PerlIO::eol ...found File::Which ...found GnuPG::Interface ...found GRAPHVIZ dependencies: GraphViz ...found IPC::Run >= 0.90 ...found MAILGATE dependencies: LWP::Protocol::https ...found Getopt::Long ...found LWP::UserAgent >= 6.02 ...found Pod::Usage ...found Mozilla::CA ...found MYSQL dependencies: DBD::mysql >= 2.1018 ...found SMIME dependencies: File::Which ...found String::ShellQuote ...found Crypt::X509 ...found All dependencies have been found. /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c -m 0755 -o rt -g rt -d /usr/share/webapps/rt/4.4.4-r2/hostroot/rt-4.4.4-r2/etc * ACCESS DENIED: mkdir: /usr/share/webapps/rt /usr/bin/install: cannot create directory '/usr/share/webapps/rt': Permission denied make: *** [Makefile:372: config-install] Error 1 * ERROR: www-apps/rt-4.4.4-r2::gentoo failed (install phase): * emake failed * * If you need support, post the output of `emerge --info '=www-apps/rt-4.4.4-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-apps/rt-4.4.4-r2::gentoo'`. * The complete build log is located at '/var/tmp/portage/www-apps/rt-4.4.4-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-apps/rt-4.4.4-r2/temp/environment'. * Working directory: '/var/tmp/portage/www-apps/rt-4.4.4-r2/work/rt-4.4.4' * S: '/var/tmp/portage/www-apps/rt-4.4.4-r2/work/rt-4.4.4' * ----------------------- SANDBOX ACCESS VIOLATION SUMMARY ----------------------- * LOG FILE: "/var/tmp/portage/www-apps/rt-4.4.4-r2/temp/sandbox.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: rt A: /usr/share/webapps/rt R: /usr/share/webapps/rt C: /usr/bin/install -c -m 0755 -o rt -g rt -d /usr/share/webapps/rt 4.4.4-r2/hostroot/rt-4.4.4-r2/etc * --------------------------------------------------------------------------------
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0bee84c6932d08cd99dc4f28a2bd051bd247f38 commit f0bee84c6932d08cd99dc4f28a2bd051bd247f38 Author: Yu Gu <guyu2876@gmail.com> AuthorDate: 2022-10-18 05:05:45 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2022-10-29 10:23:37 +0000 www-apps/rt: fix emake failed Bug: https://bugs.gentoo.org/860747 Signed-off-by: Yu Gu <guyu2876@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/27827 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> www-apps/rt/{rt-4.4.4-r2.ebuild => rt-4.4.4-r3.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)