all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: guix-devel@gnu.org
Subject: Bootstrapping core-updates fails with mpc-1.2.1dev
Date: Thu, 20 Aug 2020 22:22:57 +0200	[thread overview]
Message-ID: <20200820202257.GA12729@jurong> (raw)

Hello,

after the release of mpc-1.2.0, I tried to update the version in core-updates.
More precisely, I used a tarball of the current master under the name of
mpc-1.2.1dev, with an additional commit. Then bootstrapping fails.

For someone with bayfront access, the build log is in
   /var/log/guix/drvs/ay/qa5whpm2nq3667ff69xzqvn9119b8g-gcc-cross-boot0-7.5.0.drv.gz

It ends with this:
...
g++ -fno-PIE -c  -DIN_GCC_FRONTEND -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Ic -I../../gcc-7.5.0/gcc -I../../gcc-7.5.0/gcc/c -I../../gcc-7.5.0/gcc/../include -I../../gcc-7.5.0/gcc/../libcpp/include -I/tmp/guix-build-gcc-cross-boot0-7.5.0.drv-0/build/./gmp -I/tmp/guix-build-gcc-cross-boot0-7.5.0.drv-0/gcc-7.5.0/gmp -I/tmp/guix-build-gcc-cross-boot0-7.5.0.drv-0/build/./mpfr/src -I/tmp/guix-build-gcc-cross-boot0-7.5.0.drv-0/gcc-7.5.0/mpfr/src  -I../../gcc-7.5.0/gcc/../libdecnumber -I../../gcc-7.5.0/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-7.5.0/gcc/../libbacktrace   -o c/c-typeck.o -MT c/c-typeck.o -MMD -MP -MF c/.deps/c-typeck.TPo ../../gcc-7.5.0/gcc/c/c-typeck.c
In file included from ../../gcc-7.5.0/gcc/c/c-decl.c:53:0:
../../gcc-7.5.0/gcc/builtins.h:23:17: fatal error: mpc.h: No such file or directory
 #include <mpc.h>
                 ^
compilation terminated.
make[2]: *** [Makefile:1099: c/c-decl.o] Error 1
...

Does this ring a bell? I do not quite see how this can be related to the mpc
version used for bootstrapping; and the phase unpack-gmp&co is carried out
and does unpack my mpc-1.2.1dev.tar.gz after gmp and mpfr.

What is strange in the compiler line above is that gmp and mpfr are
referenced by -I directives, but mpc is not.

Is there anything special with gmp-7.5.0 that prevents it from being compiled
with a newer mpc? The build log also shows that gmp and mpfr are compiled in
their respective subdirectories, but mpc is not.

Andreas



             reply	other threads:[~2020-08-20 20:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-20 20:22 Andreas Enge [this message]
2020-08-20 20:41 ` Bootstrapping core-updates fails with mpc-1.2.1dev Andreas Enge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200820202257.GA12729@jurong \
    --to=andreas@enge.fr \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.