[gentoo-dev] [PATCH] perl-module.eclass: Override CCFLAGS and LDDLFLAGS

2024-12-31 Thread Luca Barbato
Otherwise host flags leak in and may break cross-building if `-march` is
present.

Signed-off-by: Luca Barbato 
---
 eclass/perl-module.eclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index 27cd053f0ea7..c25a9f81465f 100644
--- a/eclass/perl-module.eclass
+++ b/eclass/perl-module.eclass
@@ -296,6 +296,8 @@ perl-module_src_configure() {
RANLIB="$(tc-getRANLIB)" \
OPTIMIZE="${CFLAGS}" \
LDFLAGS="${LDFLAGS}" \
+   CCFLAGS="${CFLAGS}" \
+   LDDLFLAGS="-shared ${LDFLAGS}" \
PREFIX="${EPREFIX}"/usr \
INSTALLDIRS=vendor \
INSTALLMAN3DIR='none' \
-- 
2.45.2




[gentoo-dev] Last rites: dev-libs/dmalloc

2024-12-31 Thread Sam James
# Sam James  (2024-12-31)
# Many open bugs and requires a large amount of patching to build correctly
# as a shared library. Breaks reverse dependencies in a few ways.
# Removal on 2025-01-30. bug #924174 and friends.
dev-libs/dmalloc



Re: [gentoo-dev] [PATCH] toolchain.eclass: Fix strip exclusion for prefixed cross-compilers

2024-12-31 Thread James Le Cuirot
On Mon, 2024-12-30 at 21:31 -0500, Ionen Wolkens wrote:
> On Mon, Dec 30, 2024 at 11:35:25PM +, James Le Cuirot wrote:
> > dostrip limitations mean that we cannot strip the CTARGET binaries in a
> > cross-compiler. There is already a `dostrip -x` call to exclude such
> > binaries from stripping, but it expects the argument to be unprefixed,
> > and the argument given was prefixed.
> > 
> > Signed-off-by: James Le Cuirot 
> > ---
> >  eclass/toolchain.eclass | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
> > index 602f994371452..486b5877be66d 100644
> > --- a/eclass/toolchain.eclass
> > +++ b/eclass/toolchain.eclass
> > @@ -2641,7 +2641,7 @@ toolchain_src_install() {
> > #  - "${D}${LIBPATH}"
> > # As dostrip does not specify host to override ${CHOST} tools just skip
> > # non-native binary stripping.
> > -   is_crosscompile && dostrip -x "${LIBPATH}"
> > +   is_crosscompile && dostrip -x "${LIBPATH#${EPREFIX}}"
> 
> Missing quotes in case of unlikely globs in EPREFIX
> 
> "${LIBPATH#"${EPREFIX}"}"

Ah yep, thanks. I always forget that weird rule.


> > cd "${S}" || die
> > if is_crosscompile; then
> > -- 
> > 2.47.1



signature.asc
Description: This is a digitally signed message part


[gentoo-dev] dev-util/pycharm-community: maintainer needed

2024-12-31 Thread Andrey Grozin
I've removed myself as a maintainer of this package. I can no longer 
maintain it, because jetbrains does not allow me to download it: I'm in 
Russia :-( The package wants a version bump.


Andrey