I tried to disable other USE-Flags (gnutls, doc) before, I always got the same error: * ERROR: net-misc/openconnect-5.99-r1::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 3338: Called econf '--with-vpnc-script=/etc/openconnect/openconnect.sh' '--disable-static' '--enable-nls' '--with-openssl' '--without-gnutls' '--without-libproxy' '--without-stoken' '--without-liboath' '--with-java' * phase-helpers.sh, line 584: Called die * The specific snippet of code: * die "econf failed" * But the following works: USE="-java" emerge -avt1 openconnect Reproducible: Always Steps to Reproduce: 1. see description: emerge with "java" enabled 2. 3.
Created attachment 379460 [details] output of: emerge --info '=net-misc/openconnect-5.99-r1::gentoo'
Created attachment 379462 [details] output of: emerge -pqv '=net-misc/openconnect-5.99-r1::gentoo'
Created attachment 379464 [details] ebuild environment
Please attach the entire build log to this bug report.
sorry again, and here it is
Created attachment 379486 [details] build.log
!!! Please attach the following file when seeking support: !!! /var/tmp/portage/net-misc/openconnect-5.99-r1/work/openconnect-5.99/config.log Please do.
(In reply to Berthold Humkamp from comment #0) > I tried to disable other USE-Flags (gnutls, doc) before, I always got the > same error: > > * ERROR: net-misc/openconnect-5.99-r1::gentoo failed (configure phase): > * econf failed > * > * Call stack: > * ebuild.sh, line 93: Called src_configure > * environment, line 3338: Called econf > '--with-vpnc-script=/etc/openconnect/openconnect.sh' '--disable-static' > '--enable-nls' '--with-openssl' '--without-gnutls' '--without-libproxy' > '--without-stoken' '--without-liboath' '--with-java' > * phase-helpers.sh, line 584: Called die > * The specific snippet of code: > * die "econf failed" > * > > But the following works: > > USE="-java" emerge -avt1 openconnect > > > > Reproducible: Always > > Steps to Reproduce: > 1. see description: emerge with "java" enabled > 2. > 3. Did emerging openconnect install java beforehand? Run this and post the output: emerge -pv virtual/jre virtual/jdk
Created attachment 380548 [details] /var/tmp/portage/net-misc/openconnect-5.99-r1/work/openconnect-5.99/config.log
emerge -pv virtual/jre virtual/jdk These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] virtual/jdk-1.6.0-r2:1.6 0 kB [ebuild R ] virtual/jre-1.6.0-r1:1.6 0 kB This is the output in the moment, I tried some java packages since I stuck with openconnect, so I don't know the state before.
(In reply to Berthold Humkamp from comment #10) > emerge -pv virtual/jre virtual/jdk > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild R ] virtual/jdk-1.6.0-r2:1.6 0 kB > [ebuild R ] virtual/jre-1.6.0-r1:1.6 0 kB > > > This is the output in the moment, I tried some java packages since I stuck > with openconnect, so I don't know the state before. Please post the output of this: java-config --list-available-vms
java-config --list-available-vms The following VMs are available for generation-2: 1) IcedTea JDK 6.1.13.3 [icedtea-6] *) IcedTea JDK 7.2.4.7 [icedtea-7]
(In reply to Berthold Humkamp from comment #12) > java-config --list-available-vms > > The following VMs are available for generation-2: > 1) IcedTea JDK 6.1.13.3 [icedtea-6] > *) IcedTea JDK 7.2.4.7 [icedtea-7] Post the output of this from root: echo $JAVA_HOME
Thanks! That's the solution: It wasn't set for root. After doing so it compiled. Do you've got any idea, why this happened, possibly intentionally not set from java-team or so? I'm sure I didn't change it myself! Greetings timewulf
(In reply to Berthold Humkamp from comment #14) > Thanks! > > That's the solution: It wasn't set for root. After doing so it compiled. > > Do you've got any idea, why this happened, possibly intentionally not set > from java-team or so? > > I'm sure I didn't change it myself! > > Greetings > timewulf No problem. It's supposed to be set. Maybe you didn't run env-update && source /etc/profile?