Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#37675 closed defect (invalid)

llvm-3.1: Cyclic dependency on libstdcxx

Reported by: harry.weppner@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cooljeanius (Eric Gallager)
Port: llvm-3.1

Description

llvm-3.1 build fails because

:debug:build Registry error: libstdcxx not registered as installed & active.

However, libstdcxx depends on cctools, which depends on llvm-3.1 which creates a cyclic dependency.

This is on 10.6.8 (ppc) using powerpc-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5566)

Thanks & cheerio, Harry.

Attachments (1)

main.log (239.1 KB) - added by harry.weppner@… 11 years ago.
llvm-3.1 build main log file

Download all attachments as: .zip

Change History (8)

Changed 11 years ago by harry.weppner@…

Attachment: main.log added

llvm-3.1 build main log file

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

Milestone: MacPorts 2.1.3
Owner: changed from macports-tickets@… to jeremyhu@…
Summary: Cyclic dependency between libstdcxx and llvm-3.1llvm-3.1: Cyclic dependency on libstdcxx
Version: 2.1.2

Thanks for the ticket. In the future, please try to remember to CC any port maintainers.

comment:2 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: invalid
Status: newclosed

You need to install apple-gcc-4.2 +bootstrap first.

comment:3 Changed 11 years ago by harry.weppner@…

Resolution: invalid
Status: closedreopened

Hi Jeremy,

that's not an option as the error Error: Please install this port without the bootstrap variant. is reported due to:

    pre-fetch {
        if {([file exists ${prefix}/bin/ld] && [file exists ${prefix}/bin/as]) || ${os.major} > 8} {
            ui_error "Please install this port without the bootstrap variant."

Cheerio, Harry.

comment:4 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:5 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: invalid
Status: reopenedclosed

Ok, so then you already have cctools and ld64 and apple-gcc42 on your system ...

The +bootstrap variant is there to break the cyclic dependency for the initial install, but after that, you don't need to break it any more.

So what is the actual problem you are reporting? Is it the cycle (invalid) or the python3 issue (duplicate) or something else?

If it's python3, please use python2 when building llvm-*. If it's the cycle, that's perfectly fine. If it's something else, please open a new ticket specific to that issue.

comment:6 Changed 11 years ago by harry.weppner@…

Hi Jeremy,

didn't realize there was an issue with python3 - selected python27 and the build proceeded fine. Thanks!

Cheerio, Harry.

comment:7 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Great, thanks for reporting back.

Note: See TracTickets for help on using tickets.