pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Error message and stop every time a dependency is built
When I build a package in NetBSD 4.0.1, installed on 4 GB USB stick, using
pkgsrc installed on my hard-disk installation of NetBSD 5.1_STABLE, I get a
strange error message and stop every time a dependency is built.
I get around this by going into the pkgsrc package's directory
cd ../../(category)/(package-base-name)
and typing "make install", then going back to the main package directory and
again typing
make 2>&1 | tee -a build401.log
and by as many steps as there are dependencies, finally get the main package
built and installed.
Typical error message is
warning: /lin1/usr/pkgsrc/devel/pkg-config: group-writable directory.
warning: /lin1/usr/pkgsrc/devel: group-writable directory.
warning: /lin1/usr/pkgsrc: group-writable directory.
0 errors and 3 warnings.
=> Checking for missing run-time search paths in pkg-config-0.25nb1
=> Checking for work-directory references in pkg-config-0.25nb1
===> Building binary package for pkg-config-0.25nb1
=> Creating binary package /usr/pkgsrc/packages/All/pkg-config-0.25nb1.tgz
ERROR: [depends.mk] A package matching ``pkg-config>=0.19'' should
ERROR: be installed, but one cannot be found. Perhaps there is a
ERROR: stale work directory for ../../devel/pkg-config?
*** Error code 1
Stop.
make: stopped in /lin1/usr/pkgsrc/www/links-gui
(end)
and so on for every dependency.
I don't think this has yet happened while building packages in NetBSD
5.1_STABLE installation, but maybe I say this too soon.
Then I typed
cd ../../devel/pkg-config
make install
cd ../../www/links-gui
make 2>&1 | tee -a build401.log
and so on, one by one through each dependency package, and I was finally
successful building www/links-gui.
my /etc/mk.conf on USB stick with NetBSD 4.0.1 is
# Example /usr/pkg/etc/mk.conf file produced by bootstrap-pkgsrc
# Sat Nov 27 22:37:13 UTC 2010
.ifdef BSD_PKG_MK # begin pkgsrc settings
PACKAGES= /usr/pkgsrc/packages
PKG_DEVELOPER=YES
PKG_DEFAULT_OPTIONS+= ssl inet6
PKG_DBDIR= /var/db/pkg
LOCALBASE= /usr/pkg
VARBASE= /var
PKG_TOOLS_BIN= /usr/pkg/sbin
PKGMANDIR= man
WRKDIR_BASENAME= work401
WRKOBJDIR= /lin1/usr/pkgsrc
PKG_OPTIONS.msmtp+= idn
PKG_OPTIONS.lynx+= ncurses
ACCEPTABLE_LICENSES+= socks5-license
ALLOW_VULNERABLE_PACKAGES=yes
DEPENDS_TARGET=package
SKIP_LICENSE_CHECK= yes
.endif # end pkgsrc settings
(end)
When I am in NetBSD 4.0.1 on USB stick, I use /lin1 as mount point for NetBSD
5.1_STABLE partition on hard disk.
Pkgsrc and make can't find the just-built package right under its nose?
I save built packages for NetBSD 4.0.1 on the USB stick.
That SKIP_LICENSE_CHECK line was necessary because of repeated error messages
that the license could not be determined or evaluated.
I haven't yet had the problem of pkgsrc and make not being able to find a
just-built dependency right under its nose, but maybe I talk too soon?
Tom
Home |
Main Index |
Thread Index |
Old Index