Mailinglist Archive: opensuse (4417 mails)
| < Previous | Next > |
Re: [SLE] getting build to work.
- From: Mads Martin Joergensen <mmj@xxxxxxxxxxxxxx>
- Date: Mon, 10 Nov 2003 18:49:58 +0100
- Message-id: <20031110174958.GA2182@xxxxxxxxxxxxxx>
* Mads Martin Joergensen <mmj@xxxxxxxxxxxxxx> [Nov 10. 2003 11:15]:
> > I have to disagree with
> > > Any 9.0 src.rpm will not show such error.
> >
> > As that is the one I actually used in during our email exchange.
>
> Please tell me the name of that src.rpm, you did not mention that in
> your previous mail.
The problem here only shows it's face when one builds an rpm without a
correct # usedforbuild. Here's the patch to apply to /usr/bin/build:
--- old/build/build 2003-09-05 16:00:56.000000000 +0200
+++ new/build/build 2003-11-10 13:47:44.000000000 +0100
@@ -264,7 +264,7 @@
USEDFORBUILD=`grep "^#.*usedforbuild" $SPECFILE`
if [ -z "$USEDFORBUILD" ] ; then
- USEDFORBUILD="fillup attr acl aaa_base filesystem aaa_version autoconf au
tomake bash bind9-utils binutils bison bzip2 cpio cpp cracklib cyrus-sasl db dev
s diffutils e2fsprogs file fileutils findutils flex gawk gcc gdbm gdbm-devel get
text glibc glibc-devel glibc-locale gpm grep groff gzip kbd less libgcc libstdc+
+ libtool libxcrypt zlib m4 make man mktemp modutils ncurses ncurses-devel net-t
ools netcfg pam pam-devel pam-modules patch perl permissions ps rcs readline rpm
sed sendmail sh-utils shadow strace syslogd sysvinit tar texinfo textutils time
zone unzip util-linux vim zlib-devel"
+ USEDFORBUILD="aaa_base acl attr autoconf automake binutils bash bind-util
s bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db devs diffutils e2fsp
rogs file filesystem fillup findutils flex gawk gcc gdbm gdbm-devel gettext glib
c glibc-devel glibc-locale gpm grep groff gzip info insserv kbd less libacl liba
ttr libgcc libstdc++ libtool libxcrypt m4 make man mktemp modutils ncurses ncurs
es-devel net-tools netcfg openldap2-client openssl pam pam-devel pam-modules pat
ch permissions perl popt ps rcs rpm readline sed sendmail shadow strace syslogd
sysvinit tar texinfo timezone unzip util-linux vim zlib zlib-devel"
fi
for i in $USEDFORBUILD ; do
case "$i" in
--
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?"
-- A. P. J.
> > I have to disagree with
> > > Any 9.0 src.rpm will not show such error.
> >
> > As that is the one I actually used in during our email exchange.
>
> Please tell me the name of that src.rpm, you did not mention that in
> your previous mail.
The problem here only shows it's face when one builds an rpm without a
correct # usedforbuild. Here's the patch to apply to /usr/bin/build:
--- old/build/build 2003-09-05 16:00:56.000000000 +0200
+++ new/build/build 2003-11-10 13:47:44.000000000 +0100
@@ -264,7 +264,7 @@
USEDFORBUILD=`grep "^#.*usedforbuild" $SPECFILE`
if [ -z "$USEDFORBUILD" ] ; then
- USEDFORBUILD="fillup attr acl aaa_base filesystem aaa_version autoconf au
tomake bash bind9-utils binutils bison bzip2 cpio cpp cracklib cyrus-sasl db dev
s diffutils e2fsprogs file fileutils findutils flex gawk gcc gdbm gdbm-devel get
text glibc glibc-devel glibc-locale gpm grep groff gzip kbd less libgcc libstdc+
+ libtool libxcrypt zlib m4 make man mktemp modutils ncurses ncurses-devel net-t
ools netcfg pam pam-devel pam-modules patch perl permissions ps rcs readline rpm
sed sendmail sh-utils shadow strace syslogd sysvinit tar texinfo textutils time
zone unzip util-linux vim zlib-devel"
+ USEDFORBUILD="aaa_base acl attr autoconf automake binutils bash bind-util
s bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db devs diffutils e2fsp
rogs file filesystem fillup findutils flex gawk gcc gdbm gdbm-devel gettext glib
c glibc-devel glibc-locale gpm grep groff gzip info insserv kbd less libacl liba
ttr libgcc libstdc++ libtool libxcrypt m4 make man mktemp modutils ncurses ncurs
es-devel net-tools netcfg openldap2-client openssl pam pam-devel pam-modules pat
ch permissions perl popt ps rcs rpm readline sed sendmail shadow strace syslogd
sysvinit tar texinfo timezone unzip util-linux vim zlib zlib-devel"
fi
for i in $USEDFORBUILD ; do
case "$i" in
--
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?"
-- A. P. J.
| < Previous | Next > |