Opened 14 years ago

Closed 14 years ago

#25390 closed defect (fixed)

Asymptote fail to build (missing texinfo.tex)

Reported by: thyAnger Owned by: loshea@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: asymptote

Description (last modified by mf2k (Frank Schima))

I tried to build asymptote resulting in an error message:

Port command started with PID 23196
Computing dependencies for asymptote
Dependencies to be installed: boehmgc gsl libsigsegv
Fetching boehmgc
Attempting to fetch gc-7.1.tar.gz from http://lil.fr.distfiles.macports.org/boehmgc
Verifying checksum(s) for boehmgc
Extracting boehmgc
Configuring boehmgc
Building boehmgc
Staging boehmgc into destroot
Installing boehmgc @7.1_0
Activating boehmgc @7.1_0
Cleaning boehmgc
Fetching gsl
Attempting to fetch gsl-1.14.tar.gz from http://mirrors.kernel.org/gnu/gsl
Verifying checksum(s) for gsl
Extracting gsl
Configuring gsl
Building gsl
Staging gsl into destroot
Installing gsl @1.14_0
Activating gsl @1.14_0
Cleaning gsl
Fetching libsigsegv
Attempting to fetch libsigsegv-2.7.tar.gz from ftp://ftp.lip6.fr/pub/gnu/libsigsegv
Verifying checksum(s) for libsigsegv
Extracting libsigsegv
Applying patches to libsigsegv
Configuring libsigsegv
Building libsigsegv
Staging libsigsegv into destroot
Installing libsigsegv @2.7_0
Activating libsigsegv @2.7_0
Cleaning libsigsegv
Fetching asymptote
Attempting to fetch asymptote-1.88.src.tgz from http://garr.dl.sourceforge.net/asymptote
Verifying checksum(s) for asymptote
Extracting asymptote
Configuring asymptote
Building asymptote
Error: Target org.macports.build returned: shell command failed
Log for asymptote is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_asymptote/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
Executing: /opt/local/bin/port install asymptote

By log analyzing it seems file texinfo.tex cannot be found even if it is located in/opt/local/share/automake-1.1. For further info take a look at the log file attached.

Attachments (1)

main.log (163.4 KB) - added by thyAnger 14 years ago.
build log

Download all attachments as: .zip

Change History (7)

Changed 14 years ago by thyAnger

Attachment: main.log added

build log

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Cc: gmail.com:loshea removed
Description: modified (diff)
Owner: changed from macports-tickets@… to loshea@…

Please review WikiFormatting and use the Preview button before posting. Proper email addresses must be used in Trac.

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Summary: Asymptote fail to buildAsymptote fail to build (missing texinfo.tex)

comment:3 Changed 14 years ago by u.kzhk75@…

I got the same trouble.

As asymptote sourceforge site's FAQ mention it,
you may see "Question 2.3. What do I do if I get the error"

I put http://asymptote.sourceforge.net/asymptote.pdf in source-building directory. (sorry I forgot it ;-) )

asymptote package is installed fine.

comment:4 Changed 14 years ago by LenoreHorner

I tried putting asymptote.pdf in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_asymptote/work and that didn't work. Where should I be putting it? Can this be fixed in the port?

old log:

...skipping...
:info:build ! I can't find file `texinfo.tex'.
:info:build l.1 \input texinfo.tex 
:info:build                        @bye
:info:build (Press Enter to retry, or Control-D to exit)
:info:build Please type another input file name: 
:info:build ! Emergency stop.
:info:build l.1 \input texinfo.tex 
:info:build                        @bye
:info:build No pages of output.
:info:build Transcript written on txiversion.log.
:info:build /opt/local/bin/texi2dvi: texinfo.tex appears to be broken, quitting.
:info:build make[1]: *** [asymptote.pdf] Error 1
:info:build make: *** [man] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_asymptote/work/asymptote-1.88" && /usr/bin/make -j2 all " returned error 2
:error:build Target org.macports.build returned: shell command failed
:debug:build Backtrace: shell command failed
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for asymptote): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for asymptote is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_asymptote/main.log

The new log is the same.

/opt/local/var/macports/software/texinfo exists.

comment:5 in reply to:  4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to LenoreHorner@…:

I tried putting asymptote.pdf in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_asymptote/work and that didn't work. Where should I be putting it?

Their FAQ says "put asymptote.pdf in the directory doc", i.e. the directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_asymptote/work/asymptote-1.88/doc

Can this be fixed in the port?

The port should presumably fix the original problem if possible (i.e. allow texi2dvi to find the texinfo.tex file), not bypass it...

comment:6 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.