Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge problem emerging libcaca
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
nightcast2000
n00b
n00b


Joined: 01 Apr 2014
Posts: 54
Location: Birmingham

PostPosted: Tue Aug 05, 2014 8:56 pm    Post subject: emerge problem emerging libcaca Reply with quote

Hi to all,
Over the past week or so, I have been having trouble with a package. Whenever I do a update with emerge, the package libcaca keeps failing to merege. At first, it seemed to keep complaining that I didn't have java installed.
I managed to install the latest java-1.8, but libcaca keeps refusing to install :(

Here is the output when it gets to libcaca:
Code:
 99_beta18-r2/work/libcaca-0.99.beta18/doc/img2txt.1 /var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/work/libcaca-0.99.beta18/doc/cacaplay.1 '/var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/image//usr/share/man/man1'
rm -f /var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/image//usr/share/man/man1/cacademo.1
ln -sf cacafire.1 /var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/image//usr/share/man/man1/cacademo.1
make[2]: Leaving directory '/var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/work/libcaca-0.99.beta18-abi_x86_64.amd64/doc'
make[1]: Leaving directory '/var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/work/libcaca-0.99.beta18-abi_x86_64.amd64/doc'
Making install in test
make[1]: Entering directory '/var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/work/libcaca-0.99.beta18-abi_x86_64.amd64/test'
make[2]: Entering directory '/var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/work/libcaca-0.99.beta18-abi_x86_64.amd64/test'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/work/libcaca-0.99.beta18-abi_x86_64.amd64/test'
make[1]: Leaving directory '/var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/work/libcaca-0.99.beta18-abi_x86_64.amd64/test'
make[1]: Entering directory '/var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/work/libcaca-0.99.beta18-abi_x86_64.amd64'
make[2]: Entering directory '/var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/work/libcaca-0.99.beta18-abi_x86_64.amd64'
make[2]: Nothing to be done for 'install-data-am'.
 /bin/mkdir -p '/var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/image//usr/bin'
 /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c caca-config '/var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/image//usr/bin'
make[2]: Leaving directory '/var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/work/libcaca-0.99.beta18-abi_x86_64.amd64'
make[1]: Leaving directory '/var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/work/libcaca-0.99.beta18-abi_x86_64.amd64'
 * ERROR: media-libs/libcaca-0.99_beta18-r2::gentoo failed (install phase):
 *   java/libjava.jar does not exist or is not a file!
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_install
 *   environment, line 6001:  Called multilib-minimal_src_install
 *   environment, line 4602:  Called multilib_foreach_abi 'multilib-minimal_abi_src_install'
 *   environment, line 4789:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 4395:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 4393:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install'
 *   environment, line  647:  Called multilib-minimal_abi_src_install
 *   environment, line 4592:  Called multilib_src_install
 *   environment, line 5008:  Called java-pkg_newjar 'java/libjava.jar'
 *   environment, line 3684:  Called die
 * The specific snippet of code:
 *       [[ ! -f ${original_jar} ]] && die "${original_jar} does not exist or is not a file!";
 *
 * If you need support, post the output of `emerge --info '=media-libs/libcaca-0.99_beta18-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/libcaca-0.99_beta18-r2::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =libcaca-0.99_beta18
 * The complete build log is located at '/var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/work/libcaca-0.99.beta18-abi_x86_64.amd64'
 * S: '/var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/work/libcaca-0.99.beta18'

>>> Failed to emerge media-libs/libcaca-0.99_beta18-r2, Log file:

>>>  '/var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/temp/build.log'

 * Messages for package media-libs/libcaca-0.99_beta18-r2:

 * ERROR: media-libs/libcaca-0.99_beta18-r2::gentoo failed (install phase):
 *   java/libjava.jar does not exist or is not a file!
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_install
 *   environment, line 6001:  Called multilib-minimal_src_install
 *   environment, line 4602:  Called multilib_foreach_abi 'multilib-minimal_abi_src_install'
 *   environment, line 4789:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 4395:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 *   environment, line 4393:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install'
 *   environment, line  647:  Called multilib-minimal_abi_src_install
 *   environment, line 4592:  Called multilib_src_install
 *   environment, line 5008:  Called java-pkg_newjar 'java/libjava.jar'
 *   environment, line 3684:  Called die
 * The specific snippet of code:
 *       [[ ! -f ${original_jar} ]] && die "${original_jar} does not exist or is not a file!";
 *
 * If you need support, post the output of `emerge --info '=media-libs/libcaca-0.99_beta18-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/libcaca-0.99_beta18-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/work/libcaca-0.99.beta18-abi_x86_64.amd64'
 * S: '/var/tmp/portage/media-libs/libcaca-0.99_beta18-r2/work/libcaca-0.99.beta18'

emerge --info '=media-libs/libcaca-0.99_beta18-r2::gentoo'
--- Invalid atom in /etc/portage/package.use: app-text/ghostscript-gpl-9.10-r2
--- Invalid atom in /etc/portage/package.use: x11-libs/cairo-1.12.16
--- Invalid atom in /etc/portage/package.use: examples
--- Invalid atom in /etc/portage/package.accept_keywords: dev-java/icedtea-web-1.3.2-r7
--- Invalid atom in /etc/portage/package.accept_keywords: dev-java/icedtea-7.2.4.7
--- Invalid atom in /etc/portage/package.unmask: java
Portage 2.2.11-r1 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.3, glibc-2.19-r1, 3.16.0-rc5 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.16.0-rc5-x86_64-AMD_FX-tm-8320_Eight-Core_Processor-with-gentoo-2.2
KiB Mem:     3990248 total,    522216 free
KiB Swap:    5444604 total,   5444544 free
Timestamp of tree: Tue, 05 Aug 2014 19:45:02 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=bdver2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=bdver2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs 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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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://rsync.uk.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi alisp alsa amd64 arts asyncns autoipd av avahi berkdb bindist bluetooth branding busybox bzip2 cairo caps cd cdda cdr cli connection-sharing consolekit cracklib crypt ctype cups cxx dbus declarative dmx dot down-root dri dri3 dts dvd dvdr embedded emboss emerge encode esd examples exif fam fbcon fbcondecor ffmpeg fileinfo filter firefox flac fontconfig fortran gallium gbm gd gdbm gettext ggi gif gles1 gles2 glib gpm gstreamer gtk hal hash http hybrid-auth iconv icu introspection iproute2 ipv6 jack jadetex java jpeg json kde kdrive kipi lcms ldap libcaca libffi libnotify libsamplerate lirc live llvm-shared-libs lzo mad matroska mdnsresponder-compat mmx mmx2 mng modemmanager modules mp3 mp4 mpeg mplayer multilib ncurses nls nptl nsplugin objc ogg opcache opengl openmp openvg osmesa oss pam pango pcre pdf phar phonon ping plasma plugins png policykit polkit posix ppds ppp pptp pulseaudio python qt3support qt4 rc readline realtime resolvconf savedconfig sdk sdl semantic-desktop session shared-glpi simplexml skins soprano source speex spell sqlite sse sse2 ssl startup-notification static-analyzer suid svg systemwide tcpd tcpdtheora threads tiff tokenizer tools truetype trutype tslib udev udisks unicode unwind upower usb v4l v4l2 vala vdpau vorbis wext wifi wimax win32codecs wxwidgets x264 xa xattr xcb xcomposite xinerama xml xnest xorg xscreensaver xv xvfb xvid xvmc zeroconf 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB" 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="nvidia 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


I hope someone can help me.

Regards,
Nightcast2000
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1480

PostPosted: Tue Aug 05, 2014 9:25 pm    Post subject: Reply with quote

First of all: Do you really need
Quote:
libcaca - Add support for colored ASCII-art graphics

which is for watching videos on the console ...

You should edit your /etc/portage/package.* files according format shown in
Code:
man portage
Back to top
View user's profile Send private message
nightcast2000
n00b
n00b


Joined: 01 Apr 2014
Posts: 54
Location: Birmingham

PostPosted: Tue Aug 05, 2014 9:42 pm    Post subject: Reply with quote

Hi ulenrich,
I had uninstalled, libcaca with "emerge -C" but whenever I run " sudo emerge -avuDN --with-bdeps y --keep-going world" libcaca keeps showing up. Here is the output:
Code:
Calculating dependencies... done!
[ebuild  N     ] media-libs/libcaca-0.99_beta18-r2  USE="X cxx java ncurses opengl python truetype -doc -imlib -mono (-ruby) -slang -static-libs {-test}" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild     UD ] x11-drivers/xf86-input-evdev-2.8.4 [2.9.0] 362 KiB
[ebuild     U  ] net-misc/openssh-6.6.1_p1-r2 [6.6.1_p1] USE="X bindist hpn ldap pam tcpd -X509 -kerberos -ldns -libedit (-selinux) -skey -static" 0 KiB
[ebuild     UD ] media-video/ffmpeg-2.2.5:0/52.55.55 [2.3.1:0/52.55.55] USE="X aac alsa bindist bzip2 encode examples fontconfig hardcoded-tables iconv jack libcaca mmx mp3 network opengl oss pulseaudio sdl speex sse sse2 threads truetype v4l vdpau vorbis x264 xvid zlib -3dnow -3dnowext -aacplus (-altivec) -amr -amrenc (-armv5te) (-armv6) (-armv6t2) (-armvfp) -avx -avx2 -bluray -cdio -celt -cpudetection -debug -doc -faac -fdk -flite -fma3 -fma4 -frei0r -gme -gnutls -gsm -iec61883 -ieee1394 -jpeg2k -ladspa -libass -libsoxr -libv4l (-mips32r2) (-mipsdspr1) (-mipsdspr2) (-mipsfpu) -mmxext -modplug (-neon) -openal -openssl -opus -pic -quvi -rtmp -schroedinger -sse3 -sse4 -sse4_2 -ssh -ssse3 -static-libs {-test} -theora -twolame -vaapi -vpx -wavpack -webp -x265 -zvbi (-bs2b%) (-fribidi%) (-samba%) (-xop%)" ABI_X86="(64) -32 (-x32)" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher" 0 KiB

