pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Problem building on LinuxMint (Ubuntu)



I’ve quickly run into a problem trying to build and install packages on LinuxMint 18.1 using pkgsrc.  This is what I’ve done:

1) Used apt-get to install the base packages: cvs libncurses5-dev gcc g++ zlib1g-dev zlib1g libssl-dev libudev-dev
	BTW, need to add bmake to this list as well and I installed it too

2) Added “export SH=/bin/bash” to my login

3) Installed current copy of pkgsrc in /usr with “cvs -danoncvs%anoncvs.netbsd.org@localhost:/cvsroot checkout pkgsrc”

4) Did the bootstrap install:  “cd /usr/pkgsrc/bootstrap ; ./bootstrap”

5) Rebooted as there was some message indicating not everything would be available until the system was rebooted

6) Tried building a package:  “cd /usr/pkgsrc/pkgtools/pkg_chk ; bmake install”
	Linux make doesn’t work and the on-line instructions for pkgsrc use on Linux aren’t clear about this, but bmake seems to be required.

At this point, and when trying to build and install any package, I get the following errors:

=> Build dependency cwrappers>=20150314: NOT found
=> Verifying reinstall for ../../pkgtools/cwrappers
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Installing for cwrappers-20170112
=> Creating installation directories
=> Automatic manual page handling
pkg_create: can't stat `/usr/pkgsrc/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/as-wrapper'
pkg_create: can't stat `/usr/pkgsrc/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/c++-wrapper'
pkg_create: can't stat `/usr/pkgsrc/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/cc-wrapper'
pkg_create: can't stat `/usr/pkgsrc/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/cpp-wrapper'
pkg_create: can't stat `/usr/pkgsrc/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/f77-wrapper'
pkg_create: can't stat `/usr/pkgsrc/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/imake-wrapper'
pkg_create: can't stat `/usr/pkgsrc/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/ld-wrapper'
pkg_create: can't stat `/usr/pkgsrc/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/libtool-wrapper'
pkg_create: can't stat `/usr/pkgsrc/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/shlibtool-wrapper'
=> Creating binary package /usr/pkgsrc/pkgtools/cwrappers/work/.packages/cwrappers-20170112.tgz
pkg_create: can't stat `/usr/pkgsrc/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/as-wrapper'
pkg_create: can't stat `/usr/pkgsrc/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/c++-wrapper'
pkg_create: can't stat `/usr/pkgsrc/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/cc-wrapper'
pkg_create: can't stat `/usr/pkgsrc/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/cpp-wrapper'
pkg_create: can't stat `/usr/pkgsrc/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/f77-wrapper'
pkg_create: can't stat `/usr/pkgsrc/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/imake-wrapper'
pkg_create: can't stat `/usr/pkgsrc/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/ld-wrapper'
pkg_create: can't stat `/usr/pkgsrc/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/libtool-wrapper'
pkg_create: can't stat `/usr/pkgsrc/pkgtools/cwrappers/work/.destdir/usr/pkg/libexec/cwrappers/shlibtool-wrapper'
pkg_create: lstat failed for file libexec/cwrappers/as-wrapper: No such file or directory
/bin/mv: cannot stat '/usr/pkgsrc/pkgtools/cwrappers/work/.packages/cwrappers-20170112.tmp.tgz': No such file or directory
*** Error code 1

Stop.
bmake[2]: stopped in /usr/pkgsrc/pkgtools/cwrappers
*** Error code 1

Stop.
bmake[1]: stopped in /usr/pkgsrc/pkgtools/cwrappers
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkg_chk


Can someone provide me a clue here?  I’ve tried doing all this a “root” as well just in case it was some permissions issue, but I get the same results.

Thanks,
-bob


Home | Main Index | Thread Index | Old Index