Created attachment 572844 [details] build.log Please see attached build log for details.
I have the same issue. root@lynxold:/root(29)# emerge --info '=dev-java/xerces-2.11.0-r2::gentoo' Portage 2.3.62 (python 3.6.8-final-0, default/linux/amd64/17.0/desktop, gcc-8.3.0, glibc-2.29-r2, 5.0.7-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.0.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.6 KiB Mem: 16097088 total, 6010076 free KiB Swap: 50331644 total, 46612220 free Timestamp of repository gentoo: Sun, 14 Apr 2019 22:30:01 +0000 Head commit of repository gentoo: 97316142838bd57f2e823cdadff21baffac941d1 sh bash 5.0_p3-r1 ld GNU ld (Gentoo 2.32 p1) 2.32.0 distcc[22382] (dcc_trace_version) distcc 3.3.2 x86_64-pc-linux-gnu; built Mar 17 2019 09:56:51 [disabled] app-shells/bash: 5.0_p3-r1::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.28.0-r1::gentoo dev-lang/python: 2.7.16-r100::sage-on-gentoo, 3.6.8::gentoo, 3.7.3::gentoo dev-util/cmake: 3.11.4-r1::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/sandbox: 2.17::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.32::gentoo sys-devel/gcc: 8.3.0-r1::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.0-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r2::gentoo Repositories: gentoo location: /usr/portage_lynxold sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 imaging location: /var/lib/layman/imaging masters: gentoo priority: 0 haskell location: /var/lib/layman/haskell masters: gentoo priority: 1 torbrowser location: /var/lib/layman/torbrowser masters: gentoo priority: 2 octave location: /var/lib/layman/octave masters: gentoo priority: 3 local location: /usr/local/portage masters: gentoo priority: 4 g-cpan location: /var/lib/cpan masters: gentoo priority: 5 g-octave location: /var/lib/g-octave masters: gentoo priority: 6 ago location: /var/lib/layman/ago masters: gentoo priority: 50 sage-on-gentoo location: /var/lib/layman/sage-on-gentoo masters: gentoo science priority: 50 science location: /var/lib/layman/science masters: gentoo priority: 50 tlp location: /var/lib/layman/tlp masters: gentoo priority: 50 x11 location: /var/lib/layman/x11 masters: gentoo priority: 50 Installed sets: @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA PUEL Intel-SDP dlj-1.1 skype-eula skype-4.0.0.7-copyright googleearth AdobeFlash-11.x cadsoft Oracle-BCLA-JavaSE MakeMKV-EULA NVIDIA-CUDA Nero-AAC-EULA GIMPS" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /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.3/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.3/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" 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 clean-logs 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=native -O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de en fr ru" MAKEOPTS="-j9" 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="64bit R X Xaw3d a52 aac acl acpi admin afs alsa amd64 amr ao apache2 apng applet archive armadillo arpack asf aspell assistant atlas audacious audiofile aufs automap automount barcode bash-completion berkdb blas blast bluetooth bluray boost branding btrfs bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cilk clang cli cmake collada consolekit contrib crypt css cups curl cxx daap db dbi dbm dbus declarative designer devhelp device-mapper dga dia digitalradio djvu doc dot dri ds2490 ds9097 ds9097u dts dv dvb dvd dvdr dvi dynamicplugin eds egl elf emacs emboss emf encode epiphany evdev evo examples excel exif expat extensions extra extras faac faad fam ffmpeg fftw firefox fits flac fltk fontconfig foomaticdb fortran fortran95 fpm fpx ftp fuse gcj gd gdal gdbm gedit geoip geolocation geos gfortran gif gimp git glade glamor glib glpk gml gmp gnome gnome-keyring gnuplot gnutls gold gphoto2 gpm grammar graphics graphtft graphviz grass gsl gsm gstreamer gtk gtk3 gudev guile hdaps hddtemp hdf hdf5 hdri html http httpd hvm hwdb iconv icq icu id3tag ide imagemagick imap initramfs inotify introspection ipod ipv6 irda ithreads jadetex java jbig jit john jpeg jpeg2k kate kde kdepim kdrive kerberos keymap kpathsea kvm ladspa lame lapack latex lcms ldap lensfun libffi libgda libkms libnotify libsamplerate libtirpc lirc live lm_sensors lua lzma lzo mad mail maildir mapnik math matroska media-library mercurial mikmod mng mod mono motif mozilla mp3 mp4 mpeg mpi mpi-threads mplayer mtp multilib multimedia musepack musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networking nfs nls nntp nptl nsplugin ntfs ntp numpy obex objc ocaml ocr octave odbc ofa ogdi ogg opencv openexr opengl openmp openvg pam pango pcre pda pdf pdl2 perl plasma plotutils plugins png podcast policykit portaudio posix postgres postscript ppds ppp preview-latex proj projectm pstricks pulseaudio python q16 q32 qemu qhull qml qt5 quicktime raw readline reiserfs reports rle romio rpc rrdcgi rrdtool rtlsdr sage samba sasl schroedinger science sdk sdl seccomp secure-delete server session shout sip slang slp smart smbclient smp sms sndfile snmp soap sockets sound soup sox speex spell sql sqlite ssl startup-notification stlport subtitles subversion sudo suexec svg svm swig systemd szip t1lib tbb tcl tcpd tex tex4ht theora thesaurus thinkpad threads thunderbird tidy tiff tk tools truetype udev udisks unicode upower usb utempter v4l v4l2 vaapi vala valgrind vdpau video vim-syntax virt-network virtualbox visio vorbis vpx vtk wav wayland webdav webdav-serf webkit wifi wmf wxwidgets x264 x265 xa xattr xcb xen xetex xft xine xml xmlreader xmlrpc xpm xps xv xvid xvmc yaml youtube zlib zsh-completion zvbi" ABI_X86="64" ALSA_CARDS="intel8x0" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_core authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info lbmethod_byrequests log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog sensors thermal" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="aivdm ashtech earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 navcom ntrip oceanserver oncore rtcm104v2 rtcm104v3 sirf superstar2 tnt tripmate tsip ublox nmea0183 nmea2000 passthrough" GRUB_PLATFORMS="emu efi-64 pc xen" INPUT_DEVICES="keyboard mouse evdev synaptics void" KERNEL="linux" L10N="de en fr ru" LCD_DEVICES="cfontz framebuffer glcd hd44780 mtxorb ncurses X lcd2usb lcdlinux png usblcd SureElec" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="devinput" LLVM_TARGETS="NVPTX X86" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="nouveau intel i965 displaylink" 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, PORTAGE_RSYNC_EXTRA_OPTS root@lynxold:/root(30)# emerge -pqv '=dev-java/xerces-2.11.0-r2::gentoo' [ebuild U ] dev-java/xerces-2.11.0-r2 [2.11.0-r1] USE="doc examples -source" * IMPORTANT: 1 news items need reading for repository 'sage-on-gentoo'. * Use eselect news read to view new items.
that's because of the upgrade of xjavac, I restored it temporarily and the compile of xerces works just fine.
I've tried xerces-2.12.0 in a local overlay (just rename the ebuild and fix the patch name) and it gives the same error.
Same here.
it seams that during build process xml-commons-external is nos used. javac take definition of HTMLFrameElement from jre/lib/rt.jar i don't know how to solve this problem in ebuild or build.xml
Version 2.12.0 seems to compile like a charm: 1. download Xerces-J-src.2.12.0.tar.gz Xerces-J-tools.2.12.0.tar.gz from: http://xml.apache.org/dist/xerces-j/source/ 2. unzip them in a local workdir: cd <your workdir> tar -xzvf Xerces-J-src.2.12.0.tar.gz tar -xzvf Xerces-J-tools.2.12.0.tar.gz 3. inside the workdir, copy 'tools' dir in 'build' dir (as required in README.md): cp -R tools xerces-2_12_0 4. go into build dir and compile all: cd xerces-2_12_0 chmod +x build.sh dos2unix build.sh # needed on my workstation to fix build script :-/ ./build.sh jars 5. if compile succeeded, just replace the failed build_dir in your portage temp_dir ($PORTAGE_TMPDIR/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0) with the newest, and reinstall using ebuild tool: cd "$PORTAGE_TMPDIR"/portage/dev-java/xerces-2.11.0-r2/work mv xerces-2_11_0 xerces-2_11_0.old cp -R <local workdir>/xerces/xerces-2_12_0 ./xerces-2_11_0 ebuild /usr/portage/dev-java/xerces/xerces-2.11.0-r2.ebuild merge Really ugly workaround, but... it works
Hi! I just hit the same issue: ---------- snap ---------- [xjavac] Compiling 707 source files to /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/classes [xjavac] /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/src/org/apache/html/dom/HTMLFrameElementImpl.java:28: error: HTMLFrameElementImpl is not abstract and does not override abstract method getContentDocument() in HTMLFrameElement [xjavac] public class HTMLFrameElementImpl [xjavac] ^ [xjavac] /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/src/org/apache/html/dom/HTMLIFrameElementImpl.java:28: error: HTMLIFrameElementImpl is not abstract and does not override abstract method getContentDocument() in HTMLIFrameElement [xjavac] public class HTMLIFrameElementImpl [xjavac] ^ [xjavac] /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/src/org/apache/html/dom/HTMLObjectElementImpl.java:28: error: HTMLObjectElementImpl is not abstract and does not override abstract method getContentDocument() in HTMLObjectElement [xjavac] public class HTMLObjectElementImpl [xjavac] ^ [xjavac] Note: Some input files use or override a deprecated API. [xjavac] Note: Recompile with -Xlint:deprecation for details. [xjavac] Note: Some input files use unchecked or unsafe operations. [xjavac] Note: Recompile with -Xlint:unchecked for details. [xjavac] 3 errors ---------- snap ---------- I found this: https://stackoverflow.com/questions/24421337/compile-errors-trying-to-build-apache-xerces-in-java and this: http://www.howtobuildsoftware.com/index.php/how-do/ca6K/java-installation-xerces-xerces2-j-compile-errors-trying-to-build-apache-xerces-in-java This suggests, that xerces-2.11 needs an older Java. Thanks, Michele Testa, for your workaround. So the real solution would be to get a xerces version bump to 2.12?
BTW, dev-java/xerces-2.11.0-r2 seems to pull in dev-java/xjavac-2.4.0. [ebuild N ] dev-java/xjavac-2.4.0:1::gentoo USE="-doc -source" 0 KiB [ebuild U ] dev-java/xerces-2.11.0-r2:2::gentoo [2.11.0:2::gentoo] USE="-doc -examples -source" 0 KiB https://stackoverflow.com/questions/28580000/how-to-build-xerces-j-2-11-with-an-up-to-date-jvm According to this stackoverflow posting, xml-apis.jar needs to be added to the xjavac invocation. I'm not a developer, but could this be the solution?
I hit the same bug, stable amd64 system.
*** Bug 683468 has been marked as a duplicate of this bug. ***
Can confirm, same issue here
(In reply to Andreas Thalhammer from comment #8) > BTW, dev-java/xerces-2.11.0-r2 seems to pull in dev-java/xjavac-2.4.0. > > [ebuild N ] dev-java/xjavac-2.4.0:1::gentoo USE="-doc -source" 0 KiB > [ebuild U ] dev-java/xerces-2.11.0-r2:2::gentoo [2.11.0:2::gentoo] > USE="-doc -examples -source" 0 KiB > > https://stackoverflow.com/questions/28580000/how-to-build-xerces-j-2-11-with- > an-up-to-date-jvm > According to this stackoverflow posting, xml-apis.jar needs to be added to > the xjavac invocation. I'm not a developer, but could this be the solution? Hi Andreas, sorry for my late reply :) I also had tried stackoverflow workaround on our gentoo package, but it didn't work. My current installation now is: dev-java/oracle-jdk-bin-1.8.0.202 dev-java/oracle-jdk-bin-11.0.2 (for development) dev-java/xjavac-2.4.0 and now, finally, dev-java/xerces-2.12.0 with the ugly workaround. After reading around, I believed 2.11.0 release featured some bugs, even during build process (http://xerces.apache.org/xerces2-j/releases.html), so I decided to try installing the next release. One of maintainers (Michael Glavassevich) fixed few errors related to Xerces-J's build component, and the new release seems to be more performing. Browsing installation instructions (http://xerces.apache.org/xerces2-j/install.html), I read this note: > In order to compile the source code using Ant or to build the release distributions yourself, you must have the contents of Xerces-J-tools.2.12.0.zip on your classpath; i.e., you will need access to a version of Ant, Xalan, StyleBook and an XML parser such as Xerces. > For ease of use, we recommend extracting Xerces-J-tools.2.12.0.zip in your Xerces root directory; the build.sh and build.bat scripts are written for this case. As you suggest, I believe now the best solution would be to get a xerces version bump to 2.12 (better software + no bugs during build process). Have a nice day, mk
Created attachment 573122 [details, diff] xerces-2.12-build.xml.patch xerces build.xml patch based on Andreas Thalhammer's suggestion.
Created attachment 573124 [details, diff] xerces-2.12.0.ebuild patch xerces ebuild patch based on Andreas Thalhammer's suggestion.
(In reply to Marco Clocchiatti from comment #13) > Created attachment 573122 [details, diff] [details, diff] > xerces-2.12-build.xml.patch > > xerces build.xml patch based on Andreas Thalhammer's suggestion. Attaced ebuild and patch works for me. With an exception, that I named the file xerces-2.12.0-build.xml.patch as expected.
AFAICT, the only solution seems to add a lot of binary packages (so called tools) with specific, often unmaintained version of build tools. To confirm, look at META-INF/MANIFEST.MF inside the bundled jar files: ant-junit 1.7.1 ant-launcher 1.7.1 ant-nodeps 1.7.1 ant 1.7.1 cupv10k-runtime (javacup) -- version unknown icu4j (from 2009) junit 3.8.1 and so on... xml-apis.jar seems to mix together xml-commons sax and unspecified (at least for me) org.w3c.dom org.w3c.dom.ls javax.xml.stream javax.xml.datatype javax.xml.namespace javax.xml.validation javax.xml.xpath ... So, at this point, wouldn't be more simple to just add a binary xerces? What is the goal to build from sources while NOT using the sources?
This package is selected only as dependency of dev-java/jdbc-mysql. dev-java/xerces-2.11.0-r1 pulled in by: dev-java/ant-contrib-1.0_beta3-r2 requires dev-java/xerces:2 dev-java/ant-contrib-1.0_beta3-r2 pulled in by: dev-java/jdbc-mysql-5.1.26 requires dev-java/ant-contrib If you don't need dev-java/jdbc-mysql, un-emerge it as a work around for the time being.
(In reply to email200202 from comment #17) > This package is selected only as dependency of dev-java/jdbc-mysql. > > dev-java/xerces-2.11.0-r1 pulled in by: > dev-java/ant-contrib-1.0_beta3-r2 requires dev-java/xerces:2 > > dev-java/ant-contrib-1.0_beta3-r2 pulled in by: > dev-java/jdbc-mysql-5.1.26 requires dev-java/ant-contrib > > If you don't need dev-java/jdbc-mysql, un-emerge it as a work around for the > time being. On my system android-util-4.1.1.4, jython-2.7.0-r3 and swingx-ws-1.0_p20110515-r1 depend on xerces: root@lynx:/root(29)# emerge -pv --depclean xerces Calculating dependencies... done! dev-java/xerces-2.11.0-r1 pulled in by: dev-java/android-util-4.1.1.4 requires dev-java/xerces:2 dev-java/jython-2.7.0-r3 requires dev-java/xerces:2 dev-java/swingx-ws-1.0_p20110515-r1 requires dev-java/xerces:2 >>> No packages selected for removal by depclean Packages installed: 3735 Packages in world: 756 Packages in system: 43 Required packages: 3735 Number to remove: 0
I see: after unmerging xerces: emerge --depclean -p * Dependencies could not be completely resolved due to * the following required packages not being installed: * * dev-java/xerces:2 pulled in by: * dev-java/xpp2-2.1.10-r2 * * dev-java/xerces:2 pulled in by: * dev-java/xom-1.2.10 * * dev-java/xerces:2 pulled in by: * dev-java/xsdlib-20090415 * * dev-java/xerces:2 pulled in by: * dev-java/jython-2.7.0-r2 *
The decision was easy for me. I should have added to check if you have dependencies on this package that you need to keep.
I'm not sure if the assumption here is that only those who have replied to this bug are affected or that this affects more users than that. The suggested workarounds and potential resolutions mentioned here seem very specific to those who reply. By the way, I am affected by this as well. A simple search for 'dev-java/xerces' shows more package ebuilds affected than was already mentioned here. This doesn't include packages and ebuilds from overlays. /usr/portage/app-text/trang/trang-20151127.ebuild /usr/portage/dev-java/android-util/android-util-4.1.1.4.ebuild /usr/portage/dev-java/ant-contrib/ant-contrib-1.0_beta2-r2.ebuild /usr/portage/dev-java/ant-contrib/ant-contrib-1.0_beta3-r2.ebuild /usr/portage/dev-java/boilerpipe/boilerpipe-1.2.0.ebuild /usr/portage/dev-java/cpptasks/cpptasks-1.0_beta5.ebuild /usr/portage/dev-java/ecs/ecs-1.4.2-r2.ebuild /usr/portage/dev-java/jarbundler/jarbundler-1.8.1-r2.ebuild /usr/portage/dev-java/jarbundler/jarbundler-2.3.1.ebuild /usr/portage/dev-java/jython/jython-2.7.0-r2.ebuild /usr/portage/dev-java/msv/msv-20130601.ebuild /usr/portage/dev-java/nekohtml/nekohtml-1.9.18-r1.ebuild /usr/portage/dev-java/netbeans-ide/netbeans-ide-8.2-r1.ebuild /usr/portage/dev-java/netbeans-ide/netbeans-ide-8.2.ebuild /usr/portage/dev-java/odfdom/odfdom-0.8.6-r1.ebuild /usr/portage/dev-java/saaj/saaj-1.3.19-r2.ebuild /usr/portage/dev-java/stax/stax-1.2.0.ebuild /usr/portage/dev-java/swingx-ws/swingx-ws-1.0-r1.ebuild /usr/portage/dev-java/swingx-ws/swingx-ws-1.0_p20110515-r1.ebuild /usr/portage/dev-java/xmldb/xmldb-20011111-r2.ebuild /usr/portage/dev-java/xom/xom-1.2.10.ebuild /usr/portage/dev-java/xpp2/xpp2-2.1.10-r2.ebuild /usr/portage/dev-java/xsdlib/xsdlib-20090415.ebuild /usr/portage/dev-util/deskzilla/deskzilla-1.7.1-r1.ebuild
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=836a2c5ac06a69de6e9354b0a969f50c190b4ba5 commit 836a2c5ac06a69de6e9354b0a969f50c190b4ba5 Author: Patrice Clement <monsieurp@gentoo.org> AuthorDate: 2019-04-17 19:25:27 +0000 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: 2019-04-17 19:28:27 +0000 dev-java/xerces: version bump. * Fetch sources from maven.org. * Clear QA warnings. * Switch build process to java-pkg-simple. * Knock together a patch to add missing overrides in required classes. * EAPI 6 bump whilst we're at it. Bug: https://bugs.gentoo.org/683350 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-java/xerces/Manifest | 1 + .../xerces/files/xerces-2.12.0-overrides.patch | 66 ++++++++++++++++++++++ dev-java/xerces/xerces-2.12.0.ebuild | 47 +++++++++++++++ 3 files changed, 114 insertions(+)
Hi! I've tested this ebuild along with the magic patch on amd64. It should do the trick. @all: please test and report back.
Thanks, built fine here.
(In reply to Patrice Clement from comment #23) > @all: please test and report back. Great, many thanks! Solved for me, I can compile fine.
(In reply to Patrice Clement from comment #23) > @all: please test and report back. Doesn't work for me. Using dev-java/oracle-jdk-bin-1.8.0.202. <snip> * Package: dev-java/xerces-2.11.0-r2 * Repository: gentoo * Maintainer: java@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Using: oracle-jdk-bin-1.8 >>> Unpacking source... >>> Unpacking Xerces-J-src.2.11.0.tar.gz to /var/tmp/portage/dev-java/xerces-2.11.0-r2/work >>> Source unpacked in /var/tmp/portage/dev-java/xerces-2.11.0-r2/work >>> Preparing source in /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0 ... * Applying xerces-2.11.0-build.xml.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0 ... Rewriting attributes Rewriting ./build.xml >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0 ... * Using following ANT_TASKS: xjavac-1 Buildfile: /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build.xml init: [echo] ---------------- Xerces-J 2.11.0 [1999-2010] --------------- prepare: [mkdir] Created dir: /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build prepare-common: [mkdir] Created dir: /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/src [mkdir] Created dir: /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/classes [mkdir] Created dir: /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/classes/META-INF [mkdir] Created dir: /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/classes/META-INF/services [copy] Copying 1 file to /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/classes/META-INF/services [copy] Copying 1 file to /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/classes/META-INF/services [copy] Copying 1 file to /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/classes/META-INF/services [copy] Copying 1 file to /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/classes/META-INF/services [copy] Copying 1 file to /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/classes/META-INF/services [copy] Copying 1 file to /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/classes/META-INF/services prepare-src: [copy] Copying 1 file to /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/classes/META-INF/services [copy] Copying 733 files to /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/src [copy] Copying 1 file to /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/src/org/apache/xerces/impl/msg [copy] Copying 1 file to /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/src/org/apache/xerces/impl/msg [copy] Copying 1 file to /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/src/org/apache/xerces/impl/msg [copy] Copying 1 file to /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/src/org/apache/xerces/impl/msg [copy] Copying 1 file to /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/src/org/apache/xerces/impl/msg [copy] Copying 1 file to /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/src/org/apache/xerces/impl/msg [copy] Copying 1 file to /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/src/org/apache/xerces/impl/msg [copy] Copying 1 file to /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/src/org/apache/xerces/impl/msg [copy] Copying 1 file to /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/src/org/apache/xerces/impl/msg [copy] Copying 1 file to /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/src/org/apache/xerces/impl/xpath/regex compile: [copy] Copying 23 files to /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/classes [xjavac] Compiling 707 source files to /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/classes [xjavac] /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/src/org/apache/html/dom/HTMLFrameElementImpl.java:28: error: HTMLFrameElementImpl is not abstract and does not override abstract method getContentDocument() in HTMLFrameElement [xjavac] public class HTMLFrameElementImpl [xjavac] ^ [xjavac] /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/src/org/apache/html/dom/HTMLIFrameElementImpl.java:28: error: HTMLIFrameElementImpl is not abstract and does not override abstract method getContentDocument() in HTMLIFrameElement [xjavac] public class HTMLIFrameElementImpl [xjavac] ^ [xjavac] /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build/src/org/apache/html/dom/HTMLObjectElementImpl.java:28: error: HTMLObjectElementImpl is not abstract and does not override abstract method getContentDocument() in HTMLObjectElement [xjavac] public class HTMLObjectElementImpl [xjavac] ^ [xjavac] Note: Some input files use or override a deprecated API. [xjavac] Note: Recompile with -Xlint:deprecation for details. [xjavac] Note: Some input files use unchecked or unsafe operations. [xjavac] Note: Recompile with -Xlint:unchecked for details. [xjavac] 3 errors BUILD FAILED /var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0/build.xml:203: Compile failed; see the compiler error output for details. Total time: 7 seconds * ERROR: dev-java/xerces-2.11.0-r2::gentoo failed (compile phase): * eant failed * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 3930: Called java-pkg-2_src_compile * environment, line 1807: Called eant 'jar' '-f' 'build.xml' '-Dadditional.param=' * environment, line 635: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" * * If you need support, post the output of `emerge --info '=dev-java/xerces-2.11.0-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/xerces-2.11.0-r2::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM=oracle-jdk-bin-1.8 CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.8.0.202" JAVACFLAGS="-source 1.6 -target 1.6" COMPILER="javac" and of course, the output of emerge --info =xerces-2.11.0 * The complete build log is located at '/var/tmp/portage/dev-java/xerces-2.11.0-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/xerces-2.11.0-r2/temp/environment'. * Working directory: '/var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0' * S: '/var/tmp/portage/dev-java/xerces-2.11.0-r2/work/xerces-2_11_0' </snip>
(In reply to Anthony Mendez from comment #26) > Doesn't work for me. Using dev-java/oracle-jdk-bin-1.8.0.202. You should unmask version xerces-2.12 for test the the patch (In reply to Patrice Clement from comment #23) > @all: please test and report back. Woks fine
(In reply to Marco Genasci from comment #27) > (In reply to Anthony Mendez from comment #26) > > Doesn't work for me. Using dev-java/oracle-jdk-bin-1.8.0.202. > You should unmask version xerces-2.12 for test the the patch > > (In reply to Patrice Clement from comment #23) > > @all: please test and report back. > Woks fine Works fine with icedtea here.
(In reply to Marco Genasci from comment #27) > (In reply to Anthony Mendez from comment #26) > > Doesn't work for me. Using dev-java/oracle-jdk-bin-1.8.0.202. > You should unmask version xerces-2.12 for test the the patch > > (In reply to Patrice Clement from comment #23) > > @all: please test and report back. > Woks fine Sorry for the confusion! Works fine!
Works fine here as well - many thanks.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=020f7423d810f8e55ae6daae0e23a72ed7065c86 commit 020f7423d810f8e55ae6daae0e23a72ed7065c86 Author: Patrice Clement <monsieurp@gentoo.org> AuthorDate: 2019-04-26 08:20:17 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2019-04-26 16:38:43 +0000 dev-java/xerces: stabilise for amd64. ... and the remaining arches using the ALLARCHES policy. Closes: https://bugs.gentoo.org/683350 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-java/xerces/xerces-2.12.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=114672fc1bf0174a8ee16360e8de6b5a090c87de commit 114672fc1bf0174a8ee16360e8de6b5a090c87de Author: Patrice Clement <monsieurp@gentoo.org> AuthorDate: 2019-04-26 16:34:28 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2019-04-26 16:38:49 +0000 dev-java/xerces: clean up old Closes: https://github.com/gentoo/gentoo/pull/11829 Bug: https://bugs.gentoo.org/683350 Package-Manager: Portage-2.3.65, Repoman-2.3.12 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-java/xerces/Manifest | 1 - .../xerces/files/xerces-2.11.0-build.xml.patch | 46 ---------------- dev-java/xerces/xerces-2.11.0-r2.ebuild | 61 ---------------------- 3 files changed, 108 deletions(-)
*** Bug 686436 has been marked as a duplicate of this bug. ***