Trying to package perl-Net-IP-CMatch
Orion Poplawski
orion at cora.nwra.com
Mon Oct 3 17:18:32 UTC 2005
I'm trying to package perl-Net-IP-CMatch for FC4 and running into the
following error during build, apparently during the debug package
processing. Any ideas?
+ /usr/lib/rpm/find-debuginfo.sh
/export/home/orion/redhat/perl-Net-IP-CMatch-0.02/Net-IP-CMatch-0.02
extracting debug info from
/export/tmp/rpm/perl-Net-IP-CMatch-0.02-1-root-orion/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/auto/Net/IP/CMatch/CMatch.so
9 blocks
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
Executing(%check): /bin/sh -e /export/tmp/rpm/rpm-tmp.42052
+ umask 022
+ cd /export/home/orion/redhat/perl-Net-IP-CMatch-0.02
+ cd Net-IP-CMatch-0.02
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Net-IP-CMatch....ok
All tests successful.
Files=1, Tests=4, 0 wallclock secs ( 0.12 cusr + 0.06 csys = 0.18 CPU)
+ exit 0
Processing files: perl-Net-IP-CMatch-0.02-1
Provides: CMatch.so perl(Net::IP::CMatch) = 0.02
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <=
3.0.3-1
Requires: libc.so.6 libc.so.6(GLIBC_2.1.3) perl >= 0:5.006001
perl(:MODULE_COMPAT_5.8.6) perl(Exporter) perl(XSLoader) perl(strict)
perl(warnings)
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/export/tmp/rpm/perl-Net-IP-CMatch-0.02-1-root-orion
error: Installed (but unpackaged) file(s) found:
/usr/lib/debug/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/auto/Net/IP/CMatch/CMatch.so.debug
/usr/src/debug/Net-IP-CMatch-0.02/CMatch.c
/usr/src/debug/Net-IP-CMatch-0.02/CMatch.xs
spec:
Name: perl-Net-IP-CMatch
Version: 0.02
Release: 1
Summary: Efficiently match IP addresses against IP ranges with C
Group: Development/Libraries
License: Artistic or GPL
URL:
http://search.cpan.org/~beau/Net-IP-CMatch-0.02/lib/Net/IP/CMatch.pm
Source0:
http://search.cpan.org/CPAN/authors/id/B/BE/BEAU/Net-IP-CMatch-0.02.tar.gz
BuildRoot:
%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
%description
Net::IP::CMatch is based upon, and does the same thing as
Net::IP::Match. The
unconditionally exported subroutine 'match_ip' determines if the ip to match
( first argument ) matches any of the subsequent ip arguments. Match
arguments
may be absolute quads, as '127.0.0.1', or contain mask bits as
'111.245.76.248/29'. A true return value indicates a match. It was
written in
C, rather than a macro, preprocessed through Perl's source filter mechanism
( as is Net::IP::Match ), so that the ip arguments could be traditional perl
scalars. The C code is lean and mean ( IMHO ).
%prep
%setup -q -n Net-IP-CMatch-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc
#%{perl_vendorlib}/*
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Net/IP/CMatch.pm
%{_mandir}/man3/*.3*
%changelog
* Mon Oct 3 2005 - Orion Poplawski <orion at cora.nwra.com> - 0.02-1
- Initial version
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/lib/debug/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi/auto/Net/IP/CMatch/CMatch.so.debug
/usr/src/debug/Net-IP-CMatch-0.02/CMatch.c
/usr/src/debug/Net-IP-CMatch-0.02/CMatch.xs
--
Orion Poplawski
System Administrator 303-415-9701 x222
Colorado Research Associates/NWRA FAX: 303-415-9702
3380 Mitchell Lane, Boulder CO 80301 http://www.co-ra.com
More information about the fedora-extras-list
mailing list