Opened 5 years ago

Closed 5 years ago

#59841 closed defect (invalid)

Error: Failed to configure db48

Reported by: shansenx Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: jmroot (Joshua Root)
Port: db48

Description (last modified by shansenx)

I'm trying to install opencv +java using macport.

Macport returns: attempting to fetch db48-4.8.30_4+java.darwin_19.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/db48/

Error: Failed to configure db48 When I go to the specified webpage there is no such file. The closest file is db48-4.8.30_4+java.darwin_10.x86_64.tbz2. Should macports be fetching db48-4.8.30_4+java.darwin_10.x86_64.tbz2?

How do I fix this?

Change History (6)

comment:1 Changed 5 years ago by shansenx

Description: modified (diff)

comment:2 Changed 5 years ago by kencu (Ken)

It doesn't exist on the package server because the +java variant is not a default variant for newer systems, so the buildbot doesn't build it with the +java variant enabled on newer systems.

For help, you would need to do this:

sudo port clean db48
sudo port -v install db48 +java

and then if you get a build error, it will tell you where the log is, near the error message.

copy the log file to somewhere accessible, like ~/db48-fail.log, and then using the web interface here, add it to this ticket as an Attachment.

Then we can see what happened, and perhaps help you further.

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

Cc: jmroot added
Port: db48 added

comment:4 in reply to:  2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to kencu:

copy the log file to somewhere accessible, like ~/db48-fail.log, and then using the web interface here, add it to this ticket as an Attachment.

There's no need to copy the log file anywhere. The location where MacPorts puts it is already accessible.

If you like, you can copy its path to the pasteboard by running port logfile db48 | pbcopy. Then, when you click Attach File and then Choose File and the file selection dialog appears, you can press Command-Shift-G and then Command-V and Return to select that file.

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

shansenx, please attach the main.log file. Without it, we cannot help you figure out why this failed for you.

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

Resolution: invalid
Status: newclosed

Closing due to lack of response to request for more information. Please feel free to reopen if you can provide the requested log.

Note: See TracTickets for help on using tickets.