Opened 7 years ago

Closed 7 years ago

#55152 closed defect (invalid)

Failed to configure gdbm

Reported by: ablarer Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gdbm

Description (last modified by mf2k (Frank Schima))

Hi there

I have High Sierra 13.10.1 Beta (17B42a). The terminal tells me the following:

Sheila:~ ablarer$ brew list tar

Error: No such keg: /usr/local/Cellar/tar

Sheila:~ ablarer$ tar --version

bsdtar 2.8.3 - libarchive 2.8.3

Sheila:~ ablarer$ sudo port upgrade outdated

Password:

--->  Computing dependencies for gdbm
--->  Configuring gdbm
Error: Failed to configure gdbm, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_gdbm/gdbm/work/gdbm-1.13/config.log

Error: Failed to configure gdbm: configure failure: command execution failed

Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_gdbm/gdbm/main.log for details.

Error: Follow https://guide.macports.org/#project.tickets to report a bug.

What can I do about it?

Thanks for your help!

Cheers, Albert

Attachments (2)

main.log (55.4 KB) - added by ablarer 7 years ago.
Main Log file for gdbm
config.log (25.5 KB) - added by ablarer 7 years ago.
gdbm-1.13/config.log

Download all attachments as: .zip

Change History (13)

comment:1 Changed 7 years ago by Schamschula (Marius Schamschula)

Resolution: invalid
Status: newclosed

You are using homebrew. There is no such binary as brew in MacPorts. Please go to https://brew.sh and post you ticket there.

comment:2 Changed 7 years ago by Schamschula (Marius Schamschula)

Resolution: invalid
Status: closedreopened

Well, OK. I was being a bit harsh. However, mixing Homebrew and MacPorts will lead to problems. Choose one or the other. What does

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_gdbm/gdbm/work/gdbm-1.13/config.log

say? Can you attach it to this ticket?

Last edited 7 years ago by Schamschula (Marius Schamschula) (previous) (diff)

comment:3 Changed 7 years ago by mf2k (Frank Schima)

Port: gdbm added

In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainers (port info --maintainers gdbm), if any.

comment:4 Changed 7 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:5 Changed 7 years ago by mf2k (Frank Schima)

You need to attach /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_gdbm/gdbm/main.log so we can see the error.

Changed 7 years ago by ablarer

Attachment: main.log added

Main Log file for gdbm

comment:6 Changed 7 years ago by mf2k (Frank Schima)

Error is:

:info:configure checking lex output file root... configure: error: cannot find output from flex; giving up

comment:7 Changed 7 years ago by ablarer

Hi there

What I initially wanted is to install Inkscape. For that I needed XQuartz and XCode and the command-line tool for XCode.

I installed everything but I have got a non-running Inkscape and a non-running X11 and XQuartz.

One report was an error about gdbm.

Changed 7 years ago by ablarer

Attachment: config.log added

gdbm-1.13/config.log

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

So far it looks like the problem may be specific to your system, possibly caused by having Homebrew installed, since it installs files in /usr/local and that can interfere with software you want to install with MacPorts. As Frank pointed out, the log mentions a problem with the flex program, so if you want to investigate further, you could see whether flex is working properly, or whether you might have a conflicting flex provided by Homebrew.

I see from your log:

:debug:archivefetch archivefetch phase started at Tue Sep 26 17:40:26 CEST 2017
:msg:archivefetch --->  Attempting to fetch gdbm-1.13_3.darwin_17.x86_64.tbz2 from https://packages.macports.org/gdbm
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found

Note that we produced a binary of this port for High Sierra on Sep 27 2017 so if you sudo port clean gdbm and try installing it again, you should get that binary and thereby bypass whatever problem exists on your computer. However, that problem may in the future cause other ports to fail to build.

comment:9 in reply to:  6 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to mf2k:

:info:configure checking lex output file root... configure: error: cannot find output from flex; giving up

Someone else reported the same flex error when configuring gmp; see #55200.

comment:10 Changed 7 years ago by ablarer

Hi all

Thanks for helping me. I resolved the problem by uninstalling brew, macport, XQuartz, Inkscape and re-installed macport, XQuartz with the terminal application and finally Inkscape. Now it works well.

comment:11 Changed 7 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: reopenedclosed
Note: See TracTickets for help on using tickets.