pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48175: "suse121_base" package doesn't handle "SUSE_COMPAT32" correctly



>Number:         48175
>Category:       pkg
>Synopsis:       "suse121_base" package doesn't handle "SUSE_COMPAT32" correctly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 03 11:20:00 +0000 2013
>Originator:     Matthias Scheler
>Release:        NetBSD 6.1_STABLE pkgsrc HEAD from 2013-09-03
>Organization:
Matthias Scheler                                  http://zhadum.org.uk/
>Environment:
System: NetBSD colwyn.zhadum.org.uk 6.1_STABLE NetBSD 6.1_STABLE (COLWYN.64) 
#0: Sat Aug 10 13:03:38 BST 2013 
tron%colwyn.zhadum.org.uk@localhost:/src/sys/compile/COLWYN.64 amd64
Architecture: x86_64
Machine: amd64

>Description:
I've just built the "suse32_base-12.1nb5" package on mysystem. It however
contains x86_64 and not i386 binaries:

tron@colwyn:/usr/pkgsrc/emulators/suse121_base>file /usr/pkg/emul/linux/bin/bash

/usr/pkg/emul/linux/bin/bash: ELF 64-bit LSB executable, x86-64, version 1 
(SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, 
BuildID[sha1]=0x044101513d2a752c3cad845b6e6e8650dff4d30c, stripped
tron@colwyn:/usr/pkgsrc/emulators/suse121_base>pkg_info -F 
/usr/pkg/emul/linux/bin/bash
Information for suse32_base-12.1nb5:

Comment:
Linux 32-bit compatibility package

Description:
Linux compatibility package based on the openSUSE Linux distribution.
Please visit http://www.opensuse.org/ for more information about openSUSE
Linux.

This package supports running ELF binaries linked with glibc2 that
don't require X11 shared libraries.

Homepage:
http://www.opensuse.org/

Install notice:
===========================================================================
$NetBSD: MESSAGE.NetBSD,v 1.1.1.1 2012/03/21 13:35:50 obache Exp $

Do not forget to include COMPAT_LINUX in your kernel configuration file.
Linux binaries require this option in order to work.

Most Linux binaries also require procfs to be mounted with -o linux.
This can be automated by adding the following to your /etc/fstab:

procfs /emul/linux/proc procfs ro,linux

Some Linux binaries also require tmpfs to be mounted on /dev/shm.
This can be automated by adding the following to your /etc/fstab:

tmpfs /emul/linux/dev/shm tmpfs rw,-m1777

===========================================================================


tron@colwyn:/usr/pkgsrc/emulators/suse121_base>file /usr/pkg/emul/linux/bin/bash
/usr/pkg/emul/linux/bin/bash: ELF 64-bit LSB executable, x86-64, version 1 
(SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, 
BuildID[sha1]=0x044101513d2a752c3cad845b6e6e8650dff4d30c, stripped
tron@colwyn:/usr/pkgsrc/emulators/suse121_base>make list | grep libc.so
/usr/pkg/emul/linux/lib64/libc.so.6


>How-To-Repeat:
cd pkgsrc/emulators/suse121_base
make SUSE_COMPAT32=yes bin-install

>Fix:
Not known.



Home | Main Index | Thread Index | Old Index