Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879681 - dev-util/cpputest: possible configure breakage with Clang 16
Summary: dev-util/cpputest: possible configure breakage with Clang 16
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: extra-tokens
Keywords: PullRequest
Depends on:
Blocks: implicit-in-configure
  Show dependency tree
 
Reported: 2022-11-04 22:10 UTC by Matt Jolly
Modified: 2025-01-14 07:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
clang-14.log (clang-14.log,11.02 KB, text/plain)
2022-11-04 22:10 UTC, Matt Jolly
Details
clang-15.log (clang-15.log,11.02 KB, text/plain)
2022-11-04 22:10 UTC, Matt Jolly
Details
clang.diff (clang.diff,10.34 KB, text/plain)
2022-11-04 22:10 UTC, Matt Jolly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Jolly gentoo-dev 2022-11-04 22:10:24 UTC
This package has been identified via automation as potentially impacted by upcoming Clang 16 changes.
The following have been identified as potential issues:

[-Werror,-Wextra-tokens]

[-Werror,-Wextra-tokens]
error: extra tokens at end of #include directive [-Werror,-Wextra-tokens]
Comment 1 Matt Jolly gentoo-dev 2022-11-04 22:10:26 UTC
Created attachment 827291 [details]
clang-14.log

build log
Comment 2 Matt Jolly gentoo-dev 2022-11-04 22:10:28 UTC
Created attachment 827293 [details]
clang-15.log

build log
Comment 3 Matt Jolly gentoo-dev 2022-11-04 22:10:29 UTC
Created attachment 827295 [details]
clang.diff

build log
Comment 4 Larry the Git Cow gentoo-dev 2025-01-14 07:02:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08bcbb8fa872ebfe830f17b8c89bdbaa01d1bc21

commit 08bcbb8fa872ebfe830f17b8c89bdbaa01d1bc21
Author:     Z. Liu <zhixu.liu@gmail.com>
AuthorDate: 2025-01-12 15:37:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-14 07:01:50 +0000

    dev-util/cpputest: fix configure & test
    
    1. fix unexpected errors during configuration, patch submitted to upstream at
       https://github.com/cpputest/cpputest/pull/1837
    2. adopt patch from https://github.com/cpputest/cpputest/pull/1679, fix
       tests hangs w/ clang
    
    Closes: https://bugs.gentoo.org/879681
    Closes: https://bugs.gentoo.org/924958
    Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/40105
    Signed-off-by: Sam James <sam@gentoo.org>

 ...{cpputest-4.0.ebuild => cpputest-4.0-r1.ebuild} |  9 ++++-
 .../cpputest/files/cpputest-4.0-autoconf.patch     | 46 ++++++++++++++++++++++
 .../files/cpputest-4.0-replace-UB-by-abort.patch   | 33 ++++++++++++++++
 dev-util/cpputest/metadata.xml                     |  9 ++++-
 4 files changed, 94 insertions(+), 3 deletions(-)