Re: cannot update-all (mkdir: /sw/src/fink.build/root-test-harness-pm5182-3.42-1/sw/lib/perl5/5.18.2: No such file or directory)
John Wiggins via Fink-beginners <[email protected]>
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Message-ID | <[email protected]> |
Thanks. I did not see any error earlier in that file but doing self update and update-all again I see this. ... Installing /sw/src/fink.build/root-software-license-pm5182-0.103014-2/sw/share/man/man3/Software::License::Custom.3pm Installing /sw/src/fink.build/root-software-license-pm5182-0.103014-2/sw/share/man/man3/Software::License::OpenSSL.3pm Installing /sw/src/fink.build/root-software-license-pm5182-0.103014-2/sw/share/man/man3/Software::License::BSD.3pm Appending installation info to /sw/src/fink.build/root-software-license-pm5182-0.103014-2/sw/lib/perl5/5.18.4/darwin-thread-multi-2level/perllocal.pod mv /sw/src/fink.build/root-software-license-pm5182-0.103014-2/sw/share/man /sw/src/fink.build/root-software-license-pm5182-0.103014-2/sw/lib/perl5/5.18.2 sudo -u fink-bld [ENV] sh -c /tmp/fink.DAH9w /bin/mkdir -p /sw/src/fink.build/root-software-license-pm5182-0.103014-2/sw/share/podfiles/5.18.4 for i in `find /sw/src/fink.build/root-software-license-pm5182-0.103014-2/sw -name perllocal.pod`; do /bin/cat $i | sed -e s,/sw/src/fink.build/root-software-license-pm5182-0.103014-2/sw/lib/perl5,/sw/lib/perl5, >> /sw/src/fink.build/root-software-license-pm5182-0.103014-2/sw/share/podfiles/5.18.4/perllocal.software-license-pm5182.pod; /bin/rm -rf $i; done; /usr/bin/install -d -m 700 /sw/src/fink.build/root-software-license-pm5182-0.103014-2/sw/share/doc/software-license-pm5182 /bin/cp -r Changes /sw/src/fink.build/root-software-license-pm5182-0.103014-2/sw/share/doc/software-license-pm5182/ /bin/cp -r README /sw/src/fink.build/root-software-license-pm5182-0.103014-2/sw/share/doc/software-license-pm5182/ /bin/chmod -R go=u-w /sw/src/fink.build/root-software-license-pm5182-0.103014-2/sw/share/doc/software-license-pm5182 /bin/rm -f /sw/src/fink.build/root-software-license-pm5182-0.103014-2/sw/info/dir /sw/src/fink.build/root-software-license-pm5182-0.103014-2/sw/info/dir.old /sw/src/fink.build/root-software-license-pm5182-0.103014-2/sw/share/info/dir /sw/src/fink.build/root-software-license-pm5182-0.103014-2/sw/share/info/dir.old Reverting ownership of install dir to root Writing control file... Writing package script postinst... Writing package script postrm... Writing md5sums file... env LANG=C LC_ALL=C dpkg-deb -b root-software-license-pm5182-0.103014-2 /sw/fink/10.14.5/stable/main/binary-darwin-x86_64/libs/perlmods dpkg-deb: building package `software-license-pm5182' in `/sw/fink/10.14.5/stable/main/binary-darwin-x86_64/libs/perlmods/software-license-pm5182_0.103014-2_darwin-x86_64.deb'. Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-software-license-pm5182-0.103014-2 (Reading database ... 67199 files and directories currently installed.) Removing fink-buildlock-software-license-pm5182-0.103014-2 ... Reading buildlock packages... /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/libs/perlmods/software-license-pm5182_0.103014-2_darwin-x86_64.deb (Reading database ... 67198 files and directories currently installed.) Preparing to replace software-license-pm5182 0.103013-1 (using .../software-license-pm5182_0.103014-2_darwin-x86_64.deb) ... Unpacking replacement software-license-pm5182 ... /sw/bin/dpkg: error processing /sw/fink/dists/stable/main/binary-darwin-x86_64/libs/perlmods/software-license-pm5182_0.103014-2_darwin-x86_64.deb (--install): trying to overwrite `/sw/lib/perl5/5.18.4/Software/License/CC0_1_0.pm', which is also in package software-license-pm5184 /sw/bin/dpkg-deb: subprocess paste killed by signal (Broken pipe: 13) Errors were encountered while processing: /sw/fink/dists/stable/main/binary-darwin-x86_64/libs/perlmods/software-license-pm5182_0.103014-2_darwin-x86_64.deb ### execution of /sw/bin/dpkg-lockwait failed, exit code 1 Updating the list of locally available binary packages. Scanning dists/stable/main/binary-darwin-x86_64 New package: dists/stable/main/binary-darwin-x86_64/libs/perlmods/text-template-pm_1.59-1_darwin-x86_64.deb New package: dists/stable/main/binary-darwin-x86_64/libs/perlmods/test-harness-pm5184_3.42-1_darwin-x86_64.deb New package: dists/stable/main/binary-darwin-x86_64/libs/perlmods/software-license-pm5182_0.103014-2_darwin-x86_64.deb Failed: can't install package software-license-pm5182-0.103014-2 $ and fink cleanup followed update-all and self-update leads to this: $ fink update-all Information about 13234 packages read in 1 seconds. The following 2 packages will be installed or updated: software-license-pm5182 software-license-pm5184 Reading buildlock packages... /sw/bin/dpkg-lockwait -i /sw/fink/dists/stable/main/binary-darwin-x86_64/libs/perlmods/software-license-pm5182_0.103014-2_darwin-x86_64.deb (Reading database ... 67198 files and directories currently installed.) Preparing to replace software-license-pm5182 0.103013-1 (using .../software-license-pm5182_0.103014-2_darwin-x86_64.deb) ... Unpacking replacement software-license-pm5182 ... /sw/bin/dpkg: error processing /sw/fink/dists/stable/main/binary-darwin-x86_64/libs/perlmods/software-license-pm5182_0.103014-2_darwin-x86_64.deb (--install): trying to overwrite `/sw/lib/perl5/5.18.4/Software/License/CC0_1_0.pm', which is also in package software-license-pm5184 /sw/bin/dpkg-deb: subprocess paste killed by signal (Broken pipe: 13) Errors were encountered while processing: /sw/fink/dists/stable/main/binary-darwin-x86_64/libs/perlmods/software-license-pm5182_0.103014-2_darwin-x86_64.deb ### execution of /sw/bin/dpkg-lockwait failed, exit code 1 Failed: can't install package software-license-pm5182-0.103014-2 $ > On Dec 2, 2020, at 12:19 PM, Alexander Hansen <[email protected]> wrote: > > > >> On Dec 2, 2020, at 09:09, John Wiggins via Fink-beginners <[email protected]> wrote: >> >> This appears to be new, last “update-all” was about two months ago on 3Oct2020 and all went well then. >> >> I have tried rebuilding the various ‘failed’ packages and building again but end back here at this point again. >> >> Any suggestions? Should I uninstall and start fresh? (See note at end in which it seems I have two perl >> versions in /sw/bin in addition to the MacOS /usr/bin/perl native to MacOS. >> >> thanks, >> jw >> >> >> Installing /sw/src/fink.build/root-test-harness-pm5182-3.42-1/sw/share/man/man3/App::Prove.3pm >> Installing /sw/src/fink.build/root-test-harness-pm5182-3.42-1/sw/share/man/man3/TAP::Parser::SourceHandler::Perl.3pm >> Installing /sw/src/fink.build/root-test-harness-pm5182-3.42-1/sw/share/man/man3/TAP::Parser::YAMLish::Reader.3pm >> Installing /sw/src/fink.build/root-test-harness-pm5182-3.42-1/sw/share/man/man3/TAP::Harness::Beyond.3pm >> Installing /sw/src/fink.build/root-test-harness-pm5182-3.42-1/sw/bin/prove >> Appending installation info to /sw/src/fink.build/root-test-harness-pm5182-3.42-1/sw/lib/perl5/5.18.4/darwin-thread-multi-2level/perllocal.pod >> mkdir /sw/src/fink.build/root-test-harness-pm5182-3.42-1/sw/lib/perl5/5.18.2/man >> mkdir: /sw/src/fink.build/root-test-harness-pm5182-3.42-1/sw/lib/perl5/5.18.2: No such file or directory >> ### execution of mkdir failed, exit code 1 >> ### execution of /tmp/fink.zM7tH failed, exit code 1 >> Removing runtime build-lock... >> Removing build-lock package... >> /sw/bin/dpkg-lockwait -r fink-buildlock-test-harness-pm5182-3.42-1 >> (Reading database ... 67199 files and directories currently installed.) >> Removing fink-buildlock-test-harness-pm5182-3.42-1 ... >> Updating the list of locally available binary packages. >> Scanning dists/stable/main/binary-darwin-x86_64 >> New package: dists/stable/main/binary-darwin-x86_64/libs/perlmods/mro-compat-pm5184_0.13-1_darwin-x86_64.deb >> Failed: phase installing: test-harness-pm5182-3.42-1 failed >> >> Before reporting any errors, please run "fink selfupdate" and try again. >> >> If you continue to have issues, please check to see if the FAQ on Fink's >> website solves the problem. If not, ask on one (not both, please) of >> these mailing lists: >> >> The Fink Users List <[email protected]> >> The Fink Beginners List <[email protected]>, >> >> with a carbon copy to the maintainer: >> >> Daniel Macks <[email protected]> >> >> Note that this is preferable to emailing just the maintainer directly, >> since most fink package maintainers do not have access to all possible >> hardware and software configurations. >> >> Please try to include the complete error message in your report. This >> generally consists of a compiler line starting with e.g. "gcc" or "g++" >> followed by the actual error output from the compiler. >> >> Also include the following system information: >> Package manager version: 0.45.2 >> Distribution version: selfupdate-git Wed Dec 2 11:40:07 2020, 10.14.5, x86_64 >> Trees: local/main stable/main stable/crypto unstable/main unstable/crypto local/injected >> Xcode.app: 11.3.1 >> Xcode command-line tools: 11.3.1.0.1.1576735732 >> Max. Fink build jobs: 1 >> >> jw-iMac: (finkdir) /Users/jw/finkdir >> $ >> >> Note: >> >> I appear to have perl executables in /sw/bin and the MacOS perl is slightly more recent version. >> Should I just remove fink versions of perl or are they needed? I am not sure what to remove as I see this: >> $ fink list -i | grep perl >> i extutils-install-pm 2.04-1 Installer for perl modules >> i help2man-perl5184 1.47.13-1 Generates man pages from program output >> i module-build-pm 1:0.42.29-701 Module::Build for /usr/bin/perl >> i module-metadata-pm5182 1.000036-1 Gather package info from perl module files >> i module-metadata-pm5184 1.000036-1 Gather package info from perl module files >> p perl-ostype-pm5162 [virtual package] >> i perl-ostype-pm5182 1.010-1 Map Perl OS names to generic types >> i perl-ostype-pm5184 1.010-1 Map Perl OS names to generic types >> i perl5182-core 5.18.2-1001 Core files for perl, v. 5.18.2 >> p perl5184-core [virtual package] >> p perlio-eol-pm5184 [virtual package] >> p perlobjcbridge-pm5184 [virtual package] >> i system-perl 5.18.4-1 [virtual package representing perl] >> p system-perl5184 [virtual package] >> i texi2html-perl5162 5.16.2-204 Perl 5.16.2 subpackage for texi2html >> $ >> >> $ ls -l /sw/bin/perl* >> -rwxr-xr-x 1 root admin 1525152 Mar 31 2018 /sw/bin/perl5.16.2 >> -rwxr-xr-x 1 root admin 1587456 Dec 2 02:28 /sw/bin/perl5.18.2 >> $ which perl >> /usr/bin/perl >> $ which perl >> $ perl --version >> >> This is perl 5, version 18, subversion 4 (v5.18.4) built for darwin-thread-multi-2level >> (with 2 registered patches, see perl -V for more detail) >> >> Copyright 1987-2013, Larry Wall >> >> Perl may be copied only under the terms of either the Artistic License or the >> GNU General Public License, which may be found in the Perl 5 source kit. >> >> Complete documentation for Perl, including FAQ lists, should be found on >> this system using "man perl" or "perldoc perl". If you have access to the >> Internet, point your browser at http://www.perl.org/, the Perl Home Page. >> >> jw-iMac: (finkdir) /Users/jw/finkdir >> > > The various perls *should* be able to coexist. Declaring “-pm5182” tells Fink to use its own perl-5.18.2 for the build. > > Typically “mkdir failed” messages in the install phase indicate that something failed earlier on in the build phase, such that the build process didn’t reach the step of making a directory — the install doesn’t use “mkdir -p” (probably deliberately) and this avoids installing a broken package. > > Check earlier in the build output for an error message. Uninstalling and starting fresh is an unnecessary waste of time in about 99.9% of cases (my estimate). > > -- > Alexander Hansen, Ph.D. > Fink User Liaison > _______________________________________________ Fink-beginners mailing list [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-users/ Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners