[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#758247: findimagedupes: FTBFS: Undefined subroutine &main::WriteInlineMakefile called at Makefile.PL line 2.



Package: src:findimagedupes
Version: 2.18-5
Severity: serious
Tags: patch

Hi,

During the binNMUs for the perl 5.20 transition findimagedupes fails 
to build with:

dh_clean 
[ ! -f findimagedupes.pristine ] || mv findimagedupes.pristine findimagedupes
 debian/rules build-arch
/usr/share/cdbs/1/class/perlmodule.mk:31: CDBS WARNING:    perlmodule.mk is deprecated since 0.4.72 - please use perl-makemaker.mk instead
/usr/share/cdbs/1/class/perlmodule-vars.mk:30: CDBS WARNING:    perlmodule-vars.mk is deprecated since 0.4.72 - please use perl-makemaker-vars.mk instead
test -x debian/rules
mkdir -p "."
(cd . && /usr/bin/perl Makefile.PL LIB=/usr/lib/findimagedupes/lib INSTALLDIRS=vendor )
Undefined subroutine &main::WriteInlineMakefile called at Makefile.PL line 2.
make: *** [Makefile] Error 255
/usr/share/cdbs/1/class/perlmodule.mk:52: recipe for target 'Makefile' failed

The culprit seems to be in libinline-perl, but I think the fix needs to be in 
findimagedupes. From the upstream changelog of libinline-perl:

 0.67 Fri Aug  8 00:37:17 BST 2014
 - Remove WriteInlineMakefile.
 - Make "use Inline" keywords case-insensitive.
 - Add a devel ILSM test for running before release

The fix is quite simple: call 'WriteMakefile' instead of 'WriteInlineMakefile'.


Cheers,
        dam


Reply to: