NetBSD Problem Report #32826

From www@netbsd.org  Mon Feb 13 21:11:12 2006
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 57F6B63B879; Mon, 13 Feb 2006 21:11:12 +0000 (UTC)
Message-Id: <20060213211112.57F6B63B879@narn.netbsd.org>
Date: Mon, 13 Feb 2006 21:11:12 +0000 (UTC)
From: jakerosoft@gmail.com
Reply-To: jakerosoft@gmail.com
To: gnats-bugs@netbsd.org
Subject: devel/gettext-tools SPARC Solaris, libtool Segmentation Fault
X-Send-Pr-Version: www-1.0

>Number:         32826
>Category:       pkg
>Synopsis:       devel/gettext-tools SPARC Solaris, libtool Segmentation Fault
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    rillig
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 13 21:15:00 +0000 2006
>Closed-Date:    Tue Feb 14 17:12:58 +0000 2006
>Last-Modified:  Wed Feb 15 10:25:00 +0000 2006
>Originator:     Jake Kupersmith
>Release:        CVS/pkgsrc
>Organization:
>Environment:
SunOS frylock 5.10 Generic_118822-25 sun4u sparc SUNW,Ultra-60
>Description:
libtool segfaults when trying to build gettext-tools.
This broke after the update to gettext-0.14.5.   I currently have libtool-base-1.5.22nb1 installed.
>How-To-Repeat:
cd /usr/pkgsrc/devel/gettext-tools; bmake

....

/bin/ksh ../libtool --tag=CC --mode=link cc  -O -xtarget=ultra -xarch=v8plus -D__FUNCTION__=__func__ -I/usr/local/include   -L/usr/local/lib -Wl,-R/usr/local/lib -o libgettextpo.la -rpath /usr/local/lib -version-info 1:0:1  -rpath /usr/local/lib  libgettextsrc.la ../lib/libgettextlib.la   -lc -no-undefined gettext-po.lo  -lintl -liconv
/var/db/work/devel/gettext-tools/work/.wrapper/bin/libtool[63]: 13319 Segmentation Fault(coredump)
*** Error code 139

Stop.
bmake: stopped in /var/db/work/devel/gettext-tools/work/gettext-0.14.5/gettext-tools/src
*** Error code 1
>Fix:

>Release-Note:

>Audit-Trail:
From: Roland Illig <rillig@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/32826: devel/gettext-tools SPARC Solaris, libtool Segmentation
 Fault
Date: Tue, 14 Feb 2006 01:38:30 +0100

 jakerosoft@gmail.com wrote:
 > /bin/ksh ../libtool --tag=CC ...
 > /var/db/work/devel/gettext-tools/work/.wrapper/bin/libtool[63]: 13319 Segmentation Fault(coredump)
 > *** Error code 139

 Using a different shell instead of /bin/ksh made this bug go away for 
 me. You may add CONFIG_SHELL=${LOCALBASE}/bin/bash to your mk.conf file.

 Roland

From: Jake Kupersmith <jakerosoft@gmail.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org,
	pkgsrc-bugs@netbsd.org
Subject: Re: pkg/32826: devel/gettext-tools SPARC Solaris, libtool Segmentation Fault
Date: Tue, 14 Feb 2006 01:11:43 -0500

 This fixed it.  Thanks for the help.

 Jake

 On 2/13/06, Roland Illig <rillig@netbsd.org> wrote:
 > The following reply was made to PR pkg/32826; it has been noted by GNATS.
 >
 > From: Roland Illig <rillig@NetBSD.org>
 > To: gnats-bugs@netbsd.org
 > Cc:
 > Subject: Re: pkg/32826: devel/gettext-tools SPARC Solaris, libtool Segmen=
 tation
 >  Fault
 > Date: Tue, 14 Feb 2006 01:38:30 +0100
 >
 >  jakerosoft@gmail.com wrote:
 >  > /bin/ksh ../libtool --tag=3DCC ...
 >  > /var/db/work/devel/gettext-tools/work/.wrapper/bin/libtool[63]: 13319 =
 Segmentation Fault(coredump)
 >  > *** Error code 139
 >
 >  Using a different shell instead of /bin/ksh made this bug go away for
 >  me. You may add CONFIG_SHELL=3D${LOCALBASE}/bin/bash to your mk.conf fil=
 e.
 >
 >  Roland
 >
 >

