rpm-4.1-2 src package problems

Jason Pyeron jpyeron@pdinc.us
Tue Sep 20 02:17:00 GMT 2005


from rpm-4.1-2-src.tar.bz2 (mirrors.rcn.net)

first error:

[jpyeron@mrlaptop tmp]$ ./rpm-4.1-1.sh
./rpm-4.1-1.sh: line 69: syntax error near unexpected token `&&'
./rpm-4.1-1.sh: line 69: `  && mkdirs) # && \'


errort so far:
--- rpm-4.1-1.sh.orig   2005-09-19 17:10:08.071128000 -0400
+++ rpm-4.1-1.sh        2005-09-19 17:53:00.399955200 -0400
@@ -65,7 +65,7 @@
    (cd ${topdir} && \
    tar xvzf ${src_orig_pkg} ; \
    cd ${topdir} && \
-  patch -b -p0 < ${src_patch}
+  patch -b -p0 < ${src_patch} \
    && mkdirs) # && \
  #  chmod +x ${srcdir}/CYGWIN-PATCHES/shtool && \
  #  cd ${srcdir} && \
@@ -142,7 +142,7 @@
  }
  pkg() {
    (cd ${instdir} && \
-  tar cvjfT ${bin_pkg} - <<EOF &&
+  tar cvjfT ${bin_pkg} - <<EOF
  usr/bin/rpm.exe
  etc/postinstall/rpm.sh
  usr/bin/gendiff
@@ -202,7 +202,7 @@
  var/lib/rpm/
  var/tmp/
  EOF
-  tar cvjfT ${doc_pkg} - <<EOF &&
+  tar cvjfT ${doc_pkg} - <<EOF
  usr/man/fr/man8/rpm.8
  usr/man/ja/man8/rpm.8
  usr/man/ja/man8/rpm2cpio.8
@@ -217,7 +217,7 @@
  usr/man/ru/man8/rpm2cpio.8
  usr/man/sk/man8/rpm.8
  EOF
-  tar cvjfT ${bld_pkg} - <<EOF &&
+  tar cvjfT ${bld_pkg} - <<EOF
  usr/bin/rpmbuild
  usr/lib/rpm/brp-compress
  usr/lib/rpm/brp-redhat


current error:


[jpyeron@mrlaptop tmp]$ ./rpm-4.1-1.sh all
...
rpm-4.1/doc/sk/rpm.8
patching file rpm-4.1/CYGWIN-PATCHES/postinstall.sh
patching file rpm-4.1/CYGWIN-PATCHES/rpm.README
patching file rpm-4.1/CYGWIN-PATCHES/setup.hint
patching file rpm-4.1/Makefile.in
patching file rpm-4.1/beecrypt/Makefile.in
can't find file to patch at input line 271
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- rpm-4.1/db3/Makefile.orig  2003-05-02 12:25:41.000000000 +0100
|+++ rpm-4.1/db3/Makefile       2003-05-02 12:25:51.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 288
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- rpm-4.1/db3/db.h.orig      2003-05-02 12:25:43.000000000 +0100
|+++ rpm-4.1/db3/db.h   2003-05-02 12:25:52.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
4 out of 4 hunks ignored
patching file rpm-4.1/lib/misc.c
...


inprocess of building right now


-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Partner & Sr. Manager             7 West 24th Street #100     -
- +1 (443) 921-0381                 Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain 
privileged, proprietary, or otherwise private information. If you 
have received it in error, purge the message from your system and 
notify the sender immediately.  Any other use of the email by you 
is prohibited.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list