Bug 24729 - Build is failing
Summary: Build is failing
Status: NEW
Alias: None
Product: gdb
Classification: Unclassified
Component: build (show other bugs)
Version: HEAD
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
: 25171 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-06-24 14:41 UTC by whootandahalf
Modified: 2019-12-18 15:14 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed: 2019-06-24 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description whootandahalf 2019-06-24 14:41:38 UTC
Looks like build has been failing for the past few weeks. Specifically, from a __clean__ state, I do the following:

mkdir -p /opt && cd /opt && git clone --depth 1 git://sourceware.org/git/binutils-gdb.git && cd binutils-gdb && \
    mkdir /opt/gdb && ./configure --prefix=/opt/gdb --with-python=python3 && \
    make -j`nproc`

It gets down to the bottom and errors out:

configure: error: source directory already configured; run "make distclean" there first
configure: error: .././../../gnulib/configure failed for build-gnulib-gdbserver
configure: error: ./configure failed for gdbserver
Makefile:10827: recipe for target 'configure-gdb' failed
make[1]: *** [configure-gdb] Error 1
make[1]: Leaving directory '/opt/binutils-gdb'
Makefile:851: recipe for target 'all' failed
make: *** [all] Error 2

Again, it was clean to begin with. Running disclean and building it again returns the exact same error.

Error is the same also with or without -j nproc.
Comment 1 Simon Marchi 2019-06-24 21:40:28 UTC
I have encountered this as well.  For the moment, it should work if you build out of tree.
Comment 2 Tom Tromey 2019-12-18 15:14:52 UTC
*** Bug 25171 has been marked as a duplicate of this bug. ***