Total: 4 packages (1 upgrade, 2 downgrades, 1 new), Size of downloads: 362 KiB

Would you like to merge these packages? [Yes/No]


Regards,
Nightcast2000
Back to top
View user's profile Send private message
dataking
Apprentice
Apprentice


Joined: 20 Apr 2005
Posts: 251

PostPosted: Tue Aug 05, 2014 9:51 pm    Post subject: Reply with quote

nightcast2000 wrote:
Hi ulenrich,
I had uninstalled, libcaca with "emerge -C" but whenever I run " sudo emerge -avuDN --with-bdeps y --keep-going world" libcaca keeps showing up. Here is the output:
Code:
Calculating dependencies... done!
[ebuild  N     ] media-libs/libcaca-0.99_beta18-r2  USE="X cxx java ncurses opengl python truetype -doc -imlib -mono (-ruby) -slang -static-libs {-test}" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild     UD ] x11-drivers/xf86-input-evdev-2.8.4 [2.9.0] 362 KiB
[ebuild     U  ] net-misc/openssh-6.6.1_p1-r2 [6.6.1_p1] USE="X bindist hpn ldap pam tcpd -X509 -kerberos -ldns -libedit (-selinux) -skey -static" 0 KiB
[ebuild     UD ] media-video/ffmpeg-2.2.5:0/52.55.55 [2.3.1:0/52.55.55] USE="X aac alsa bindist bzip2 encode examples fontconfig hardcoded-tables iconv jack libcaca mmx mp3 network opengl oss pulseaudio sdl speex sse sse2 threads truetype v4l vdpau vorbis x264 xvid zlib -3dnow -3dnowext -aacplus (-altivec) -amr -amrenc (-armv5te) (-armv6) (-armv6t2) (-armvfp) -avx -avx2 -bluray -cdio -celt -cpudetection -debug -doc -faac -fdk -flite -fma3 -fma4 -frei0r -gme -gnutls -gsm -iec61883 -ieee1394 -jpeg2k -ladspa -libass -libsoxr -libv4l (-mips32r2) (-mipsdspr1) (-mipsdspr2) (-mipsfpu) -mmxext -modplug (-neon) -openal -openssl -opus -pic -quvi -rtmp -schroedinger -sse3 -sse4 -sse4_2 -ssh -ssse3 -static-libs {-test} -theora -twolame -vaapi -vpx -wavpack -webp -x265 -zvbi (-bs2b%) (-fribidi%) (-samba%) (-xop%)" ABI_X86="(64) -32 (-x32)" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart trasher" 0 KiB

