Opened 11 years ago
Closed 11 years ago
#39201 closed defect (fixed)
octave-devel @3.6.4_3: missing dependencies
Reported by: | bpabbott@… | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | cooljeanius (Eric Gallager) | |
Port: | octave-devel |
Description
I'm one of the many Octave developers, and am a user of Macports. The current octave-devel portfile has some dependency problems.
- The run-time dependencies for the +fltk variant (epstool, epstoedit, transfig) are also needed with no using fltk (i.e. when using gnuplot).
- The arpack port should be included in the lib-dependencies.
Ben
Change History (7)
comment:1 Changed 11 years ago by bpabbott@…
Cc: | bpabbott@… added |
---|
comment:2 Changed 11 years ago by larryv (Lawrence Velázquez)
Cc: | bpabbott@… removed |
---|---|
Keywords: | arpack octave removed |
Owner: | changed from macports-tickets@… to michaelld@… |
Summary: | missing octave-devel dependencies → octave-devel @3.6.4_3: missing dependencies |
Thanks for the ticket. In the future, please Cc relevant port maintainers (port info --maintainers
). Also, you don’t have to Cc yourself; as the ticket reporter, you’ll get email notifications automatically.
comment:3 Changed 11 years ago by michaelld (Michael Dickens)
Yes, those changes look correct (I say, after a few tests). Here's my script for the library dependencies (assuming $prefix is /opt/local ):
port provides `otool -L \`port contents | grep /lib/ | grep -v PKG | grep -v \.la\` | sed -e "/\:/d" | awk '{ print $1 }' | sort -u | grep /opt/local/lib` | awk '{ print $NF }' | sort -u
which returns (for me: octave-devel @3.6.4_3+accelerate+docs+fltk+gcc47):
arpack curl fftw-3 fftw-3-single fltk-devel fontconfig freetype gcc47 glpk GraphicsMagick hdf5-18 libstdcxx metis ncurses octave-devel pcre qhull qrupdate readline SuiteSparse zlib
Doing the same for "grep /bin/" returns:
arpack fftw-3 fftw-3-single fltk-devel fontconfig freetype gcc47 hdf5-18 libstdcxx metis ncurses octave-devel pcre qrupdate readline SuiteSparse zlib
Comparing these lists with what the current Portfile reads: arpack, fontconfig, freetype, and zlib are missing from the library dependencies. I think "less" and "gsed" should be build dependencies; "less" might also be a runtime dependency.
Do you know if ftgl is used as a library dependency? Looks like it provides only headers and libraries, so if we don't find direct linking then it's not being used, yes? I see no direct linking ...
I'll test out these changes tomorrow. Thanks for reporting!
comment:4 follow-up: 5 Changed 11 years ago by bpabbott@…
I checked Octave's sources and found no mention of flgl. Perhaps it has been dropped as a dependency? I'll check with the development team and report back.
comment:5 Changed 11 years ago by bpabbott@…
Replying to bpabbott@…:
I checked Octave's sources and found no mention of flgl. Perhaps it has been dropped as a dependency? I'll check with the development team and report back.
I've confirmed that ftgl is no longer a dependency.
comment:7 Changed 11 years ago by michaelld (Michael Dickens)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r106365.
Cc Me!