[users] Perl-Digest-MD5 for RHEL3

Pelletier, Robert pelletierr at csdhr.qc.ca
Tue Jan 22 19:01:38 CET 2008


Here's the output : 

[12:58:35][root at Acidenitrix root]#rpmbuild --recompile perl-Digest-MD5-2.36-1.rf.src.rpm
Installing perl-Digest-MD5-2.36-1.rf.src.rpm
warning: user dag does not exist - using root
warning: group dag does not exist - using root
warning: user dag does not exist - using root
warning: group dag does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.26317
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf Digest-MD5-2.36
+ /bin/gzip -dc /usr/src/redhat/SOURCES/Digest-MD5-2.36.tar.gz
+ tar -xvvf -
drwxr-xr-x gisle/users       0 2005-11-30 08:53:01 Digest-MD5-2.36/
drwxr-xr-x gisle/users       0 2005-11-30 08:53:01 Digest-MD5-2.36/t/
-rw-r--r-- gisle/users   88334 2002-05-05 12:54:07 Digest-MD5-2.36/t/md5-aaa.t
-rw-r--r-- gisle/users     796 2003-01-04 19:54:17 Digest-MD5-2.36/t/clone.t
-rw-r--r-- gisle/users     329 2003-07-22 02:03:51 Digest-MD5-2.36/t/badfile.t
-rw-r--r-- gisle/users     659 2003-10-09 05:23:20 Digest-MD5-2.36/t/utf8.t
-rw-r--r-- gisle/users     468 2003-11-28 08:04:47 Digest-MD5-2.36/t/bits.t
-rw-r--r-- gisle/users     428 2003-10-09 05:23:20 Digest-MD5-2.36/t/align.t
-rw-r--r-- gisle/users    4973 2005-11-30 08:52:12 Digest-MD5-2.36/t/files.t
-rw-r--r-- gisle/users     580 2005-11-30 08:50:40 Digest-MD5-2.36/README
-rw-r--r-- gisle/users     650 2003-11-28 08:04:47 Digest-MD5-2.36/MANIFEST
drwxr-xr-x gisle/users       0 2005-11-30 08:53:01 Digest-MD5-2.36/hints/
-rw-r--r-- gisle/users      90 2002-12-27 23:48:55 Digest-MD5-2.36/hints/MacOS.pl
-rw-r--r-- gisle/users     253 1999-01-31 11:30:56 Digest-MD5-2.36/hints/irix_6.pl
-rw-r--r-- gisle/users     411 1999-03-05 16:11:33 Digest-MD5-2.36/hints/dec_osf.pl
-rw-r--r-- gisle/users   17014 2005-11-30 08:46:19 Digest-MD5-2.36/Changes
-rw-r--r-- gisle/users    3747 2005-11-23 04:04:03 Digest-MD5-2.36/Makefile.PL
-rw-r--r-- gisle/users   19349 2005-11-26 06:06:20 Digest-MD5-2.36/MD5.xs
-rw-r--r-- gisle/users      68 2003-12-05 18:40:39 Digest-MD5-2.36/typemap
-rw-r--r-- gisle/users   10591 2005-11-30 08:46:47 Digest-MD5-2.36/MD5.pm
-rw-r--r-- gisle/users   35223 1998-10-22 08:48:51 Digest-MD5-2.36/rfc1321.txt
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd Digest-MD5-2.36
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.26317
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd Digest-MD5-2.36
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS=-O2 -g -pipe -march=i386 -mcpu=i686
+ /usr/bin/perl Makefile.PL INSTALLDIRS=vendor PREFIX=/var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr
Perl's config says that U32 access must be aligned.
Checking if your kit is complete...
Looks good
Writing Makefile for Digest::MD5
+ /usr/bin/make 'OPTIMIZE=-O2 -g -pipe -march=i386 -mcpu=i686'
cp MD5.pm blib/lib/Digest/MD5.pm
/usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap  MD5.xs > MD5.xsc && mv MD5.xsc MD5.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686   -DVERSION=\"2.36\" -DXS_VERSION=\"2.36\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"  -DU32_ALIGNMENT_REQUIRED MD5.c
Running Mkbootstrap for Digest::MD5 ()
chmod 644 MD5.bs
rm -f blib/arch/auto/Digest/MD5/MD5.so
gcc  -shared -L/usr/local/lib MD5.o  -o blib/arch/auto/Digest/MD5/MD5.so
chmod 755 blib/arch/auto/Digest/MD5/MD5.so
cp MD5.bs blib/arch/auto/Digest/MD5/MD5.bs
chmod 644 blib/arch/auto/Digest/MD5/MD5.bs
Manifying blib/man3/Digest::MD5.3pm
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.43892
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd Digest-MD5-2.36
+ LANG=C
+ export LANG
+ unset DISPLAY
+ /bin/rm -rf /var/tmp/perl-Digest-MD5-2.36-1.rf-root
+ make prefix=/var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr exec_prefix=/var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr bindir=/var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/bin sbindir=/var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/sbin sysconfdir=/var/tmp/perl-Digest-MD5-2.36-1.rf-root/etc datadir=/var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/share includedir=/var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/include libdir=/var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/lib libexecdir=/var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/libexec localstatedir=/var/tmp/perl-Digest-MD5-2.36-1.rf-root/var sharedstatedir=/var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/com mandir=/var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/share/man infodir=/var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/share/info install
Installing /var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/Digest/MD5/MD5.so
Installing /var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/Digest/MD5/MD5.bs
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Digest/MD5.pm
Installing /var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/share/man/man3/Digest::MD5.3pm
Appending installation info to /var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/lib/perl5/5.8.0/i386-linux-thread-multi/perllocal.pod
+ /bin/rm -rf /var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/lib/perl5/5.8.0/i386-linux-thread-multi '/var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/*/.packlist' '/var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/*/*/.packlist' '/var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/*/*/*/.packlist'
+ /usr/lib/rpm/find-debuginfo.sh /usr/src/redhat/BUILD/Digest-MD5-2.36
extracting debug info from /var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/Digest/MD5/MD5.so
82 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
Processing files: perl-Digest-MD5-2.36-1.rf
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.43892
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd Digest-MD5-2.36
+ DOCDIR=/var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/share/doc/perl-Digest-MD5-2.36
+ export DOCDIR
+ rm -rf /var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/share/doc/perl-Digest-MD5-2.36
+ /bin/mkdir -p /var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/share/doc/perl-Digest-MD5-2.36
+ cp -pr Changes README /var/tmp/perl-Digest-MD5-2.36-1.rf-root/usr/share/doc/perl-Digest-MD5-2.36
+ exit 0
Provides: MD5.so perl(Digest::MD5) = 2.36
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.0) libc.so.6(GLIBC_2.1.3) perl(Exporter) perl(strict) perl(vars)
Processing files: perl-Digest-MD5-debuginfo-2.36-1.rf
Provides: MD5.so.debug
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/perl-Digest-MD5-2.36-1.rf-root

I'm not used to recompile source packages, I hope I did it right.

Robert Pelletier
Technicien informatique dans les écoles
Service des technologies de l'information
-----Message d'origine-----
De : Dag Wieers [mailto:dag at wieers.com] 
Envoyé : 22 janvier 2008 11:54
À : Pelletier, Robert
Cc : users at lists.rpmforge.net
Objet : Re: [users] Perl-Digest-MD5 for RHEL3

On Tue, 22 Jan 2008, Pelletier, Robert wrote:

> In order to use Amavisd-New 2.5.3 on RHEL3, you need to have
> perl-Digest-MD5 >= 2.22. I had to get it from CPAN and install it
> manually. Is it possible to make a package available for it?

No, because it comes with RHEL3 as part of the perl package.

I would be interested to know if you compile the SRPM from:

	http://dag.wieers.com/packages/perl-Digest-MD5/

on RHEL3 and see if installing the package (when the conflicting files are
removed) does work on RHEL3. My believe is that it fails because the
INC paths have been reorganised to not use vendor or site paths.

But I would be happy to be wrong on this. (I think RHEL5 does not make
this mistake anymore ?)

-- 
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]



More information about the users mailing list