Dear friends:

I just rebuild a Red Hat source rpm on LM 8.0. What I find curious is
that a) I am not sure it was a success and b) if it was a success, where
is the new rebuilt Mandrake RPM file?

Here is the data:

1) RPM --REBUILD BK2SITE.XXX.SRC.RPM. Does the data show this rebuilding
to be a success? If so, please see section 2 below. I know that rebuilt
rpms should be in /usr/src/... (See data for that below). Well, they are
nowhere in sight. I would appreciate if you could take a look below and
help me interpret the data. Actually, interpret it. As an ordinary user,
I can't tell if it is a success. 

I rebuilt a program called bk2site:

[root@sher07 sher]# rpm --rebuild bk2site-1.1.6-1.src.rpm
Installing bk2site-1.1.6-1.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.27751
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf bk2site-1.1.6
+ /bin/gzip -dc /usr/src/RPM/SOURCES/bk2site-1.1.6.tar.gz
+ tar -xvvf -
drwxrwxrwx 0/0               0 2000-12-20 07:42:26 bk2site-1.1.6/
-rw-rw-r-- 0/0           16559 2000-12-20 07:42:26
bk2site-1.1.6/Makefile.in
-rw-rw-r-- 500/500        1208 1999-10-26 13:26:42 bk2site-1.1.6/README
-rw-rw-r-- 500/500          10 2000-12-15 17:06:03
bk2site-1.1.6/stamp-h.in
-rw-rw-r-- 500/500         769 2000-12-15 17:11:57 bk2site-1.1.6/AUTHORS
-rw-rw-r-- 500/500       17989 1999-07-29 16:15:02 bk2site-1.1.6/COPYING
-rw-rw-r-- 500/500       36905 2000-12-20 07:41:38
bk2site-1.1.6/ChangeLog
-rw-rw-r-- 500/500        8756 2000-01-06 21:16:43 bk2site-1.1.6/INSTALL
-rw-rw-r-- 500/500        4058 2000-12-15 16:47:56
bk2site-1.1.6/Makefile.am
-rw-rw-r-- 500/500           0 1999-07-29 16:15:14 bk2site-1.1.6/NEWS
-rw-rw-r-- 500/500         980 2000-01-06 20:34:32 bk2site-1.1.6/TODO
-rw-rw-r-- 500/500          31 1999-09-05 16:00:52
bk2site-1.1.6/acconfig.h
-rw-rw-r-- 500/500        4652 2000-12-15 17:05:56
bk2site-1.1.6/aclocal.m4
-rw-rw-r-- 500/500         878 2000-01-06 21:17:07
bk2site-1.1.6/config.h.in
-rwxrwxr-x 500/500       62499 2000-12-15 17:05:57
bk2site-1.1.6/configure
-rw-rw-r-- 500/500        1402 2000-12-15 16:55:11
bk2site-1.1.6/configure.in
-rwxrwxr-x 500/500        5584 1999-09-05 15:51:55
bk2site-1.1.6/install-sh
-rwxrwxr-x 500/500        6274 1999-09-05 16:02:38 bk2site-1.1.6/missing
-rwxrwxr-x 500/500         730 1999-09-05 16:01:55
bk2site-1.1.6/mkinstalldirs
-rw-r--r-- 500/500       15640 2000-12-15 17:52:56
bk2site-1.1.6/bk2site.C
-rw-r--r-- 500/500       60768 2000-12-15 17:45:57
bk2site-1.1.6/reference.C
-rw-r--r-- 500/500       10357 2000-12-15 17:45:57
bk2site-1.1.6/reference.H
-rw-rw-r-- 500/500       10587 2000-01-04 09:51:19
bk2site-1.1.6/element.C
-rw-rw-r-- 500/500        4218 2000-01-02 21:23:52
bk2site-1.1.6/element.H
-rw-r--r-- 500/500       12366 2000-05-24 09:31:08
bk2site-1.1.6/iwebstream.C
-rw-r--r-- 500/500        2139 2000-02-14 17:00:06
bk2site-1.1.6/iwebstream.H
-rw-rw-r-- 500/500        3637 2000-01-04 10:03:31
bk2site-1.1.6/channel.C
-rw-rw-r-- 500/500        2731 1999-11-12 18:10:12
bk2site-1.1.6/channel.H
-rw-r--r-- 500/500        7418 2000-02-06 13:49:45
bk2site-1.1.6/funstring.C
-rw-r--r-- 500/500        3055 2000-02-06 13:49:45
bk2site-1.1.6/funstring.H
-rw-rw-r-- 500/500        1644 2000-02-07 20:56:29
bk2site-1.1.6/indexbase.html -rw-rw-r-- 500/500        1245 2000-02-07
20:56:40 bk2site-1.1.6/otherbase.html -rw-rw-r-- 500/500         891
1999-09-05 16:15:53 bk2site-1.1.6/searchbase.html-rw-rw-r--
500/500        1176 2000-02-07 20:56:52 bk2site-1.1.6/newbase.html
-rw-rw-r-- 500/500         111 1999-09-05 16:11:09 bk2site-1.1.6/new.gif
-rw-rw-r-- 500/500        6862 2000-02-01 07:28:15
bk2site-1.1.6/dot.bk2siterc
-rwxr--r-- 500/500       17609 2000-11-30 06:52:32
bk2site-1.1.6/search.pl
-rwxrwxr-x 500/500        1277 2000-08-15 21:51:37
bk2site-1.1.6/redirect.pl
-rw-rw-r-- 500/500         303 1999-09-05 16:11:09
bk2site-1.1.6/closeup.gif
-rwxr--r-- 500/500       25086 2000-04-10 15:36:20
bk2site-1.1.6/check-meta.pl
-rw-rw-r-- 500/500       39530 2000-12-15 17:17:50
bk2site-1.1.6/bk2site.html
-rw-rw-r-- 500/500         102 1999-09-05 16:11:09
bk2site-1.1.6/cool.gif
-rw-rw-r-- 500/500         156 1999-09-05 16:11:09
bk2site-1.1.6/cool2.gif
-rw-rw-r-- 500/500         104 1999-09-05 16:11:09
bk2site-1.1.6/disk.gif
-rw-rw-r-- 500/500          79 1999-09-05 16:11:09
bk2site-1.1.6/earth.gif
-rw-rw-r-- 500/500         172 1999-09-05 16:11:09
bk2site-1.1.6/ltbulb.gif
-rw-rw-r-- 500/500          96 1999-09-05 16:11:09
bk2site-1.1.6/mailto.gif
-rw-rw-r-- 500/500         968 1999-09-05 16:11:09
bk2site-1.1.6/mana_red.gif
-rw-rw-r-- 500/500         102 1999-09-05 16:11:09
bk2site-1.1.6/news.gif
-rw-rw-r-- 500/500         173 1999-09-05 16:11:09
bk2site-1.1.6/note.gif
-rw-rw-r-- 500/500         102 1999-09-05 16:11:09
bk2site-1.1.6/question.gif
-rw-rw-r-- 500/500          89 1999-09-05 16:11:09
bk2site-1.1.6/smiley.gif
-rw-rw-r-- 500/500         100 1999-09-05 16:11:09
bk2site-1.1.6/thumbs_down.gif-rw-rw-r-- 500/500       34362 2000-12-15
16:52:02 bk2site-1.1.6/bk2site.1
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd bk2site-1.1.6
++ /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.27751
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd bk2site-1.1.6
+ ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether make sets ${MAKE}... (cached) yes
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C++ preprocessor... c++ -E
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for ANSI C header files... yes
checking for gettimeofday... yes
checking for mkdir... yes
checking for gethostbyname... yes
checking for socket in -lsocket... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
+ make
c++ -DHAVE_CONFIG_H -I. -I. -I.
-DCONFIGFILE=\"/etc/bk2site/dot.bk2siterc\"    -O2 -c bk2site.C
c++ -DHAVE_CONFIG_H -I. -I. -I.
-DCONFIGFILE=\"/etc/bk2site/dot.bk2siterc\"    -O2 -c reference.C
c++ -DHAVE_CONFIG_H -I. -I. -I.
-DCONFIGFILE=\"/etc/bk2site/dot.bk2siterc\"    -O2 -c element.C
c++ -DHAVE_CONFIG_H -I. -I. -I.
-DCONFIGFILE=\"/etc/bk2site/dot.bk2siterc\"    -O2 -c iwebstream.C
c++ -DHAVE_CONFIG_H -I. -I. -I.
-DCONFIGFILE=\"/etc/bk2site/dot.bk2siterc\"    -O2 -c channel.C
c++ -DHAVE_CONFIG_H -I. -I. -I.
-DCONFIGFILE=\"/etc/bk2site/dot.bk2siterc\"    -O2 -c funstring.C
c++  -O2  -o bk2site  bk2site.o reference.o element.o iwebstream.o
channel.o funstring.o
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.53050
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd bk2site-1.1.6
+ rm -rf /var/tmp/bk2site-root
+ ./mkinstalldirs /var/tmp/bk2site-root/usr/local/bin
mkdir /var/tmp/bk2site-root
mkdir /var/tmp/bk2site-root/usr
mkdir /var/tmp/bk2site-root/usr/local
mkdir /var/tmp/bk2site-root/usr/local/bin
+ install -c bk2site /var/tmp/bk2site-root/usr/local/bin/bk2site
+ ./mkinstalldirs /var/tmp/bk2site-root/home/httpd/cgi-bin/bk2site
mkdir /var/tmp/bk2site-root/home
mkdir /var/tmp/bk2site-root/home/httpd
mkdir /var/tmp/bk2site-root/home/httpd/cgi-bin
mkdir /var/tmp/bk2site-root/home/httpd/cgi-bin/bk2site
+ install -c search.pl
/var/tmp/bk2site-root/home/httpd/cgi-bin/bk2site/search.pl
+ install -c redirect.pl
/var/tmp/bk2site-root/home/httpd/cgi-bin/bk2site/redirect.pl
+ install -c check-meta.pl
/var/tmp/bk2site-root/home/httpd/cgi-bin/bk2site/check-meta.pl
+ ./mkinstalldirs /var/tmp/bk2site-root/usr/man/man1
mkdir /var/tmp/bk2site-root/usr/man
mkdir /var/tmp/bk2site-root/usr/man/man1
+ install -c bk2site.1 /var/tmp/bk2site-root/usr/man/man1/bk2site.1
+ ./mkinstalldirs /var/tmp/bk2site-root/home/httpd/icons
mkdir /var/tmp/bk2site-root/home/httpd/icons
+ install -c new.gif /var/tmp/bk2site-root/home/httpd/icons/new.gif
+ install -c cool.gif /var/tmp/bk2site-root/home/httpd/icons/cool.gif
+ install -c cool2.gif /var/tmp/bk2site-root/home/httpd/icons/cool2.gif
+ install -c disk.gif /var/tmp/bk2site-root/home/httpd/icons/disk.gif
+ install -c earth.gif /var/tmp/bk2site-root/home/httpd/icons/earth.gif
+ install -c ltbulb.gif
/var/tmp/bk2site-root/home/httpd/icons/ltbulb.gif
+ install -c mailto.gif
/var/tmp/bk2site-root/home/httpd/icons/mailto.gif
+ install -c mana_red.gif
/var/tmp/bk2site-root/home/httpd/icons/mana_red.gif
+ install -c news.gif /var/tmp/bk2site-root/home/httpd/icons/news.gif
+ install -c note.gif /var/tmp/bk2site-root/home/httpd/icons/note.gif
+ install -c question.gif
/var/tmp/bk2site-root/home/httpd/icons/question.gif
+ install -c smiley.gif
/var/tmp/bk2site-root/home/httpd/icons/smiley.gif
+ install -c thumbs_down.gif
/var/tmp/bk2site-root/home/httpd/icons/thumbs_down.gif
+ ./mkinstalldirs /var/tmp/bk2site-root/etc/bk2site
mkdir /var/tmp/bk2site-root/etc
mkdir /var/tmp/bk2site-root/etc/bk2site
+ install -c dot.bk2siterc
/var/tmp/bk2site-root/etc/bk2site/dot.bk2siterc
+ install -c indexbase.html
/var/tmp/bk2site-root/etc/bk2site/indexbase.html
+ install -c otherbase.html
/var/tmp/bk2site-root/etc/bk2site/otherbase.html
+ install -c newbase.html /var/tmp/bk2site-root/etc/bk2site/newbase.html
+ install -c searchbase.html
/var/tmp/bk2site-root/etc/bk2site/searchbase.html
+ /usr/lib/rpm/brp-mandrake
Cleaning files...done
Compressing files...done
Stripping files...done
Relativisation of symlinks...done
Clean perl...done
Building libraries symlinks...done
Processing files: bk2site-1.1.6-1
File not found: /var/tmp/bk2site-root/usr/man/man1/bk2site.1
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.71986
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd bk2site-1.1.6
+ DOCDIR=/var/tmp/bk2site-root/usr/share/doc/bk2site-1.1.6
+ export DOCDIR
+ rm -rf /var/tmp/bk2site-root/usr/share/doc/bk2site-1.1.6
+ /bin/mkdir -p /var/tmp/bk2site-root/usr/share/doc/bk2site-1.1.6
+ cp -pr README AUTHORS COPYING INSTALL ChangeLog
/var/tmp/bk2site-root/usr/share/doc/bk2site-1.1.6
+ exit 0
[root@sher07 sher]#

