NetBSD Problem Report #48558

From ignatios@random84.cs.uni-bonn.de  Wed Jan 29 09:35:25 2014
Return-Path: <ignatios@random84.cs.uni-bonn.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 99343A648C
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 29 Jan 2014 09:35:25 +0000 (UTC)
Message-Id: <20140129093518.4BA0F5C449@postfix.iai.uni-bonn.de>
Date: Wed, 29 Jan 2014 10:35:18 +0100 (MET)
From: ignatios@cs.uni-bonn.de
Reply-To: ignatios@cs.uni-bonn.de
To: gnats-bugs@gnats.NetBSD.org
Subject: suse131_32_base ldconfig dumps core
X-Send-Pr-Version: 3.95

>Number:         48558
>Category:       kern
>Synopsis:       suse131_32_base ldconfig dumps core
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    chs
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 29 09:40:01 +0000 2014
>Last-Modified:  Tue Feb 04 08:58:15 +0000 2014
>Originator:     ignatios@cs.uni-bonn.de
>Release:        NetBSD 6.1.2_PATCH
>Organization:

>Environment:


System: NetBSD random84.cs.uni-bonn.de 6.1.2_PATCH NetBSD 6.1.2_PATCH (GENERIC) #4: Fri Jan 3 18:26:45 CET 2014 ignatios@random84.cs.uni-bonn.de:/var/itch/sources/6.1/oamd64/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	When building suse131_32_locale, ldconfig dumps core.
>How-To-Repeat:
	cd /usr/pkgsrc/emulatores/suse131_32_locale; make
>Fix:
	workaround: use suse121_32_... but its EOLed.

>Release-Note:

>Audit-Trail:
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/48558: suse131_32_base ldconfig dumps core
Date: Wed, 29 Jan 2014 10:44:43 +0100

 On Wed, Jan 29, 2014 at 09:40:01AM +0000, gnats-admin@netbsd.org wrote:

 > >Category:       pkg
 > >Responsible:    pkg-manager
 > >Synopsis:       suse131_32_base ldconfig dumps core
 > >Arrival-Date:   Wed Jan 29 09:40:01 +0000 2014

 Just tested: same problem for suse131_base ldconfig (64bit).

 	-is

From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/48558: suse131_32_base ldconfig dumps core
Date: Wed, 29 Jan 2014 12:23:39 +0100

 In case this matters:

 Build-host:

 random84# grep cpu /var/run/dmesg.boot 
 cpu0 at mainbus0 apid 0: AMD Opteron(tm) Processor 152, id 0x20f71
 acpicpu0 at cpu0: ACPI CPU
 acpicpu0: C1: HLT, lat   0 us, pow     0 mW
 acpicpu0: P0: FFH, lat 100 us, pow 104000 mW, 2600 MHz
 acpicpu0: P1: FFH, lat 100 us, pow 101600 mW, 2400 MHz
 acpicpu0: P2: FFH, lat 100 us, pow 86300 mW, 2200 MHz
 acpicpu0: P3: FFH, lat 100 us, pow 73200 mW, 2000 MHz
 acpicpu0: P4: FFH, lat 100 us, pow 62100 mW, 1800 MHz
 acpicpu0: P5: FFH, lat 100 us, pow 41900 mW, 1000 MHz

 Target host:

 random85# grep cpu /var/run/dmesg.boot 
 cpu0 at mainbus0 apid 0: AMD Opteron(tm) Processor 148, id 0x20f71
 acpicpu0 at cpu0: ACPI CPU
 acpicpu0: C1: HLT, lat   0 us, pow     0 mW
 acpicpu0: P0: FFH, lat 100 us, pow 85300 mW, 2200 MHz
 acpicpu0: P1: FFH, lat 100 us, pow 83000 mW, 2000 MHz
 acpicpu0: P2: FFH, lat 100 us, pow 70400 mW, 1800 MHz
 acpicpu0: P3: FFH, lat 100 us, pow 36100 mW, 1000 MHz

From: Chuck Silvers <chuq@chuq.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/48558: suse131_32_base ldconfig dumps core
Date: Wed, 29 Jan 2014 07:59:36 -0800

 On Wed, Jan 29, 2014 at 09:40:01AM +0000, ignatios@cs.uni-bonn.de wrote:
 > 	When building suse131_32_locale, ldconfig dumps core.

 suse 13.1 binaries aren't going to work very well on any existing netbsd release,
 so far only -current has the necessary enhancements to the compat_linux{,32} code.

 -Chuck

