Opened 14 years ago

Closed 13 years ago

#24955 closed defect (fixed)

autopano-sift-c +universal fails to configure

Reported by: turkowski Owned by: p.schmiedeskamp@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: autopano-sift-c

Description (last modified by jmroot (Joshua Root))

--->  Computing dependencies for autopano-sift-c
--->  Fetching autopano-sift-c
--->  Verifying checksum(s) for autopano-sift-c
--->  Extracting autopano-sift-c
--->  Configuring autopano-sift-c
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_autopano-sift-c/work/trunk" && cmake --disable-dependency-tracking -DCMAKE_INSTALL_PREFIX:PATH=/opt/local " 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_autopano-sift-c/work/trunk/--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.
Before reporting a bug, first run the command again with the -d flag to get complete output.

I can manually change to the directory, and also experience the same error when I execute the cmake command, but it succeeds if I append a period as the last argument:

% sudo cmake --disable-dependency-tracking -DCMAKE_INSTALL_PREFIX:PATH=/opt/local .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found TIFF: /opt/local/include
-- Found JPEG: /opt/local/include
-- Found ZLIB: /usr/include
-- Found PNG: /opt/local/include
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found LibXml2: /usr/lib/libxml2.dylib
CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_autopano-sift-c/work/trunk
$ 

Change History (4)

comment:1 in reply to:  description Changed 14 years ago by turkowski

changing the last line of the port file to

configure.args -DCMAKE_INSTALL_PREFIX:PATH=${prefix} .

lets it get through that part.

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: changed from macports-tickets@… to p.schmiedeskamp@…
Port: autopano-sift-c added

Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer.

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Summary: autopano-sift-c doesn't compileautopano-sift-c +universal fails to configure

comment:4 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.