Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 918601

Summary: dev-lang/python-3.12.0_p1 - [clang] Clang 16 testing: Found possible issues in configure!
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: gabifalk
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=918602
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 906027    
Attachments: emerge-info.txt
dev-lang:python-3.12.0_p1:20231125-222652.log.xz
emerge-history.txt
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt
var.tmp.clang.tar.xz

Description Toralf Förster gentoo-dev 2023-11-26 10:16:02 UTC
 * Clang 16 testing: Found possible issues in configure!
 * Clang 16 testing: Please check /var/tmp/clang/dev-lang/python-3.12.0_p1/clang.diff
 * Final size of build directory: 163908 KiB (160.0 MiB)
 * Final size of installed tree:  188752 KiB (184.3 MiB)

strip: llvm-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   /usr/bin/python3.12
   /usr/lib/python3.12/lib-dynload/_asyncio.cpython-312-x86_64-linux-gnu.so

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_clang-20231125-175744

  -------------------------------------------------------------------

  The log matches a QA pattern or a pattern requested by a Gentoo developer.
Comment 1 Toralf Förster gentoo-dev 2023-11-26 10:16:03 UTC
Created attachment 875696 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-26 10:16:05 UTC
Created attachment 875697 [details]
dev-lang:python-3.12.0_p1:20231125-222652.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-11-26 10:16:06 UTC
Created attachment 875698 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-11-26 10:16:06 UTC
Created attachment 875699 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-11-26 10:16:07 UTC
Created attachment 875700 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-26 10:16:08 UTC
Created attachment 875701 [details]
qlist-info.txt
Comment 7 Toralf Förster gentoo-dev 2023-11-26 10:16:09 UTC
Created attachment 875702 [details]
var.tmp.clang.tar.xz
Comment 8 Gabi Falk 2024-05-09 21:14:35 UTC
Thanks for the report!  chflags(2)/lchflags(2) are FreeBSD-specific syscalls and function wrappers, no wonder it's not defined on a Linux system.  I believe there is no issue here.
Comment 9 Gabi Falk 2024-05-09 23:39:29 UTC
As it turns out, all python ebuilds already contain "QA_CONFIG_IMPL_DECL_SKIP=( chflags lchflags )" to explicitly mark this as a false positive since commit 3f5ab636b096ddc66b8ea093791fb9cdf62687ab (before this bugreport).
Comment 10 Toralf Förster gentoo-dev 2024-05-10 14:56:54 UTC
*** Bug 918602 has been marked as a duplicate of this bug. ***
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-10 17:50:14 UTC
(In reply to Gabi Falk from comment #9)
> As it turns out, all python ebuilds already contain
> "QA_CONFIG_IMPL_DECL_SKIP=( chflags lchflags )" to explicitly mark this as a
> false positive since commit 3f5ab636b096ddc66b8ea093791fb9cdf62687ab (before
> this bugreport).

Thanks!