Subject: pkg/33349: graphics/Coin break solaris hostname
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 04/24/2006 14:50:00
>Number:         33349
>Category:       pkg
>Synopsis:       graphics/Coin break solaris hostname
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 24 14:50:00 +0000 2006
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc


>Description:


[root@u2 1157] hostname       
u2.enst.fr
[root@u2 1158] bmake configure
===> Overriding tools for Coin-2.4.4nb2
===> Creating toolchain wrappers for Coin-2.4.4nb2
===> Configuring for Coin-2.4.4nb2
...
  GLU linkage:                  run-time binding
  Installation prefix:          /usr/pkg

[root@u2 1159] hostname
-d
[root@u2 1160]


>How-To-Repeat:


bmake configure in Coin


>Fix:


[root@u2 1364] less patches/patch-da 
--- configure.orig      Fri Mar 24 12:05:17 2006
+++ configure   Fri Mar 24 12:19:16 2006
@@ -25221,7 +25221,7 @@
 
 echo "$as_me:$LINENO: checking if user is simian" >&5
 echo $ECHO_N "checking if user is simian... $ECHO_C" >&6
-case `hostname -d 2>/dev/null || domainname 2>/dev/null || hostname` in
+case `domainname 2>/dev/null || hostname` in
 *.sim.no | sim.no )
   sim_ac_simian=true
   ;;
[root@u2 1365]