Subject: pkg/35019: ${exec_prefix} not properly expanded in sysutils/dbus
To: None <,,>
From: Hauke Fath <>
List: pkgsrc-bugs
Date: 11/08/2006 14:35:00
>Number:         35019
>Category:       pkg
>Synopsis:       ${exec_prefix} not properly expanded in sysutils/dbus
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 08 14:35:00 +0000 2006
>Originator:     Hauke Fath <>
>Release:        NetBSD 3.1_STABLE / pkgsrc-2006Q3
System: NetBSD Hochstuhl 3.1_STABLE NetBSD 3.1_STABLE (HOCHSTUHL) #0: Wed Nov 1 14:06:32 CET 2006 hf@Hochstuhl:/var/obj/netbsd-builds/3/i386/sys/arch/i386/compile/HOCHSTUHL i386
Architecture: i386
Machine: i386

	When starting Evolution 2.8 from a pkgsrc-2006Q3 build, I get
	a console message (among others...) about missing D-Bus
	support. A " ktrace -di dbus-launch --auto-syntax
	--exit-with-session" results in something like

  3367 dbus-launch CALL  execve(0x804a9c0,0xbfbfe244,0xbfbfe5d0)
  3367 dbus-launch NAMI  "${exec_prefix}/bin/dbus-daemon"
  3367 dbus-launch RET   execve -1 errno 2 No such file or directory

indicating that ${exec_prefix} was not expanded during the build.

A 'make configure' gives

config.status: creating config.h
config.status: executing depfiles commands

                    D-Bus 0.92

        prefix:                   /usr/pkg
>>>     exec_prefix:              ${prefix}
        libdir:                   /usr/pkg/lib
        bindir:                   /usr/pkg/bin
        sysconfdir:               /etc/pkg/dbus-1
        localstatedir:            /var
        datadir:                  /usr/pkg/share

I did not see any substantial changes on the trunk, but did not try to
build the package there.