Hi all, I'm a bit confused: I did rpm --rebuild courier-imap-2.1.1-37.src.rpm (src.rpm from SUSE 9.0) on a SuSE 8.0 pro machine It compiles fine, but doesn't install the rpms due to deps issues. The problem is after it sees there are dep issues, it wipes the rpms again (or doesn't build them). I tried rpm -bb courier.spec too - same result How do I get it to just build the rpms regardless and leave them around for me to solve the dep issues? Thanks -- Kind regards Hans du Plooy hansdp at newingtoncs dot co dot za
On 6/2/2004 15:25, Hans du Plooy wrote:
Hi all,
I'm a bit confused: I did rpm --rebuild courier-imap-2.1.1-37.src.rpm (src.rpm from SUSE 9.0) on a SuSE 8.0 pro machine
It compiles fine, but doesn't install the rpms due to deps issues. The problem is after it sees there are dep issues, it wipes the rpms again (or doesn't build them).
I tried rpm -bb courier.spec too - same result
How do I get it to just build the rpms regardless and leave them around for me to solve the dep issues?
Thanks
I don't know the answer but I wonder if you are aware that SUSE 9.0 uses RPM 4 as opposed to 8.0's RPM 3. So, on 9.0, the command to build that source rpm is rpmbuild --rebuild courier-imap-2.1.1-37.src.rpm So, I suspect that if you want to build a 9.0 source rpm on 8.0, you will have to install RPM4. -- Vic Ayres
On Sat, 2004-02-07 at 00:42, Vic Ayres wrote:
I don't know the answer but I wonder if you are aware that SUSE 9.0 uses RPM 4 as opposed to 8.0's RPM 3. No, I wasn't specifically aware. I just noticed on 9.0 that rpm --rebuild doesn't work anymore, but that's no train smash... :-)
So, I suspect that if you want to build a 9.0 source rpm on 8.0, you will have to install RPM4. Ouch, I'll leave that for the last possible solution. I think I'll see where SUSE 9.0 puts the files and ./configure the courier source with the appropriate prefixes.
Would it be better, security wise to use the source from the SUSE src.rpm, or should I just get the latest source from the courier site? Thank you -- Kind Regards Hans du Plooy Newington Computer Systems hansdp at newingtoncs dot co dot za
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 12 February 2004 23:06, Hans du Plooy wrote:
I don't know the answer but I wonder if you are aware that SUSE 9.0 uses RPM 4 as opposed to 8.0's RPM 3.
No, I wasn't specifically aware. I just noticed on 9.0 that rpm --rebuild doesn't work anymore, but that's no train smash... :-)
In 9.0 they are indeed using RPM V4. I too found myself initially confused by the fact the rpm --rebuild did nothing and the usuall inquiries such as man rpm and rpm --help led me to no answers. I found out that the manner in which source rpms are dealt with are done via a new rpm subset of commands (if you will). In 9.0 the command would obviously not be "rpm --rebuild". Instead it is "rpmbuild" and "rpmbuild --help" shed a bit of light on the subject. E.G.: rpmbuild --help Usage: rpmbuild [OPTION...] Build options with [ <specfile> | <tarball> | <source package> ]: -bp build through %prep (unpack sources and apply patches) from <specfile> -bc build through %build (%prep, then compile) from <specfile> -bi build through %install (%prep, %build, then install) from <specfile> -bl verify %files section from <specfile> -ba build source and binary packages from <specfile> -bb build binary package only from <specfile> -bs build source package only from <specfile> -tp build through %prep (unpack sources and apply patches) from <tarball> -tc build through %build (%prep, then compile) from <tarball> -ti build through %install (%prep, %build, then install) from <tarball> -ta build source and binary packages from <tarball> -tb build binary package only from <tarball> -ts build source package only from <tarball> --rebuild build binary package from <source package> --recompile build through %install (%prep, %build, then install) from <source package> --buildroot=DIRECTORY override build root --clean remove build tree when done --nobuild do not execute any stages of the build --nodeps do not verify build dependencies --nodirtokens generate package header(s) compatible with (legacy) rpm[23] packaging --rmsource remove sources when done --rmspec remove specfile when done --short-circuit skip straight to specified stage (only for c,i) --target=CPU-VENDOR-OS override target platform Common options for all rpm modes: -D, --define='MACRO EXPR' define MACRO with value EXPR -E, --eval='EXPR' print macro expansion of EXPR --macros=<FILE:...> read <FILE:...> instead of default file(s) --nodigest don't verify package digest(s) --nosignature don't verify package signature(s) --rcfile=<FILE:...> read <FILE:...> instead of default file(s) -r, --root=ROOT use ROOT as top level directory (default: "/") --querytags display known query tags --showrc display final rpmrc and macro configuration --quiet provide less detailed output -v, --verbose provide more detailed output --version print the version of rpm being used Options implemented via popt alias/exec: --dbpath=DIRECTORY use database in DIRECTORY --with=<option> enable configure <option> for build --without=<option> disable configure <option> for build Help options: -?, --help Show this help message --usage Display brief usage message As well as: rpmbuild --usage Usage: rpmbuild [-v] [-v] [-v?] [-bp] [-bc] [-bi] [-bl] [-ba] [-bb] [-bs] [-tp] [-tc] [-ti] [-ta] [-tb] [-ts] [--rebuild] [--recompile] [--buildroot=DIRECTORY] [--clean] [--nobuild] [--nodeps] [--nodirtokens] [--rmsource] [--rmspec] [--short-circuit] [--target=CPU-VENDOR-OS] [-D|--define 'MACRO EXPR'] [-E|--eval 'EXPR'] [--macros=<FILE:...>] [--nodigest] [--nosignature] [--rcfile=<FILE:...>] [-r|--root ROOT] [--querytags] [--showrc] [--quiet] [-v|--verbose] [--version] [-?|--help] [--usage] [--dbpath=DIRECTORY] [--with=<option>] [--without=<option>] HTH. Curtis. - -- Spammers Beware: Tresspassers will be shot, survivors will be shot again! Warning: Individuals throwing objects at the crocodiles will be asked to retrieve them! If pro is the opposite of con, then the opposite of progress must be congress! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFALH30N9r/ngHXpykRAmztAKCOaM9WlG0SUR4jMGCi9ug0GU/I9gCcDDaw AQqXGRPTQGQ8ekeoqiGIP8E= =e3/f -----END PGP SIGNATURE-----
participants (3)
-
Curtis Rey
-
Hans du Plooy
-
Vic Ayres