On Tue, Sep 19, 2006, Adam D. Morley wrote: > On Tue, Sep 19, 2006 at 07:36:07AM +0200, Ralf S. Engelschall wrote: > > On Mon, Sep 18, 2006, Adam D. Morley wrote: > > > So somewhere from the upgrade to 2.5 to 2.20060622, openpkg build seems > > > to have missed the addition of sqlite as a requirement for perl-dbi. > > > Likely because 2.5's perl-dbi has "with_dbd_sqlite" set to "no", so the > > > build script must not consider this possibility? > > > > Yes, seems like "openpkg build" has no possibility here. The default > > was "no" in 2.5 and is "yes" in 2.20060622. So, "openpkg build" > > thinks that the "no" in 2.5 was _manually_ set and correctly forward > > passes-through this value to the build of 2.20060622. There is real > > solution for this dependency-change-on-upgrade dilemma as RPM doesn't > > safe information whether an option was _explicitly_ set or not (and this > > way is set to the default). But I've now at least added the dependency > > perl-dbi::with_dbd_sqlite=yes to perl-dbix. > > Hmm. Does this mean an upgrade from 2.5 -> 2.20060622 will now "break" > when it sees perl-dbi installed with "with_dbd_sqlite=no"? Mostly, I'm > just concerned about others upgrading from 2.5, as this is the one time > I'll have to do it.
Yes, seems like this is a nasty upgrade pitfall everyone can jump into. It at least hurts for those who used perl-dbix. But the solution is simple: one just has to _know_ to pass -Dwith_dbd_sqlite=yes on the "openpkg build" command when upgrading. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List openpkg-users@openpkg.org