Opened 5 years ago

Closed 5 years ago

#59496 closed defect (fixed)

dependency problem on Lion (probably related to gcc9?)

Reported by: lemzwerg (Werner Lemberg) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: lion Cc: nerdling (Jeremy Lavergne), jmroot (Joshua Root), cooljeanius (Eric Gallager)
Port: lilypond-devel

Description

I successfully installed MacPorts 2.6.2 with

install_dir=/opt/lilypond/2.19.83
./configure --without-startupitems \
            --prefix=${install_dir} \
            --with-applications-dir=${install_dir}/Applications

Now I'm trying to run

sudo port -N mpkg lilypond-devel +mactex +perl5_28 +python37

This installs a bunch of packages without problems. However, it eventually aborts with

:debug:main dlist_eval: all entries in dependency list have unsatisfied dependencies; can't process

I've attached the main.log file.

Why does it abort? Looking at the log file I can't deduce which dependency is actually missing....

[I have mactex installed and properly registered in macports.conf's binpath variable.]

Attachments (4)

main.log (187.4 KB) - added by lemzwerg (Werner Lemberg) 5 years ago.
install-gcc9.log (61.0 KB) - added by lemzwerg (Werner Lemberg) 5 years ago.
install-clang-3.4.log (46.8 KB) - added by lemzwerg (Werner Lemberg) 5 years ago.
clang-3.4.rdeps (690 bytes) - added by lemzwerg (Werner Lemberg) 5 years ago.

Download all attachments as: .zip

Change History (19)

Changed 5 years ago by lemzwerg (Werner Lemberg)

Attachment: main.log added

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

Cc: nerdling added

Are you able to port install gcc9? If not, it's not a problem with lilypond-devel.

Changed 5 years ago by lemzwerg (Werner Lemberg)

Attachment: install-gcc9.log added

comment:2 Changed 5 years ago by lemzwerg (Werner Lemberg)

No. Attached you can find the output of

sudo /opt/lilypond/2.19.83/bin/port -d -N install gcc9 &> install-gcc9.log

comment:3 Changed 5 years ago by lemzwerg (Werner Lemberg)

Poking around, I found the following small failing example.

sudo /opt/lilypond/2.19.83/bin/port -N install clang-3.4
--->  Computing dependencies for clang-3.4
--->  Dependencies to be installed: libxml2 icu clang-3.7 clang-3.4 llvm-3.7
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port clang-3.4 failed

Note how clang-3.4 appears in the list of dependencies, too. Complete (small) log file attached.

Changed 5 years ago by lemzwerg (Werner Lemberg)

Attachment: install-clang-3.4.log added

comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Is your ports tree up to date? (sudo port sync) This may be the problem that was fixed in [58c748e62680013d146097d30c3450a827c2d716/macports-ports].

comment:5 Changed 5 years ago by lemzwerg (Werner Lemberg)

Well, just to be sure I've just tried

sudo /opt/lilypond/2.19.83/bin/port -N selfupdate
sudo /opt/lilypond/2.19.83/bin/port sync
sudo /opt/lilypond/2.19.83/bin/port -N mpkg lilypond-devel +mactex +perl5_28 +python37

and it still fails.

comment:6 Changed 5 years ago by kencu (Ken)

clean (of course) and try again installing just clang-3.4, as you did above. If that still fails, please attach the product of port rdeps clang-3.4. You may be aware there is a problem with circular deps on 10.6 and 10.7 installing icu for which there is a 30+ reply PR going on right now in the PR queue. One might ponder you are having that exact issue...

comment:7 Changed 5 years ago by lemzwerg (Werner Lemberg)

Will try that later today. What exactly should I clean?

comment:8 in reply to:  7 Changed 5 years ago by kencu (Ken)

Replying to lemzwerg:

Will try that later today. What exactly should I clean?

well, everything, but certainly everything with currently actively failing builds (lilypong, clang-3.4, icu, whatever else).

Every once in a while I go into

${prefix}/var/macports/build

and look to see what failed build remnants remain in there, and clean them out either with sudo port clean XYZ, or if that doesn't work (it doesn't always, for various reasons i won't go into here), then just brute-force sudo rm -rf the_very_long_folder_name

comment:9 Changed 5 years ago by lemzwerg (Werner Lemberg)

I did all the steps you mentioned (including a self-update). Still no success. Attached is the rdeps output.

Last edited 5 years ago by lemzwerg (Werner Lemberg) (previous) (diff)

Changed 5 years ago by lemzwerg (Werner Lemberg)

Attachment: clang-3.4.rdeps added

comment:10 Changed 5 years ago by kencu (Ken)

yes, you have the icu circular dependency that will be addressed by the PR in the PR queue once it is committed. <https://github.com/macports/macports-ports/pull/5627>. Until it is committed, you're busted. Hopefully it will fix it up for you.

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

Cc: jmroot added

What clang versions do you currently have active? Does deactivating everything newer than 3.4 help? If not, what does port rdeps clang-3.4 say?

comment:12 Changed 5 years ago by kencu (Ken)

He posted that already, two lines up.

Last edited 5 years ago by kencu (Ken) (previous) (diff)

comment:13 Changed 5 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:14 Changed 5 years ago by lemzwerg (Werner Lemberg)

The dependency problems seems to be solved, thanks. However, a build of clang-3.4 now fails, but I will report that separately.

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

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