Subject: Re: pkg/32955 (hobbitmon package exits configure when using bash
To: None <gnats-bugs@netbsd.org>
From: rudolf <netbsd@eq.cz>
List: pkgsrc-bugs
Date: 03/01/2006 12:22:20
Emmanuel Dreyfus wrote:
> The following reply was made to PR pkg/32955; it has been noted by GNATS.
> 
> From: manu@netbsd.org (Emmanuel Dreyfus)
> To: gnats-bugs@netbsd.org, pkg-manager@netbsd.org,
> 	pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org, wiz@netbsd.org,
> 	netbsd@eq.cz
> Cc: 
> Subject: Re: pkg/32955 (hobbitmon package exits configure when using bash as shell)
> Date: Wed, 1 Mar 2006 09:15:11 +0100
> 
>  <wiz@netbsd.org> wrote:
>  
>  > Synopsis: hobbitmon package exits configure when using bash as shell
>  > 
>  > Responsible-Changed-From-To: pkg-manager->manu
>  > Responsible-Changed-By: wiz@netbsd.org
>  > Responsible-Changed-When: Tue, 28 Feb 2006 21:26:49 +0000
>  > Responsible-Changed-Why:
>  > Over to maintainer.
>  
>  That's not a bug report for NetBSD: /bin/sh as a hard link to /bin/bash
>  is a Linux thing.

Right, it's a bug report for pkgsrc and according to documentation, 
Linux is supported by pkgsrc.

>  
>  Moreover, I cannot reproduce the problem by replacing my /bin/sh by a
>  bash: everything works fine.  
>  
>  I use bash-3.0pl16nb2

# cd /usr/pkgsrc/net/hobbitmon
# make install

[...]

===> Registering installation for apache-1.3.34nb1
apache-1.3.34nb1 requires installed package expat-1.95.8nb2
apache-1.3.34nb1 requires installed package libmm-1.4.0
===> Returning to build of hobbit-4.0b6nb2
===> Patching for hobbit-4.0b6nb2
===> Applying pkgsrc patches for hobbit-4.0b6nb2
===> Overriding tools for hobbit-4.0b6nb2
===> Creating toolchain wrappers for hobbit-4.0b6nb2
===> Configuring for hobbit-4.0b6nb2

Configuration script for Hobbit

./configure: line 222: syntax error near unexpected token `fi'
./configure: line 222: `                fi'
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/net/hobbitmon
===>
===> There was an error during the ``configure'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/net/hobbitmon/work/.work.log
===>
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/hobbitmon
# uname -a
NetBSD my.name 3.0 NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005 
 
builds@works.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/i386/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/i386/compile/GENERIC 
i386
# ls -l /bin/sh*
-r-xr-xr-x  1 root  wheel  555032 Mar  1 11:58 /bin/sh
-r-xr-xr-x  1 root  wheel  131139 Mar  1 11:58 /bin/sh.orig
# /bin/sh --version
GNU bash, version 3.00.16(1)-release (i386--netbsdelf)
Copyright (C) 2004 Free Software Foundation, Inc.

- it's copy of /usr/pkg/bin/bash from pkgsrc package bash-3.0pl16nb3

Regards,

r.