Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 599032 - dev-vcs/subversion-1.9.4 - javadoc: error - invalid flag: -Xdoclint:none
Summary: dev-vcs/subversion-1.9.4 - javadoc: error - invalid flag: -Xdoclint:none
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
: 601312 606766 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-11-06 01:30 UTC by Honza
Modified: 2020-05-12 19:15 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Honza 2016-11-06 01:30:26 UTC
Fix to bug #551094 caused the subversion to stop being compilable under OLD java ...

...
Generating file member index...
Generating example index...
finalizing index lists...
lookup cache used 3772/65536 hits=42271 misses=3827
finished...
make -j4 doc-javahl 
/usr/lib/icedtea7/bin/javadoc -Xdoclint:none -d /var/tmp/portage/dev-vcs/subversion-1.9.4/work/subversion-1.9.4/doc/javadoc \
  -sourcepath ./subversion/bindings/javahl/src \
  -link http://java.sun.com/javase/6/docs/api/ \
  org.tigris.subversion.javahl \
  org.apache.subversion.javahl \
  org.apache.subversion.javahl.callback \
  org.apache.subversion.javahl.remote \
  org.apache.subversion.javahl.types \
  org.apache.subversion.javahl.util
javadoc: error - invalid flag: -Xdoclint:none
usage: javadoc [options] [packagenames] [sourcefiles] [@files]
-overview <file>          Read overview documentation from HTML file
-public                   Show only public classes and members
-protected                Show protected/public classes and members (default)
-package                  Show package/protected/public classes and members
...

Installed java was dev-java/icedtea-7.2.6.6:7

Portage 2.2.26 (python 2.7.9-final-0, default/linux/x86/13.0, gcc-4.9.3, glibc-2.21-r2, 3.13.0-100-generic i686)
=================================================================
System uname: Linux-3.13.0-100-generic-i686-AMD_Phenom-tm-_II_X3_720_Processor-with-gentoo-2.2
KiB Mem:    12437600 total,   7263404 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 05 Nov 2016 22:15:01 +0000
sh bash 4.2_p52
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p52::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo
dev-util/cmake:           2.8.12.2::gentoo
dev-util/pkgconfig:       0.28-r1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.11.8::gentoo
sys-apps/sandbox:         2.5::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.4_p6-r1::gentoo, 1.6.3-r1::gentoo, 1.8.5-r4::gentoo, 1.9.6-r3::gentoo, 1.10.3::gentoo, 1.11.6::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.18-r3::gentoo, 2.20.1-r1::gentoo, 2.23.2::gentoo, 2.25.1-r1::gentoo
sys-devel/gcc:            2.95.3-r8::<unknown repository>, 3.4.6-r2::gentoo, 4.5.3-r2::gentoo, 4.6.3::gentoo, 4.7.3-r1::gentoo, 4.8.5::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           3.82-r4::gentoo
sys-kernel/linux-headers: 3.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000

sunrise
    location: /usr/local/portage/layman/sunrise
    masters: gentoo
    priority: 0

dev-zero
    location: /usr/local/portage/layman/dev-zero
    masters: gentoo
    priority: 1

palmer
    location: /usr/local/portage/layman/palmer
    masters: gentoo
    priority: 2

palemoon
    location: /usr/local/portage/layman/palemoon
    masters: gentoo
    priority: 3

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 4

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=k8 -march=k8 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/libreoffice/program/sofficerc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.6/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="-O2 -mtune=k8 -march=k8 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowex 3dnowext X Xaw3d aalib acl alsa apache2 apm avi bash-completion berkdb browserplugin bzip2 caps cdr cli cracklib crypt css curl cxx dbus dga directfb doc dri dts dvd encode erandom esd fbcon ffmpeg flac fltk force-cgi-redirect fortran gd gdbm ggi gif gpm gtk iconv imagemagick imlib innodb ipv6 jadetex java jpeg jpeg2k lcms lesstif libcaca libwww lirc lua mad mailwrapper matroska mbox mcal memlimit mikmod mmx mmx2 mmxext mng modules motif mozilla mpeg multislot mysql ncurses nls nptl ogg oggvorbis old-linux opengl openmp oss pam pcre pdflib perl png postscript python qt qt3support quicktime readline real samba sdl seccomp session slang snmp spell sqlite sse sse2 ssl svga tcpd tetex theora tiff truetype unicode usb userlocales v4l v4l2 vhosts videos vorbis wmf x264 x86 xattr xgetdefault xml xorg xosd xv xvid zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="access auth auth_dbm auth_anon auth_basic auth_digest authz_host authz_default authz_user alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so mem_cache mime_magic vhost_alias filter authn_file" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_6 python2_7" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="alpha arm i386 x86_64" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="r128 radeon radeonhd vesa r300 r600" 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"
USE_PYTHON="2.6 2.7"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Honza 2016-11-06 01:32:07 UTC
Note: For now, I'm solving it by reverting the patch manually in middle of compile, but I think it would be better if the fix would be conditional ...
Comment 2 Martin von Gagern 2016-12-05 01:10:48 UTC
The ejavadoc shell function in java-utils-2.eclass has some machinery to set javadoc_args="-Xdoclint:none" depending on the vm version. So perhaps we cold do something similar here, too. Patch the Makefile not to include some fixed value, but instead include the expansion of that variable. Then set the variable in the ebuild after a version check.

On the other hand, I do see javadoc_args="-Xdoclint:none" in the temp/environment file in the build directory, so perhaps there is something wrong with that detection, too.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2019-05-17 12:47:37 UTC
*** Bug 601312 has been marked as a duplicate of this bug. ***
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2019-05-17 12:47:54 UTC
*** Bug 606766 has been marked as a duplicate of this bug. ***
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2020-05-12 19:15:20 UTC
This version is long gone. Please reopen or file a new bug if the problem persists.