Ticket #19419 (closed defect: fixed)
Error building nifticlib +universal
| Reported by: | dav@… | Owned by: | jameskyle@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.1 |
| Keywords: | Cc: | ||
| Port: | nifticlib |
Description (last modified by jmr@…) (diff)
I haven't tracked down the details, but when I try 'port install nifticlib +universal', I get the following error (regular non-universal builds and installs fine):
$ sudo port install nifticlib +universal ---> Fetching nifticlib ---> Verifying checksum(s) for nifticlib ---> Extracting nifticlib ---> Configuring nifticlib Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_nifticlib/work/nifticlib-1.1.0" && cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/local --disable-dependency-tracking " returned error 1 Command output: CMake Error: The source directory "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_nifticlib/work/nifticlib-1.1.0/--disable-dependency-tracking" does not exist. Specify --help for usage, or press the help button on the CMake GUI. Error: Status 1 encountered during processing.
Note - this happened under 1.7, and I updated and it still happened under 1.7.1
Attachments
Change History
comment:1 Changed 4 years ago by jmr@…
- Owner changed from macports-tickets@… to jameskyle@…
- Description modified (diff)
comment:2 Changed 4 years ago by jameskyle@…
The port itself does not append this --disable-dependency-checking that is causing the problems, so this must be done by the built in macports universal variant. I'll touch base with the devs and see what they think.
comment:3 Changed 4 years ago by blb@…
Adding --disable-dependency-checking is part of the default universal variant for ports which are configure-based; if a port uses a non-standard configure script then you either need to handle universal building yourself, or set universal_variant no to disable the default +universal.
Changed 4 years ago by jameskyle@…
- Attachment Portfile.diff added
Portfile patch for universal build


Please remember WikiFormatting.