Opened 5 years ago

Closed 5 years ago

#58487 closed defect (fixed)

gr-fosphor: configure failure: No package 'cppunit' found

Reported by: gharper235 Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: gr-fosphor

Description (last modified by jmroot (Joshua Root))

boo$ sudo port install gr-fosphor
Password:
--->  Computing dependencies for gr-fosphor
--->  Configuring gr-fosphor
Error: Failed to configure gr-fosphor: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-fosphor/gr-fosphor/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port gr-fosphor failed

When I open the log file specified above: file:///opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-fosphor/gr-fosphor/main.log


version:1
:debug:sysinfo macOS 10.14 (darwin/18.5.0) arch i386
:debug:sysinfo MacPorts 2.5.4
:debug:sysinfo Xcode 10.2.1
:debug:sysinfo SDK 10.14
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.14
:debug:main epoch: in tree: 0 installed: 0
:debug:main cmake 3.14.4_0 exists in the ports tree
:debug:main cmake 3.14.4_0  is the latest installed
:debug:main cmake 3.14.4_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/cmake
:debug:main OS darwin/18.5.0 (Mac OS X 10.14) arch i386

skipping to the part I found......

:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  gr-fosphor-20160522_11.darwin_18.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch gr-fosphor-20160522_11.darwin_18.x86_64.tbz2 from https://packages.macports.org/gr-fosphor
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch gr-fosphor-20160522_11.darwin_18.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/gr-fosphor
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch gr-fosphor-20160522_11.darwin_18.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/gr-fosphor
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Fri May 17 19:16:17 CDT 2019

Scoured through tickets and help pages. Appears to be a file reference error.

Attachments (1)

MacPort Log File Error.rtf (970.7 KB) - added by gharper235 5 years ago.
The log file

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by gharper235

Attachment: MacPort Log File Error.rtf added

The log file

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: set to michaelld
Port: gr-fosphor added
Status: newassigned
Summary: Error installing gr-fospher. Appears to reference a filepath that does not exist in log filegr-fosphor: configure failure: No package 'cppunit' found

The actual error appears to be:

:info:configure -- Checking for module 'cppunit'
:info:configure --   No package 'cppunit' found
:info:configure -- Could NOT find CPPUNIT (missing: CPPUNIT_LIBRARIES CPPUNIT_INCLUDE_DIRS) 
:info:configure CMake Error at CMakeLists.txt:128 (message):
:info:configure   CppUnit required to compile gr-fosphor

comment:2 Changed 5 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed

In 23cb49c57b4124b36de004d6d16d377e307a9732/macports-ports (master):

gr-fosphor: move dependency cppunit from "test" to "lib"

It is required during configuration, even though only required for testing.

Close: #58487

Note: See TracTickets for help on using tickets.