Summary: | media-sound/xmms2 fails to build with perl-core/ExtUtils-ParseXS-3.20.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Sergei Trofimovich (RETIRED) <slyfox> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 378783 | ||
Attachments: | Build log |
Description
Diego Elio Pettenò (RETIRED)
2011-08-24 10:31:20 UTC
> Could not find a typemap for C type 'xmmsv_t *' in XMMSClientPlaylist.xs, line 132
> Undefined subroutine &ExtUtils::ParseXS::errors called at /usr/lib/perl5/5.12.4/ExtUtils/xsubpp line 41.
> Undefined subroutine &ExtUtils::ParseXS::errors called at /usr/lib/perl5/5.12.4/ExtUtils/xsubpp line 41.
> Could not find a typemap for C type 'const unsigned char *' in XMMSClient.xs, line 1179
It usually means you've upgraded perl, but didn't rebuild it's modules
with 'perl-cleaner --all' or equivalent.
[Oh forgot] The failure still presents (but does not have 'Undefined subroutine' warnings) [ 2/177] xsubpp: src/clients/lib/perl/XMMSClient.xs -> _build_/default/src/clients/lib/perl/XMMSClient.c Could not find a typemap for C type 'const unsigned char *' in XMMSClient.xs, line 1179 /var/tmp/portage/media-sound/xmms2-0.7-r3/work/xmms2-0.7DrNo/src/clients/lib/python/xmmsapi.pyx:653:14: Warning: 'not None' will become the default in a future version of Pyrex. Use 'or None' to allow passing None. Waf: Leaving directory `/var/tmp/portage/media-sound/xmms2-0.7-r3/work/xmms2-0.7DrNo/_build_' Build failed -> task failed (err #1): Some more exploration revealed. Our bundled-with-perl xsubpp gets busted when external one is installed: sf _build_ # /usr/bin/perl /usr/bin/xsubpp --noprototypes a.xs > a.c sf _build_ # /usr/bin/perl /usr/lib/perl5/5.12.4/ExtUtils/xsubpp --noprototypes a.xs > a.c Undefined subroutine &ExtUtils::ParseXS::errors called at /usr/lib/perl5/5.12.4/ExtUtils/xsubpp line 41. sf _build_ # cat a.xs #include "EXTERN.h" #include "perl.h" #include "XSUB.h" MODULE = TestModule PACKAGE = TestModule I'll workaround it and fill separate bug to clarify the state of updateable perl core packages. Some perl maintainers count such perl installations as broken. added comment to tracker bug: https://bugs.gentoo.org/show_bug.cgi?id=378783#c2 Fixed package as:
> 25 Aug 2011; Sergei Trofimovich <slyfox@gentoo.org> xmms2-0.7-r3.ebuild,
> +files/xmms2-0.7DrNo-XsParse-3.patch:
> Fix build failure against ExtUtils-ParseXS-3.20. Bug #380469 by Diego Elio
> Pettenò. Use Module::Build to detect latest xsubpp instead of hardcoded
> privlib.
Thanks, Diego!
|