2) Data from /usr/src:


[sher@sher07 sher]$ cd /usr/src
[sher@sher07 src]$ ls
RPM/  linux@  linux-2.4.3/  php-devel/
[sher@sher07 src]$ cd RPM
[sher@sher07 RPM]$ LS
bash: LS: command not found
[sher@sher07 RPM]$ ls
BUILD/  RPMS/  SOURCES/  SPECS/  SRPMS/
[sher@sher07 RPM]$ cd RPMS
[sher@sher07 RPMS]$ ls
athlon/  i386/  i486/  i586/  i686/  k6/  noarch/
[sher@sher07 RPMS]$ cd athlon
[sher@sher07 athlon]$ ls
[sher@sher07 athlon]$ cd ..
[sher@sher07 RPMS]$ cd i386
[sher@sher07 i386]$ ls
[sher@sher07 i386]$ cd..
[sher@sher07 RPMS]$ cd i486
[sher@sher07 i486]$ ls
[sher@sher07 i486]$ cd ..
[sher@sher07 RPMS]$ cd i586
[sher@sher07 i586]$ ls
[sher@sher07 i586]$ cd ..
[sher@sher07 RPMS]$ cd i686
[sher@sher07 i686]$ ls
[sher@sher07 i686]$ cd ..
[sher@sher07 RPMS]$ cd k6
[sher@sher07 k6]$ ls
[sher@sher07 k6]$ cd ..
[sher@sher07 RPMS]$ cd noarch
[sher@sher07 noarch]$ ls
[sher@sher07 noarch]$

Would really appreciate your advice and suggestions. 

Thank you so much.

Benjamin


-- 
Sher's Russian Web
http://www.websher.net
Benjamin and Anna Sher
[EMAIL PROTECTED]

Reply via email to