Subject: Can't make rpm-2.5.4
To: None <tech-pkg@netbsd.org>
From: Webmaster Jim <jspath@bcpl.net>
List: tech-pkg
Date: 06/27/1999 15:52:53
I'm running 1.4 and am failing when building rpm.
====

# make clean
===>  Cleaning for rpm-2.5.4
# make
===>  Validating dependencies for rpm-2.5.4
>> Checksum OK for rpm-2.5.4.tar.gz.
===>  Extracting for rpm-2.5.4
===>  rpm-2.5.4 depends on file: /usr/pkg/lib/libintl.a - found
===>  rpm-2.5.4 depends on executable: gmake - /usr/pkg/bin/gmake found
===>  Patching for rpm-2.5.4
===>  Applying NetBSD patches for rpm-2.5.4
1 out of 1 hunks failed--saving rejects to po/Makefile.in.rej
Patch /usr/pkgsrc/misc/rpm/patches/patch-ab failed
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
====

# cat work/rpm-2.5.4/po/Makefile.in.rej
***************
*** 58,65 ****
  install:
        for n in $(CATALOGS); do \
            l=`basename $$n .mo`; \
-           $(INSTALL) -m 755 -d $(installprefix)/$(RPMNLSDIR)/$$l; \
-           $(INSTALL) -m 755 -d $(installprefix)/$(RPMNLSDIR)/$$l/LC_MESSAGES; \
            $(INSTALL) -m 644 $$n $(installprefix)/$(RPMNLSDIR)/$$l/LC_MESSAGES/rpm.mo; \
        done
  
--- 58,64 ----
  install:
        for n in $(CATALOGS); do \
            l=`basename $$n .mo`; \
+           mkdir -p $(installprefix)/$(RPMNLSDIR)/$$l/LC_MESSAGES; \
            $(INSTALL) -m 644 $$n $(installprefix)/$(RPMNLSDIR)/$$l/LC_MESSAGES/rpm.mo; \
        done
  
======
# ls -l ../../distfiles/rpm*
-rw-r--r--  1 root  wheel  727849 Sep 30  1998 ../../distfiles/rpm-2.5.4.tar.gz
======
# ls -l patches/
total 13
drwxrwxr-x  2 jim   wheel   512 Jun 27 15:20 CVS
-rw-r--r--  1 root  wheel   629 Nov 11  1998 patch-aa
-rw-r--r--  1 jim   wheel   466 Mar 20  1998 patch-ab
-rw-r--r--  1 jim   wheel   216 Dec 17  1997 patch-ac
-rw-rw-r--  1 jim   wheel   526 Oct 11  1997 patch-ae
-rw-r--r--  1 jim   wheel  1320 Dec 17  1997 patch-af
-rw-r--r--  1 root  wheel  2466 Nov  5  1998 patch-ba
-rw-r--r--  1 root  wheel   739 Nov  5  1998 patch-bb
-rw-r--r--  1 root  wheel   526 Nov  5  1998 patch-bc
-rw-r--r--  1 root  wheel   364 Nov  5  1998 patch-bd


I've tried rebuilding gettext and gmake, but am stuck (help!?).
------
<http://www.cs.indiana.edu/picons/db/users/us/md/lib/bcpl/jspath/face.xbm>
<http://www.altavista.com/cgi-bin/query?q=%22web+home+for+jim+spath%22>
Marvin the Paranoid Android says:
Seems like a waste of time to me...