b48d57432b
=> Checksum SHA1 OK for bup-0.32.tar.gz => Checksum RMD160 OK for bup-0.32.tar.gz => Checksum SHA512 OK for bup-0.32.tar.gz => Checksum SHA1 OK for bup-man-3ba5796ca63d291c8389ffae8db9e69c65787b36.tar.gz => Checksum RMD160 OK for bup-man-3ba5796ca63d291c8389ffae8db9e69c65787b36.tar.gz => Checksum SHA512 OK for bup-man-3ba5796ca63d291c8389ffae8db9e69c65787b36.tar.gz work -> /tmp/work/sysutils/bup/work ===> Installing dependencies for bup-0.32 ========================================================================== The supported build options for bup are: fuse You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.bup (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, bup-0.32. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 38 Based on these variables, the following variables have been set: * PYPACKAGE = python27 * TERMCAP_TYPE = termcap You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency bash-[0-9]*: found bash-5.1.4 => Tool dependency gmake>=3.81: found gmake-4.2.1nb1 => Tool dependency ccache-[0-9]*: found ccache-3.7.12 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency rsync-[0-9]*: found rsync-3.2.3 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency par2-[0-9]*: found par2-0.8.1 => Full dependency py27-tornado-[0-9]*: found py27-tornado-5.1.1 => Full dependency git-base-[0-9]*: found git-base-2.30.1 => Full dependency perl>=5.0: found perl-5.32.1 => Full dependency readline>=6.0: found readline-8.1 => Full dependency python27>=2.7.1nb2: found python27-2.7.18nb3 ===> Checking for vulnerabilities in bup-0.32 ===> Overriding tools for bup-0.32 ===> Extracting for bup-0.32 ===> Patching for bup-0.32 => Applying pkgsrc patches for bup-0.32 => Verifying /home/n0/gdt/pkgsrc-current/pkgsrc/sysutils/bup/patches/patch-lib_bup_bupsplit.h ************************************** Ignoring patch file /home/n0/gdt/pkgsrc-current/pkgsrc/sysutils/bup/patches/patch-lib_bup_bupsplit.h: no checksum found ************************************** => Verifying /home/n0/gdt/pkgsrc-current/pkgsrc/sysutils/bup/patches/patch-lib_bup_hashsplit.py ************************************** Ignoring patch file /home/n0/gdt/pkgsrc-current/pkgsrc/sysutils/bup/patches/patch-lib_bup_hashsplit.py: no checksum found ************************************** ===> Creating toolchain wrappers for bup-0.32 ===> Configuring for bup-0.32 => Replacing bash interpreter in cmd/import-rdiff-backup-cmd.sh t/compare-trees t/configure-sampledata t/force-delete t/subtree-hash t/test-cat-file.sh t/test-command-without-init-fails.sh t/test-index-check-device.sh t/test-meta.sh t/test-redundant-saves.sh t/test-restore-single-file.sh t/test-rm-between-index-and-save.sh t/test-save-creates-no-unrefs.sh t/test.sh wvtest-bup.sh. WARNING: [replace-interpreter] Skipping non-existent file "t/compare-trees". WARNING: [replace-interpreter] Skipping non-existent file "t/configure-sampledata". WARNING: [replace-interpreter] Skipping non-existent file "t/force-delete". WARNING: [replace-interpreter] Skipping non-existent file "t/subtree-hash". WARNING: [replace-interpreter] Skipping non-existent file "t/test-cat-file.sh". WARNING: [replace-interpreter] Skipping non-existent file "t/test-command-without-init-fails.sh". WARNING: [replace-interpreter] Skipping non-existent file "t/test-index-check-device.sh". WARNING: [replace-interpreter] Skipping non-existent file "t/test-meta.sh". WARNING: [replace-interpreter] Skipping non-existent file "t/test-redundant-saves.sh". WARNING: [replace-interpreter] Skipping non-existent file "t/test-restore-single-file.sh". WARNING: [replace-interpreter] Skipping non-existent file "t/test-rm-between-index-and-save.sh". WARNING: [replace-interpreter] Skipping non-existent file "t/test-save-creates-no-unrefs.sh". WARNING: [replace-interpreter] Skipping non-existent file "t/test.sh". INFO: [replace-interpreter] Nothing changed in wvtest-bup.sh. => Replacing Perl interpreter in wvtest. WARNING: [replace-interpreter] Skipping non-existent file "wvtest". => Checking for portability problems in extracted files ===> Building for bup-0.32 fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). Warning: pandoc not found; skipping manpage generation MAKE="/usr/pkg/bin/gmake" ./configure Makefile:67: warning: undefined variable 'bup_readline_ldflags' Configuring for [bup] Looking for cpp (/tmp/work/sysutils/bup/work/.cwrapper/bin/cpp) ok checking for install (/tmp/work/sysutils/bup/work/.tools/bin/install) checking the C compiler (gcc) ok ignoring bogus LDFLAGS="-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib " checking for make (/usr/pkg/bin/gmake) checking for git (/usr/pkg/bin/git) checking for header sys/stat.h (found) checking for header sys/types.h (found) checking for header unistd.h (found) checking for header sys/mman.h (found) checking for header linux/fs.h (not found) checking for header sys/ioctl.h (found) checking for the utimensat function (found) checking for the utimes function (found) checking for the lutimes function (found) checking for __builtin_mul_overflow (found) checking for the mincore function (found) checking for MINCORE_INCORE (not found) checking mincore buf type (char) checking for readline (yes) checking that struct stat has a st_atim field (yes) checking that struct stat has a st_mtim field (yes) checking that struct stat has a st_ctim field (yes) checking that struct stat has a st_atimensec field (yes) checking that struct stat has a st_mtimensec field (yes) checking that struct stat has a st_ctimensec field (yes) checking that struct tm has a tm_gmtoff field (yes) checking for libacl (yes) checking for header sys/acl.h (not found) checking for header acl/libacl.h (not found) checking for the acl_get_file function (not found) checking for the acl_from_text function (not found) checking for the acl_set_file function (not found) checking for the acl_extended_file function (not found) checking for the acl_to_any_text function (not found) checking for complete acl support (no) looking for sed (/tmp/work/sysutils/bup/work/.tools/bin/sed) generating config.vars found: python (/usr/pkg/bin/python2.7, Python 2.7.18) found: git (/usr/pkg/bin/git, (git version 2.30.1) found: readline support (e.g. bup ftp) not found: POSIX ACL support fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). Warning: pandoc not found; skipping manpage generation cd lib/bup && /tmp/work/sysutils/bup/work/bup-0.32/config/bin/python csetup.py build "-D_FILE_OFFSET_BITS=64 -Wno-unknown-pragmas -Wsign-compare -O2 -Wall -Werror -Wformat=2 -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include" "-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -lreadline" running build running build_ext building '_helpers' extension creating build creating build/temp.netbsd-9.1_STABLE-amd64-2.7 gcc -fno-strict-aliasing -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/pkg/include -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/pkg/include -D_FILE_OFFSET_BITS=64 -Wno-unknown-pragmas -Wsign-compare -O2 -Wall -Werror -Wformat=2 -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -fPIC -I/usr/pkg/include/python2.7 -c _helpers.c -o build/temp.netbsd-9.1_STABLE-amd64-2.7/_helpers.o -D_FILE_OFFSET_BITS=64 -Wno-unknown-pragmas -Wsign-compare -O2 -Wall -Werror -Wformat=2 -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include gcc -fno-strict-aliasing -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/pkg/include -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/pkg/include -D_FILE_OFFSET_BITS=64 -Wno-unknown-pragmas -Wsign-compare -O2 -Wall -Werror -Wformat=2 -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -fPIC -I/usr/pkg/include/python2.7 -c bupsplit.c -o build/temp.netbsd-9.1_STABLE-amd64-2.7/bupsplit.o -D_FILE_OFFSET_BITS=64 -Wno-unknown-pragmas -Wsign-compare -O2 -Wall -Werror -Wformat=2 -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include creating build/lib.netbsd-9.1_STABLE-amd64-2.7 gcc -shared -L/tmp/work/lang/python27/work/Python-2.7.18 -pthread -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -lreadline -D_FILE_OFFSET_BITS=64 -Wno-unknown-pragmas -Wsign-compare -O2 -Wall -Werror -Wformat=2 -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include build/temp.netbsd-9.1_STABLE-amd64-2.7/_helpers.o build/temp.netbsd-9.1_STABLE-amd64-2.7/bupsplit.o -L/usr/pkg/lib -lpython2.7 -o build/lib.netbsd-9.1_STABLE-amd64-2.7/_helpers.so -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -lreadline -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -lreadline ld: /tmp/work/sysutils/bup/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() ld: /tmp/work/sysutils/bup/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() /tmp/work/sysutils/bup/work/bup-0.32/config/bin/python -c \ "import glob; assert(len(glob.glob('lib/bup/build/*/_helpers*.so')) == 1)" cp lib/bup/build/*/_helpers*.so "lib/bup/_helpers.so" rm -f cmd/bup-get ln -s get-cmd.py cmd/bup-get rm -f cmd/bup-tag ln -s tag-cmd.py cmd/bup-tag rm -f cmd/bup-gc ln -s gc-cmd.py cmd/bup-gc rm -f cmd/bup-ls ln -s ls-cmd.py cmd/bup-ls rm -f cmd/bup-random ln -s random-cmd.py cmd/bup-random rm -f cmd/bup-fsck ln -s fsck-cmd.py cmd/bup-fsck rm -f cmd/bup-version ln -s version-cmd.py cmd/bup-version rm -f cmd/bup-ftp ln -s ftp-cmd.py cmd/bup-ftp rm -f cmd/bup-features ln -s features-cmd.py cmd/bup-features rm -f cmd/bup-meta ln -s meta-cmd.py cmd/bup-meta rm -f cmd/bup-fuse ln -s fuse-cmd.py cmd/bup-fuse rm -f cmd/bup-margin ln -s margin-cmd.py cmd/bup-margin rm -f cmd/bup-on--server ln -s on--server-cmd.py cmd/bup-on--server rm -f cmd/bup-index ln -s index-cmd.py cmd/bup-index rm -f cmd/bup-memtest ln -s memtest-cmd.py cmd/bup-memtest rm -f cmd/bup-import-duplicity ln -s import-duplicity-cmd.py cmd/bup-import-duplicity rm -f cmd/bup-restore ln -s restore-cmd.py cmd/bup-restore rm -f cmd/bup-daemon ln -s daemon-cmd.py cmd/bup-daemon rm -f cmd/bup-midx ln -s midx-cmd.py cmd/bup-midx rm -f cmd/bup-help ln -s help-cmd.py cmd/bup-help rm -f cmd/bup-server ln -s server-cmd.py cmd/bup-server rm -f cmd/bup-web ln -s web-cmd.py cmd/bup-web rm -f cmd/bup-xstat ln -s xstat-cmd.py cmd/bup-xstat rm -f cmd/bup-join ln -s join-cmd.py cmd/bup-join rm -f cmd/bup-rm ln -s rm-cmd.py cmd/bup-rm rm -f cmd/bup-bloom ln -s bloom-cmd.py cmd/bup-bloom rm -f cmd/bup-damage ln -s damage-cmd.py cmd/bup-damage rm -f cmd/bup-split ln -s split-cmd.py cmd/bup-split rm -f cmd/bup-list-idx ln -s list-idx-cmd.py cmd/bup-list-idx rm -f cmd/bup-save ln -s save-cmd.py cmd/bup-save rm -f cmd/bup-tick ln -s tick-cmd.py cmd/bup-tick rm -f cmd/bup-init ln -s init-cmd.py cmd/bup-init rm -f cmd/bup-prune-older ln -s prune-older-cmd.py cmd/bup-prune-older rm -f cmd/bup-cat-file ln -s cat-file-cmd.py cmd/bup-cat-file rm -f cmd/bup-drecurse ln -s drecurse-cmd.py cmd/bup-drecurse rm -f cmd/bup-on ln -s on-cmd.py cmd/bup-on rm -f cmd/bup-mux ln -s mux-cmd.py cmd/bup-mux rm -f cmd/bup-import-rdiff-backup ln -s import-rdiff-backup-cmd.sh cmd/bup-import-rdiff-backup rm -f cmd/bup-import-rsnapshot ln -s import-rsnapshot-cmd.sh cmd/bup-import-rsnapshot dev/configure-sampledata --setup *** Please use pkgtools/verifypc to sanity check dependencies. ===> Installing for bup-0.32 => Generating pre-install file lists => Creating installation directories fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). Warning: pandoc not found; skipping manpage generation install -d /tmp/work/sysutils/bup/work/.destdir/usr/pkg/bin \ /tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/bup /tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/cmd \ /tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/web /tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/web/static test -z "" || install -d /tmp/work/sysutils/bup/work/.destdir/tmp/work/sysutils/bup/work/.destdir/usr/pkg/man/man1 test -z "" || install -m 0644 /tmp/work/sysutils/bup/work/.destdir/tmp/work/sysutils/bup/work/.destdir/usr/pkg/man/man1 test -z "" || install -d /tmp/work/sysutils/bup/work/.destdir/usr/pkg/share/doc/bup test -z "" || install -m 0644 /tmp/work/sysutils/bup/work/.destdir/usr/pkg/share/doc/bup dev/install-python-script lib/cmd/bup "/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/cmd/bup" set -e; \ for cmd in $(ls cmd/bup-*); do \ dev/install-python-script "$cmd" "/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/$cmd"; \ done cd "/tmp/work/sysutils/bup/work/.destdir/usr/pkg/bin" && \ ln -sf "$(/usr/pkg/bin/python2.7 -c 'import os; print(os.path.relpath("/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/cmd/bup"))')" set -e; \ install -pm 0644 \ lib/bup/*.py \ /tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/bup install -pm 0755 \ lib/bup/*.so \ /tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/bup install -pm 0644 \ lib/web/static/* \ /tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/web/static/ install -pm 0644 \ lib/web/*.html \ /tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/web/ if test -e lib/bup/checkout_info.py; then \ install -pm 0644 lib/bup/checkout_info.py \ /tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/bup/source_info.py; \ else \ ! grep -qF '$Format' lib/bup/source_info.py; \ install -pm 0644 lib/bup/source_info.py /tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/bup/; \ fi /usr/bin/install -c -o gdt -g users -m 644 /tmp/work/sysutils/bup/work/bup-3ba5796ca63d291c8389ffae8db9e69c65787b36/*.1 /tmp/work/sysutils/bup/work/.destdir/usr/pkg/man/man1 /usr/bin/install -c -o gdt -g users -m 644 /tmp/work/sysutils/bup/work/bup-0.32/DESIGN /tmp/work/sysutils/bup/work/.destdir/usr/pkg/share/doc/bup /usr/bin/install -c -o gdt -g users -m 644 /tmp/work/sysutils/bup/work/bup-0.32/README /tmp/work/sysutils/bup/work/.destdir/usr/pkg/share/doc/bup => Automatic manual page handling => Generating post-install file lists => Checking file-check results for bup-0.32 => Checking for non-existent script interpreters in bup-0.32 => Checking file permissions in bup-0.32 => Checking for missing run-time search paths in bup-0.32 => Checking for work-directory references in bup-0.32 => Creating binary package /tmp/work/sysutils/bup/work/.packages/bup-0.32.tgz ===> Building binary package for bup-0.32 => Creating binary package /home/n0/gdt/pkgsrc-current/pkgsrc/packages/All/bup-0.32.tgz |
||
---|---|---|
archivers | ||
audio | ||
benchmarks | ||
biology | ||
bootstrap | ||
cad | ||
chat | ||
comms | ||
converters | ||
cross | ||
databases | ||
devel | ||
distfiles | ||
doc | ||
editors | ||
emulators | ||
filesystems | ||
finance | ||
fonts | ||
games | ||
geography | ||
graphics | ||
ham | ||
inputmethod | ||
lang | ||
licenses | ||
math | ||
mbone | ||
meta-pkgs | ||
misc | ||
mk | ||
multimedia | ||
net | ||
news | ||
packages | ||
parallel | ||
pkgtools | ||
regress | ||
security | ||
shells | ||
sysutils | ||
templates | ||
textproc | ||
time | ||
wm | ||
www | ||
x11 | ||
_NetBSD-pkgdb | ||
Makefile | ||
pkglocate | ||
README.md |
pkgsrc
pkgsrc is a framework for building software for a variety of UNIX-like systems.
It produces binary packages, which can be managed with tools such as
pkgin. pkgsrc is highly configurable, supporting
building packages for an arbitrary installation prefix (the default is
/usr/pkg
), allowing multiple branches to coexist on one machine, a
build options framework, and a compiler transformation framework, among
other advanced features. Unprivileged use and installation is also supported.
pkgsrc is the default package manager for NetBSD and SmartOS. It's also supported as a first-class option in OmniOS CE and Oasis Linux.
Bootstrapping
To use pkgsrc on operating systems other than NetBSD, you first need to bootstrap:
cd pkgsrc/bootstrap
./bootstrap
Note that this is only for the most simple case, using pkgsrc's defaults.
Please consult bootstrap/README
and bootstrap/README.OS
for detailed
information about bootstrapping.
Building packages
cd pkgsrc/category/package-name
$PREFIX/bin/bmake install
Where $PREFIX
is where you've chosen to install packages
(typically /usr/pkg
)
On NetBSD, bmake
is simply the built-in make
tool.
To build packages in bulk, tools such as pkgtools/pbulk
and
pkgtools/pkg_comp
can be used.
Troubleshooting
- Join the community IRC channel #pkgsrc @ freenode.
- Subscribe to the pkgsrc-users mailing list
- Send bugs and patches via web form (use the
pkg
category).
Latest sources
To fetch the main CVS repository:
cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc
To work in the Git mirror, which is updated every few hours from CVS:
git clone https://github.com/NetBSD/pkgsrc.git
Additional links
- pkgsrc guide - the authoritative document on pkgsrc, also available as
doc/pkgsrc.txt
- pkgsrc in the NetBSD Wiki - miscellaneous articles and tutorials
- pkgsrc.se - a searchable web index of pkgsrc
- pkgsrc-wip - a project to get more people actively involved with creating packages for pkgsrc
- pkgsrc on Twitter - announcements to the world
- pkgsrcCon - we get together
- BulkTracker - a web application that tracks pkgsrc bulk builds