Opened 10 years ago

Closed 10 years ago

#47188 closed defect (worksforme)

Cannot build cmake 3.2.1

Reported by: Themanwithoutaplan Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: michaelld (Michael Dickens), cssdev
Port: cmake

Description

cmake failed to build after syncing the repo. Log enclosed

Attachments (1)

cmake_fail.log (596.5 KB) - added by Themanwithoutaplan 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by Themanwithoutaplan

Attachment: cmake_fail.log added

comment:1 Changed 10 years ago by michaelld (Michael Dickens)

Here's the issue:

:info:build ld: warning: ignoring file /Library/Frameworks/libcurl.framework/libcurl, missing required architecture x86_64 in file /Library/Frameworks/libcurl.framework/libcurl (2 slices)

You have cruft in /Library/Frameworks that you should remove. Maybe libcurl is the only thing in that directory? Since it's not x86_64, you hopefully don't need it.

After removing that directory ("sudl rm -rf /Library/Frameworks/libcurl.framework"), you'll need to do:

sudo port clean cmake

before trying to upgrade again. If that fails, post a new log.

comment:2 in reply to:  1 Changed 10 years ago by Themanwithoutaplan

Replying to michaelld@…:

Here's the issue:

:info:build ld: warning: ignoring file /Library/Frameworks/libcurl.framework/libcurl, missing required architecture x86_64 in file /Library/Frameworks/libcurl.framework/libcurl (2 slices)

You have cruft in /Library/Frameworks that you should remove. Maybe libcurl is the only thing in that directory? Since it's not x86_64, you hopefully don't need it.

After removing that directory ("sudl rm -rf /Library/Frameworks/libcurl.framework"), you'll need to do:

sudo port clean cmake

before trying to upgrade again. If that fails, post a new log.

Thanks, working fine after I did that. I did have some problems with the migration to 10.10 so it is possible there's some stuff lying around that shouldn't be.

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

Resolution: worksforme
Status: newclosed

No problems; I'm glad that worked for you!

Note: See TracTickets for help on using tickets.