Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98374 - dev-java/jss-3.4 fails to compile (Linux Kernel version)
Summary: dev-java/jss-3.4 fails to compile (Linux Kernel version)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High major
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-08 10:51 UTC by Stephen Tallowitz
Modified: 2005-07-21 07:52 UTC (History)
0 users

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 Stephen Tallowitz 2005-07-08 10:51:40 UTC
When compiling jss it fails with a file not found error (see actual results)

My rather complicated solution is to go to the source directory
(/var/tmp/portage/jss-3.4/work/jss-3.4-src/mozilla/security/coreconf) and create
a symlink from Linux.2.6.11.mk to Linux.2.6.mk, and continue with 'ebuild
jss-3.4 compile install qmerge'. Of course this solution only works for me (I
have a 2.6.11 kernel), for anyone with 2.6.12 kernel its the same story with a
different number.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
>>> emerge (1 of 1) dev-java/jss-3.4 to /
>>> md5 files   ;-) jss-3.4.ebuild
>>> md5 files   ;-) files/digest-jss-3.4
>>> md5 src_uri ;-) jss-3.4-src.tar.gz
>>> Unpacking source...
>>> Unpacking jss-3.4-src.tar.gz to /var/tmp/portage/jss-3.4/work
>>> Source unpacked.
../coreconf/config.mk:67: ../coreconf/Linux2.6.11.mk: Datei oder Verzeichnis
nicht gefunden
../coreconf/config.mk:167: Kein Dateiname f
Comment 1 Stephen Tallowitz 2005-07-08 10:51:40 UTC
When compiling jss it fails with a file not found error (see actual results)

My rather complicated solution is to go to the source directory
(/var/tmp/portage/jss-3.4/work/jss-3.4-src/mozilla/security/coreconf) and create
a symlink from Linux.2.6.11.mk to Linux.2.6.mk, and continue with 'ebuild
jss-3.4 compile install qmerge'. Of course this solution only works for me (I
have a 2.6.11 kernel), for anyone with 2.6.12 kernel its the same story with a
different number.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
>>> emerge (1 of 1) dev-java/jss-3.4 to /
>>> md5 files   ;-) jss-3.4.ebuild
>>> md5 files   ;-) files/digest-jss-3.4
>>> md5 src_uri ;-) jss-3.4-src.tar.gz
>>> Unpacking source...
>>> Unpacking jss-3.4-src.tar.gz to /var/tmp/portage/jss-3.4/work
>>> Source unpacked.
../coreconf/config.mk:67: ../coreconf/Linux2.6.11.mk: Datei oder Verzeichnis
nicht gefunden
../coreconf/config.mk:167: Kein Dateiname für »-include«
make: *** No rule to make target ../coreconf/Linux2.6.11.mk.  Stop.
make: *** [../coreconf/Linux2.6.11.mk] Fehler 1


Expected Results:  
compile cleanly
Comment 2 Thomas Matthijs (RETIRED) gentoo-dev 2005-07-12 16:06:29 UTC
fixed
Comment 3 Michael Pawlowsky 2005-07-17 04:12:12 UTC
The same problem as described above except the kernel-version. I'm using 2.6.10
 See output:

../coreconf/config.mk:67: ../coreconf/Linux2.6.mk: No such file or directory
../coreconf/config.mk:167: no file name for `-include'
make: *** No rule to make target ../coreconf/Linux2.6.mk.  Stop.
make: *** [../coreconf/Linux2.6.mk] Error 1

Could you reopen the bug?
Comment 4 Roalt 2005-07-21 07:10:12 UTC
I've got the same problem here:

>>> md5 files   ;-) jss-3.4.ebuild
>>> md5 files   ;-) files/digest-jss-3.4
>>> md5 src_uri ;-) jss-3.4-src.tar.gz
>>> Unpacking source...
>>> Unpacking jss-3.4-src.tar.gz to /var/tmp/portage/jss-3.4/work
>>> Source unpacked.
../coreconf/config.mk:67: ../coreconf/Linux2.6.mk: No such file or directory
../coreconf/config.mk:167: no file name for `-include'
make: *** No rule to make target ../coreconf/Linux2.6.mk.  Stop.
make: *** [../coreconf/Linux2.6.mk] Error 1


I solved it by changing line 30 from /usr/portage/jss/jss-3.4.ebuild into:
    cp Linux2.5.mk Linux$(get_version_component_range 1-2 ${KV}).mk

(change the 1-3 to 1-2)
Comment 5 Thomas Matthijs (RETIRED) gentoo-dev 2005-07-21 07:52:47 UTC
learn to 'emerge sync' before reporting bugs