pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/45600: sysutils/boxbackup-{client,server} build failure NetBSD 5 (and 4) (+FIX)
>Number: 45600
>Category: pkg
>Synopsis: sysutils/boxbackup-{client,server} build failure NetBSD 5 (and
>4) (+FIX)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 11 11:50:00 +0000 2011
>Originator: Robert Elz
>Release: NetBSD 5.0 (also NetBSD 4.0) (pkgsrc current 2011-11-11)
>Organization:
Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 5.1 NetBSD 5.1 (JADE-1.12-20101117) #5: Wed
Nov 17 05:30:55 ICT 2010
kre%jade.coe.psu.ac.th@localhost:/usr/obj/5.1/kernels/i386/JADE i386
Architecture: i386
Machine: i386
>Description:
The (package, not pkgsrc) Makefiles for sysutils/boxbackup-client
and sysutils/boxbackup use a make feature (-C) not found in
NetBSD 5 (or earlier) versions of make.
Why anyone would ever do
make -C docs htmlguide/man-html/bbackupd.html
instead of
cd docs && make htmlguide/man-html/bbackupd.html
which this package does, I don't want to attempt to contemplate.
It (along with the -C option to make) is just plain stupid, but
that's what it does...
>How-To-Repeat:
Use a NetBSD 5.0 or NetBSD 4.0 (or anything earlier) system to
attempt to build sysutils/boxbackup-client (or ...-server)
I use pkg_comp with NetBSD 5.0 (and/or NetBSD 4.0) sets installed
and libkver to properly (mostly) simulate the correct execution
environment.
(The NetBSD 5 uses X11_TYPE=native, NetBSD 4 uses X1_TYPE=modular,
bot use USE_DESTDIR=no .. none of that is relevant to this PR).
In that environment expect to see ...
mkdir -p parcels/boxbackup-0.11.1-backup-client-netbsdelf
cp -p LICENSE-GPL.txt parcels/boxbackup-0.11.1-backup-client-netbsdelf
mkdir -p parcels/boxbackup-0.11.1-backup-client-netbsdelf
cp -p LICENSE-DUAL.txt parcels/boxbackup-0.11.1-backup-client-netbsdelf
make -C docs htmlguide/man-html/bbackupd.html
usage: make [-BeikNnqrstWX] [-D variable] [-d flags] [-f makefile]
[-I directory] [-J private] [-j max_jobs] [-m directory] [-T file]
[-V variable] [variable=value] [target ...]
*** Error code 2
Stop.
make: stopped in
/pkg_comp/obj/pkgsrc/sysutils/boxbackup-client/5/boxbackup-0.11.1
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/sysutils/boxbackup-client
*** Error code 1
Stop.
>Fix:
Apply the patch below. Note this patch assumes that someone
actually takes the patch that's in PR 42704 (since Jan 2010)
and applies it... Without that, this patch won't help.
Adding patches/patch-* files to each package to remove the
uses of make -C would also fix the problem. Using gmake
would probably work as well (but I haven't tested either of
those methods, this one worked fine for me, I have the patch
from PR 42704 applied, and have had since Jan 2010...)
Note this patch applies in pkgsrc/sysutils as it patches the
Makefiles for both boxbackup-client and boxbackup-server.
Index: boxbackup-client/Makefile
===================================================================
RCS file: /cvsroot/NetBSD/pkgsrc/sysutils/boxbackup-client/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- boxbackup-client/Makefile 7 Nov 2011 12:04:34 -0000 1.7
+++ boxbackup-client/Makefile 11 Nov 2011 11:22:23 -0000
@@ -18,6 +18,7 @@
GNU_CONFIGURE= yes
USE_LANGUAGES= c++
USE_TOOLS+= perl:run
+USE_TOOLS+= bmake
REPLACE_PERL+= bin/bbackupd/bbackupd-config
Index: boxbackup-server/Makefile
===================================================================
RCS file: /cvsroot/NetBSD/pkgsrc/sysutils/boxbackup-server/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- boxbackup-server/Makefile 7 Nov 2011 12:05:17 -0000 1.7
+++ boxbackup-server/Makefile 11 Nov 2011 11:24:06 -0000
@@ -21,6 +21,7 @@
GNU_CONFIGURE= yes
USE_LANGUAGES= c++
USE_TOOLS+= perl:run
+USE_TOOLS+= bmake
REPLACE_PERL+= bin/bbstored/bbstored-certs bin/bbstored/bbstored-config
REPLACE_PERL+= lib/raidfile/raidfile-config
Home |
Main Index |
Thread Index |
Old Index