tech-pkg archive

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

Re: Error building dependencies



Hi,

On Thu, 20 Feb 2014 03:57:17 +0900, Jens Rehsack <sno%netbsd.org@localhost> 
wrote:

since a few days I encounter strange issues when building packages which 
requires uninstalled dependencies:

/data/pkgsrc/devel/p5-Module-Build-Tiny $ bmake
=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Skipping vulnerability checks.
WARNING: No /opt/apdex/App-Perf-Index-0.004/var/db/pkg/pkg-vulnerabilities file 
found.
WARNING: To fix run: `/opt/apdex/App-Perf-Index-0.004/sbin/pkg_admin -K 
/opt/apdex/App-Perf-Index-0.004/var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for Module-Build-Tiny-0.034.tar.gz
=> Checksum RMD160 OK for Module-Build-Tiny-0.034.tar.gz
===> Installing dependencies for p5-Module-Build-Tiny-0.034
=> Tool dependency perl>=5.18.0: found perl-5.18.2nb1
=> Build dependency p5-Test-Harness>=3.30: NOT found
=> Verifying reinstall for ../../devel/p5-Test-Harness
/bin/rm: cannot remove `check-files-pre-message': Read-only file system
/bin/rm: cannot remove `check-files-post-message': Read-only file system
*** Error code 1

Probably, "reinstall" target is broken with read-only pkgsrc tree
(I've fixed to do it as default dependency target even if USE_DESTDIR=yes).
Please try following:

Index: check/check-files.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/check/check-files.mk,v
retrieving revision 1.29
diff -u -r1.29 check-files.mk
--- check/check-files.mk        8 Mar 2013 15:32:52 -0000       1.29
+++ check/check-files.mk        20 Feb 2014 00:54:43 -0000
@@ -144,7 +144,7 @@
 # building the check-files-pre target.  These targets should cause the
 # "pre" file lists to be generated.
 #
-_CHECK_FILES_PRE=              check-files-pre-message
+_CHECK_FILES_PRE=              #
 _CHECK_FILES_PRE+=             ${_CHECK_FILES_PRE.prefix}
 .if empty(CHECK_FILES_STRICT:M[nN][oO])
 _CHECK_FILES_PRE+=             ${_CHECK_FILES_PRE.sysconfdir}
@@ -156,7 +156,7 @@
 # building the check-files-post target.  These targets should cause the
 # "post" file lists to be generated.
 #
-_CHECK_FILES_POST=             check-files-post-message
+_CHECK_FILES_POST=             #
 _CHECK_FILES_POST+=            ${_CHECK_FILES_POST.prefix}
 .if empty(CHECK_FILES_STRICT:M[nN][oO])
 _CHECK_FILES_POST+=            ${_CHECK_FILES_POST.sysconfdir}
@@ -171,8 +171,8 @@
 # check-files-pre and check-files-post targets and subtargets
 #
 .PHONY: check-files-pre check-files-post
-check-files-pre: ${_CHECK_FILES_PRE}
-check-files-post: ${_CHECK_FILES_POST}
+check-files-pre: check-files-pre-message ${_CHECK_FILES_PRE}
+check-files-post: check-files-post-message ${_CHECK_FILES_POST}

 .PHONY: check-files-pre-message check-files-post-message
 check-files-pre-message:


--
OBATA Akio / obata%lins.jp@localhost


Home | Main Index | Thread Index | Old Index