[MacPorts] #19132: can't get 'texlive' to install due to bug in 'texi2html'

MacPorts noreply at macports.org
Fri Apr 3 20:54:07 PDT 2009


#19132: can't get 'texlive' to install due to bug in 'texi2html'
-------------------------------+--------------------------------------------
 Reporter:  aeevr@…            |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:  Port Bugs                            
Component:  ports              |     Version:  1.7.0                                
 Keywords:                     |        Port:  texi2html                            
-------------------------------+--------------------------------------------
Changes (by jmr@…):

 * cc: aeevr@… (removed)


Old description:

> I have an iBook G4 running OSX 10.3.9
> Here's my port version btw:
> % port version
> Version: 1.710
>
> I tried to install 'texlive', but it failed like so:
> % sudo port install texlive
> Password:
> --->  Fetching texi2html
> --->  Attempting to fetch texi2html-1.80.tar.gz from
> http://savannah.nongnu.org/download/texi2html
> --->  Verifying checksum(s) for texi2html
> --->  Extracting texi2html
> --->  Configuring texi2html
> --->  Building texi2html
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texi2html/work/texi2html-1.80"
> && make all " returned error 2
> Command output: Making all in .
> /bin/sh ./buildt2h.sh texi2html texi2html_configured.pl MySimple.pm
> T2h_i18n.pm texi2html.init translations.pl examples/l2h.init T2h_l2h.pm
> regenerating texi2html from MySimple.pm T2h_i18n.pm texi2html.init
> translations.pl texi2html_configured.pl examples/l2h.init T2h_l2h.pm
> chmod a+x texi2html
> Making all in doc
> Generating texi2html.1...
> sed: 1: "s/[@]PACKAGE_DATE[@]/18 ...": bad flag in substitute command:
> 'c'
> make[1]: *** [texi2html.1] Error 1
> make: *** [all-recursive] Error 1
>
> Error: The following dependencies failed to build: texlive_base texi2html
> texinfo lzmautils texlive_texmf-full texlive_texmf-minimal xorg-libXaw
> Error: Status 1 encountered during processing.
> [Ada-Rubins-Computer:~] aeevr% source .cshrc
> [Ada-Rubins-Computer:~] aeevr% sudo port -f build texlive_base
> Password:
> --->  Building texi2html
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texi2html/work/texi2html-1.80"
> && make all " returned error 2
> Command output: Making all in .
> make[1]: Nothing to be done for `all-am'.
> Making all in doc
> Generating texi2html.1...
> sed: 1: "s/[@]PACKAGE_DATE[@]/18 ...": bad flag in substitute command:
> 'c'
> make[1]: *** [texi2html.1] Error 1
> make: *** [all-recursive] Error 1
>
> Error: The following dependencies failed to build: texi2html texinfo
> lzmautils texlive_texmf-full texlive_texmf-minimal xorg-libXaw
> Error: Status 1 encountered during processing.
> [Ada-Rubins-Computer:~] aeevr% sudo port -f install texlive_base
> --->  Building texi2html
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texi2html/work/texi2html-1.80"
> && make all " returned error 2
> Command output: Making all in .
> make[1]: Nothing to be done for `all-am'.
> Making all in doc
> Generating texi2html.1...
> sed: 1: "s/[@]PACKAGE_DATE[@]/18 ...": bad flag in substitute command:
> 'c'
> make[1]: *** [texi2html.1] Error 1
> make: *** [all-recursive] Error 1
>
> Error: The following dependencies failed to build: texi2html texinfo
> lzmautils texlive_texmf-full texlive_texmf-minimal xorg-libXaw
> Error: Status 1 encountered during processing.
>
> ==============================================
> So I tried to istall the depedencies one by one, so I did:
> % sudo port -f install xorg-libXaw
> % sudo port -f install texlive_texmf-minimal
> % sudo port -f install texlive_texmf-full
> % sudo port -f install lzmautils
> % sudo port -f install texinfo
> which all completed without complaint.
>
> When I tried to install 'texi2html' I got the following error:
> % sudo port -f install texi2html--->  Building texi2html
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texi2html/work/texi2html-1.80"
> && make all " returned error 2
> Command output: Making all in .
> make[1]: Nothing to be done for `all-am'.
> Making all in doc
> Generating texi2html.1...
> sed: 1: "s/[@]PACKAGE_DATE[@]/18 ...": bad flag in substitute command:
> 'c'
> make[1]: *** [texi2html.1] Error 1
> make: *** [all-recursive] Error 1
>
> Error: Status 1 encountered during processing.
>
> ==============================================
>
> I'm pretty sure the problem has to do with the setting of this env
> variable 'PACKAGE_DATE' which keeps getting set to '18:44 January
> ./configure.ac'.
>
> In the executable file 'configure' I changed line 2276 from:
> PACKAGE_DATE=`"$srcdir"/mdate-sh "$srcdir"/configure.ac`
>
> to:
> PACKAGE_DATE=`"$srcdir"/mdate-sh`
>
> Then I followed the instructions in the 'INSTALL' file:
> 1)make clean
> 2)sh ./configure
> 3)make
> 4)make install
> which finished without complaint.
>

> So I was feeling all pleased with myself that I got it to compile, but
> when I tried to install(also tried build btw) 'texlive' again I got the
> following error:
>
> % sudo port -f install texlive
> --->  Installing texi2html @1.80_0
> Error: Target org.macports.install returned: Registry error: texi2html
> @1.80_0 already registered as installed.  Please uninstall it first.
> Error: The following dependencies failed to build: texlive_base texi2html
> Error: Status 1 encountered during processing.
>

> =================================================================
>
> So I tried to install 'texlive_base', but the sam problem:
> % sudo port -f install texlive_base
> --->  Installing texi2html @1.80_0
> Error: Target org.macports.install returned: Registry error: texi2html
> @1.80_0 already registered as installed.  Please uninstall it first.
> Error: The following dependencies failed to build: texi2html
> Error: Status 1 encountered during processing.
>
> =============================================================
>
> Anyone know what I should do here?
> Seems like MacPorts won't accept the build of a dependency that is
> complied by me, the user, only its own builds. There's probably some
> simple thing I must do to get it to work, but it was not clear to me from
> looking at the Guide.
>
> Thanks in advance for your help.

New description:

 I have an iBook G4 running OSX 10.3.9
 Here's my port version btw:
 {{{
 % port version
 Version: 1.710
 }}}

 I tried to install 'texlive', but it failed like so:
 {{{
 % sudo port install texlive
 Password:
 --->  Fetching texi2html
 --->  Attempting to fetch texi2html-1.80.tar.gz from
 http://savannah.nongnu.org/download/texi2html
 --->  Verifying checksum(s) for texi2html
 --->  Extracting texi2html
 --->  Configuring texi2html
 --->  Building texi2html
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texi2html/work/texi2html-1.80"
 && make all " returned error 2
 Command output: Making all in .
 /bin/sh ./buildt2h.sh texi2html texi2html_configured.pl MySimple.pm
 T2h_i18n.pm texi2html.init translations.pl examples/l2h.init T2h_l2h.pm
 regenerating texi2html from MySimple.pm T2h_i18n.pm texi2html.init
 translations.pl texi2html_configured.pl examples/l2h.init T2h_l2h.pm
 chmod a+x texi2html
 Making all in doc
 Generating texi2html.1...
 sed: 1: "s/[@]PACKAGE_DATE[@]/18 ...": bad flag in substitute command: 'c'
 make[1]: *** [texi2html.1] Error 1
 make: *** [all-recursive] Error 1

 Error: The following dependencies failed to build: texlive_base texi2html
 texinfo lzmautils texlive_texmf-full texlive_texmf-minimal xorg-libXaw
 Error: Status 1 encountered during processing.
 [Ada-Rubins-Computer:~] aeevr% source .cshrc
 [Ada-Rubins-Computer:~] aeevr% sudo port -f build texlive_base
 Password:
 --->  Building texi2html
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texi2html/work/texi2html-1.80"
 && make all " returned error 2
 Command output: Making all in .
 make[1]: Nothing to be done for `all-am'.
 Making all in doc
 Generating texi2html.1...
 sed: 1: "s/[@]PACKAGE_DATE[@]/18 ...": bad flag in substitute command: 'c'
 make[1]: *** [texi2html.1] Error 1
 make: *** [all-recursive] Error 1

 Error: The following dependencies failed to build: texi2html texinfo
 lzmautils texlive_texmf-full texlive_texmf-minimal xorg-libXaw
 Error: Status 1 encountered during processing.
 [Ada-Rubins-Computer:~] aeevr% sudo port -f install texlive_base
 --->  Building texi2html
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texi2html/work/texi2html-1.80"
 && make all " returned error 2
 Command output: Making all in .
 make[1]: Nothing to be done for `all-am'.
 Making all in doc
 Generating texi2html.1...
 sed: 1: "s/[@]PACKAGE_DATE[@]/18 ...": bad flag in substitute command: 'c'
 make[1]: *** [texi2html.1] Error 1
 make: *** [all-recursive] Error 1

 Error: The following dependencies failed to build: texi2html texinfo
 lzmautils texlive_texmf-full texlive_texmf-minimal xorg-libXaw
 Error: Status 1 encountered during processing.
 }}}
 ==============================================
 So I tried to istall the depedencies one by one, so I did:
 {{{
 % sudo port -f install xorg-libXaw
 % sudo port -f install texlive_texmf-minimal
 % sudo port -f install texlive_texmf-full
 % sudo port -f install lzmautils
 % sudo port -f install texinfo
 }}}
 which all completed without complaint.

 When I tried to install 'texi2html' I got the following error:
 {{{
 % sudo port -f install texi2html--->  Building texi2html
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texi2html/work/texi2html-1.80"
 && make all " returned error 2
 Command output: Making all in .
 make[1]: Nothing to be done for `all-am'.
 Making all in doc
 Generating texi2html.1...
 sed: 1: "s/[@]PACKAGE_DATE[@]/18 ...": bad flag in substitute command: 'c'
 make[1]: *** [texi2html.1] Error 1
 make: *** [all-recursive] Error 1

 Error: Status 1 encountered during processing.
 }}}
 ==============================================

 I'm pretty sure the problem has to do with the setting of this env
 variable 'PACKAGE_DATE' which keeps getting set to '18:44 January
 ./configure.ac'.

 In the executable file 'configure' I changed line 2276 from:
 PACKAGE_DATE=`"$srcdir"/mdate-sh "$srcdir"/configure.ac`

 to:
 PACKAGE_DATE=`"$srcdir"/mdate-sh`

 Then I followed the instructions in the 'INSTALL' file:
 1)make clean
 2)sh ./configure
 3)make
 4)make install
 which finished without complaint.


 So I was feeling all pleased with myself that I got it to compile, but
 when I tried to install(also tried build btw) 'texlive' again I got the
 following error:
 {{{
 % sudo port -f install texlive
 --->  Installing texi2html @1.80_0
 Error: Target org.macports.install returned: Registry error: texi2html
 @1.80_0 already registered as installed.  Please uninstall it first.
 Error: The following dependencies failed to build: texlive_base texi2html
 Error: Status 1 encountered during processing.
 }}}

 =================================================================

 So I tried to install 'texlive_base', but the sam problem:
 {{{
 % sudo port -f install texlive_base
 --->  Installing texi2html @1.80_0
 Error: Target org.macports.install returned: Registry error: texi2html
 @1.80_0 already registered as installed.  Please uninstall it first.
 Error: The following dependencies failed to build: texi2html
 Error: Status 1 encountered during processing.
 }}}
 =============================================================

 Anyone know what I should do here?
 Seems like MacPorts won't accept the build of a dependency that is
 complied by me, the user, only its own builds. There's probably some
 simple thing I must do to get it to work, but it was not clear to me from
 looking at the Guide.

 Thanks in advance for your help.

--

Comment:

 Please remember to use WikiFormatting.

-- 
Ticket URL: <http://trac.macports.org/ticket/19132#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list