View previous topic :: View next topic |
Author |
Message |
ben72 n00b
Joined: 06 Nov 2006 Posts: 30
|
Posted: Fri Oct 17, 2014 1:06 pm Post subject: sun-jms error while emerging |
|
|
Hi Forum,
I'm trying to install freemind and due to its dependencies I'm now emerging dev-java/sun-jms-1.1-r2.
I'm getting compile errors on it, here's the output:
Code: |
~ # emerge --info '=dev-java/sun-jms-1.1-r2::gentoo'
Portage 2.2.8-r2 (default/linux/amd64/13.0/desktop/gnome, gcc-4.7.3, glibc-2.19-r1, 3.14.14-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.14.14-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E4500_@_2.20GHz-with-gentoo-2.2
KiB Mem: 2052040 total, 736788 free
KiB Swap: 10485756 total, 10485756 free
Timestamp of tree: Sat, 11 Oct 2014 00:45:01 +0000
ld ld di GNU (Gentoo 2.23.2 p1.0) 2.23.2
app-shells/bash: 4.2_p53
dev-java/java-config: 2.2.0
dev-lang/perl: 5.18.2-r1
dev-lang/python: 2.7.7, 3.3.5-r1, 3.4.1
dev-util/cmake: 2.8.12.2-r1
dev-util/pkgconfig: 0.28-r1
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.12.4
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils: 2.23.2
sys-devel/gcc: 4.7.3-r1
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4.2-r1
sys-devel/make: 4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc: 2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
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://gentoo.inode.at/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://de-mirror.org/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ "
LANG="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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=""
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode evo exif fam firefox flac fortran gdbm gif glamor gpm gstreamer gtk iconv introspection jpeg lcms ldap libnotify libsecret mad mmx mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl session socialweb spell sse sse2 sse3 sse4 ssl ssse3 startup-notification svg tcpd tiff truetype udev udisks unicode usb vorbis wxwidgets x264 xcb xml 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 ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
|
Quote: |
~ # emerge -pqv '=dev-java/sun-jms-1.1-r2::gentoo'
[ebuild N f ] dev-java/sun-jms-1.1-r2 USE="-doc"
|
And here's the console output
Code: |
>>> Emerging (2 of 35) dev-java/sun-jms-1.1-r2
* jms-1_1-fr-apidocs.zip SHA256 size ;-) ... [ ok ]
* Using: icedtea-bin-6
>>> Unpacking source...
>>> Unpacking jms-1_1-fr-apidocs.zip to /var/tmp/portage/dev-java/sun-jms-1.1-r2/work
error: cannot open zipfile [ /var/tmp/portage/dev-java/sun-jms-1.1-r2/distdir/jms-1_1-fr-apidocs.zip ]
Permission denied
unzip: cannot find or open /var/tmp/portage/dev-java/sun-jms-1.1-r2/distdir/jms-1_1-fr-apidocs.zip, /var/tmp/portage/dev-java/sun-jms-1.1-r2/distdir/jms-1_1-fr-apidocs.zip.zip or /var/tmp/portage/dev-java/sun-jms-1.1-r2/distdir/jms-1_1-fr-apidocs.zip.ZIP.
* ERROR: dev-java/sun-jms-1.1-r2::gentoo failed (unpack phase):
* failure unpacking jms-1_1-fr-apidocs.zip
*
* Call stack:
* ebuild.sh, line 93: Called src_unpack
* environment, line 3624: Called unpack 'jms-1_1-fr-apidocs.zip'
* phase-helpers.sh, line 348: Called die
* The specific snippet of code:
* ( set +x ; while true ; do echo n || break ; done ) | \
* unzip -qo "${srcdir}${x}" || die "$myfail"
*
* If you need support, post the output of `emerge --info '=dev-java/sun-jms-1.1-r2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-java/sun-jms-1.1-r2::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-bin-6 CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-6.1.13.3"
JAVACFLAGS="-source 1.3 -target 1.3" COMPILER=""
and of course, the output of emerge --info =sun-jms-1.1
* The complete build log is located at '/var/tmp/portage/dev-java/sun-jms-1.1-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-java/sun-jms-1.1-r2/temp/environment'.
* Working directory: '/var/tmp/portage/dev-java/sun-jms-1.1-r2/work'
* S: '/var/tmp/portage/dev-java/sun-jms-1.1-r2/work/jms1.1'
>>> Failed to emerge dev-java/sun-jms-1.1-r2, Log file:
>>> '/var/tmp/portage/dev-java/sun-jms-1.1-r2/temp/build.log'
|
I'm running on AMD64 platform (multilib):
Code: |
~ # uname -a
Linux 3.14.14-gentoo #5 SMP Tue Oct 14 09:48:37 CEST 2014 x86_64 Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz GenuineIntel GNU/Linux
|
I have downloaded the file from (http://download.oracle.com/otndocs/jcp/7542-jms-1.1-fr-doc-oth-JSpec/) and accepted Oracle's license agreement as suggested.
Any ideas ?
Regards
Ben |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Fri Oct 17, 2014 2:42 pm Post subject: |
|
|
Why does the build output writes Permission denied
is it read only directory? no write permission? how comes? wrong user?
you may compare the file user settings of other portage distfiles with yours you downloaded, same location, same user, same group, same right first, also check for decent free space on the drives. |
|
Back to top |
|
|
ben72 n00b
Joined: 06 Nov 2006 Posts: 30
|
Posted: Fri Oct 17, 2014 4:40 pm Post subject: naaaaaa....... |
|
|
It was:
Code: |
distfiles # ls -la jms-1_1-fr-apidocs.zip
-rw-r----- 1 root root 361922 17 ott 16.45 jms-1_1-fr-apidocs.zip
|
Now it is:
Code: |
distfiles # chmod 644 jms-1_1-fr-apidocs.zip
distfiles # ls -la jms-1_1-fr-apidocs.zip
-rw-r--r-- 1 root root 361922 17 ott 16.45 jms-1_1-fr-apidocs.zip
|
kinda stupid thing ! I have downloaded and unzipped as well to check it was a proper zip file, didn't seen root:root !
Sorry Guys (RTFM !)
Thank you |
|
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
|
|