Opened 11 years ago

Closed 11 years ago

#41780 closed defect (fixed)

lilypond-devel @2.17.96 fails to configure because it cannot recognize texi2html version

Reported by: dliessi (Davide Liessi) Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), jmroot (Joshua Root)
Port: lilypond-devel

Description

I'm on Snow Leopard. This is the output of sudo port install lilypond-devel after a successful upgrade of outdated ports and with all lilypond-devel's dependencies already installed:

$ sudo port install lilypond-devel
--->  Computing dependencies for lilypond-devel
--->  Fetching archive for lilypond-devel
--->  Attempting to fetch lilypond-devel-2.17.96_0+docs.darwin_10.x86_64.tbz2 from http://lil.fr.packages.macports.org/lilypond-devel
--->  Attempting to fetch lilypond-devel-2.17.96_0+docs.darwin_10.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/lilypond-devel
--->  Attempting to fetch lilypond-devel-2.17.96_0+docs.darwin_10.x86_64.tbz2 from http://packages.macports.org/lilypond-devel
--->  Fetching distfiles for lilypond-devel
--->  Attempting to fetch lilypond-2.17.96.tar.gz from http://lil.fr.distfiles.macports.org/lilypond-devel
--->  Verifying checksums for lilypond-devel
--->  Extracting lilypond-devel
--->  Applying patches to lilypond-devel
--->  Configuring lilypond-devel
Error: Failed to configure lilypond-devel, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_lilypond-devel/lilypond-devel/work/lilypond-2.17.96/config.log
Error: org.macports.configure for port lilypond-devel returned: configure failure: command execution failed
Please see the log file for port lilypond-devel for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_lilypond-devel/lilypond-devel/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port lilypond-devel failed

The relevant lines of main.log (find the full main.log and the configure.log files attached):

:info:configure checking for texi2html... texi2html
:info:configure checking texi2html version... 
:info:configure checking for dblatex... dblatex
:info:configure checking dblatex version... 0.3.4
:info:configure checking for bibtex... bibtex
:info:configure checking for pdflatex... pdflatex
:info:configure checking for pdfetex... pdfetex
:info:configure checking for texi2pdf... texi2pdf
:info:configure checking for texindex... texindex
:info:configure checking for epsf.tex... /opt/local/share/texmf/tex/generic/epsf/epsf.tex
:info:configure checking for Cyrillic characters support in TeX... yes
:info:configure checking for pngtopnm... pngtopnm
:info:configure checking for convert... convert
:info:configure checking for zip... zip
:info:configure checking for rsync... rsync
:info:configure configure: creating ./config.status
:info:configure config.status: creating config.make
:info:configure config.status: creating config.hh
:info:configure 
:info:configure ERROR: Please install required programs:  texi2html >= 1.82 (installed: )
:info:configure 
:info:configure See INSTALL.txt for more information on how to build LilyPond
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_lilypond-devel/lilypond-devel/work/lilypond-2.17.96" && ./configure --prefix=/opt/local --with-ncsb-dir=/opt/local/share/fonts/urw-fonts --enable-documentation 
:info:configure Exit code: 1
:error:configure Failed to configure lilypond-devel, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_lilypond-devel/lilypond-devel/work/lilypond-2.17.96/config.log
:error:configure org.macports.configure for port lilypond-devel returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"portconfigure::configure_main org.macports.configure"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:configure Warning: targets not executed for lilypond-devel: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Please see the log file for port lilypond-devel for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_lilypond-devel/lilypond-devel/main.log

The installed texi2html is:

$ port installed texi2html
The following ports are currently installed:
  texi2html @5.0_0 (active)

Attachments (2)

main.log (258.1 KB) - added by dliessi (Davide Liessi) 11 years ago.
config.log (94.8 KB) - added by dliessi (Davide Liessi) 11 years ago.

Download all attachments as: .zip

Change History (13)

Changed 11 years ago by dliessi (Davide Liessi)

Attachment: main.log added

