Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 875164 Details for
Bug 917562
dev-python/lxml-4.9.3-r2 fails to build with libxml2-2.12.0 (clang-17 as system compiler)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
dev-python/lxml: avoid suppressing compiler warnings
0001-dev-python-lxml-avoid-suppressing-compiler-warnings.patch (text/plain), 971 bytes, created by
Eli Schwartz
on 2023-11-19 02:46:31 UTC
(
hide
)
Description:
dev-python/lxml: avoid suppressing compiler warnings
Filename:
MIME Type:
Creator:
Eli Schwartz
Created:
2023-11-19 02:46:31 UTC
Size:
971 bytes
patch
obsolete
>From 60910b61e4730cfe6c5537e38dd8ad0234d6e0f3 Mon Sep 17 00:00:00 2001 >From: Eli Schwartz <eschwartz93@gmail.com> >Date: Sat, 18 Nov 2023 21:41:55 -0500 >Subject: [PATCH] dev-python/lxml: avoid suppressing compiler warnings > >By default, setupinfo.py injects `-w` to the CFLAGS passed down to >Extension objects. This obscures things we'd like to see. For example, >it prevents adding Modern C Porting flags. > >Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> >--- > dev-python/lxml/lxml-4.9.3-r2.ebuild | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/dev-python/lxml/lxml-4.9.3-r2.ebuild b/dev-python/lxml/lxml-4.9.3-r2.ebuild >index 01ddc28bb840..f6a81e1589ca 100644 >--- a/dev-python/lxml/lxml-4.9.3-r2.ebuild >+++ b/dev-python/lxml/lxml-4.9.3-r2.ebuild >@@ -77,6 +77,10 @@ python_prepare_all() { > > python_compile() { > tc-export PKG_CONFIG >+ local DISTUTILS_ARGS=( >+ # by default it adds -w to CFLAGS >+ --warnings >+ ) > distutils-r1_python_compile > } > >-- >2.41.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 917562
:
875133
|
875134
| 875164