From: Roland Illig <rillig@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/32826 CVS commit: pkgsrc/doc/guide/files
Date: Tue, 14 Feb 2006 10:12:40 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	rillig
 Date:		Tue Feb 14 10:12:40 UTC 2006

 Modified Files:
 	pkgsrc/doc/guide/files: platforms.xml

 Log Message:
 Documented the broken /bin/ksh on Solaris (Fixes PR 32826). Compressed some
 simple itemizations.


 To generate a diff of this commit:
 cvs rdiff -r1.25 -r1.26 pkgsrc/doc/guide/files/platforms.xml

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

From: Krzysztof Raczkowski <raczkow@prz.edu.pl>
To: pkgsrc-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/32826: devel/gettext-tools SPARC Solaris, libtool Segmentation Fault
Date: Tue, 14 Feb 2006 10:55:04 +0100

 Roland Illig napisa=B3:
 >  jakerosoft@gmail.com wrote:
 >  > /bin/ksh ../libtool --tag=3DCC ...
 >  > /var/db/work/devel/gettext-tools/work/.wrapper/bin/libtool[63]: 13=
 319
 >  > Segmentation Fault(coredump) *** Error code 139
 > =20
 >  Using a different shell instead of /bin/ksh made this bug go away fo=
 r
 >  me. You may add CONFIG_SHELL=3D${LOCALBASE}/bin/bash to your mk.conf=
  file.

 doesn't work on me. After setting CONFIG_SHELL=3D/usr/bin/bash I still =
 get
 Segmentation Fault:

 /usr/bin/bash ../libtool --tag=3DCC [...]
 /usr/pkgsrc/devel/gettext-tools/work.pkgsrc-i64/.wrapper/bin/libtool[63=
 ]:
 17305 Segmentation Fault(coredump)
 *** Error code 139

 --=20
 Krzysztof Raczkowski
 raczkow@prz.edu.pl

Responsible-Changed-From-To: pkg-manager->rillig
Responsible-Changed-By: rillig@netbsd.org
Responsible-Changed-When: Tue, 14 Feb 2006 13:43:41 +0000
Responsible-Changed-Why:
I'll take it.


State-Changed-From-To: open->closed
State-Changed-By: rillig@netbsd.org
State-Changed-When: Tue, 14 Feb 2006 17:12:58 +0000
State-Changed-Why:

The previous fix wouldn't work in all cases. As the segmentation fault
occurs in a shell program that is invoked via the WRAPPER_SHELL, defi-
ning that variable to a sane shell fixes the problem.


From: Jake Kupersmith <jakerosoft@gmail.com>
To: Krzysztof Raczkowski <raczkow@prz.edu.pl>
Cc: pkgsrc-bugs@netbsd.org
Subject: Re: pkg/32826: devel/gettext-tools SPARC Solaris, libtool Segmentation Fault
Date: Tue, 14 Feb 2006 15:40:05 -0500

 Just to make sure,  Did you rebuild libtool after updating
 CONFIG_SHELL?  That is what stopped the error for me.

 Jake

 On 2/14/06, Krzysztof Raczkowski <raczkow@prz.edu.pl> wrote:
 >  doesn't work on me. After setting CONFIG_SHELL=3D3D/usr/bin/bash I still=
  =3D
 >  get
 >  Segmentation Fault:

From: Roland Illig <rillig@NetBSD.org>
To: Jake Kupersmith <jakerosoft@gmail.com>
Cc: Krzysztof Raczkowski <raczkow@prz.edu.pl>, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/32826: devel/gettext-tools SPARC Solaris, libtool Segmentation
 Fault
Date: Tue, 14 Feb 2006 22:21:59 +0100

 Jake Kupersmith wrote:
 > Just to make sure,  Did you rebuild libtool after updating
 > CONFIG_SHELL?  That is what stopped the error for me.
 > 
 > Jake

 Yes, and I did a manual "grep ksh $LOCALBASE/bin/libtool", just to be 
 sure that it was really gone.

 Roland

From: Krzysztof Raczkowski <raczkow@prz.edu.pl>
To: pkgsrc-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/32826: devel/gettext-tools SPARC Solaris, libtool Segmentation Fault
Date: Wed, 15 Feb 2006 10:36:09 +0100

 Jake Kupersmith napisa=B3:

 >  Just to make sure,  Did you rebuild libtool after updating
 >  CONFIG_SHELL?  That is what stopped the error for me.

 No, i didn't. After rebuilding libtool, gettext-tools install fine.

 --=20
 Krzysztof Raczkowski
 raczkow@prz.edu.pl

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.