Bug 276889 - lang/gcc14-devel: 326042daae89 (partial revert of b5724fc17272) breaks build
Summary: lang/gcc14-devel: 326042daae89 (partial revert of b5724fc17272) breaks build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Lorenzo Salvadore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-08 10:24 UTC by Dimitry Andric
Modified: 2024-02-08 11:05 UTC (History)
2 users (show)

See Also:
salvadore: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitry Andric freebsd_committer freebsd_triage 2024-02-08 10:24:58 UTC
b5724fc17272 was committed to fix "install: /wrkdirs/usr/ports/lang/gcc14-devel/work/stage/usr/local/lib/gcc14/gcc/powerpc64-portbld-freebsd14.0/14.0.0/include/ISO_Fortran_binding.h: No such file or directory", but 326042daae89 reverses that partially, so this error appears again.

Can we please hack pkg-plist or the Makefile so this does not occur again?
Comment 1 Dimitry Andric freebsd_committer freebsd_triage 2024-02-08 10:26:51 UTC
Note that /wrkdirs/usr/ports/lang/gcc14-devel/work/gcc-14-20240114/gcc/BASE-VER contains 14.0.1, so I think PORTVERSION should indeed be bumped to 14.0.1.sYYYYMMDD, not left at 14.0.0.
Comment 2 Lorenzo Salvadore freebsd_committer freebsd_triage 2024-02-08 10:37:20 UTC
Thanks.

You and Piotr are right: the GCC minor version was bumped on the 12th of January and I had missed it.

I am going to fix it right now.
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-02-08 10:42:29 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7d90097f638f49c8f6f5090edbd38ce25d8cc0cf

commit 7d90097f638f49c8f6f5090edbd38ce25d8cc0cf
Author:     Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2024-02-08 10:39:03 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2024-02-08 10:39:03 +0000

    lang/gcc14-devel: Bump GCC_VERSION

    Piotr was right in b5724fc1727292af44b489d5bafbca04a0380fce: GCC_VERSION
    was bumped upstream on the 12th of January as GCC 14 entered in stage 4
    (see gcc/BASE-VER).

    PR:             276889
    Reported by:    pkubaj, dim

 lang/gcc14-devel/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Comment 4 Lorenzo Salvadore freebsd_committer freebsd_triage 2024-02-08 10:42:51 UTC
Fixed, and sorry for the mess.
Comment 5 Dimitry Andric freebsd_committer freebsd_triage 2024-02-08 11:05:37 UTC
Thanks for the quick fix!