pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/36588: pkg-build-options.mk fails if no options were selected
>Number: 36588
>Category: pkg
>Synopsis: pkg-build-options.mk fails if no options were selected
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jul 01 17:30:00 +0000 2007
>Originator: Christoph Badura
>Release: NetBSD 3.1_STABLE
>Organization:
>Environment:
System: NetBSD nervous-energy 3.1_STABLE NetBSD 3.1_STABLE (nervous-energy) #0:
Thu May 31 00:43:41 MEST 2007
root@nervous-energy:/m/obj/m/src/sys/arch/i386/compile/nervous-energy i386
Architecture: i386
Machine: i386
pkgsrc as of 2007-07-01 17:00 CEST
>Description:
pkg-build-options.mk fails with the following error when a package was
built with no options selected.
The reason is that make cannot handle it when the command for a != operator
returns no output at all. AFAIK, this behaviour has been there about forever.
fails with the following error when a package was
built with no options selected.
The reason is that make cannot handle it when the command for a != operator
returns no output at all. AFAIK, this behaviour has been there about forever.
make:
"../../devel/pango/../../mk/../../devel/pango/../../mk/pkg-build-options.mk"
line 28: warning: Couldn't read shell's output for "/usr/sbin/pkg_info -K
/var/db/pkg -Q PKG_OPTIONS pango 2>/dev/null || { cd ../../devel/pango &&
/usr/bin/make LOWER_OPSYS=netbsd OBJMACHINE=1 _CC=/usr/bin/cc show-var
VARNAME=PKG_OPTIONS; }"
make:
"../../devel/pango/../../graphics/cairo/../../mk/../../devel/pango/../../graphics/cairo/../../mk/pkg-build-options.mk"
line 28: warning: Couldn't read shell's output for "/usr/sbin/pkg_info -K
/var/db/pkg -Q PKG_OPTIONS cairo 2>/dev/null || { cd ../../graphics/cairo &&
/usr/bin/make LOWER_OPSYS=netbsd OBJMACHINE=1 _CC=/usr/bin/cc
PKG_BUILD_OPTIONS.pango= show-var VARNAME=PKG_OPTIONS; }"
make:
"../../devel/libbonoboui/../../devel/libglade2/../../x11/gtk2/../../devel/pango/../../mk/../../devel/libbonoboui/../../devel/libglade2/../../x11/gtk2/../../devel/pango/../../mk/pkg-build-options.mk"
line 28: warning: Couldn't read shell's output for "/usr/sbin/pkg_info -K
/var/db/pkg -Q PKG_OPTIONS pango 2>/dev/null || { cd ../../devel/pango &&
/usr/bin/make _MAKE=/usr/bin/make OPSYS=NetBSD OS_VERSION=3.1_STABLE
LOWER_OS_VERSION=3.1_stable LOWER_OPSYS=netbsd _PKGSRCDIR=/m/pkgsrc
OBJMACHINE=1 PKGTOOLS_VERSION=20051122 PKG_BUILD_OPTIONS.gtk2=x11 show-var
VARNAME=PKG_OPTIONS; }"
make:
"../../devel/libbonoboui/../../devel/libglade2/../../x11/gtk2/../../devel/pango/../../graphics/cairo/../../mk/../../devel/libbonoboui/../../devel/libglade2/../../x11/gtk2/../../devel/pango/../../graphics/cairo/../../mk/pkg-build-options.mk"
line 28: warning: Couldn't read shell's output for "/usr/sbin/pkg_info -K
/var/db/pkg -Q PKG_OPTIONS cairo 2>/dev/null || { cd ../../graphics/cairo &&
/usr/bin/make _MAKE=/usr/bin/make OPSYS=NetBSD OS_VERSION=3.1_STABLE
LOWER_OS_VERSION=3.1_stable LOWER_OPSYS=netbsd _PKGSRCDIR=/m/pkgsrc
OBJMACHINE=1 PKGTOOLS_VERSION=20051122 PKG_BUILD_OPTIONS.gtk2=x11
PKG_BUILD_OPTIONS.pango= show-var VARNAME=PKG_OPTIONS; }"
>How-To-Repeat:
cd pkgsrc/devel/libgnomeui && make -n update 2>&1 | sed 4q
>Fix:
Maybe produce some dummy output as the first line and remove it from
the variable in a second step.
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index