You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Scott Harrison <sh...@users.sourceforge.net> on 2002/08/03 02:18:59 UTC

building rpms adventure

My experience building rpms...
(a few suggested bug fixes, notes, and unresolved bugs)

NOTE the rpms I build (after retrieving from the svn repository)
are things like
apache-2.0.40-0.6.i386.rpm

Whereas, what is posted on the web site is
apache-2.0.40-0.7.i386.rpm

WHY IS svn:apache (from http://summersoft.fay.ar.us:81/)
 LESS UP TO DATE THAN A BINARY CREATED ON THE WEBSITE
A WEEK AGO?

NOTE that the *.spec files are sensitive to the naming of the *.tar.gz
files as well as the initial internal directory name stored
inside (to be placed in /usr/src/redhat/SOURCES/.)

NOTE that you will discover additional rpm dependencies
as you run 'rpm -ba'

*******************************************
rpm -ba neon.spec
for neon

+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.28590
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd neon-0.21.3
+ make
Makefile:33: *** missing separator.  Stop.
error: Bad exit status from /var/tmp/rpm-tmp.28590 (%build)

line 33 is this:
@SET_MAKE@

hrmmmm...?????????  What is going on here, anybody?

*******************************************
rpm -ba db.spec
for bdb

+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd db-4.0.14
+ cd build_unix
+ CFLAGS=-O2 -march=i386 -mcpu=i686
+ ../dist/configure --prefix=/usr --enable-compat185 --enable-dump185 --enable-shared --enable-static --enable-rpc --enable-cxx
/var/tmp/rpm-tmp.83854: ../dist/configure: bad interpreter: Permission denied
error: Bad exit status from /var/tmp/rpm-tmp.83854 (%build)

so let's fix this bugger...

cd db-4.0.14/dist
chmod a+rx

try again

yeah!

*******************************************
rpm -ba apache.spec
for apache

works... (be sure to copy ALL the right files
in the right way into /usr/src/redhat/SOURCES)

********************************************

subversion/packages/rpm; make

 autoconf253 >= 2.53 is needed by subversion-0.14.0-2864
 libtool >= 1.4.2 is needed by subversion-0.14.0-2864

??

oh.. I'm on RH72, need to be on RH73

okay.. fixing everything...
type "make"

uh-oh error here
checking for Apache module support via DSO through APXS... ./configure: /usr/local/apache2/usr/bin/apxs: No such file or directory

but /usr/local/apache2/bin/apxs
exists

softlinking is my friend
ln -s /usr/local/apache2 /usr/local/apache2/usr

YEAH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

********************************************

So bugs with bdb and subversion (via apache file structure)
were found.


-- 
Scott Harrison, sharrison@users.sourceforge.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: building rpms adventure

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
David Summers <da...@summersoft.fay.ar.us> writes:
> I think all these problems have been taken care of now.  If not, let me 
> know and we'll continue getting the bugs zapped.

Thanks, David.  (I didn't spot the reply immediately because the
thread changed, but glad to see you zapped them all!)

-K

> On 5 Aug 2002, Karl Fogel wrote:
> 
> > Scott Harrison <sh...@users.sourceforge.net> writes:
> > > WHY IS svn:apache (from http://summersoft.fay.ar.us:81/)
> > >  LESS UP TO DATE THAN A BINARY CREATED ON THE WEBSITE
> > > A WEEK AGO?
> > 
> > There's no need to shout.  On this list, we always read both the big
> > and the small letters :-).
> > 
> > This is just my personal $0.02 here, David Summers (the rpm
> > maintainer) may or may not agree:
> > 
> > Could you rewrite that mail to make a clearer distinction between the
> > bugs you found and the context in which you found them?  I found
> > things a bit difficult to follow.  There was clearly a lot of
> > information, but it was sort of a stream-of-consciousness
> > presentation.  Also, it helps to indent file excerpts, commands, and
> > command output.
> > 
> > Again, just suggestions.  It's really David who will be handling this
> > mail, and I don't know that he had any problem digesting it.
> > 
> > -Karl
> > 
> > 
> > > NOTE that the *.spec files are sensitive to the naming of the *.tar.gz
> > > files as well as the initial internal directory name stored
> > > inside (to be placed in /usr/src/redhat/SOURCES/.)
> > > 
> > > NOTE that you will discover additional rpm dependencies
> > > as you run 'rpm -ba'
> > > 
> > > *******************************************
> > > rpm -ba neon.spec
> > > for neon
> > > 
> > > + exit 0
> > > Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.28590
> > > + umask 022
> > > + cd /usr/src/redhat/BUILD
> > > + cd neon-0.21.3
> > > + make
> > > Makefile:33: *** missing separator.  Stop.
> > > error: Bad exit status from /var/tmp/rpm-tmp.28590 (%build)
> > > 
> > > line 33 is this:
> > > @SET_MAKE@
> > > 
> > > hrmmmm...?????????  What is going on here, anybody?
> > > 
> > > *******************************************
> > > rpm -ba db.spec
> > > for bdb
> > > 
> > > + umask 022
> > > + cd /usr/src/redhat/BUILD
> > > + cd db-4.0.14
> > > + cd build_unix
> > > + CFLAGS=-O2 -march=i386 -mcpu=i686
> > > + ../dist/configure --prefix=/usr --enable-compat185 --enable-dump185 --enable-shared --enable-static --enable-rpc --enable-cxx
> > > /var/tmp/rpm-tmp.83854: ../dist/configure: bad interpreter: Permission denied
> > > error: Bad exit status from /var/tmp/rpm-tmp.83854 (%build)
> > > 
> > > so let's fix this bugger...
> > > 
> > > cd db-4.0.14/dist
> > > chmod a+rx
> > > 
> > > try again
> > > 
> > > yeah!
> > > 
> > > *******************************************
> > > rpm -ba apache.spec
> > > for apache
> > > 
> > > works... (be sure to copy ALL the right files
> > > in the right way into /usr/src/redhat/SOURCES)
> > > 
> > > ********************************************
> > > 
> > > subversion/packages/rpm; make
> > > 
> > >  autoconf253 >= 2.53 is needed by subversion-0.14.0-2864
> > >  libtool >= 1.4.2 is needed by subversion-0.14.0-2864
> > > 
> > > ??
> > > 
> > > oh.. I'm on RH72, need to be on RH73
> > > 
> > > okay.. fixing everything...
> > > type "make"
> > > 
> > > uh-oh error here
> > > checking for Apache module support via DSO through APXS... ./configure: /usr/local/apache2/usr/bin/apxs: No such file or directory
> > > 
> > > but /usr/local/apache2/bin/apxs
> > > exists
> > > 
> > > softlinking is my friend
> > > ln -s /usr/local/apache2 /usr/local/apache2/usr
> > > 
> > > YEAH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> > > 
> > > ********************************************
> > > 
> > > So bugs with bdb and subversion (via apache file structure)
> > > were found.
> > > 
> > > 
> > > -- 
> > > Scott Harrison, sharrison@users.sourceforge.net
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> > > For additional commands, e-mail: dev-help@subversion.tigris.org
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: dev-help@subversion.tigris.org
> > 
> > 
> 
> -- 
> David Wayne Summers          "Linux: Because reboots are for upgrades!"
> david@summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
> PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: building rpms adventure

Posted by David Summers <da...@summersoft.fay.ar.us>.
I think all these problems have been taken care of now.  If not, let me 
know and we'll continue getting the bugs zapped.

   - David Summers

On 5 Aug 2002, Karl Fogel wrote:

> Scott Harrison <sh...@users.sourceforge.net> writes:
> > WHY IS svn:apache (from http://summersoft.fay.ar.us:81/)
> >  LESS UP TO DATE THAN A BINARY CREATED ON THE WEBSITE
> > A WEEK AGO?
> 
> There's no need to shout.  On this list, we always read both the big
> and the small letters :-).
> 
> This is just my personal $0.02 here, David Summers (the rpm
> maintainer) may or may not agree:
> 
> Could you rewrite that mail to make a clearer distinction between the
> bugs you found and the context in which you found them?  I found
> things a bit difficult to follow.  There was clearly a lot of
> information, but it was sort of a stream-of-consciousness
> presentation.  Also, it helps to indent file excerpts, commands, and
> command output.
> 
> Again, just suggestions.  It's really David who will be handling this
> mail, and I don't know that he had any problem digesting it.
> 
> -Karl
> 
> 
> > NOTE that the *.spec files are sensitive to the naming of the *.tar.gz
> > files as well as the initial internal directory name stored
> > inside (to be placed in /usr/src/redhat/SOURCES/.)
> > 
> > NOTE that you will discover additional rpm dependencies
> > as you run 'rpm -ba'
> > 
> > *******************************************
> > rpm -ba neon.spec
> > for neon
> > 
> > + exit 0
> > Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.28590
> > + umask 022
> > + cd /usr/src/redhat/BUILD
> > + cd neon-0.21.3
> > + make
> > Makefile:33: *** missing separator.  Stop.
> > error: Bad exit status from /var/tmp/rpm-tmp.28590 (%build)
> > 
> > line 33 is this:
> > @SET_MAKE@
> > 
> > hrmmmm...?????????  What is going on here, anybody?
> > 
> > *******************************************
> > rpm -ba db.spec
> > for bdb
> > 
> > + umask 022
> > + cd /usr/src/redhat/BUILD
> > + cd db-4.0.14
> > + cd build_unix
> > + CFLAGS=-O2 -march=i386 -mcpu=i686
> > + ../dist/configure --prefix=/usr --enable-compat185 --enable-dump185 --enable-shared --enable-static --enable-rpc --enable-cxx
> > /var/tmp/rpm-tmp.83854: ../dist/configure: bad interpreter: Permission denied
> > error: Bad exit status from /var/tmp/rpm-tmp.83854 (%build)
> > 
> > so let's fix this bugger...
> > 
> > cd db-4.0.14/dist
> > chmod a+rx
> > 
> > try again
> > 
> > yeah!
> > 
> > *******************************************
> > rpm -ba apache.spec
> > for apache
> > 
> > works... (be sure to copy ALL the right files
> > in the right way into /usr/src/redhat/SOURCES)
> > 
> > ********************************************
> > 
> > subversion/packages/rpm; make
> > 
> >  autoconf253 >= 2.53 is needed by subversion-0.14.0-2864
> >  libtool >= 1.4.2 is needed by subversion-0.14.0-2864
> > 
> > ??
> > 
> > oh.. I'm on RH72, need to be on RH73
> > 
> > okay.. fixing everything...
> > type "make"
> > 
> > uh-oh error here
> > checking for Apache module support via DSO through APXS... ./configure: /usr/local/apache2/usr/bin/apxs: No such file or directory
> > 
> > but /usr/local/apache2/bin/apxs
> > exists
> > 
> > softlinking is my friend
> > ln -s /usr/local/apache2 /usr/local/apache2/usr
> > 
> > YEAH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> > 
> > ********************************************
> > 
> > So bugs with bdb and subversion (via apache file structure)
> > were found.
> > 
> > 
> > -- 
> > Scott Harrison, sharrison@users.sourceforge.net
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: dev-help@subversion.tigris.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
> 
> 

-- 
David Wayne Summers          "Linux: Because reboots are for upgrades!"
david@summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: building rpms adventure

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Scott Harrison <sh...@users.sourceforge.net> writes:
> WHY IS svn:apache (from http://summersoft.fay.ar.us:81/)
>  LESS UP TO DATE THAN A BINARY CREATED ON THE WEBSITE
> A WEEK AGO?

There's no need to shout.  On this list, we always read both the big
and the small letters :-).

This is just my personal $0.02 here, David Summers (the rpm
maintainer) may or may not agree:

Could you rewrite that mail to make a clearer distinction between the
bugs you found and the context in which you found them?  I found
things a bit difficult to follow.  There was clearly a lot of
information, but it was sort of a stream-of-consciousness
presentation.  Also, it helps to indent file excerpts, commands, and
command output.

Again, just suggestions.  It's really David who will be handling this
mail, and I don't know that he had any problem digesting it.

-Karl


> NOTE that the *.spec files are sensitive to the naming of the *.tar.gz
> files as well as the initial internal directory name stored
> inside (to be placed in /usr/src/redhat/SOURCES/.)
> 
> NOTE that you will discover additional rpm dependencies
> as you run 'rpm -ba'
> 
> *******************************************
> rpm -ba neon.spec
> for neon
> 
> + exit 0
> Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.28590
> + umask 022
> + cd /usr/src/redhat/BUILD
> + cd neon-0.21.3
> + make
> Makefile:33: *** missing separator.  Stop.
> error: Bad exit status from /var/tmp/rpm-tmp.28590 (%build)
> 
> line 33 is this:
> @SET_MAKE@
> 
> hrmmmm...?????????  What is going on here, anybody?
> 
> *******************************************
> rpm -ba db.spec
> for bdb
> 
> + umask 022
> + cd /usr/src/redhat/BUILD
> + cd db-4.0.14
> + cd build_unix
> + CFLAGS=-O2 -march=i386 -mcpu=i686
> + ../dist/configure --prefix=/usr --enable-compat185 --enable-dump185 --enable-shared --enable-static --enable-rpc --enable-cxx
> /var/tmp/rpm-tmp.83854: ../dist/configure: bad interpreter: Permission denied
> error: Bad exit status from /var/tmp/rpm-tmp.83854 (%build)
> 
> so let's fix this bugger...
> 
> cd db-4.0.14/dist
> chmod a+rx
> 
> try again
> 
> yeah!
> 
> *******************************************
> rpm -ba apache.spec
> for apache
> 
> works... (be sure to copy ALL the right files
> in the right way into /usr/src/redhat/SOURCES)
> 
> ********************************************
> 
> subversion/packages/rpm; make
> 
>  autoconf253 >= 2.53 is needed by subversion-0.14.0-2864
>  libtool >= 1.4.2 is needed by subversion-0.14.0-2864
> 
> ??
> 
> oh.. I'm on RH72, need to be on RH73
> 
> okay.. fixing everything...
> type "make"
> 
> uh-oh error here
> checking for Apache module support via DSO through APXS... ./configure: /usr/local/apache2/usr/bin/apxs: No such file or directory
> 
> but /usr/local/apache2/bin/apxs
> exists
> 
> softlinking is my friend
> ln -s /usr/local/apache2 /usr/local/apache2/usr
> 
> YEAH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> 
> ********************************************
> 
> So bugs with bdb and subversion (via apache file structure)
> were found.
> 
> 
> -- 
> Scott Harrison, sharrison@users.sourceforge.net
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org