Opened 10 years ago

Closed 8 years ago

#43337 closed defect (invalid)

Building gsl+doc fails

Reported by: michipili (Michael Grünewald) Owned by: daitakahashi
Priority: Low Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: gsl

Description

Building port math/gsl with the +doc variant fails on Maverick.

I could diagnose the problem so far that:

  • Upstream build system croaks on invocation of texi2dvi (cd doc && make dvi)
  • Port uses the system base texi2dvi utility instead of the utility from ports
  • Trouble source seems to be the --build-dir option on the invocation line.

As a workaround, one can build gsl without the doc variant and use online documentation.

Change History (6)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: doc variant removed
Owner: changed from macports-tickets@… to dtakahashi42@…

Please attach the main.log file so we can see what went wrong.

comment:2 Changed 10 years ago by daitakahashi

I do not find problems on building gsl with +doc on 10.8.5, so it could be a Maverick specific issue. Could you attach your log file?

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

FYI I had no problem installing gsl +doc just now on OS X Mavericks 10.9.2 with Xcode 5.1.

comment:4 Changed 10 years ago by daitakahashi

Is there some progress on your investigation? If the problem still exists, could you attach your detailed log?

comment:5 Changed 10 years ago by dixiao@…

I ran into the same problem. I'm using MacTex by adding /usr/texbin to the bin path.

The problem is that in the step make doc, Apple-supplied /usr/bin/texi2dvi gets picked up. That version appears to be quite old (back from 2004). After installing texinfo using port, sudo port install gsl +doc is successful.

I don't know if texlive port has texi2dvi because I'm using MacTex, which has long ditched texi2dvi in its distribution. If not, then texinfo should be added as a dependence when +doc variant is used.

UPDATE: gsl does have dependence on texinfo. So this is caused by modifying binpath in macports.conf. I don't think this is a gsl bug.

Last edited 10 years ago by dixiao@… (previous) (diff)

comment:6 Changed 8 years ago by dstrubbe (David Strubbe)

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