pcp
[Top] [All Lists]

make install problem on Gentoo

To: pcp@xxxxxxxxxxx
Subject: make install problem on Gentoo
From: Mike Blackwell <mkblackwell@xxxxxxxxx>
Date: Mon, 13 Apr 2015 10:39:29 -0400
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=9JGH31uuskQ7feTbRpB5uqQd0srG8h3gwn69yHDastc=; b=wv/1sd+1xUZGtkvKm4amsU4LOsGzX97oqFjq7R47VGcayp2szQBnWhFJwYPKchtwVg YDQUXN1FBtYh2TUXOX6kWsz6W9bjNhoZcYNdU/3tcs51o89Bws6UaHGB8oWnQai0LzxE U1eh9jdwKpR3IaSSnKqLpfxBJJWzRFa4Nh1T9netbcyDF4OMqYj2Js/WeZLdEkgQAxDd K7JPbyO5ihzASbBtTvJAwCFgKuq6lQiZpZIOZkSbNXttTfFNAxQBKxPts8csOyFnT8EA JiQCDjaOAznRxcADN93SY8Uhsiyg4DSO6SYttyjzrDfN7Tsj8uPrrolmAD4YcGUfKrZN PHpQ==
I'm having an issue building the latest master branch on Gentoo linux. Configure and make succeed as expected, but "sudo make install" fails on PMDA, and I'm having trouble unwinding the nested make-ing that's going on to figure out the problem... Here's the output:

=== PMDA ===
rm -rf PCP-PMDA-* MYMETA.yml MYMETA.json
make -f Makefile dist
rm -rf PCP-PMDA-1.15
/usr/bin/perl5.12.4 "-MExtUtils::Manifest=manicopy,maniread" \
ÂÂÂÂÂÂÂ -e "manicopy(maniread(),'PCP-PMDA-1.15', 'best');"
mkdir PCP-PMDA-1.15
Generating META.yml
Generating META.json
tar cvf PCP-PMDA-1.15.tar PCP-PMDA-1.15
PCP-PMDA-1.15/
PCP-PMDA-1.15/MANIFEST
PCP-PMDA-1.15/META.yml
PCP-PMDA-1.15/Changes
PCP-PMDA-1.15/cvalue.c
PCP-PMDA-1.15/PMDA.pm
PCP-PMDA-1.15/COPYING
PCP-PMDA-1.15/META.json
PCP-PMDA-1.15/local.c
PCP-PMDA-1.15/local.h
PCP-PMDA-1.15/typemap
PCP-PMDA-1.15/PMDA.xs
PCP-PMDA-1.15/test.pl
PCP-PMDA-1.15/Makefile.PL
rm -rf PCP-PMDA-1.15
gzip --best PCP-PMDA-1.15.tar
make -f Makefile install DESTDIR=$DIST_ROOT | tee pack.list; sed -n -e '/\.bs$/d' -e 's/\.[0-9]pm$/&.gz/' -e "s@^Installing $DIST_ROOT@@p" <pack.list >../../../perl-pcp-pmda.list || exit 1; if [ -s ../../../perl-pcp-pmda.list ]; then rm -f pack.list; else echo "Arrgh ... no files to include in package via ../../../perl-pcp-pmda.list, see pack.list"; exit 1; fi; find $DIST_ROOT//usr -name perllocal.pod -exec rm -f '{}' ';' ; find $DIST_ROOT//usr -name \*.bs -exec rm -f '{}' ';' ; find $DIST_ROOT//usr -name PMDA.so -exec chmod 755 '{}' ';'
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Arrgh ... no files to include in package via ../../../perl-pcp-pmda.list, see pack.list
make[3]: *** [install] Error 1
make[2]: *** [install] Error 2
make[1]: *** [install_pcp] Error 2
make[1]: Leaving directory `/home/mblackwell/src/pcp/src'
make: *** [install_pcp] Error 2

There's a blog post from back in 2011 that maybe hints at the problem but doesn't fully explain the solution for PMDA (and I'm not trying to make an ebuild): http://blahg.josefsipek.net/?p=440.

Any insight appreciated!

<Prev in Thread] Current Thread [Next in Thread>