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)
Alexander Hansen <[email protected]>
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Message-ID | <[email protected]> |
> 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