It seems that dev-java/xom-1.2.10 fails to build against dev-java/xerxes-2.12.0 due to use of internal APIs. The xom package is brought in by USE=nsplugin or USE=webstart on a JDK. Info: Portage 2.3.63 (python 3.5.5-final-0, default/linux/amd64/17.0/hardened, gcc-7.3.0, glibc-2.26-r6, 4.20.0-rc7-00202-g1d51b4b1d3f2-dirty x86_64) ================================================================= System uname: Linux-4.20.0-rc7-00202-g1d51b4b1d3f2-dirty-x86_64-AMD_Ryzen_Threadripper_1950X_16-Core_Processor-with-gentoo-2.6 KiB Mem: 65870484 total, 5452220 free KiB Swap: 0 total, 0 free Head commit of repository gentoo: 82354ee48f52da4407ce37bafda7d364e2fda157 sh bash 4.4_p23 ld GNU ld (Gentoo 2.31.1 p3) 2.31.1 ccache version 3.3.4 [enabled] app-shells/bash: 4.4_p23::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.26.1-r2::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.5.5::gentoo, 3.6.4::gentoo dev-util/ccache: 3.3.4-r1::gentoo dev-util/cmake: 3.11.0::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.34.8::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.9.6-r4::gentoo, 1.11.6-r3::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.30-r1::gentoo, 2.31.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo, 5.3.0::gentoo, 5.4.0-r3::gentoo, 6.4.0-r1::gentoo, 7.2.0-r1::gentoo, 7.3.0-r1::gentoo, 8.2.0-r3::gentoo sys-devel/gcc-config: 1.9.1::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 local location: /usr/local/portage masters: gentoo priority: 0 gamerlay location: /var/lib/layman/gamerlay sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/gamerlay.git masters: gentoo priority: 50 mozilla location: /var/lib/layman/mozilla sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/mozilla.git masters: gentoo priority: 50 proaudio location: /var/lib/layman/proaudio sync-type: laymansync sync-uri: svn://svn.tuxfamily.org/svnroot/proaudio/proaudio/trunk/overlays/proaudio masters: gentoo priority: 50 spike location: /var/lib/layman/spike sync-type: laymansync sync-uri: https://github.com/Spike-Pentesting/spike-overlay.git masters: gentoo priority: 50 vapoursynth location: /var/lib/layman/vapoursynth sync-type: laymansync sync-uri: https://github.com/4re/vapoursynth-portage.git masters: gentoo priority: 50 x11 location: /var/lib/layman/x11 sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/x11 masters: gentoo priority: 50 zugaina location: /var/lib/layman/zugaina sync-type: laymansync sync-uri: rsync://gentoo.zugaina.org/zugaina-portage masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -fomit-frame-pointer -march=native -mfpmath=sse -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/conf.d /etc/init.d /usr/lib64/libreoffice/program/sofficerc /usr/share/config/kdm /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/revdep-rebuild /etc/sandbox.d /etc/skel /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -fomit-frame-pointer -march=native -mfpmath=sse -pipe" DISTDIR="/var/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 ccache 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 sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo" LANG="pl_PL.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=both" LINGUAS="en en_US pl" MAKEOPTS="-j16 -l16" PKGDIR="/var/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/metadata/cache --exclude=/metadata/md5-cache" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --force --whole-file --delete --stats --timeout=120 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac aacplus aacs accessibility acl acpi adns adplug aiglx aim alsa amd64 amr amrenc apparmor artswrappersuid audiofile audit auth-dns avahi avx bash-completion bidi bluetooth bluray branding btrfs bzip2 c++0x cairo caps cdda cddb cdio cdr celt cilk cjk connman cpudetection crypt cryptsetup cscope cups curl cxx dbi dbus devil dga djvu dri dri3 drm dts dv dvb dvd dvdr dvdread dvi efi encode exif expat f2fs fam fame fat fdk ffmpeg fftw firefox fits flac fluidsynth fontconfig foomatic-db fortran freetype fuse gcj geoip gif gimpprint glade glamor gme gmp gnome-keyring gnutls gpg gphoto2 gpm graphite graphviz gsm gstreamer gtk gtk3 gtkstyle gudev hardened harfbuzz hdri hfs highlight iconv icq icu idn iec61883 ieee1394 imagemagick imap inotify introspection ipod iproute2 ipv6 irc irda iso jabber jack jbig jemalloc jfs jit joystick jpeg jpeg2k json kdeenablefinal kdehiddenvisibility kerberos ladspa lame lash lcd lcms ldap libass libcanberra libnotify libproxy libsamplerate libsecret libsoxr libtirpc live lm_sensors lto lua lzma lzo mac mad mail matroska mdadm mjpeg mms mmx mng modplug mozdevelop mp3 mp3rtp mpeg msn mtp mudflap multilib multimedia musepack musicbrainz ncurses netlink network nls nptl nsplugin ntfs ntlm odf ogg openal opencl openexr opengl openmp openssl openvpn opus orc pam pango pax_kernel pcmcia pcre pda perl pgo pie plymouth png podcast policykit portaudio postproc postscript ppds pulseaudio python qt3support qt4 qt5 quvi rados rar raw rdesktop readline real realtime reiser4 reiserfs rle rss rtmp samba sasl scanner schroedinger sdl sdlgfx seccomp sid slp smp snappy sndfile snmp socks socks5 speex spell sqlite sse3 sse4_1 sse4_2 ssh ssl ssp ssse3 startup-notification stream svg sysfs systemd taglib tcmalloc telepathy theora threads tiff truetype twolame udev unicode unwind usb v4l v4l2 vaapi vala vcd vim-syntax visualization vorbis vpx wavpack webp wifi win32codecs wmf x264 x265 xattr xcb xen xine xinerama xml xpm xprint xtpax xulrunner xv xvid xvmc yahoo zeitgeist zeroconf zlib" ABI_X86="64 32" ALSA_CARDS="emu10k1x darla20 darla24 emu10k1 gina20 gina24 hdsp hdspm ice1712 indigo indigoio layla20 layla24 mia mixart mona pcxhr rme32 rme96 sb16 sbawe sscape usbusx2y vx222 usb-usx2y" 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" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 adc65 aox barbie canon clicksmart310 digigr8 digita directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 konica largan lg_gsm mars mustek pccam300 pccam600 ptp2 ricoh samsung sierra smal sonix soundvision spca50x sq905 stv0674 stv0680 sx330z template" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a 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="pc efi-64 xen qemu multiboot" INPUT_DEVICES="evdev void vmmouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="audio audio_alsa serial pctv" LLVM_TARGETS="AMDGPU BPF AArch64 ARM Mips" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_SOFTMMU_TARGETS="x86_64 arm armeb i386 mips mips64 mips64el mipsel mipsn32 aarch64" QEMU_USER_TARGETS="arm armeb i386 mips mipsel mips64 mips64el mipsn32 x86_64 aarch64" RUBY_TARGETS="ruby25 ruby24" USERLAND="GNU" VIDEO_CARDS="fbdev vesa radeon radeonsi amdgpu" 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_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS Trimmed log: prepare: compile-jaxen: [javac] Compiling 159 source files to /var/tmp/portage/dev-java/xom-1.2.10/work/XOM/build/jaxen-classes compile-core: [javac] Compiling 106 source files to /var/tmp/portage/dev-java/xom-1.2.10/work/XOM/build/classes [javac] /var/tmp/portage/dev-java/xom-1.2.10/work/XOM/build/src/nu/xom/Builder.java:45: error: package org.apache.xerces.impl does not exist [javac] import org.apache.xerces.impl.Version; [javac] ^ [javac] /var/tmp/portage/dev-java/xom-1.2.10/work/XOM/build/src/nu/xom/XML1_0Parser.java:23: error: package org.apache.xerces.parsers does not exist [javac] import org.apache.xerces.parsers.SAXParser; [javac] ^ [javac] /var/tmp/portage/dev-java/xom-1.2.10/work/XOM/build/src/nu/xom/XML1_0Parser.java:24: error: package org.apache.xerces.parsers does not exist [javac] import org.apache.xerces.parsers.DTDConfiguration; [javac] ^ [javac] /var/tmp/portage/dev-java/xom-1.2.10/work/XOM/build/src/nu/xom/XML1_0Parser.java:46: error: cannot find symbol [javac] class XML1_0Parser extends SAXParser { [javac] ^ [javac] symbol: class SAXParser [javac] /var/tmp/portage/dev-java/xom-1.2.10/work/XOM/build/src/nu/xom/Builder.java:70: error: cannot find symbol [javac] String x = Version.getVersion(); [javac] ^ [javac] symbol: variable Version [javac] location: class Builder [javac] /var/tmp/portage/dev-java/xom-1.2.10/work/XOM/build/src/nu/xom/Builder.java:199: error: incompatible types: XML1_0Parser cannot be converted to XMLReader [javac] parser = new XML1_0Parser(); [javac] ^ [javac] /var/tmp/portage/dev-java/xom-1.2.10/work/XOM/build/src/nu/xom/XML1_0Parser.java:49: error: cannot find symbol [javac] super(new DTDConfiguration()); [javac] ^ [javac] symbol: class DTDConfiguration [javac] location: class XML1_0Parser [javac] 7 errors BUILD FAILED /var/tmp/portage/dev-java/xom-1.2.10/work/XOM/build.xml:194: Compile failed; see the compiler error output for details. Total time: 3 seconds * ERROR: dev-java/xom-1.2.10::gentoo failed (compile phase): * eant failed * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 3944: Called eant 'jar' '-Ddebug=off' * environment, line 639: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" * * If you need support, post the output of `emerge --info '=dev-java/xom-1.2.10::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/xom-1.2.10::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM=icedtea-bin-8 CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-3.10.0" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac" and of course, the output of emerge --info =xom-1.2.10 * The complete build log is located at '/var/tmp/portage/dev-java/xom-1.2.10/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/xom-1.2.10/temp/environment'. * Working directory: '/var/tmp/portage/dev-java/xom-1.2.10/work/XOM' * S: '/var/tmp/portage/dev-java/xom-1.2.10/work/XOM'
Hi I've put together a PR to fix the issue. I can't merge it right now unfortunately.
*** Bug 683760 has been marked as a duplicate of this bug. ***
Created attachment 573408 [details] xom-1.3.2.ebuild produces circular (In reply to Patrice Clement from comment #1) > I've put together a PR to fix the issue. I can't merge it right now > unfortunately. I tried the attached ebuild, which is what you put on github. It produces this: --- * Error: circular dependencies: (dev-java/jaxen-1.1.6:1.1/1.1::gentoo, ebuild scheduled for merge) depends on (dev-java/xom-1.3.2:0/0::pmaci, ebuild scheduled for merge) (buildtime) (dev-java/jaxen-1.1.6:1.1/1.1::gentoo, ebuild scheduled for merge) (buildtime)
The tried emerge was: # emerge -1 dev-java/icedtea-web These are the packages that would be merged, in order: Calculating dependencies ....... ... . ... done! [ebuild R ] dev-java/icedtea-web-1.6.2::gentoo USE="-doc -javascript nsplugin tagsoup* -test" 0 KiB [ebuild N ] dev-java/tagsoup-1.2.1::gentoo USE="-doc -source" 0 KiB [ebuild N ] dev-java/saxon-9.2.0.6-r2:9::gentoo USE="-doc -source" 0 KiB [nomerge ] dev-java/saxon-9.2.0.6-r2:9::gentoo USE="-doc -source" [nomerge ] dev-java/dom4j-1.6.1-r7:1::gentoo USE="-doc -source -test" [ebuild N ] dev-java/jaxen-1.1.6:1.1::gentoo USE="-doc -source" 0 KiB [ebuild N ] dev-java/xom-1.3.2::pmaci USE="-doc -source" 0 KiB Total: 5 packages (4 new, 1 reinstall), Size of downloads: 0 KiB * Error: circular dependencies: --- see circular above
(In reply to Ulenrich from comment #4) Hi The circular dependencies problem is unrelated to this bug report. I'm afraid something is up with your system.
I've also encountered cirtular deps, my system is fine =) jaxen depends on xom CDEPEND=" dev-java/dom4j:1 dev-java/jdom:0 dev-java/xom:0" and new xom ebuild from PR 11727 depends on jaxen CDEPEND=" dev-java/xerces:2 dev-java/jaxen:1.1 dev-java/xml-commons-external:1.3"
Indeed but jaxen is required for xom-1.3.2 to compile. :/
@Patrice, there is a trick to resolve this paradox: the ebuild of dev-java/xom-1.2.10 pulls this source: xom-1.2.10.tar.gz which has java-compiled saxon classes in the xom-1.2.10.jar
How about this approach instead? * Revbump jaxen and remove the xom dep. * BUT remove xom classes from jaxen (it's just two classes). * Remove the circular dep. As noted in the ebuild, it might bite us back later. :( https://github.com/gentoo/gentoo/pull/11727/commits/ff53a1aee851320bf45c9a93ccc13 68c6dedf28e
(In reply to Patrice Clement from comment #9) > https://github.com/gentoo/gentoo/pull/11727/commits/ > ff53a1aee851320bf45c9a93ccc13 > 68c6dedf28e Interesting. Bugzilla truncates URLs now. Let's try again: https://github.com/gentoo/gentoo/pull/11727/commits/ff53a1aee851320bf45c9a93ccc1368c6dedf28e
(In reply to Patrice Clement from comment #10) > (In reply to Patrice Clement from comment #9) > > https://github.com/gentoo/gentoo/pull/11727/commits/ > > ff53a1aee851320bf45c9a93ccc13 > > 68c6dedf28e > > Interesting. Bugzilla truncates URLs now. Let's try again: > > https://github.com/gentoo/gentoo/pull/11727/commits/ > ff53a1aee851320bf45c9a93ccc1368c6dedf28e At least works for me here.
@Patrice, Then introduce an USE flag noxom and einfo users to firstly use this flag in the first emerge round.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ef8bd00d52b34d7deb01ddc46ca7561e78c0d7b commit 0ef8bd00d52b34d7deb01ddc46ca7561e78c0d7b Author: Patrice Clement <monsieurp@gentoo.org> AuthorDate: 2019-04-18 09:55:36 +0000 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: 2019-05-06 09:29:11 +0000 dev-java/xom: version bump. * Fetch sources from maven.org. * Switch build process to java-pkg-simple. * EAPI 6 bump. Closes: https://bugs.gentoo.org/683718 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-java/xom/Manifest | 1 + dev-java/xom/xom-1.3.2.ebuild | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+)
*** Bug 685250 has been marked as a duplicate of this bug. ***
This bug still affect stable packages, only ~amd64 are ok
I am still affected by this bug. I have tried ~amd64, noxom, -nsplugin with --newuse & --deep. All to no avail.
(In reply to Jason McGuiness from comment #16) > I am still affected by this bug. I have tried ~amd64, noxom, -nsplugin with > --newuse & --deep. All to no avail. Please feel free to request any useful information to assist in investigating the issue.