Opened 11 years ago

Closed 11 years ago

#37933 closed defect (duplicate)

octave-devel: Error: The following dependencies were not installed: ghostscript xorg

Reported by: bosco@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: octave-devel

Description (last modified by larryv (Lawrence Velázquez))

I am trying to install octave in MacOS X with MacPorts. I have just upgraded to Mac OS X Version 10.8.2. After installing the Xcode and the command line tools, and de-installing and installing MacPorts with the Mac OS pkg installer, I've tried to follow the instructions in

http://wiki.octave.org/Octave_for_MacOS_X.

However, there is a point where it says

Error: The following dependencies were not installed: ghostscript xorg-libXext xorg-libX11 xorg-libxcb doxygen graphviz gd2 xpm xorg-libXt libLASi pango Xft2 xrender cairo xorg-xcb-util gobject-introspection xorg-libXaw groff xorg-libXmu texlive texlive-basic texlive-bin poppler xorg-libXp texlive-documentation-base texlive-bin-extra dvipng latexmk texlive-latex pdfjam texlive-latex-recommended pgf texlive-context texlive-fonts-recommended texlive-math-extra texlive-metapost texlive-xetex texlive-generic-recommended texlive-documentation-english texlive-fontutils lcdf-typetools ps2eps texlive-lang-czechslovak texlive-lang-dutch texlive-lang-english texlive-lang-french texlive-lang-german texlive-lang-italian texlive-lang-polish texlive-lang-portuguese texlive-lang-spanish texlive-luatex texlive-latex-extra texlive-pictures gnuplot
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port octave-devel failed

and after trying several times commands like

sudo port clean octave-devel rdepof:octave-devel
sudo port clean octave-devel

I end up with the same error

Attachments (1)

main.log (146.8 KB) - added by bosco@… 11 years ago.

Download all attachments as: .zip

Change History (9)

Changed 11 years ago by bosco@…

Attachment: main.log added

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

Cc: bosco@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to michaelld@…
Summary: Error: The following dependencies were not installed: ghostscript xorgoctave-devel: Error: The following dependencies were not installed: ghostscript xorg

Thanks for the ticket. In the future, please Cc any port maintainers.

comment:2 Changed 11 years ago by michaelld (Michael Dickens)

The issue does not look like it belongs to any specific port, though I might be wrong. It looks to me like "port" is having some issue with what it has to install:

:msg:main --->  Dependencies to be installed: ghostscript xorg-libXext xorg-libX11 xorg-libxcb doxygen graphviz gd2 xpm xorg-libXt libLASi pango Xft2 xrender cairo xorg-xcb-util gobject-introspection xorg-libXaw groff xorg-libXmu texlive texlive-basic texlive-bin poppler xorg-libXp texlive-documentation-base texlive-bin-extra dvipng latexmk texlive-latex pdfjam texlive-latex-recommended pgf texlive-context texlive-fonts-recommended texlive-math-extra texlive-metapost texlive-xetex texlive-generic-recommended texlive-documentation-english texlive-fontutils lcdf-typetools ps2eps texlive-lang-czechslovak texlive-lang-dutch texlive-lang-english texlive-lang-french texlive-lang-german texlive-lang-italian texlive-lang-polish texlive-lang-portuguese texlive-lang-spanish texlive-luatex texlive-latex-extra texlive-pictures gnuplot
:debug:main dlist_eval: all entries in dependency list have unsatisfied dependencies; can't process

comment:3 Changed 11 years ago by michaelld (Michael Dickens)

As for what the OP can do: Try to install the dependencies first, one at a time; start with "texlive +full" since that will get IIRC all of the texlive ports. Then move on to the others. You could even try something like:

fff="ghostscript xorg-libXext xorg-libX11 xorg-libxcb doxygen graphviz gd2 xpm xorg-libXt libLASi pango Xft2 xrender cairo xorg-xcb-util gobject-introspection xorg-libXaw groff xorg-libXmu texlive texlive-basic texlive-bin poppler xorg-libXp texlive-documentation-base texlive-bin-extra dvipng latexmk texlive-latex pdfjam texlive-latex-recommended pgf texlive-context texlive-fonts-recommended texlive-math-extra texlive-metapost texlive-xetex texlive-generic-recommended texlive-documentation-english texlive-fontutils lcdf-typetools ps2eps texlive-lang-czechslovak texlive-lang-dutch texlive-lang-english texlive-lang-french texlive-lang-german texlive-lang-italian texlive-lang-polish texlive-lang-portuguese texlive-lang-spanish texlive-luatex texlive-latex-extra texlive-pictures gnuplot"
for tf in $fff; do sudo port install ${tf} +atlas +docs; done

and then see if that gets all of the background stuff installed. If so, then you could try the original octave-devel install command again.

comment:4 Changed 11 years ago by michaelld (Michael Dickens)

Resolution: worksforme
Status: newclosed

OP reports off ticket that my suggestion did the trick; I can't replicate the issue after a couple tries; so I'm closing this ticket as "works for me". I don't know what the actual issue is, but I'm glad the OP is up and running.

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

That message from dlist_eval usually indicates a dependency cycle.

comment:6 Changed 11 years ago by michaelld (Michael Dickens)

Could be.That said, "port rdeps octave-devel +atlas +docs" works and there do not appear to be any cycles. There are a lot of dependencies so who knows; also, I'm not sure if 'port' internally does a 'uniq' equivalent if/when it finds a dependency that is already being met. So, maybe not the best test.

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

Resolution: worksforme
Status: closedreopened

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

Port: octave-devel added
Resolution: duplicate
Status: reopenedclosed

Duplicate of #37604.

Note: See TracTickets for help on using tickets.