Total: 4 packages (1 upgrade, 2 downgrades, 1 new), Size of downloads: 362 KiB

Would you like to merge these packages? [Yes/No]


Regards,
Nightcast2000


It's because something somewhere (make.conf or something else) has the libcaca use flag for ffmpeg. Remove libcac from make.conf or package.keywords. If it's not in either of those places, I'm at a loss. But that's why libcac keeps getting pulled in.

On another note, have you tried sudo find / -type f -name libjava.jar? If so, what's the output of file /path/to/libjava.jar?
_________________
-= the D@7@k|n& =-
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1480

PostPosted: Tue Aug 05, 2014 10:08 pm    Post subject: Reply with quote

my little helper put at: /usr/local/bin/genused
Code:
#!/bin/bash
which equery >/dev/null || echo "please: emerge gentoolkit"
which equery >/dev/null || exit
[ "$1" = "" ] && echo "$0 needs a USE flag as parameter" && exit

for i in $(equery --quiet --nocolor h -F '$cpv'  $1 ) ; do
   echo $i
   equery --quiet --nocolor u $i| grep -e"$1"
done
Back to top
View user's profile Send private message
nightcast2000
n00b
n00b


Joined: 01 Apr 2014
Posts: 54
Location: Birmingham

PostPosted: Tue Aug 05, 2014 10:16 pm    Post subject: Reply with quote

