Opened 5 years ago
Closed 4 years ago
#60167 closed defect (fixed)
lilypond 2.20.0: +docs variant will not build
Reported by: | JunTamura1959 | Owned by: | nerdling (Jeremy Lavergne) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | ||
Port: | lilypond |
Description
Since I had built lilypond 2.18.2 successfully before, I ran
% sudo port selfupdate % sudo port upgrade outdated <snipped> ---> Computing dependencies for lilypond ---> Fetching archive for lilypond ---> Attempting to fetch lilypond-2.20.0_0+docs.darwin_19.x86_64.tbz2 from http://kmq.jp.packages.macports.org/lilypond ---> Attempting to fetch lilypond-2.20.0_0+docs.darwin_19.x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/lilypond ---> Attempting to fetch lilypond-2.20.0_0+docs.darwin_19.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/lilypond ---> Fetching distfiles for lilypond ---> Verifying checksums for lilypond ---> Extracting lilypond ---> Configuring lilypond Error: Failed to configure lilypond, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_lilypond/lilypond/work/lilypond-2.20.0/config.log Error: Failed to configure lilypond: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_lilypond/lilypond/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug.
The log file /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_lilypond/lilypond/main.log is attached. The essential part of the log seems to be:
:info:configure ERROR: Please install required programs: texi2html <= 1.82 (installed: 5.32)
but I'm not so sure.
MacOS: Catalina 10.15.3
Xcode: Version 11.3.1 (11C504)
Attachments (1)
Change History (13)
Changed 5 years ago by JunTamura1959
comment:1 Changed 5 years ago by mf2k (Frank Schima)
Cc: | nerdling removed |
---|---|
Owner: | set to nerdling |
Status: | new → assigned |
comment:2 Changed 5 years ago by mf2k (Frank Schima)
comment:3 follow-up: 7 Changed 5 years ago by kencu (Ken)
comment:4 Changed 5 years ago by kencu (Ken)
If this port truly needs that old version of texi2html
then it might need to download it and use it for the build. If the current version of texi2html
will work, then the version test would appear to need to be updated.
Our texit2html
was updated many years ago to 5.0, but the old version still exists in the commit history as a starting point.
PortSystem 1.0 name texi2html version 1.82 platforms darwin if {[info exists supported_archs]} { supported_archs noarch } categories textproc maintainers nomaintainer description A Perl script which converts Texinfo source files to HTML output. long_description \ A Perl script which converts Texinfo source files to HTML output. homepage http://www.nongnu.org/${name} master_sites http://savannah.nongnu.org/download/${name} checksums md5 7ea537a8c81ffbf5421b39c0333e91df \ sha1 e7bbe1197147566250abd5c456b94c8e37e0a81f \ rmd160 1949d1d857cb71e1b5070e36223a26896910d523 patchfiles patch-test-run_test.sh.diff depends_lib path:bin/perl:perl5 configure.perl ${prefix}/bin/perl use_parallel_build yes test.run yes test.target check universal_variant no livecheck.type regex livecheck.url ${master_sites} livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
comment:5 Changed 5 years ago by kencu (Ken)
In the lilypond build scripts, it says this:
@c XXX Currently we are forced to use ancient version 1.82 of texi2html @c (from 2005); we thus have to provide a macro for `@sortas', @c which was introduced in texinfo version 6.1 (in 2016).
so the lilypond authour certainly feels that the texi2html version needs to be old.
comment:6 Changed 5 years ago by kencu (Ken)
Summary: | lilypond 2.20.0: Failed to configure lilypond → lilypond 2.20.0: +docs variant will not build |
---|
comment:7 Changed 5 years ago by JunTamura1959
Replying to kencu:
Try building it without the
+docs
variant for now. That should get you going at least, until that gets fixed.
Build failed even without +docs
.
comment:8 Changed 5 years ago by kencu (Ken)
works for me, so let's see a new log to see what's not working now...
comment:9 Changed 5 years ago by JunTamura1959
Thank you. Problem solved.
I was trying to install the new version (2.20.0) while preserving the previous version (2.18.2) with
%sudo port upgrade outdated
or
%sudo port install lilypond
without success.
I realized that the previous installation was with +docs
. The default of the port file for the previous version could have been with +docs
. I did not recall that I specified +docs
option.
Then I tried
% sudo port uninstall lilypond % sudo cut_leaves <cut all leaves> % sudo port install lilypond
and lilypond 2.20.0 was successfully built without docs.
comment:11 Changed 4 years ago by nerdling (Jeremy Lavergne)
Currently can't get past configure (lots of missing dependencies); likely side effect of the upgrades to 2.20.
See #60390 for now.
comment:12 Changed 4 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I've re-added the dependencies that got removed. +docs (well, the -devel version at least) now builds for me.
Try building it without the
+docs
variant for now. That should get you going at least, until that gets fixed.