Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 477500 - dev-java/icedtea-7.2.4.1 - ln: failed to access 'libjvm.so.1': Too many levels of symbolic links
Summary: dev-java/icedtea-7.2.4.1 - ln: failed to access 'libjvm.so.1': Too many level...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andrew John Hughes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-20 14:28 UTC by jospezial
Modified: 2013-07-20 19:21 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2013-07-20 14:28:12 UTC
\
    rm -f libjvm.so.1; ln -s libjvm.so libjvm.so.1;                                  \
    [ -f libjvm.so ] || { ln -s libjvm.so libjvm.so; ln -s libjvm.so.1 libjvm.so.1; }; \
            if [ \"\" = \"\" ] ; then                    \
      if [ -x /usr/sbin/selinuxenabled ] ; then                 \
        /usr/sbin/selinuxenabled;                               \
                if [ $? = 0 ] ; then                                    \
          /usr/bin/chcon -t textrel_shlib_t libjvm.so;                 \
          if [ $? != 0 ]; then                                 \
            echo "ERROR: Cannot chcon libjvm.so";                       \
          fi                                                    \
        fi                                                      \
      fi                                                        \
            fi                                                          \
}
Linking vm...
collect2: error: ld returned 1 exit status
ln: failed to access 'libjvm.so.1': Too many levels of symbolic links
[ -f libjvm.debuginfo ] || ln -s libjvm.debuginfo libjvm.debuginfo
make[7]: stat: libjvm.so: Too many levels of symbolic links
echo Linking launcher...
Linking launcher...
cc -m64 -Xlinker -O1   -Xlinker -z -Xlinker noexecstack -m64 -Xlinker -export-dynamic  -L `pwd` -o gamma launcher/java_md.o launcher/wildcard.o launcher/jli_util.o launcher/java.o -ljvm -lm -ldl -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ljvm
collect2: error: ld returned 1 exit status
make[7]: *** [gamma] Error 1
make[7]: Leaving directory `/var/tmp/portage/dev-java/icedtea-7.2.4.1/work/icedtea-2.4.1/openjdk.build/hotspot/outputdir/linux_amd64_compiler2/product'
make[6]: *** [the_vm] Error 2

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-20 14:36:25 UTC
1) Please attach the entire build log to this bug report.
2) Please post your `emerge --info' output in a comment.
Comment 2 jospezial 2013-07-20 14:44:05 UTC
Wrong alarm. I ran out of free disk space.
But shouldn't be there a premerge check for enough free space?

/var/tmp/portage/dev-java/icedtea-7.2.4.1/ takes 5.5GB at the moment of crash.

I cant remember anything of taking much diskspace for the time of emerging it.