Hi dataking,
I've looked into my make.conf, and have removed libcaca. I've tried to find "libjava.jar" with both your command and other ones I've found on the web, but it keeps drawing a blank, so I really don't know if it's there or not.
Here is the output:
Code:
steve@mernivia ~ $ sudo find / -name "libjava.so"
Password:
/home/steve/jre1.8.0_11/lib/amd64/libjava.so
/opt/jre1.8.0_11/lib/amd64/libjava.so
/opt/icedtea-bin-7.2.4.7/jre/lib/amd64/libjava.so
/opt/oracle-jdk-bin-1.8.0.11/jre/lib/amd64/libjava.so
steve@mernivia ~ $ sudo find / -name "libjava.jar"
steve@mernivia ~ $


regards,
Nightcast2000
Back to top
View user's profile Send private message
dataking
Apprentice
Apprentice


Joined: 20 Apr 2005
Posts: 251

PostPosted: Tue Aug 05, 2014 10:42 pm    Post subject: Reply with quote

nightcast2000 wrote:
Hi dataking,
I've looked into my make.conf, and have removed libcaca.

When you emerge -uDNv world again, libcaca shouldn't be pulled in this time, unless it's getting pulled in somewhere else.

So the libjava.jar is a moot issue.
_________________
-= the D@7@k|n& =-
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21624

PostPosted: Wed Aug 06, 2014 1:39 am    Post subject: Reply with quote

ulenrich wrote:
my little helper put at: /usr/local/bin/genused
Code:
#!/bin/bash
which equery >/dev/null || echo "please: emerge gentoolkit"
which equery >/dev/null || exit
[ "$1" = "" ] && echo "$0 needs a USE flag as parameter" && exit

for i in $(equery --quiet --nocolor h -F '$cpv'  $1 ) ; do
   echo $i
   equery --quiet --nocolor u $i| grep -e"$1"
done
You can optimize that first test:
Code:
which equery >&/dev/null || { echo "emerge gentoolkit" ; exit 1; }
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Wed Aug 06, 2014 8:26 am    Post subject: Reply with quote

Your problem is not with libcaca itself, your problem is your java env that is not set.

Like shown here:
Code:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""


Now look when it work :
Code:
env | grep JAVA
JAVA_HOME=/etc/java-config-2/current-system-vm
JAVAC=/etc/java-config-2/current-system-vm/bin/javac
JAVACC_HOME=/usr/share/javacc/
emerge -pv libcaca
[ebuild   R    ] media-libs/libcaca-0.99_beta18-r2  USE="X cxx java ncurses opengl python truetype -doc -imlib -mono (-ruby) -slang -static-libs {-test}" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" 0 kB
find / -mount -type f -name libjava.jar
(no answer)
java-config -g JAVA_HOME
/opt/icedtea-bin-6.1.13.3
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1480

PostPosted: Wed Aug 06, 2014 8:42 pm    Post subject: Reply with quote

Hu wrote:
ulenrich wrote:
my little helper put at: /usr/local/bin/genused
Code:
#!/bin/bash
which equery >/dev/null || echo "please: emerge gentoolkit"
which equery >/dev/null || exit
[ "$1" = "" ] && echo "$0 needs a USE flag as parameter" && exit

for i in $(equery --quiet --nocolor h -F '$cpv'  $1 ) ; do
   echo $i
   equery --quiet --nocolor u $i| grep -e"$1"
done
You can optimize that first test:
Code:
which equery >&/dev/null || { echo "emerge gentoolkit" ; exit 1; }
@Hu, thanks for that beauty. Though the first line was additionally placed just for the audience. The second line if this executable was called from my Debian siduction install.
Back to top
View user's profile Send private message
nightcast2000
n00b
n00b


Joined: 01 Apr 2014
Posts: 54
Location: Birmingham

PostPosted: Wed Aug 06, 2014 10:55 pm    Post subject: Reply with quote

Hi krinn,
thanks for the advice.
Quote:
Your problem is not with libcaca itself, your problem is your java env that is not set.
you are right in that department. I have taken out "libcaca" out of my make.conf, and libcaca has disappeared.
I have installed the jdk-1.8_u11 package. I do seem to have a bit of trouble setting up my java environment.

Code:
sudo eselect list java
!!! Error: Can't load module list
exiting
I always get that when using eselect for java.

here is the output of "env | grep JAVA:
Code:
env | grep JAVA
JAVA_HOME=/etc/java-config-2/current-system-vm
JAVAC=/etc/java-config-2/current-system-vm/bin/javac


Regards,
Nightcast2000
Back to top
View user's profile Send private message
nightcast2000
n00b
n00b


Joined: 01 Apr 2014
Posts: 54
Location: Birmingham

PostPosted: Wed Aug 06, 2014 11:10 pm    Post subject: Reply with quote

Hi all,
With regard to the java problem I have been experiencing, I've managed to set my java-jdk-1.8_u11 as my system defualt, so I shouldn't get anymore problems now, I want to thank everyone who has been helpng me.

Regards,
Nightcast2000
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