Subject: Problem with emul/linux on netbsd3.1 i386
To: pkgsrc-users@netbsd.org <pkgsrc-users@netbsd.org>
From: Loic Hoguin <essen@dev-extend.eu>
List: pkgsrc-users
Date: 05/03/2007 23:05:54
Hello,
I don't know where exactly but the Linux packages installed
in /emul/linux/linux instead of /emul/linux on this machine:
% uname -a
NetBSD ********* 3.1.0_PATCH NetBSD 3.1.0_PATCH (EXTEND)
#1: Sun Dec 3 06:00:56 CET 2006
********:/usr/obj/sys/arch/i386/compile/EXTEND i386
I had this error while compiling lang/sun-jre15 which gave me an error
similar to pkg/29700 but maybe not related.
% sudo make ALLOW_VULNERABLE_PACKAGES=1
=> Required installed package digest>=20010302: digest-20060826 found
=> Checksum SHA1 OK for jre-1_5_0_11-linux-i586.bin
=> Checksum RMD160 OK for jre-1_5_0_11-linux-i586.bin
===> Installing dependencies for sun-jre15-5.0.11
==========================================================================
The supported build options for sun-jre15 are:
sun-jre-jce
You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable. Its current value is shown:
PKG_OPTIONS.sun-jre15 (not defined)
==========================================================================
=> Required installed package digest>=20010302: digest-20060826 found
=> Required installed package suse_compat-[0-9]*: suse_compat-10.0nb2 found
=> Required installed package suse_compat-[0-9]*: suse_compat-10.0nb2 found
=> Required installed package suse_x11-[0-9]*: suse_x11-10.0nb2 found
=> Required installed package suse_x11-[0-9]*: suse_x11-10.0nb2 found
===> Overriding tools for sun-jre15-5.0.11
===> Extracting for sun-jre15-5.0.11
./install.sfx.28008: 1: Syntax error: "(" unexpected
cd: can't cd to jre1.5.0_11
/bin/mkdir -p /usr/pkgsrc/lang/sun-jre15/work/jre1.5.0_11/.systemPrefs
/usr/bin/touch
/usr/pkgsrc/lang/sun-jre15/work/jre1.5.0_11/.systemPrefs/.system.lock
/usr/bin/touch
/usr/pkgsrc/lang/sun-jre15/work/jre1.5.0_11/.systemPrefs/.systemRootModFile
===> Patching for sun-jre15-5.0.11
===> Creating toolchain wrappers for sun-jre15-5.0.11
===> Configuring for sun-jre15-5.0.11
=> Checking for portability problems in extracted files
cd /usr/pkgsrc/lang/sun-jre15/work/jre1.5.0_11/lib; for file in
content-types.properties flavormap.properties fontconfig.RedHat.2.1.bfc
fontconfig.RedHat.2.1.properties.src fontconfig.RedHat.3.bfc
fontconfig.RedHat.3.properties.src fontconfig.RedHat.8.0.bfc
fontconfig.RedHat.8.0.properties.src fontconfig.RedHat.9.0.bfc
fontconfig.RedHat.9.0.properties.src fontconfig.RedHat.bfc
fontconfig.RedHat.properties.src fontconfig.SuSE.bfc
fontconfig.SuSE.properties.src fontconfig.Sun.2003.bfc
fontconfig.Sun.2003.properties.src fontconfig.Sun.bfc
fontconfig.Sun.properties.src fontconfig.Turbo.8.0.bfc
fontconfig.Turbo.8.0.properties.src fontconfig.Turbo.bfc
fontconfig.Turbo.properties.src fontconfig.bfc fontconfig.properties.src
i386/jvm.cfg images/cursors/cursors.properties javaws/messages.properties
javaws/messages_zh_TW.properties javaws/messages_de.properties
javaws/messages_es.properties javaws/messages_fr.properties
javaws/messages_it.properties javaws/messages_ja.properties
javaws/messages_ko.properties javaws/messages_sv.properties
javaws/messages_zh_CN.properties javaws/messages_zh_HK.properties
logging.properties management/management.properties net.properties
psfont.properties.ja psfontj2d.properties security/java.security
sound.properties; do /bin/mv -f $file
$file.default; done
cd: can't cd to /usr/pkgsrc/lang/sun-jre15/work/jre1.5.0_11/lib
mv: rename content-types.properties to content-types.properties.default:
No such file or directory
mv: rename flavormap.properties to flavormap.properties.default: No such
file or directory
mv: rename fontconfig.RedHat.2.1.bfc to fontconfig.RedHat.2.1.bfc.default:
No such file or directory
mv: rename fontconfig.RedHat.2.1.properties.src to
fontconfig.RedHat.2.1.properties.src.default: No such file or directory
mv: rename fontconfig.RedHat.3.bfc to fontconfig.RedHat.3.bfc.default: No
such file or directory
mv: rename fontconfig.RedHat.3.properties.src to
fontconfig.RedHat.3.properties.src.default: No such file or directory
mv: rename fontconfig.RedHat.8.0.bfc to fontconfig.RedHat.8.0.bfc.default:
No such file or directory
mv: rename fontconfig.RedHat.8.0.properties.src to
fontconfig.RedHat.8.0.properties.src.default: No such file or directory
mv: rename fontconfig.RedHat.9.0.bfc to fontconfig.RedHat.9.0.bfc.default:
No such file or directory
mv: rename fontconfig.RedHat.9.0.properties.src to
fontconfig.RedHat.9.0.properties.src.default: No such file or directory
mv: rename fontconfig.RedHat.bfc to fontconfig.RedHat.bfc.default: No such
file or directory
mv: rename fontconfig.RedHat.properties.src to
fontconfig.RedHat.properties.src.default: No such file or directory
mv: rename fontconfig.SuSE.bfc to fontconfig.SuSE.bfc.default: No such
file or directory
mv: rename fontconfig.SuSE.properties.src to
fontconfig.SuSE.properties.src.default: No such file or directory
mv: rename fontconfig.Sun.2003.bfc to fontconfig.Sun.2003.bfc.default: No
such file or directory
mv: rename fontconfig.Sun.2003.properties.src to
fontconfig.Sun.2003.properties.src.default: No such file or directory
mv: rename fontconfig.Sun.bfc to fontconfig.Sun.bfc.default: No such file
or directory
mv: rename fontconfig.Sun.properties.src to
fontconfig.Sun.properties.src.default: No such file or directory
mv: rename fontconfig.Turbo.8.0.bfc to fontconfig.Turbo.8.0.bfc.default:
No such file or directory
mv: rename fontconfig.Turbo.8.0.properties.src to
fontconfig.Turbo.8.0.properties.src.default: No such file or directory
mv: rename fontconfig.Turbo.bfc to fontconfig.Turbo.bfc.default: No such
file or directory
mv: rename fontconfig.Turbo.properties.src to
fontconfig.Turbo.properties.src.default: No such file or directory
mv: rename fontconfig.bfc to fontconfig.bfc.default: No such file or
directory
mv: rename fontconfig.properties.src to fontconfig.properties.src.default:
No such file or directory
mv: rename i386/jvm.cfg to i386/jvm.cfg.default: No such file or directory
mv: rename images/cursors/cursors.properties to
images/cursors/cursors.properties.default: No such file or directory
mv: rename javaws/messages.properties to
javaws/messages.properties.default: No such file or directory
mv: rename javaws/messages_zh_TW.properties to
javaws/messages_zh_TW.properties.default: No such file or directory
mv: rename javaws/messages_de.properties to
javaws/messages_de.properties.default: No such file or directory
mv: rename javaws/messages_es.properties to
javaws/messages_es.properties.default: No such file or directory
mv: rename javaws/messages_fr.properties to
javaws/messages_fr.properties.default: No such file or directory
mv: rename javaws/messages_it.properties to
javaws/messages_it.properties.default: No such file or directory
mv: rename javaws/messages_ja.properties to
javaws/messages_ja.properties.default: No such file or directory
mv: rename javaws/messages_ko.properties to
javaws/messages_ko.properties.default: No such file or directory
mv: rename javaws/messages_sv.properties to
javaws/messages_sv.properties.default: No such file or directory
mv: rename javaws/messages_zh_CN.properties to
javaws/messages_zh_CN.properties.default: No such file or directory
mv: rename javaws/messages_zh_HK.properties to
javaws/messages_zh_HK.properties.default: No such file or directory
mv: rename logging.properties to logging.properties.default: No such file
or directory
mv: rename management/management.properties to
management/management.properties.default: No such file or directory
mv: rename net.properties to net.properties.default: No such file or
directory
mv: rename psfont.properties.ja to psfont.properties.ja.default: No such
file or directory
mv: rename psfontj2d.properties to psfontj2d.properties.default: No such
file or directory
mv: rename security/java.security to security/java.security.default: No
such file or directory
mv: rename sound.properties to sound.properties.default: No such file or
directory
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/sun-jre15
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/sun-jre15
After searching for a while I found that my linux binaries were in the
wrong
folder... so I moved them one level up and the make command succeeded.
However I haven't found why they were installed there. I suppose something
went
wrong in the last changes of the suse100 packages (which included support
for
32+64bit on amd64) but I couldn't find the error.
Also, they were installed as dependencies of the lang/sun-jre15 package,
but
I don't know if it can have interfered...
Any thoughts?
Greetings,
--
Loïc Hoguin
Dev:Extend