Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <00be01c2e4c1$61dd9d90$78d96f83@pomello> From: "Max Bowsher" To: Subject: rpm-4.1 successful compile on Cygwin Date: Fri, 7 Mar 2003 15:51:14 -0000 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00BB_01C2E4C1.61CB4E10" X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Note-from-DJ: This may be spam ------=_NextPart_000_00BB_01C2E4C1.61CB4E10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit There's been sporadic interest in rpm, so I thought someone might find this useful: I've recently succeeded in persuading rpm-4.1 to compile under Cygwin. It was more troublesome than rpm-4.0.4, as it makes some assumptions about the system, and doesn't bother to use configure tests to make sure. Attached are my fixup script, and 2 patches (one bzip2ed - the script expects it uncompressed, though). The jbj9 patch is the diff between the rpm-4.1 from ftp.rpm.org, and the one inside Jeff Johnson's (the RPM maintainer) unofficial rpm-4.1-9 .src.rpm. The script fixes some things via perl regexps, and uses a patch for the rest. I'm rather unsure about one particular bit of code: is writing to the environ pointer legal? Anyway, here it is, in case anyone finds it useful. Max. ------=_NextPart_000_00BB_01C2E4C1.61CB4E10 Content-Type: application/octet-stream; name="rpm-4.1-jbj9.patch.bz2" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="rpm-4.1-jbj9.patch.bz2" QlpoOTFBWSZTWT8qj1QAXYdfn/Ywf////3//3/6////+Nz/////////v/3v3YD0/eXrTpqfMUtp3 C7sXbi6GitH3akq8tKeJh3u8PLwTbNq23HMtHPh7B5132k+PvQAAaAAaMgOxWHp3XuxTpqqSzQZF n0YCRd7pd123TRoApIFa5ChyUubUh01RrVsDrKjrWugbtZgC5t22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GMt1 kSN4Ouv/xdyRThQkD8qj1QA= ------=_NextPart_000_00BB_01C2E4C1.61CB4E10 Content-Type: application/octet-stream; name="fixup-rpm-4.1.sh" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="fixup-rpm-4.1.sh" #!/bin/bash=0A= =0A= # lib/signature.c=0A= # tools/*strip*file.c=0A= =0A= set -e=0A= =0A= PKG=3Drpm=0A= VER=3D4.1=0A= TARBALL=3D"/m/max/sources/$PKG-$VER.tar.bz2"=0A= =0A= if [ ! -f rpm.c ]; then=0A= if [ ! -d "$PKG-$VER" ]; then=0A= echo Unpacking "$PKG-$VER"...=0A= tar --exclude=3D'*/db/docs' --exclude=3D'*::*' -jxvf "$TARBALL"=0A= fi=0A= cd "$PKG-$VER"=0A= fi=0A= =0A= function perlify {=0A= f=3D$1; shift=0A= if test ! -f $f.orig; then=0A= cp $f $f.orig=0A= fi=0A= echo " $f"=0A= perl -i.tmp "$*" $f=0A= rm -f $f.tmp=0A= }=0A= =0A= patch -p1 -i ../rpm-4.1-jbj9.patch=0A= patch -p1 -i ../rpm-4.1-fixups.patch=0A= =0A= echo Disabling RPC=0A= perlify db3/configure -p -e 's/--enable-rpc/--disable-rpc/;' \=0A= -e 's/echo \$\* /echo \" \$\*\" /;'=0A= =0A= echo Removing -lrt=0A= for file in rpmio/Makefile.in; do=0A= perlify $file -pe = 's/^([A-Za-z0-9_]*LDFLAGS\s*=3D\s*(?:\S+\s+)*)-lrt(\s+.*)/$1$2/;'=0A= done=0A= =0A= echo Fixing installation without DESTDIR=0A= for file in {build,lib,rpmio,rpmdb,.}/Makefile.in xmlspec/Makefile; do=0A= perlify $file -pe 's/(\$\(DESTDIR\))\//$1/;'=0A= done=0A= =0A= echo Adding -lintl -liconv to libpopt_la_LIBADD=0A= for file in popt/Makefile.in; do=0A= perlify $file -pe 's/^(libpopt_la_LIBADD\s*=3D.*)/$1 -lintl -liconv/;'=0A= done=0A= =0A= echo '*** Make sure to configure --without-python ***'=0A= =0A= ------=_NextPart_000_00BB_01C2E4C1.61CB4E10 Content-Type: application/octet-stream; name="rpm-4.1-fixups.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="rpm-4.1-fixups.patch" diff -rup rpm-4.1/rpmio.orig/fts.c rpm-4.1/rpmio/fts.c=0A= --- rpm-4.1/rpmio.orig/fts.c 2002-08-30 12:17:58.000000000 +0100=0A= +++ rpm-4.1/rpmio/fts.c 2003-03-05 23:08:08.000000000 +0000=0A= @@ -53,6 +53,12 @@ static char sccsid[] =3D "@(#)fts.c 8.6 (B=0A= # define _STAT_VER 0=0A= # define __fxstat64(_stat_ver, _fd, _sbp) fstat((_fd), (_sbp))=0A= #endif=0A= +#if defined(__CYGWIN__)=0A= +# define __errno_location() (&errno)=0A= +# define stat64 stat=0A= +# define _STAT_VER 0=0A= +# define __fxstat64(_stat_ver, _fd, _sbp) fstat((_fd), (_sbp))=0A= +#endif=0A= #include "system.h"=0A= #include "fts.h"=0A= #include "rpmio.h"=0A= diff -rup rpm-4.1/rpmio.orig/fts.h rpm-4.1/rpmio/fts.h=0A= --- rpm-4.1/rpmio.orig/fts.h 2002-08-30 12:25:43.000000000 +0100=0A= +++ rpm-4.1/rpmio/fts.h 2003-03-05 23:05:34.000000000 +0000=0A= @@ -51,6 +51,10 @@=0A= # define _LARGEFILE64_SOURCE=0A= #endif=0A= =0A= +#if defined(__CYGWIN__)=0A= +# define _D_EXACT_NAMLEN(d) (strlen ((d)->d_name))=0A= +#endif=0A= +=0A= #endif=0A= =0A= #include =0A= diff -rup rpm-4.1/rpmio.orig/rpmio.h rpm-4.1/rpmio/rpmio.h=0A= --- rpm-4.1/rpmio.orig/rpmio.h 2002-08-13 21:42:43.000000000 +0100=0A= +++ rpm-4.1/rpmio/rpmio.h 2003-03-05 22:49:58.000000000 +0000=0A= @@ -10,7 +10,6 @@=0A= #include =0A= #include =0A= /*@-noparams@*/=0A= -#include =0A= /*@=3Dnoparams@*/=0A= #include =0A= #include =0A= diff -rup rpm-4.1/rpmio.orig/rpmrpc.c rpm-4.1/rpmio/rpmrpc.c=0A= --- rpm-4.1/rpmio.orig/rpmrpc.c 2002-09-17 15:57:36.000000000 +0100=0A= +++ rpm-4.1/rpmio/rpmrpc.c 2003-03-05 23:11:13.000000000 +0000=0A= @@ -1285,6 +1285,7 @@ static struct dirent * ftpReaddir(DIR * =0A= =0A= /* XXX glob(3) uses REAL_DIR_ENTRY(dp) test on d_ino */=0A= dp->d_ino =3D i + 1; /* W2DO? */=0A= +#if !defined(__CYGWIN__)=0A= dp->d_reclen =3D 0; /* W2DO? */=0A= =0A= #if !defined(hpux)=0A= @@ -1293,6 +1294,7 @@ static struct dirent * ftpReaddir(DIR * =0A= dp->d_type =3D dt[i];=0A= /*@=3Dboundsread@*/=0A= #endif=0A= +#endif=0A= =0A= strncpy(dp->d_name, av[i], sizeof(dp->d_name));=0A= /*@+voidabstract@*/=0A= --- rpm-4.1/lib/signature.c 2002-09-17 15:29:26.000000000 +0100=0A= +++ rpm-4.1x/lib/signature.c 2003-03-06 22:11:54.000000000 +0000=0A= @@ -27,7 +27,7 @@=0A= /*@access pgpDigParams@*/=0A= =0A= #if !defined(__GLIBC__)=0A= -char ** environ =3D NULL;=0A= +/*char ** environ =3D NULL;*/=0A= #endif=0A= =0A= int rpmLookupSignatureType(int action)=0A= --- rpm-4.1/tools/Makefile.in 2002-08-31 14:23:21.000000000 +0100=0A= +++ rpm-4.1x/tools/Makefile.in 2003-03-06 22:38:41.000000000 +0000=0A= @@ -263,8 +263,7 @@ EXTRA_PROGRAMS =3D rpminject$(EXEEXT) rpms=0A= bin_PROGRAMS =3D rpmgraph$(EXEEXT)=0A= noinst_PROGRAMS =3D dump$(EXEEXT) dumpdb$(EXEEXT) rpmarchive$(EXEEXT) \=0A= rpmheader$(EXEEXT) rpmlead$(EXEEXT) rpmsignature$(EXEEXT)=0A= -pkgbin_PROGRAMS =3D javadeps$(EXEEXT) rpmcache$(EXEEXT) \=0A= - striptofile$(EXEEXT) unstripfile$(EXEEXT)=0A= +pkgbin_PROGRAMS =3D javadeps$(EXEEXT) rpmcache$(EXEEXT)=0A= PROGRAMS =3D $(bin_PROGRAMS) $(noinst_PROGRAMS) $(pkgbin_PROGRAMS)=0A= =0A= dump_SOURCES =3D dump.c=0A= ------=_NextPart_000_00BB_01C2E4C1.61CB4E10 Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ------=_NextPart_000_00BB_01C2E4C1.61CB4E10--