Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot build geogebra
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
PhoenixStarEclipse
n00b
n00b


Joined: 11 May 2017
Posts: 71
Location: Jiangsu/China

PostPosted: Sat Oct 27, 2018 4:17 pm    Post subject: Cannot build geogebra Reply with quote

Geogebra complains about the missing "gradle" command. Linking it to gradle-3.4.1 which exists on my computer doesn't work.

Here's the build.log:
Code:

^[[32;01m * ^[[39;49;00mPackage:    sci-mathematics/geogebra-5.0.339.0_p20170308-r1
^[[32;01m * ^[[39;49;00mRepository: gentoo
^[[32;01m * ^[[39;49;00mMaintainer: amynka@gentoo.org
^[[32;01m * ^[[39;49;00mUSE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
^[[32;01m * ^[[39;49;00mFEATURES:   preserve-libs sandbox userpriv usersandbox
 ^[[32;01m*^[[0m Using: oracle-jdk-bin-1.8
>>> Unpacking source...
>>> Unpacking geogebra-5.0.339.0_p20170308.tar.gz to /var/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work
>>> Source unpacked in /var/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work
>>> Preparing source in /var/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87 ...
/var/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/temp/environment: line 4243: gradle: command not found
 ^[[31;01m*^[[0m ERROR: sci-mathematics/geogebra-5.0.339.0_p20170308-r1::gentoo failed (compile phase):
 ^[[31;01m*^[[0m   Gradle build has failed.
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m     ebuild.sh, line 124:  Called src_compile
 ^[[31;01m*^[[0m   environment, line 4243:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m       gradle -g "${gradle_home}" --no-daemon --offline :desktop:installDist || die "Gradle build has failed."
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=sci-mathematics/geogebra-5.0.339.0_p20170308-r1::gentoo'`,
 ^[[31;01m*^[[0m 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.192"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
and of course, the output of emerge --info =geogebra-5.0.339.0_p20170308
 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/temp/environment'.
 ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87'
 ^[[31;01m*^[[0m S: '/var/tmp/portage/sci-mathematics/geogebra-5.0.339.0_p20170308-r1/work/geogebra-7d5ac993d3f88f6701f56edbfe325d86afcaad87/'


And the output of emerge --info:
Code:

Portage 2.3.51 (python 3.5.5-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-8.2.0, glibc-2.27-r6, 4.18.15-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.18.15-gentoo-x86_64-Intel-R-_Core-TM-_i7-8700K_CPU_@_3.70GHz-with-gentoo-2.6
KiB Mem:    16330540 total,  11045836 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Mon, 22 Oct 2018 10:30:01 +0000
Head commit of repository gentoo: 61d3a0f056d417c2a7ea80dec8e6ee31ccaf30d3
sh bash 4.4_p23
ld GNU ld (Gentoo 2.31.1 p3) 2.31.1
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.4.8-r1::gentoo, 3.5.5-r1::gentoo, 3.6.6::gentoo, 3.7.0::gentoo
dev-util/cmake:           3.12.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r1::gentoo
sys-devel/gcc:            8.2.0-r3::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: 4.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

gentoo-zh
    location: /var/lib/layman/gentoo-zh
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/sddm/scripts/Xsetup"
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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://mirrors.163.com/gentoo/ https://gentoo.aditsu.net:8000/ https://ftp.jaist.ac.jp/pub/Linux/Gentoo/ https://ftp.twaren.net/Linux/Gentoo/ https://distfiles.gentoo.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j13"
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="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv icu ipv6 jpeg kde kipi kwallet lcms ldap libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt5 readline sdl seccomp semantic-desktop spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64 32" 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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="efi-64" INPUT_DEVICES="libinput keyboard mouse" 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 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="nouveau" 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, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


And the output of emerge -pqv:
Code:

[ebuild  N    ] sci-mathematics/geogebra-5.0.339.0_p20170308-r1
[/u]


Thanks for reading this post.
_________________
Think twice,code once.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22052
Location: here

PostPosted: Sat Oct 27, 2018 4:19 pm    Post subject: Reply with quote

https://bugs.gentoo.org/618806
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
artbody
Guru
Guru


Joined: 15 Sep 2006
Posts: 431
Location: LB

PostPosted: Mon Dec 10, 2018 5:51 am    Post subject: Reply with quote

:oops: geogebra 6.x is available = GeoGebra Classic 6 :oops:
https://wiki.geogebra.org/en/Reference:GeoGebra_Installation#GeoGebra_Classic_6

no more *tar.gz :?

and what's about Gentoo :wink: ???? maintainers ???? :cry:

since geogebra 4 -> over one year this message

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

>>>  '/var/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 4273:  Called die
 * The specific snippet of code:
 *       gradle -g "${gradle_home}" --no-daemon --offline :desktop:installDist || die "Gradle build has failed."
 *


:arrow: but that's not the only one package i.e. cppzmq TO OLD
even debian stable is more up to date 8O

IS GENTOO at the end of it's live ? :?:
_________________
Never give up
WM : E16 layman -o https://raw.githubusercontent.com/mcclung/e16-overlay/master/repositories.xml -f -a e16-overlay
achim
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13996

PostPosted: Tue Dec 11, 2018 2:05 am    Post subject: Reply with quote

artbody wrote:
:arrow: but that's not the only one package i.e. cppzmq TO OLD
even debian stable is more up to date 8O

IS GENTOO at the end of it's live ? :?:
Gentoo packages are maintained by volunteers. Fringe packages have fewer users, so there are fewer people to report version bumps and fewer people motivated to volunteer to maintain it. Find a core package that is badly out of date and you might be able to claim that Gentoo is in trouble. For packages that most people will never use, being out of date is annoying for the people who do use it, but means nothing to the health of the distribution as a whole.
Back to top
View user's profile Send private message
artbody
Guru
Guru


Joined: 15 Sep 2006
Posts: 431
Location: LB

PostPosted: Thu Mar 21, 2019 12:43 pm    Post subject: Reply with quote

i downloaded the Debian package for GeoGebra Classic 6
8)
https://wiki.geogebra.org/en/Reference:GeoGebra_Installation

unpacked it
unpacked data.tar.xz

then you could start
Code:
./geogebra-classic_6.0.529.0-201903080041_1_amd64/data/usr/share/geogebra-classic/GeoGebra

OUT OF THE BOX !!! :wink:
:arrow: without errors or strange messages


where is the problem for gentoo maintainers ?? :roll:
_________________
Never give up
WM : E16 layman -o https://raw.githubusercontent.com/mcclung/e16-overlay/master/repositories.xml -f -a e16-overlay
achim
Back to top
View user's profile Send private message
proteusx
Apprentice
Apprentice


Joined: 21 Jan 2008
Posts: 243

PostPosted: Thu Mar 21, 2019 3:15 pm    Post subject: Reply with quote

There is a portable version too.

But, in common with many other applications nowadays, the newer version is not always better.
https://help.geogebra.org/topic/dear-devellopers-some-comments-about-geogebra-6
https://help.geogebra.org/topic/geogebra-classic-5-versus-geogebra-classic-6
https://help.geogebra.org/topic/geogebra-5-vs-6-algebra-window-and-speed

I still use Geogebra-5 and I see nothing of use to me in Geogebra-6. Perhaps the maintainer is of the same opinion.
Why don't you write an ebuild and share it?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum