public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-user] Missing perl File-FcntlLock / debhelper (dh_gencontrol) fails
@ 2012-05-09 18:59 99% Hans Müller
  0 siblings, 0 replies; 1+ results
From: Hans Müller @ 2012-05-09 18:59 UTC (permalink / raw
  To: gentoo-user

Hello,

after some time I have to rebuild some debian packages using the debhelper 
scripts and recognized the following error:

'dh_gencontrol' fails with missing File/FcntlLock.pm:

$> dpkg-buildpackage -b -d
...
dh_gencontrol
Can't locate File/FcntlLock.pm in @INC (@INC contains: /etc/perl 
/usr/lib64/perl5/site_perl/5.12.4/x86_64-linux 
/usr/lib64/perl5/site_perl/5.12.4 /usr/lib64/perl5/vendor_perl/5.12.4/x86_64-
linux /usr/lib64/perl5/vendor_perl/5.12.4 /usr/lib64/perl5/site_perl 
/usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.12.4/x86_64-linux 
/usr/lib64/perl5/5.12.4 /usr/local/lib/site_perl .) at /usr/bin/dpkg-
gencontrol line 24.
BEGIN failed--compilation aborted at /usr/bin/dpkg-gencontrol line 24.
dh_gencontrol: dpkg-gencontrol -ldebian/changelog -Tdebian/modules-xen-
domu.substvars -Pdebian/modules-xen-domu returned exit code 2
make: *** [binary-arch] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 
2

There were no changes done within the debian rules or similar, just the 
packages sources have been updated - these rules worked fine in the past.

I can also confirm that everything workes fine again after manually installing 
the CPAN 'File-FcntlLock' package from
http://search.cpan.org/~jtt/File-FcntlLock-0.12/

I don't understand why the File-FcntlLock package is not provided by portage 
(at least I didn't find any corresponding package) - it looks like it has been 
removed from portage tree (as the problem did not occur in the past - even 
though I could not find any entry regarding an uninstall in emerge.log either).

I tried to solve the problem by running
- emerge -vu --deep --newuse @world
- revdep-rebuild
- emerge --oneshot dev-lang/perl
- perl-cleaner --all
- perl-cleaner --allmodules --libperl --phupdate

There's still no File/FcntlLock.pm.

Which portage package or missing USE flag should provide this CPAN package?
Is it obsolete and should be replaced by something else? Then it would be a 
bug in debhelpers dependencies ...

dev-lang/perl & dev-util/debhelper are both current stable versions, 
installing latest unstable dev-util/debhelper makes no difference.

Thanks a lot & best regards
Hans




^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2012-05-09 18:59 99% [gentoo-user] Missing perl File-FcntlLock / debhelper (dh_gencontrol) fails Hans Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox