Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 597550 - dev-java/jffi-1.0.11-r1: No rule to make target '-L/usr/lib/../lib', needed by 'build/jni/jffi/FastLongInvoke.o'
Summary: dev-java/jffi-1.0.11-r1: No rule to make target '-L/usr/lib/../lib', needed b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-19 15:28 UTC by segmentation fault
Modified: 2016-10-30 20:32 UTC (History)
1 user (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 segmentation fault 2016-10-19 15:28:05 UTC
Compilation of jffi-1.0.11-r1 fails:

 * jffi-1.0.11.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                              [ ok ]
 * Using: icedtea-8
>>> Unpacking source...
>>> Unpacking jffi-1.0.11.tar.gz to /host/var/tmp/portage/dev-java/jffi-1.0.11-r1/work
>>> Source unpacked in /host/var/tmp/portage/dev-java/jffi-1.0.11-r1/work
>>> Preparing source in /host/var/tmp/portage/dev-java/jffi-1.0.11-r1/work/jffi-1.0.11 ...
./lib/junit/junit-3.8.2.jar
./lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar
./lib/junit_4/junit-4.5-src.jar
./lib/junit_4/junit-4.5.jar
./archive/jffi-Darwin.jar
./archive/jffi-s390x-Linux.jar
./archive/jffi-sparcv9-SunOS.jar
./archive/jffi-ppc-Linux.jar
./archive/jffi-i386-SunOS.jar
./archive/jffi-x86_64-Windows.jar
./archive/jffi-sparc-SunOS.jar
./archive/jffi-ppc-AIX.jar
./archive/jffi-i386-Linux.jar
./archive/jffi-i386-OpenBSD.jar
./archive/jffi-x86_64-OpenBSD.jar
./archive/jffi-i386-Windows.jar
./archive/jffi-i386-FreeBSD.jar
./archive/jffi-x86_64-FreeBSD.jar
./archive/jffi-x86_64-Linux.jar
./archive/jffi-ppc64-Linux.jar
./archive/jffi-x86_64-SunOS.jar
 * Applying jffi-1.0.11_no-werror.patch ...                                                                             [ ok ]
>>> Source prepared.
>>> Configuring source in /host/var/tmp/portage/dev-java/jffi-1.0.11-r1/work/jffi-1.0.11 ...
Rewriting attributes
Rewriting ./build.xml
>>> Source configured.
>>> Compiling source in /host/var/tmp/portage/dev-java/jffi-1.0.11-r1/work/jffi-1.0.11 ...
 * Disabling all optional ANT_TASKS
Buildfile: /host/var/tmp/portage/dev-java/jffi-1.0.11-r1/work/jffi-1.0.11/build.xml

test-offline:

get-deps:

compile:
    [mkdir] Created dir: /host/var/tmp/portage/dev-java/jffi-1.0.11-r1/work/jffi-1.0.11/target/classes
    [javac] Compiling 38 source files to /host/var/tmp/portage/dev-java/jffi-1.0.11-r1/work/jffi-1.0.11/target/classes

compile-tests:

test-junit-present:

test-junit-status:

junit-missing:

test:

package:
      [jar] Building jar: /host/var/tmp/portage/dev-java/jffi-1.0.11-r1/work/jffi-1.0.11/target/jffi.jar

jar:

BUILD SUCCESSFUL
Total time: 10 seconds
make -j2 SRC_DIR=jni JNI_DIR=jni BUILD_DIR=build/jni VERSION=1.0 USE_SYSTEM_LIBFFI=1 -f jni/GNUmakefile 
make: *** No rule to make target '-L/usr/lib/../lib', needed by 'build/jni/jffi/FastLongInvoke.o'.  Stop.
 * ERROR: dev-java/jffi-1.0.11-r1::gentoo failed (compile phase):
 *   emake failed


Some info
======

GENTOO_VM=icedtea-8  CLASSPATH="" JAVA_HOME="/usr/lib/icedtea8"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""

=================================================================
                        Package Settings
=================================================================

dev-java/jffi-1.0.11::gentoo was built with the following:
USE="source -doc -test"
CFLAGS="-O3 -march=pentium4 -pipe"
CXXFLAGS="-O3 -march=pentium4 -pipe"

Portage 2.2.28 (python 3.4.3-final-0, hardened/linux/x86, gcc-4.9.3, glibc-2.22-r4, 3.16.5-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.16.5-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_3.40GHz-with-gentoo-2.2
KiB Mem:     XXXXXXX total,    182276 free
KiB Swap:    YYYYYYY total,   1203468 free
Timestamp of repository gentoo: Mon, 10 Oct 2016 14:15:01 +0000
sh bash 4.3_p48
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.4_p6-r2::gentoo, 1.5-r2::gentoo, 1.6.3-r2::gentoo, 1.7.9-r3::gentoo, 1.8.5-r5::gentoo, 1.9.6-r2::<unknown repository>, 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.24-r3::gentoo, 2.25.1-r1::gentoo
sys-devel/gcc:            4.3.6-r1::gentoo, 4.4.7::gentoo, 4.8.5::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Comment 1 Amy Liffey gentoo-dev 2016-10-22 18:14:19 UTC
Can you please submit full build.log and emerge --info ?

Thanks
Comment 2 James Le Cuirot gentoo-dev 2016-10-30 19:22:35 UTC
That's okay, I've managed to reproduce it.
Comment 3 James Le Cuirot gentoo-dev 2016-10-30 20:32:03 UTC
I've removed a bunch of old versions from various packages and this version is no longer needed. The newer version does not suffer from this problem so I can close this now.