Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#43742 closed defect (fixed)

CMake Error: The source directory ".../{-DCMAKE_OSX_ARCHITECTURES=x86_64;i386}" does not exist.

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: base Version: 2.3.99
Keywords: Cc: neverpanic (Clemens Lang)
Port:

Description

Building cgal 4.4 with the +universal variant fails quite early with:

CMake Error: The source directory "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_gis_cgal/cgal/work/CGAL-4.4/{-DCMAKE_OSX_ARCHITECTURES=x86_64;i386}" does not exist.

I don't know if this is a cgal portfile bug or a bug in the cmake 1.0 portgroup.

Works fine without the +universal variant.

Attachments (1)

main.log (38.9 KB) - added by ryandesign (Ryan Carsten Schmidt) 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

comment:1 Changed 11 years ago by Veence (Vincent)

If I manually set this define using ccmake . in the work directory after doing a non-universal configure step, it works. Ryan, can you tell me how it works on your side. Configure CGAL, go in the ${worksrcdir}, type ccmake . and look at the DCMAKE_OSX_ARCHITECTURES item. Thanks!

comment:2 Changed 11 years ago by neverpanic (Clemens Lang)

This might also be related to the recent changes in base that removed lots and lots of evals in favor of {*}.

comment:3 in reply to:  1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to vince@…:

Ryan, can you tell me how it works on your side. Configure CGAL, go in the ${worksrcdir}, type ccmake . and look at the DCMAKE_OSX_ARCHITECTURES item.

cmake has not configured anything, by the time the error occurs.

comment:4 Changed 11 years ago by neverpanic (Clemens Lang)

Can you re-try with the latest trunk version? I think this might have been fixed in r120170 or before.

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

Cc: cal@… added
Component: portsbase
Port: cgal removed
Resolution: fixed
Status: newclosed
Summary: cgal: CMake Error: The source directory ".../{-DCMAKE_OSX_ARCHITECTURES=x86_64;i386}" does not exist.CMake Error: The source directory ".../{-DCMAKE_OSX_ARCHITECTURES=x86_64;i386}" does not exist.

Thanks, that fixed it.

comment:6 Changed 11 years ago by Veence (Vincent)

Swell. Nice to know it works fine.

Vielen Dank dafür Clemens.

Note: See TracTickets for help on using tickets.