libxslt-1.1.34-1 build failure on 10.5.7 was Re: Fink Install Errors (./bootstrap?) causing Package Install Errors.
Alexander Hansen <[email protected]>
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Message-ID | <[email protected]> |
> On Jun 7, 2021, at 13:09, Aric Newton <[email protected]> wrote: > > Hi All, > I am running Mac OSX 10.15.7 (Catalina, Intel-processor) and Xcode 12.4. I have installed fink (fink-0.45.3.tar.gz) with the helper script (InstallFink.tgz) available on GitHub. The install script bonked because access was denied to the hyperlink for the installation of Xquartz 2.7.11. I downloaded and installed Xquartz 2.7.11 from the Xquartz website (https://www.xquartz.org/releases/Xquartz-2.7.11.html <https://www.xquartz.org/releases/Xquartz-2.7.11.html>) and re-ran the InstallFink script. The install script failed and provided the following output. > Downloading the indexes of available packages in the binary distribution. > /opt/sw/bin/apt-get-lockwait -q update > Err http://bindist.finkmirrors.net <http://bindist.finkmirrors.net/> stable/main Packages > 404 Not Found > Get:1 http://bindist.finkmirrors.net <http://bindist.finkmirrors.net/> stable/main Release [85B] > Fetched 85B in 0s (215B/s) > Failed to fetch http://bindist.finkmirrors.net/10.15/dists/stable/main/binary-darwin-x86_64/Packages <http://bindist.finkmirrors.net/10.15/dists/stable/main/binary-darwin-x86_64/Packages> 404 Not Found > Reading Package Lists... > Building Dependency Tree... > E: Some index files failed to download, they have been ignored, or old ones used instead. > ### execution of /opt/sw/bin/apt-get-lockwait failed, exit code 100 > WARNING: Failure while updating indexes. > ERROR: Bootstrap phase 2 failed! > [Process completed] > I then tried a set of fink commands to try to clean this up (e.g. “fink self-update”; “fink scanpackages”; “fink update-rsync”) to no effect. I altered line 28 of the fink.conf file (UseBinaryDist: false) per a discussion on githubmemory (https://githubmemory.com/repo/fink/scripts/issues/55 <https://githubmemory.com/repo/fink/scripts/issues/55>) and the issue appeared to beresolved. However, I am getting a number of errors when trying to install other Fink packages and wonder if they are related to this modification. They aren’t. You turned off downloading pre-built packages. > I installed gcc10 without incident. I need to install other packages to build an open source program (LAMMPS) for simulations. These additional packages are FFTW3 (fast fourier transform) and OpenMPI. The build of FFTW3 was looking for some components of the gcc9 (compiler and shared libraries) and reported “404 Not Found” errors for the first mirror and an alternate mirror from the same continent (North America). The “Search from Source URL” did find what it was looking for and the installation completed without further errors. That’s pretty normal. We generally don’t need to know anything about packages that successfully installed along the way. > > > I next attempted to install OpenMPI. The install reported errors with attempts to download from the mirrors, but the “Search from Source URL” found (some) of the necessary components. The build failed with the final error reported being: > > New package: dists/stable/main/binary-darwin-x86_64/base/libncursesw5-shlibs_5.9-20110507-1_darwin-x86_64.deb > Failed: phase compiling: libxslt-1.1.29-1 failed > The output advised trying “fink self-update” and then to try to install again. The update command turned up no new packages or updates to install. The build error message also recommend changing the fink.conf file to limit the maximum number of build jobs to 1. That edit of the configuration file had no effect. The error that aborts the install is still: > checking for xml2-config... /opt/sw/bin/xml2-config > checking for LIBXML... no > configure: error: Could not find libxml2 anywhere, check ftp://xmlsoft.org/ <ftp://xmlsoft.org/>. > ### execution of ./configure failed, exit code 1 > ### execution of /tmp/fink.aYvDh failed, exit code 1 > Removing runtime build-lock... > Removing build-lock package... > /opt/sw/bin/dpkg-lockwait -r fink-buildlock-libxslt-1.1.34-1 > (Reading database ... 24445 files and directories currently installed.) > Removing fink-buildlock-libxslt-1.1.34-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/devel/cmake_3.20.0-1_darwin-x86_64.deb > New package: dists/stable/main/binary-darwin-x86_64/utils/libbrotli1-shlibs_1.0.9-1_darwin-x86_64.deb > New package: dists/stable/main/binary-darwin-x86_64/utils/brotli_1.0.9-1_darwin-x86_64.deb > New package: dists/stable/main/binary-darwin-x86_64/utils/libbrotli1_1.0.9-1_darwin-x86_64.deb > New package: dists/stable/main/binary-darwin-x86_64/text/docbook-dtd_4.5.0-1_darwin-x86_64.deb > New package: dists/stable/main/binary-darwin-x86_64/text/docbook-xsl_1.78.1-1_darwin-x86_64.deb > New package: dists/stable/main/binary-darwin-x86_64/text/docbook-dsssl-nwalsh_1.79-4_darwin-x86_64.deb > Failed: phase compiling: libxslt-1.1.34-1 failed > The libxml2 library (and the *-bin and *-shlibs) that it couldn’t find seems like it could be the culprit, but those libraries do appear to be installed (and the *-bin and *-shlibs, too) -- > %fink list libxml > ... > i libxml2 2.9.12-2 XML parsing library, version 2 > So, I am stumped. Are the persistent package errors due to my initial install (Mac OS X 10.15 with Xcode 12.4) or is there something else that I am needing to modify to get fink to run better? I have previously used fink with much earlier versions of Mac OS X (< 10.11) and was pleased with its performance. Not sure if I’m just rusty or there is something new that I missed out on. > Thank you for taking the time to read through my post. > > Regards, > Aric Hi, Aric. I’d recommend that you send one message per issue and signpost them clearly with the package that actually failed. That makes it more likely that people will respond quickly to your message. I thought I saw another message about your ultimate issue earlier, but it appears not to have been signposted properly, so I can’t be bothered to look for it right now. The issue here is that even though libxml2* are installed, the commands that libxslt is using to test for its presence are failing. This might be due to factors like interference from programs not installed through Fink, or hidden build conflicts. It looks like libxslt got a revision update (1.1.34-2) since you sent your message. If you haven’t already tried “fink selfupdate” and repeating your build attempt, it’s worth a shot. —akh _______________________________________________ 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