Created attachment 519720 [details] build.log > compile-non-log4j: > [javac] Compiling 11 source files to /var/tmp/portage/dev-java/commons-logging-1.2-r2/work/commons-logging-1.2-src/target/classes > [javac] /var/tmp/portage/dev-java/commons-logging-1.2-r2/work/commons-logging-1.2-src/src/main/java/org/apache/commons/logging/impl/ServletContextCleaner.java:23: error: package javax.servlet does not exist > [javac] import javax.servlet.ServletContextEvent; > [javac] ^ > [javac] /var/tmp/portage/dev-java/commons-logging-1.2-r2/work/commons-logging-1.2-src/src/main/java/org/apache/commons/logging/impl/ServletContextCleaner.java:24: error: package javax.servlet does not exist > [javac] import javax.servlet.ServletContextListener; > [javac] ^ > [javac] /var/tmp/portage/dev-java/commons-logging-1.2-r2/work/commons-logging-1.2-src/src/main/java/org/apache/commons/logging/impl/ServletContextCleaner.java:50: error: cannot find symbol > [javac] public class ServletContextCleaner implements ServletContextListener { > [javac] ^ > [javac] symbol: class ServletContextListener > [javac] /var/tmp/portage/dev-java/commons-logging-1.2-r2/work/commons-logging-1.2-src/src/main/java/org/apache/commons/logging/impl/ServletContextCleaner.java:59: error: cannot find symbol > [javac] public void contextDestroyed(ServletContextEvent sce) { > [javac] ^ > [javac] symbol: class ServletContextEvent > [javac] location: class ServletContextCleaner > [javac] /var/tmp/portage/dev-java/commons-logging-1.2-r2/work/commons-logging-1.2-src/src/main/java/org/apache/commons/logging/impl/ServletContextCleaner.java:133: error: cannot find symbol > [javac] public void contextInitialized(ServletContextEvent sce) { > [javac] ^ > [javac] symbol: class ServletContextEvent > [javac] location: class ServletContextCleaner > [javac] Note: Some input files use unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > [javac] 5 errors > > BUILD FAILED > /var/tmp/portage/dev-java/commons-logging-1.2-r2/work/commons-logging-1.2-src/build.xml:281: Compile failed; see the compiler error output for details. Reproducible, =dev-java/commons-logging-1.2-r1 works fine. Portage 2.3.24 (python 3.6.4-final-0, default/linux/amd64/17.0, gcc-7.3.0, glibc-2.26-r6, 4.15.3-gentoo x86_64) ================================================================= System uname: Linux-4.15.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.4.1 KiB Mem: 8125412 total, 6522560 free KiB Swap: 1048572 total, 1048572 free Timestamp of repository gentoo: Fri, 16 Feb 2018 12:34:21 +0000 Head commit of repository gentoo: b622656314024d2b40bc8f09141628b091ae1b7b sh dash 0.5.9.1-r3 ld GNU ld (Gentoo 2.30 p1) 2.30.0 app-shells/bash: 4.4_p19::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.26.1-r1::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.4.6-r1::gentoo, 3.5.4-r1::gentoo, 3.6.4::gentoo dev-util/cmake: 3.10.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.34.11::gentoo sys-apps/sandbox: 2.12::gentoo sys-devel/autoconf: 2.69-r4::gentoo sys-devel/automake: 1.13.4-r1::gentoo, 1.15.1-r1::gentoo sys-devel/binutils: 2.30::gentoo sys-devel/gcc: 6.4.0-r1::gentoo, 7.3.0::gentoo sys-devel/gcc-config: 1.9.1::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r1::gentoo sys-kernel/linux-headers: 4.15::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 ABI="amd64" ABI_X86="64" ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" ACCEPT_PROPERTIES="*" ACCEPT_RESTRICT="*" ANT_HOME="/usr/share/ant" APACHE2_MPMS="worker" ARCH="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt -Wno-error=missing-prototypes -Wno-error=enum-compare -Wno-error=unused-function -Wno-error=deprecated-declarations -frecord-gcc-switches" CFLAGS_amd64="-m64" CFLAGS_x32="-mx32" CFLAGS_x86="-m32" CHOST="x86_64-pc-linux-gnu" CHOST_amd64="x86_64-pc-linux-gnu" CHOST_x32="x86_64-pc-linux-gnux32" CHOST_x86="i686-pc-linux-gnu" COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="gnutls" CXXFLAGS="-O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt -Wno-error=missing-prototypes -Wno-error=enum-compare -Wno-error=unused-function -Wno-error=deprecated-declarations -frecord-gcc-switches" DEFAULT_ABI="amd64" EDITOR="/bin/nano" ELIBC="glibc" EPREFIX="" EROOT="/" FCFLAGS="-O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt -Wno-error=missing-prototypes -Wno-error=enum-compare -Wno-error=unused-function -Wno-error=deprecated-declarations -frecord-gcc-switches" FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt -Wno-error=missing-prototypes -Wno-error=enum-compare -Wno-error=unused-function -Wno-error=deprecated-declarations -frecord-gcc-switches" GCC_SPECS="" GRUB_PLATFORMS="" HOME="/root" INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.30/info:/usr/share/info" INPUT_DEVICES="libinput keyboard mouse" IUSE_IMPLICIT="abi_x86_64 prefix prefix-chain prefix-guest" JAVAC="/etc/java-config-2/current-system-vm/bin/javac" JAVA_HOME="/etc/java-config-2/current-system-vm" JDK_HOME="/etc/java-config-2/current-system-vm" KERNEL="linux" L10N="en en-US de de-DE" LANG="en_US.UTF-8" LC_MESSAGES="C" LC_NUMERIC="de_DE.UTF-8" LC_PAPER="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LDFLAGS_amd64="-m elf_x86_64" LDFLAGS_x32="-m elf32_x86_64" LDFLAGS_x86="-m elf_i386" LIBDIR_amd64="lib64" LIBDIR_x32="libx32" LIBDIR_x86="lib32" LINGUAS="en de" LOGNAME="root" MAIL="/var/mail/root" MAKEOPTS="--jobs 6" MANPAGER="manpager" MULTILIB_ABIS="amd64 x86" NOCOLOR="true" OFFICE_IMPLEMENTATION="libreoffice" OPENCL_PROFILE="mesa" OPENGL_PROFILE="xorg-x11" ORACLE_HOME="/usr/lib64/oracle/12.2/client" PAGER="/usr/bin/less" PATH="/usr/x86_64-pc-linux-gnu/gcc-bin/7.3.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin" PHP_TARGETS="php5-6 php7-2" POSTGRES_TARGETS="postgres9_5" PWD="/root" PYTHONDONTWRITEBYTECODE="1" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6" QT_GRAPHICSSYSTEM="raster" ROOT="/" ROOTPATH="/usr/x86_64-pc-linux-gnu/gcc-bin/7.3.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin" RUBY_TARGETS="ruby22" SHELL="/bin/bash" SHLVL="2" SSH_TTY="/dev/pts/0" SYMLINK_LIB="yes" TERM="screen" TMUX="/tmp/tmux-0/default,5592,0" TMUX_PANE="%0" TNS_ADMIN="/etc/oracle/" TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1" USER="root" USERLAND="GNU" VIDEO_CARDS="vmware"
Same here.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=300bbfeadd6383d672c55889dd00eee6302be0f3 commit 300bbfeadd6383d672c55889dd00eee6302be0f3 Author: Patrice Clement <monsieurp@gentoo.org> AuthorDate: 2018-02-16 19:55:57 +0000 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: 2018-02-16 22:35:45 +0000 dev-java/commons-logging: fix compilation failure. Closes: https://bugs.gentoo.org/647868 Package-Manager: Portage-2.3.19, Repoman-2.3.6 .../commons-logging/commons-logging-1.2-r2.ebuild | 30 ++++++++-------------- 1 file changed, 11 insertions(+), 19 deletions(-)
*** Bug 647962 has been marked as a duplicate of this bug. ***