Changed 11 years ago by dliessi (Davide Liessi)

Attachment: config.log added

comment:1 Changed 11 years ago by nerdling (Jeremy Lavergne)

Cc: ryandesign@… added; snc@… removed
Owner: changed from macports-tickets@… to snc@…

comment:2 Changed 11 years ago by dliessi (Davide Liessi)

I just checked lilypond @2.16.2. This is a configure error in 2.17.96, but it was a configure warning in 2.16.2, so lilypond @2.16.2 compiles correctly even if it also cannot determine texi2html's version.

If I invoke texi2html it I always get this error message and nothing else:

$ texi2html --version
Undefined subroutine &Locale::Messages::dgettext called at /opt/local/bin/texi2html line 29628.

I have already uninstalled, cleaned --all and reinstalled texi2html. Do you get the same error message or is your texi2html working?

comment:3 in reply to:  2 Changed 11 years ago by nerdling (Jeremy Lavergne)

Cc: jmr@… added

Replying to davide.liessi@…:

Do you get the same error message or is your texi2html working?

It seems the 10.6 buildbot's texi2html doesn't work either.

comment:4 Changed 11 years ago by dliessi (Davide Liessi)

Ok, I reinstalled with the -s option to build from source and I get an almost working texi2html: it works as expected, but I get an error before the expected output, e.g.

$ texi2html --version
error loading .//Config: Can't locate .//Config in @INC (@INC contains: /opt/local/share/texi2html/lib/libintl-perl/lib /opt/local/lib/perl5/site_perl/5.12.4/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.12.4 /opt/local/lib/perl5/vendor_perl/5.12.4/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.12.4 /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level /opt/local/lib/perl5/5.12.4 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at /opt/local/bin/texi2html line 738.

5.0

comment:5 Changed 11 years ago by jmroot (Joshua Root)

Apparently texi2html could be replaced_by texinfo if the latter is updated, as they have merged upstream.

comment:6 Changed 11 years ago by dliessi (Davide Liessi)

I don't know what happened, but after reinstalling from source again the new error message disappeared and now texi2html is apparently working correctly.

I tried to install lilypond-devel again and it configured correctly and is now building. I think that this ticket can be closed.

Is it possible to force the buildbot to clean --all texi2html and build it from source again? Do I need to open a new ticket for that?

comment:7 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

The buildbots always start each build from a clean slate of no installed ports.

Distfiles are not cleaned, but there is no reason to; if the checksums match, then the distfile is the correct one.

comment:8 in reply to:  7 ; Changed 11 years ago by dliessi (Davide Liessi)

Replying to ryandesign@…:

The buildbots always start each build from a clean slate of no installed ports.

Distfiles are not cleaned, but there is no reason to; if the checksums match, then the distfile is the correct one.

Ok, so is it possible to force the buildbot to rebuild texi2html even though the Portfile was not upgraded?

If this is not possible, would it be acceptable to increase the revision number in order to force the rebuild?

Rebuilding the port seems necessary at least on Snow Leopard.

comment:9 in reply to:  8 ; Changed 11 years ago by larryv (Lawrence Velázquez)

Replying to davide.liessi@…:

Ok, so is it possible to force the buildbot to rebuild texi2html even though the Portfile was not upgraded?

I forced a build but just remembered that existing archives won’t be replaced.

comment:10 in reply to:  9 Changed 11 years ago by dliessi (Davide Liessi)

Replying to larryv@…:

I forced a build but just remembered that existing archives won’t be replaced.

Well, considering the fact that presumably all Snow Leopard users since 26-Sep-2011 (see http://packages.macports.org/texi2html/) are getting a broken precompiled texi2html, maybe it is worth upgrading the revision number to force the build on the buildbot and to give all users a working program.

comment:11 Changed 11 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: newclosed

I updated texinfo to 5.2 in r114639, revbumped texi2html in r114640, and opened #41790 on phasing out texi2html.

Note: See TracTickets for help on using tickets.