| View previous topic :: View next topic |
| Author |
Message |
csl n00b

Joined: 04 Nov 2013 Posts: 8
|
Posted: Tue Nov 05, 2013 4:23 pm Post subject: [SOLVED] Package hamcrest-core was not found - eclipse-sdk |
|
|
Hi there!
I have an issue with hamcrest-core (says that wasn't found) during emerging eclipse-sdk.
Some info:
| Code: |
GENTOO_VM=oracle-jdk-bin-1.7 CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.7.0.45"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"
|
As far as I know it's recommended to not set a default CLASSPATH, am I right?
emerge --info '=dev-util/eclipse-sdk-3.5.1-r1'
| Code: |
Portage 2.2.7 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.15-r3, 3.10.17-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.10.17-gentoo-x86_64-Intel-R-_Core-TM-_i5-3210M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem: 3912244 total, 207464 free
KiB Swap: 7815584 total, 7811572 free
Timestamp of tree: Mon, 04 Nov 2013 17:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash: 4.2_p45
dev-java/java-config: 2.1.12-r1
dev-lang/python: 2.7.5-r3, 3.2.5-r3
dev-util/cmake: 2.8.11.2
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.10.3, 1.12.6, 1.13.4
sys-devel/binutils: 2.23.1
sys-devel/gcc: 4.6.3, 4.7.3-r1
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://www.mirrorservice.org/sites/distfiles.gentoo.org/"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync2.uk.gentoo.org/gentoo-portage"
USE="X \ a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups curl cvs cxx dbus declarative dri dts dvd dvdr emboss encode examples exif fam firefox flac fortran gdbm gif gpm gtk gzip hal handbook hddtemp iconv ipv6 jpeg jpeg2k kde keymap kipi lcms ldap libnotify mad mime mmx mng modules mono mozilla mp3 mp4 mpeg mplayer mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango pcmcia pcre pdf phonon plasma png policykit ppds qt3 qt3support qt4 quicktime readline ruby sdl semantic-desktop session slang sound spell sse sse2 sse3 ssl startup-notification svg symlink syslog tcpd tiff truetype udev udisks unicode upower usb vcd vorbis wifi win32codecs wxwidgets x264 xcb xcomposite xine xinerama xml xscreensaver xv xvid 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="synaptics uvdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
|
emerge -pqv '=dev-util/eclipse-sdk-3.5.1-r1'
| Code: |
[ebuild N ] dev-util/eclipse-sdk-3.5.1-r1 USE="-doc -gnome -source"
|
# emerge eclipse-sdk failed with:
| Code: |
//...
>>> Install eclipse-sdk-3.5.1-r1 into /var/tmp/portage/dev-util/eclipse-sdk-3.5.1-r1/image/ category dev-util
* Unbundling dependencies ...
* org.apache.ant => ant-core,ant-nodeps
* org.junit => junit
* org.junit4 => junit-4
* com.ibm.icu => icu4j-4
* com.jcraft.jsch => jsch
* javax.servlet => tomcat-servlet-api-2.5
* javax.servlet.jsp => tomcat-servlet-api-2.5
* org.apache.commons.codec => commons-codec
* org.apache.commons.el => commons-el
* org.apache.commons.httpclient => commons-httpclient-3
* org.apache.commons.logging => commons-logging
* org.apache.lucene => lucene-1.9
* org.apache.lucene.analysis => lucene-analyzers-1.9
* org.eclipse.swt.gtk.linux.x86_64 => swt-3.5
* org.hamcrest.core => hamcrest-core
!!! ERROR: Package hamcrest-core was not found!
* ERROR: dev-util/eclipse-sdk-3.5.1-r1::gentoo failed (install phase):
* There was a problem getting the classpath for hamcrest-core.
*
* Call stack:
* ebuild.sh, line 93: Called src_install
* environment, line 4517: Called unbundle '/var/tmp/portage/dev-util/eclipse-sdk-3.5.1-r1/image//usr/lib64/eclipse-3.5'
* environment, line 5084: Called eclipse_unbundle-jar 'plugins/org.hamcrest.core_1.1.0.v20090501071000.jar' 'hamcrest-core'
* environment, line 879: Called java-pkg_jar-from 'hamcrest-core'
* environment, line 3385: Called die
* The specific snippet of code:
* [[ $? != 0 ]] && die ${error_msg};
*
* If you need support, post the output of `emerge --info '=dev-util/eclipse-sdk-3.5.1-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-util/eclipse-sdk-3.5.1-r1::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=oracle-jdk-bin-1.7 CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.7.0.45"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"
and of course, the output of emerge --info =eclipse-sdk-3.5.1
* The complete build log is located at '/var/tmp/portage/dev-util/eclipse-sdk-3.5.1-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-util/eclipse-sdk-3.5.1-r1/temp/environment'.
* Working directory: '/var/tmp/portage/dev-util/eclipse-sdk-3.5.1-r1/image/usr/lib64/eclipse-3.5/plugins/org.hamcrest.core_1.1.0.v20090501071000'
* S: '/var/tmp/portage/dev-util/eclipse-sdk-3.5.1-r1/work/eclipse-build-R0_4_0'
>>> Failed to emerge dev-util/eclipse-sdk-3.5.1-r1, Log file:
>>> '/var/tmp/portage/dev-util/eclipse-sdk-3.5.1-r1/temp/build.log'
* Messages for package dev-util/eclipse-sdk-3.5.1-r1:
* QA: Package calling old check_reqs function.
* QA: Please file a bug against the package.
* QA: It should call check-reqs_pkg_pretend and check-reqs_pkg_setup
* QA: and possibly use EAPI=4 or later.
* QA: Package does not specify unit for the size check
* QA: Assuming megabytes.
* QA: File bug against the package. It should specify the unit.
* QA: Package does not specify unit for the size check
* QA: Assuming megabytes.
* QA: File bug against the package. It should specify the unit.
* ERROR: dev-util/eclipse-sdk-3.5.1-r1::gentoo failed (install phase):
* There was a problem getting the classpath for hamcrest-core.
*
* Call stack:
* ebuild.sh, line 93: Called src_install
* environment, line 4517: Called unbundle '/var/tmp/portage/dev-util/eclipse-sdk-3.5.1-r1/image//usr/lib64/eclipse-3.5'
* environment, line 5084: Called eclipse_unbundle-jar 'plugins/org.hamcrest.core_1.1.0.v20090501071000.jar' 'hamcrest-core'
* environment, line 879: Called java-pkg_jar-from 'hamcrest-core'
* environment, line 3385: Called die
* The specific snippet of code:
* [[ $? != 0 ]] && die ${error_msg};
*
* If you need support, post the output of `emerge --info '=dev-util/eclipse-sdk-3.5.1-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-util/eclipse-sdk-3.5.1-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-util/eclipse-sdk-3.5.1-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-util/eclipse-sdk-3.5.1-r1/temp/environment'.
* Working directory: '/var/tmp/portage/dev-util/eclipse-sdk-3.5.1-r1/image/usr/lib64/eclipse-3.5/plugins/org.hamcrest.core_1.1.0.v20090501071000'
* S: '/var/tmp/portage/dev-util/eclipse-sdk-3.5.1-r1/work/eclipse-build-R0_4_0'
|
I have a hamcrest-core:
| Code: |
# emerge -s hamcrest-core
Searching...
[ Results for search key : hamcrest-core ]
[ Applications found : 1 ]
* dev-java/hamcrest-core
Latest version available: 1.3
Latest version installed: 1.3
Size of files: 3,599 kB
//...
|
Any ideas? Thanks in advance.
Last edited by csl on Wed Nov 06, 2013 10:53 am; edited 1 time in total |
|
| Back to top |
|
 |
i92guboj Bodhisattva


Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Wed Nov 06, 2013 10:19 am Post subject: |
|
|
| I also hit this. It installed fine after I forced the merge of hamcrest-core-1.1. By default portage installs only 1.3, but both can co-exist peacefully. |
|
| Back to top |
|
 |
csl n00b

Joined: 04 Nov 2013 Posts: 8
|
Posted: Wed Nov 06, 2013 10:52 am Post subject: |
|
|
You have right Only need to mask =dev-java/hamcrest-core-1.3 and then merge hamcrest-core
Thanks a lot. |
|
| Back to top |
|
 |
|
|
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
|
|