From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org,
	pkgsrc-bugs@netbsd.org
Subject: Re: pkg/48558: suse131_32_base ldconfig dumps core
Date: Wed, 29 Jan 2014 17:49:03 +0100

 On Wed, Jan 29, 2014 at 04:00:01PM +0000, Chuck Silvers wrote:

 > suse 13.1 binaries aren't going to work very well on any existing
 > netbsd release,  so far only -current has the necessary enhancements
 > to the compat_linux{,32} code.

 Maybe it should be NOT_FOR'd then?

 And, does this explain why it works at a fellow sysadmin's  machine with

 cpu0 at mainbus0 apid 16: AMD Opteron(tm) Processor 4226                 , id
 0x600f12 

 6.1_STABLE(shortly after 6.1.2)/amd64 ?

 	-is

From: "OBATA Akio" <obata@lins.jp>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/48558: suse131_32_base ldconfig dumps core
Date: Thu, 30 Jan 2014 09:15:55 +0900

 On Thu, 30 Jan 2014 01:50:00 +0900, Ignatios Souvatzis <ignatios@cs.uni-bonn.de> wrote:

 >  On Wed, Jan 29, 2014 at 04:00:01PM +0000, Chuck Silvers wrote:
 > > suse 13.1 binaries aren't going to work very well on any existing
 >  > netbsd release,  so far only -current has the necessary enhancements
 >  > to the compat_linux{,32} code.
 > Maybe it should be NOT_FOR'd then?

 works fine on NetBSD-6.*-i386, but not on amd64.

 -- 
 OBATA Akio / obata@lins.jp

From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/48558 CVS commit: pkgsrc/emulators/suse131_linux
Date: Thu, 30 Jan 2014 12:04:13 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Thu Jan 30 12:04:13 UTC 2014

 Modified Files:
 	pkgsrc/emulators/suse131_linux: Makefile.common

 Log Message:
 suse 13.1 is known as not worked with NetBSD/amd64 6.x relase, per PR pkg/48558.


 To generate a diff of this commit:
 cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/suse131_linux/Makefile.common

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org,
	pkgsrc-bugs@netbsd.org
Subject: Re: PR/48558 CVS commit: pkgsrc/emulators/suse131_linux
Date: Fri, 31 Jan 2014 11:54:25 +0100

 Hi,

 On Thu, Jan 30, 2014 at 12:05:01PM +0000, OBATA Akio wrote:

 >  Log Message:
 >  suse 13.1 is known as not worked with NetBSD/amd64 6.x relase, per PR pkg/48558.
 >  
 >  
 >  To generate a diff of this commit:
 >  cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/suse131_linux/Makefile.common

 (ONLY_FOR_PLATFORM...)

 I'm not so sure this is the whole story. I've booted my build
 machine with a 6.99.30 kernel (after working around #47290), and
 see the same error:

 ===> Install binary package of suse32_base-13.1
 suse32_base-13.1: rebuilding run-time library search paths database
 [1]   Segmentation fault      (/usr/pkg/emul/l...
 suse32_base-13.1: populating /usr/pkg/emul/linux32/dev
 ...
 ===> Install binary package of suse32_compat-13.1
 suse32_compat-13.1: rebuilding run-time library search paths database
 [1]   Segmentation fault      (/usr/pkg/emul/l...
 => Returning to build of tsm-6.2.5
 ...
 suse32_locale-13.1: rebuilding run-time library search paths database
 [1]   Segmentation fault      (/usr/pkg/emul/l...
 => Returning to build of tsm-6.2.5
 ...
 and after installing tsm, I see

 pkg_comp:64bit61-13q4.conf# dsmc
 dsmc: error while loading shared libraries: libgpfs.so: cannot open shared object file: No such file or directory

 while libgpfs.so is installed:

 pkg_comp:64bit61-13q4.conf# pkg_info -L tsm | grep gpfs
 /usr/pkg/emul/linux32/opt/tivoli/tsm/client/api/bin/libgpfs.so

 and mentioned in ld.so.conf

 pkg_comp:64bit61-13q4.conf# cat /emul/linux32/etc/ld.so.conf.d/tsm.conf      
 /opt/tivoli/tsm/client/ba/bin
 /opt/tivoli/tsm/client/api/bin

 Regards,
 	-is

Responsible-Changed-From-To: pkg-manager->chs
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Tue, 04 Feb 2014 08:58:15 +0000
Responsible-Changed-Why:
COMPAT_LINUX issue


>Unformatted:


 		pkgsrc-2013Q4

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.