Subject: pkg/33814: sysutils/dbus-glib fails to build on Solaris 10
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 06/24/2006 11:55:00
>Number:         33814
>Category:       pkg
>Synopsis:       sysutils/dbus-glib fails to build on Solaris 10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 24 11:55:00 +0000 2006
>Originator:     raymond
SunOS ultra10-lan 5.10 Generic_118822-25 sun4u sparc SUNW,Ultra-5_10

Created configuration file ./run-with-tmp-session-bus.conf
./ PATH=../bus:/opt/pkg.obj/sysutils/dbus-glib/work.ultra10-lan/.wrapper/bin:/opt/pkg.obj/sysutils/dbus-glib/work.ultra10-lan/.buildlink/bin:/opt/pkg.obj/sysutils/dbus-glib/work.ultra10-lan/.gcc/bin:/opt/pkg.obj/sysutils/dbus-glib/work.ultra10-lan/.tools/bin:/opt/pkg/bin:/usr/xpg4/bin:/usr/ccs/bin:/opt/pkg/bin:/opt/pkg/sbin:/opt/pkg/gcc3/bin:/opt/SUNWspro/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/opt/pkg/bin:/usr/openwin/bin: is not an identifier
gmake: *** [dbus-bus-introspect.xml] Error 1
*** Error code 2

bmake: stopped in /opt/pkgsrc/sysutils/dbus-glib
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /opt/pkg.obj/sysutils/dbus-glib/work.ultra10-lan/.work.log
*** Error code 1

bmake: stopped in /opt/pkgsrc/sysutils/dbus-glib
*** Error code 1


>Fix: script calls Solaris' /bin/sh which is not Posix compliant. Either have it call /bin/ksh or change invokations of the form:

export VAR=whatever


export VAR