Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#76815 - [libmpc] 1.3.0 breaks compilation of gcc
Attached to Project:
Arch Linux
Opened by Peter Jung (ptr1337) - Tuesday, 13 December 2022, 12:59 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 13 December 2022, 17:57 GMT
Opened by Peter Jung (ptr1337) - Tuesday, 13 December 2022, 12:59 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 13 December 2022, 17:57 GMT
|
DetailsDescription:
On 2022-12-09 libmpc got upgraded 1.2.1 to 1.3.0 Since libmpc 1.3.0 the compilation of gcc fails at the configure step. Downgrading to 1.2.1 fixes the issue This is also happening when trying to build gcc-git Additional info: libmpc 1.3.0 Log: ``` checking for the correct version of mpc.h... no configure: error: Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+. Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify their locations. Source code for these libraries can be found at their respective hosting sites as well as at https://gcc.gnu.org/pub/gcc/infrastructure/. See also http://gcc.gnu.org/install/prerequisites.html for additional info. If you obtained GMP, MPFR and/or MPC from a vendor distribution package, make sure that you have installed both the libraries and the header files. They may be located in separate packages. ``` Steps to reproduce: asp export gcc cd gcc makepkg -si |
This task depends upon
Closed by Antonio Rojas (arojas)
Tuesday, 13 December 2022, 17:57 GMT
Reason for closing: Fixed
Additional comments about closing: libmpc 1.3.0-2
Tuesday, 13 December 2022, 17:57 GMT
Reason for closing: Fixed
Additional comments about closing: libmpc 1.3.0-2

I was able to fix the issue by adding the six commits for libmpc in the range e944aa454e60cbff8ab4e8c70dd974083398378f to 8fe31f02431b3680f09bf1346787276ddb2274a2 inclusive as listed in https://gitlab.inria.fr/mpc/mpc/-/compare/1d9035fe...8fe31f02