Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644968 - sci-mathematics/geogebra-5.0.339.0_p20170308 fails (Could not find method additionalClassDirs()...)
Summary: sci-mathematics/geogebra-5.0.339.0_p20170308 fails (Could not find method add...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Amy Liffey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-18 17:46 UTC by Mehmet Giritli
Modified: 2020-09-19 08:06 UTC (History)
2 users (show)

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


Attachments
complete build log (build.log,10.47 KB, text/plain)
2018-01-18 20:14 UTC, Mehmet Giritli
Details
output of `emerge --info` (info.output,15.79 KB, text/plain)
2018-01-20 15:49 UTC, setun.90
Details
output of emerge --info and gradle build log with stacktrace (geogebra-5.0.339.0_p20170308-r1.zip,72.08 KB, application/zip)
2018-03-29 10:29 UTC, Uwe Schuster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mehmet Giritli 2018-01-18 17:46:55 UTC
emerging geogebra fails with the message 

"* What went wrong:
Could not find method additionalClassDirs() for arguments [[directory '/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87/common/build/classes/main']] on task ':desktop:jacocoTestReport' of type org.gradle.testing.jacoco.tasks.JacocoReport.
"

Full output: 

>>> Compiling source in /tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87 ...
> Loading > settings > Compiling /tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87/settings.gradle into local build cache > Compiling settings fi> Loading > settings > Compiling /tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87/settings.gradle into local build cache > Compiling settings fiParallel execution is an incubating feature.
> Configuring > 0/19 projects > root project > Compiling /tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87/build.gradle into local build cache > > Configuring > 0/19 projects > root project > Compiling /tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87/gradle-scripts/repositories.gradle into local build cache > Compiling script '/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87/gradle-scripts/repositories.gradle' to cross build scri> Configuring > 3/19 projects > :desktop > Compiling /tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87/desktop/build.gradle into local build cach> Configuring > 5/19 projects > :desktop > Resolving dependencies ':desktop:compile' > :input3D:impl > Compiling /tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87/input3D/impl/build.gradle into local build cache > Compiling build file '/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87/inpu> Configuring > 6/19 projects > :desktop > Resolving dependencies ':desktop:compile' > :giac-jni > Compiling /tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87/giac-jni/build.gradle into local build cache > Compiling build file '/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87/giac-jni/bui> Configuring > 8/19 projects > :desktop > Resolving dependencies ':desktop:compile' > :renderer-base > Compiling /tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56e> Configuring > 11/19 projects > :editor-web > Compiling /tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87/retex/editor-web/build.gradle into local build cache > Compiling build file '/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87/retex/editor-web/build.gradle' to cross build script cac> Configuring > 11/19 projects > :editor-web > :renderer-web > Compiling /tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87/retex/renderer-web/build.gradle into local build cache > Compiling build file '/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87/retex/renderer-web/build.gradle' to cr> Configuring > 16/19 projects > :web > Compiling /tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87/web/build.gradle into local build cache > ComThe Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
        at build_78784p7784lpwiv2otbl0z6h2.run(/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87/web/build.gradle:114)

FAILURE: Build failed with an exception.

* Where:
Build file '/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87/desktop/build.gradle' line: 110

* What went wrong:
Could not find method additionalClassDirs() for arguments [[directory '/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87/common/build/classes/main']] on task ':desktop:jacocoTestReport' of type org.gradle.testing.jacoco.tasks.JacocoReport.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 7.984 secs
 * ERROR: sci-mathematics/geogebra-5.0.339.0_p20170308-r1::gentoo failed (compile phase):
 *   Gradle build has failed.
 * 
 * Call stack:
 *     ebuild.sh, line 124:  Called src_compile
 *   environment, line 4339:  Called die
 * The specific snippet of code:
 *       gradle -g "${gradle_home}" --no-daemon --offline :desktop:installDist || die "Gradle build has failed."
 * 
 * If you need support, post the output of `emerge --info '=sci-mathematics/geogebra-5.0.339.0_p20170308-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-mathematics/geogebra-5.0.339.0_p20170308-r1::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.152"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
and of course, the output of emerge --info =geogebra-5.0.339.0_p20170308
 * The complete build log is located at '/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/temp/environment'.
 * Working directory: '/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87'
 * S: '/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87/'

>>> Failed to emerge sci-mathematics/geogebra-5.0.339.0_p20170308-r1, Log file:

>>>  '/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/temp/build.log'

 * Messages for package sci-mathematics/geogebra-5.0.339.0_p20170308-r1:

 * ERROR: sci-mathematics/geogebra-5.0.339.0_p20170308-r1::gentoo failed (compile phase):
 *   Gradle build has failed.
 * 
 * Call stack:
 *     ebuild.sh, line 124:  Called src_compile
 *   environment, line 4339:  Called die
 * The specific snippet of code:
 *       gradle -g "${gradle_home}" --no-daemon --offline :desktop:installDist || die "Gradle build has failed."
 * 
 * If you need support, post the output of `emerge --info '=sci-mathematics/geogebra-5.0.339.0_p20170308-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-mathematics/geogebra-5.0.339.0_p20170308-r1::gentoo'`.
 * The complete build log is located at '/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/temp/environment'.
 * Working directory: '/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87'
 * S: '/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87/'




emerge --info 


Portage 2.3.13 (python 3.4.5-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-6.4.0, glibc-2.25-r9, 4.12.12-gentoo-mordor.giritli.eu x86_64)
=================================================================
System uname: Linux-4.12.12-gentoo-mordor.giritli.eu-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.4.1
KiB Mem:     8164120 total,   2633488 free
KiB Swap:    3711008 total,   3711008 free
Timestamp of repository gentoo: Tue, 16 Jan 2018 14:00:01 +0000
Head commit of repository gentoo: 3c0584aa08eb9bb24a3f0b673d9c621bef00ac7d
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5-r1::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.9.6::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.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            5.4.0-r4::gentoo, 6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /local/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

Mehmet-s-Repo
    location: /local/Dropbox/local_portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 googleearth AdobeFlash-10 AdobeFlash-10.1 AdobeFlash-10.3 Oracle-BCLA-JavaSE google-talkplugin skype-4.0.0.7-copyright Google-TOS AdobeFlash-11.x MakeMKV-EULA LastPass google-chrome"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=amdfam10"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /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 -pipe -march=amdfam10"
DISTDIR="/local/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch 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="http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="tr en en_GB en_US"
MAKEOPTS="-j6"
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="/tmp"
USE="64bit X a52 aac acl acpi alsa amd64 apng applet aspell avahi bash-completion beagle berkdb bidi bluetooth bluray branding brasero bzip2 cairo ccache cdda cddb cdr cdrom cdrtools cli colord cpufreq crypt css cups cxx dbus dconf deskbar device-mapper dga disk-partition dri drm dtmf dts dvd dvdnav dvdr dvi dvipdfm eds egl emboss encode exif extra faac faad fam fbcon fbcondecor ffmpeg flac flickr g3dvl galago gbm gcj gdbm gdu geoclue gif glamor gles2 gnome gnome-keyring gnome-online-accounts gnutls google gpm gps graphics grilo gstreamer gtk gtk3 h323 hddtemp html iconv icu imap inotify introspection jabber java java6 javascript jingle jpeg jpeg2k kms kpathsea laptop lcms libmpeg2 libnotify libsamplerate libsecret mad matroska mng modemmanager modules mp3 mp4 mpeg mtp multilib musicbrainz nautilus ncurses networkmanager nfs nls nptl nsplugin offensive ogg opengl openmp pam pango pcre pdf png policykit ppds ppp pstricks pulseaudio python qt3support qt4 qt5 readline rtmp samba science sdl seccomp sendto smp sms snmp speex spell sqlite ssl startup-notification svg systemd tcpd telepathy theora threads tiff totem tracker transcode truetype udev udisks unicode upnp upnp-av upower usb v4l v4l2 vdpau vim-syntax vorbis wav wavpack wext wifi wmf wps wxwidgets x264 xattr xcb xml xv xvid zemberek zeroconf zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmxext sse2 3dnowext 3dnow sse mmx sse4a" 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-GB tr" 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 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Amy Liffey gentoo-dev 2018-01-18 19:37:32 UTC
Can you please attach full build.log?

Thank you
Comment 2 Mehmet Giritli 2018-01-18 20:14:37 UTC
Created attachment 515272 [details]
complete build log

complete build log, thanks
Comment 3 setun.90 2018-01-20 15:49:36 UTC
Created attachment 515372 [details]
output of `emerge --info`

Can confirm this is also affecting me

The complete build log lists the same thing, so I have only included `emerge --info` output
Comment 4 Uwe Schuster 2018-03-29 10:29:48 UTC
Created attachment 526040 [details]
output of emerge --info and gradle build log with stacktrace

Confirming the bug.
Attached output of "gradle --stacktrace --info --debug"
Comment 5 setun.90 2018-09-25 13:40:22 UTC
Still failing...

The line which fails (build.gradle:110) is in a block (build.gradle:103-115) which is apparently taken straight from https://stackoverflow.com/questions/20638039/gradle-and-jacoco-instrument-classes-from-a-separate-subproject, with just some arguments changed.

Just wondering if this could give some insight as to what exactly is supposed to be done here...
Comment 6 Thomas Capricelli 2020-03-30 16:08:47 UTC
I can confirm the problem here. Though i have some old laptop with this exact ebuild installed, long ago. So at least before the ebuild was working.
Comment 7 Larry the Git Cow gentoo-dev 2020-09-19 08:06:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90984c758eee77ebd0a16554517c768e8cfa3b72

commit 90984c758eee77ebd0a16554517c768e8cfa3b72
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2020-09-18 22:32:22 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2020-09-19 08:05:25 +0000

    sci-mathematics/geogebra: remove last rited pkg
    
    please use sci-mathematics/geogebra-bin instead
    
    Bug: https://bugs.gentoo.org/719076
    Bug: https://bugs.gentoo.org/681828
    Closes: https://bugs.gentoo.org/644968
    Closes: https://bugs.gentoo.org/715474
    Closes: https://bugs.gentoo.org/618806
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 sci-mathematics/geogebra/Manifest                  | 223 --------------
 .../geogebra-5.0.339.0_p20170308-r1.ebuild         | 339 ---------------------
 sci-mathematics/geogebra/metadata.xml              |  17 --
 3 files changed, 579 deletions(-)