Bug#719380: libwx-perl: FTBFS: dh_auto_test: make -j1 test returned exit code 2
Niko Tyni
ntyni at debian.org
Thu Aug 15 15:18:18 UTC 2013
On Tue, Aug 13, 2013 at 11:10:22PM +0300, Niko Tyni wrote:
> > On Sun, 11 Aug 2013 13:30:52 +0200, David Suárez wrote:
> >
> > > Source: libwx-perl
> > > Version: 1:0.9922-1
> > > Severity: serious
> > > Tags: jessie sid
> > > User: debian-qa at lists.debian.org
> > > Usertags: qa-ftbfs-20130811 qa-ftbfs
> > > Justification: FTBFS on amd64
>
> > > > Can't locate Wx/Media.pm in @INC (@INC contains: /«PKGBUILDDIR»/blib/lib /«PKGBUILDDIR»/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at (eval 19) line 1.
> wxwidgets2.8 only enabled the media plugin recently, see #588104.
>
> Now that it's enabled, the test suite will try to load it but fails
> because the Perl bindings are not built.
>
> The Perl bindings are not built because libalien-wxwidgets-perl isn't
> up to date, so the media plugin is not listed in
> /usr/lib/perl5/Alien/wxWidgets/Config/gtk2_2_8_12_uni_gcc_3_4.pm
>
> Rebuilding libalien-wxwidgets-perl with libwxgtk-media2.8-dev, or
> something thereabouts, fixes this for me.
>
> This suggests that libalien-wxwidgets-perl may need a tighter
> dependency on libwxgtk2.8-dev. Not sure how tight it should be.
I see it's already about as tight as it could be.
> Possibly some Breaks entries are also warranted?
After sleeping on this: I don't think we need them.
The list of modules is compiled into libwx-perl at build time,
so the older version of libwx-perl should work with newer versions
of wxwidgets2.8, the media functionality will just not be there.
The other way around is easy: we just need the newer libwx-perl to
depend on a libalien-wxwidgets-perl package version that has
the media module information, and that should pull in the necessary
wxwidgets2.8 libraries too.
So:
1) upload libalien-wxwidgets-perl with build and runtime dependencies
on libwxgtk-media2.8-dev
2) upload libwx-perl with a versioned build (and runtime? see below)
dependency on that
I may get around to actually doing this if I find the time,
but obviously anybody is free to beat me to it.
Side note: I'm not sure if the modules in the Wx::build namespace are
really supposed to go in the binary package. AFAICS they are only used
for the package build. I checked a couple of reverse dependencies, and
nothing seems to be actually using those. But it's probably safer to leave
them there, and keep the runtime dependency on libalien-wxwidgets-perl
(but make it versioned too.)
--
Niko Tyni ntyni at debian.org
More information about the pkg-perl-maintainers
mailing list