On Thu, Sep 04, 2003 at 01:47:17AM +0200, Michael van Elst wrote:
> On Thu, Sep 04, 2003 at 12:58:03AM +0200, Matthias Kurz wrote:
> > 
> > So, shouldn't "openpkg build" have assumed the -U option in any case,
> > given in the command line or not ?
> 
> There is no difference between a -U on the command line and a -U
> in the .openpkg/build file.
> 
> A can only guess that you already had a current version of pkg1
> installed, so the first build did nothing to pkg1 and thus did
> not pull up any of the dependencies.

No, pkg1 was recompiled during the first build. Later, when i did
a "rpm -e pkg1", it was tried to upgrade the openpkg package when
i used "openpkg build -U". This step was left out, when i used
"openpkg build". Always with "-U" in my $HOME/.openpkg/build. There
is also a "-R hurtig" option in it and this setting is respected, so
the .openpkg/build itself is not ignored.

Unfortunately i let the build run overnight, so the openpkg package
is upgraded in the meantime... But wait ! Before one tries to reproduce
it with other packages or creates a "fake" new openpkg package, let us
try this:
$ rpm -q openpkg
openpkg-20030903-20030903
$ openpkg build -U ....
...
+ /opkg/bin/rpm --define with_mod_dav yes --define with_mod_php yes --define 
with_mod_relocate yes --define with_mod_ssl yes --define with_suexec_caller opkg-n 
--rebuild /u/openpkg/current/SRC/apache-1.3.28-20030830.src.rpm 
warning: user rse does not exist - using root
warning: group rse does not exist - using root
warning: user rse does not exist - using root
warning: group rse does not exist - using root
warning: user rse does not exist - using root
warning: group rse does not exist - using root
warning: user rse does not exist - using root
warning: group rse does not exist - using root
warning: user rse does not exist - using root
warning: group rse does not exist - using root
warning: user rse does not exist - using root
warning: group rse does not exist - using root
warning: user openpkg does not exist - using root
warning: group openpkg does not exist - using root
...

Looks like rse will deliver a new openpkg package to test with ;-)


   (mk)

PS: I set Reply-To: [EMAIL PROTECTED]

-- 
Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47
   >> Im pr�motorischen Cortex kann jeder ein Held sein. (bdw) <<
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to