Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#49671 closed defect (invalid)

Fail to install any port: unsatisfied dependencies

Reported by: damien.bruchet@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: php56

Description

Hi there,

Each time I try to install something with port, I have this message in log:

:debug:clean dlist_eval: all entries in dependency list have unsatisfied dependencies; can't process
:error:clean The following dependencies were not installed: php56 gsed gettext clang-3.4 libxml2 xz perl5 perl5.16 gdbm python27
:notice:clean To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
:error:clean Processing of port php failed

I try to install php56, wich actually depends on: gsed gettext clang-3.4 libxml2 xz perl5 perl5.16 gdbm python27

What happens here?

It seams that there is a cicrular dependencies fail, but I don'k know how to fix it. I try co clean, reinstall MacPorts, xcode, celan and install dependencies first, nothing works, I'm out of ideas.

Any idea? I failed in finding a solution on the web.


Thanks all!

Attachments (1)

log.txt (21.7 KB) - added by damien.bruchet@… 9 years ago.
Log port install execution

Download all attachments as: .zip

Change History (13)

comment:1 Changed 9 years ago by damien.bruchet@…

Cc: damien.bruchet@… added

Cc Me!

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: damien.bruchet@… removed
Keywords: port unsatisfied dependencies removed

I don't think I've heard of this problem before. What version of OS X do you have, and what version of Xcode? Has this ever worked for you?

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

Cc: ryandesign@… added

Cc Me!

comment:4 Changed 9 years ago by damien.bruchet@…

I'm running MacOSX v 10.9.5, and as far as I remember it has never worked.

EDIT: I have XCode v 6.2 (6C131e) installed

Last edited 9 years ago by damien.bruchet@… (previous) (diff)

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

Could you try installing a port that does not have any dependencies, such as ncurses?

comment:6 Changed 9 years ago by damien.bruchet@…

Yes it seems to work, ncurses is installed now. So it seams that port is not broken, but I have one or more packages in fault? Or I misunderstood?

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

I'm glad ncurses installed successfully.

I'm really not sure what the problem is, since it's not familiar to me. We'll have to do some troubleshooting to find out.

Try again to install php56, but this time use the debug flag to show more information. If you send that output to a file and attach it here, I could have a look and see if anything looks amiss.

sudo port clean php56
sudo port -d install php56 2>&1 | tee ~/Desktop/log.txt

The above will create a file "log.txt" on your desktop which you can then attach to this ticket.

You mentioned that you thought there was a circular dependency. If there is, that would definitely be a problem. What ports do you think the circular dependency involves?

Changed 9 years ago by damien.bruchet@…

Attachment: log.txt added

Log port install execution

comment:8 Changed 9 years ago by damien.bruchet@…

I add the log.txt file.

I'm not really sure, but in my mind one of these may have circular dependencies: "gsed gettext clang-3.4 libxml2 xz perl5 perl5.16 gdbm python27"

comment:9 Changed 9 years ago by damien.bruchet@…

In fact I tried to install dependencies alone. At the end of the installation of one dependency, it said that an error happened, all entries in dependency list have unsatisfied dependencies.

So I continue, until I notice that some dependencies were dependencies of parent paquet...

Do you understand what I mean?

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

The log says:

DEBUG: compiler clang 163.7.1 blacklisted because it matches {clang < 400}

According to XcodeVersionInfo, clang-163.7.1 is from Xcode 4.1, which is not compatible with OS X 10.9. This probably means that although you have Xcode 6.2, you have a much older version of the command line developer tools. You should keep the version of Xcode and the version of the command line developer tools in sync. Please try running "xcode-select --install" to install the latest command line tools, or check in the Mac App Store's updates section for an update. If neither of those work, you can get the Xcode 6.2 version of the command line tools installer from the Apple developer downloads page.

comment:11 Changed 9 years ago by damien.bruchet@…

Hm I cannot update xcode without upgrading my OS, so I am now on Mac OS 10.11.1.

It seems to work now! I haven't got build errors anymore.

I'm quite glad about it, because I had to upgrade my OS version. Here it's not a problem but for some reasons it could be.

By the way really thank you for your helps!

comment:12 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

...ok, upgrading to El Capitan is fine. After doing so, you'll have to follow the migration instructions, which involve reinstalling MacPorts, installing Xcode 7 or later and the command line tools for Xcode 7 or later, and uninstalling and reinstalling all ports.

If you had wanted to remain on Mavericks, you could also have done as I mentioned above, and downloaded the Xcode 6.2 version of the command line tools from the Apple developer web site. Xcode 6.2 is the last version of Xcode that supports Mavericks.

I'll close the ticket now since you've resolved the issue.

Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)
Note: See TracTickets for help on using tickets.