On Mon, Sep 18, 2006 at 04:51:24PM -0700, Adam D. Morley wrote: > On Mon, Sep 18, 2006 at 02:56:34PM -0700, 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? I take it the best way > > to reset the option is to manually build sqlite, then rebuild perl-dbi > > manually, and then continue with the -ZaKB? > > Ah. Even after I manually built gawk, sqlite, and perl-dbi, perl-dbix still > fails: > > [Core Features] > - Test::More ...loaded. (0.62 >= 0.52) > - DBD::SQLite ...missing. > - DBI ...loaded. (1.51) > - Want ...loaded. (0.10) > - Encode ...loaded. (2.18) > - Class::ReturnValue ...loaded. (0.53 >= 0.4) > - Cache::MemoryCache ...loaded. (0) > - Clone ...loaded. (0.20) > ==> Auto-install the 1 mandatory module(s) from CPAN? [Y/n] y > [Lower case API] > - capitalization ...missing. (would need 0.03) > ==> Auto-install the 1 optional module(s) from CPAN? [y/N] n > [Schema generation] > - DBIx::DBSchema ...loaded. (0.31) > - Class::Accessor ...loaded. (0.25) > > But it seems perl-dbi built SQLLite fine? (see attached) And openpkg
This time, with attachment. > build -z perl-dbi shows (after I rm the binary rpm): > > ... > echo :::: > ftp://ftp.openpkg.org/stable/2.20060622/SRC/perl-dbi-5.8.8-2.20060622.src.rpm > :::: > /opt/openpkg/bin/openpkg rpm --rebuild > ftp://ftp.openpkg.org/stable/2.20060622/SRC/perl-dbi-5.8.8-2.20060622.src.rpm > || exit $? > /opt/openpkg/bin/openpkg rpm --force -Uvh > /opt/openpkg/RPM/PKG/perl-dbi-5.8.8-2.20060622.sparc64-solaris10-oop.rpm > || exit $? > echo :::: > ftp://ftp.openpkg.org/stable/2.20060622/SRC/perl-dbi-5.8.8-2.20060622.src.rpm > = $? :::: > > I'm clearly doing something wrong here. Any ideas? > > -- > adam > ______________________________________________________________________ > The OpenPKG Project www.openpkg.org > User Communication List openpkg-users@openpkg.org -- adam
... + /opt/openpkg/bin/perl-openpkg configure build install ++ OpenPKG perl-openpkg 2.0.1 (03-Dec-2004) ++ determined RPM program: /opt/openpkg/libexec/openpkg/rpm (4.2.1) ++ determined Perl program: /opt/openpkg/bin/perl (5.8.8) ++ step 2: configure ++ configuring module via ExtUtils::MakeMaker environment Checking installed SQLite version... SQLite version must be at least 3.1.3. No header file at that version or higher was found. Using the local version instead. Checking if your kit is complete... Looks good Multiple copies of Driver.xst found in: /opt/openpkg/RPM/TMP/perl-dbi-5.8.8-root/opt/openpkg/lib/perl/vendor_perl/5.8.8/sun4-solaris/auto/DBI/ /opt/openpkg/lib/perl/vendor_perl/5.8.8/sun4-solaris/auto/DBI/ at ./Makefile.PL line 106 Using DBI 1.51 (for perl 5.008008 on sun4-solaris) installed in /opt/openpkg/RPM/TMP/perl-dbi-5.8.8-root/opt/openpkg/lib/perl/vendor_perl/5.8.8/sun4-solaris/auto/DBI/ Writing Makefile for DBD::SQLite ++ step 3: build ++ building module via ExtUtils::MakeMaker environment cp lib/DBD/SQLite.pm blib/lib/DBD/SQLite.pm /opt/openpkg/RPM/TMP/adam-perl-openpkg-perl-dbi/perl.sh -p -e "s/~DRIVER~/SQLite/g" /opt/openpkg/RPM/TMP/perl-dbi-5.8.8-root/opt/openpkg/lib/perl/vendor_perl/5.8.8/sun4-solaris/auto/DBI/Driver.xst > SQLite.xsi /opt/openpkg/RPM/TMP/adam-perl-openpkg-perl-dbi/perl.sh /opt/openpkg/lib/perl/5.8.8/ExtUtils/xsubpp -typemap /opt/openpkg/lib/perl/5.8.8/ExtUtils/typemap SQLite.xs > SQLite.xsc && mv SQLite.xsc SQLite.c /opt/openpkg/bin/cc -c -I/opt/openpkg/include -I/opt/openpkg/RPM/TMP/perl-dbi-5.8.8-root/opt/openpkg/lib/perl/vendor_perl/5.8.8/sun4-solaris/auto/DBI -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/opt/openpkg/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O2 -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\" -fPIC "-I/opt/openpkg/lib/perl/5.8.8/sun4-solaris/CORE" -DNDEBUG=1 -DSQLITE_PTR_SZ=4 -DHAVE_USLEEP=1 SQLite.c /opt/openpkg/bin/cc -c -I/opt/openpkg/include -I/opt/openpkg/RPM/TMP/perl-dbi-5.8.8-root/opt/openpkg/lib/perl/vendor_perl/5.8.8/sun4-solaris/auto/DBI -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/opt/openpkg/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O2 -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\" -fPIC "-I/opt/openpkg/lib/perl/5.8.8/sun4-solaris/CORE" -DNDEBUG=1 -DSQLITE_PTR_SZ=4 -DHAVE_USLEEP=1 dbdimp.c Running Mkbootstrap for DBD::SQLite () chmod 644 SQLite.bs rm -f blib/arch/auto/DBD/SQLite/SQLite.so /opt/openpkg/bin/cc -Wl,-E -G -L/opt/openpkg/lib SQLite.o dbdimp.o -o blib/arch/auto/DBD/SQLite/SQLite.so \ -L/opt/openpkg/lib -lsqlite3 \ chmod 755 blib/arch/auto/DBD/SQLite/SQLite.so cp SQLite.bs blib/arch/auto/DBD/SQLite/SQLite.bs chmod 644 blib/arch/auto/DBD/SQLite/SQLite.bs ++ step 4: install ++ installing module via ExtUtils::MakeMaker environment Installing /opt/openpkg/RPM/TMP/perl-dbi-5.8.8-root/opt/openpkg/lib/perl/vendor_perl/5.8.8/sun4-solaris/auto/DBD/SQLite/SQLite.so Installing /opt/openpkg/RPM/TMP/perl-dbi-5.8.8-root/opt/openpkg/lib/perl/vendor_perl/5.8.8/sun4-solaris/auto/DBD/SQLite/SQLite.bs Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /opt/openpkg/RPM/TMP/perl-dbi-5.8.8-root/opt/openpkg/lib/perl/vendor_perl/5.8.8/sun4-solaris/DBD/SQLite.pm Writing /opt/openpkg/RPM/TMP/perl-dbi-5.8.8-root/opt/openpkg/lib/perl/vendor_perl/5.8.8/sun4-solaris/auto/DBD/SQLite/.packlist ++ cleaning up environment + /opt/openpkg/bin/perl-openpkg -F perl-openpkg-files fixate cleanup ++ OpenPKG perl-openpkg 2.0.1 (03-Dec-2004) ++ determined RPM program: /opt/openpkg/libexec/openpkg/rpm (4.2.1) ++ determined Perl program: /opt/openpkg/bin/perl (5.8.8) ++ step 5: fixate ++ step 6: cleanup ++ cleaning up environment ++ cat perl-openpkg-files + /opt/openpkg/lib/openpkg/rpmtool files -v -ofiles -r/opt/openpkg/RPM/TMP/perl-dbi-5.8.8-root '%defattr(-,opkg,opkg)' /opt/openpkg '%not %dir {/opt/openpkg,/opt/openpkg/*,/opt/openpkg/etc/rc.d,/opt/openpkg/man/*}' '"%not' %dir '/opt/openpkg/lib/perl"' '"%not' %dir '/opt/openpkg/lib/perl/5.8.8/sun4-solaris/auto"' '"%not' %dir '/opt/openpkg/lib/perl/5.8.8/sun4-solaris"' '"%not' %dir '/opt/openpkg/lib/perl/5.8.8/auto"' '"%not' %dir '/opt/openpkg/lib/perl/5.8.8"' '"%not' %dir '/opt/openpkg/lib/perl/site_perl"' '"%not' %dir '/opt/openpkg/lib/perl/site_perl/5.8.8/sun4-solaris/auto"' '"%not' %dir '/opt/openpkg/lib/perl/site_perl/5.8.8/sun4-solaris"' '"%not' %dir '/opt/openpkg/lib/perl/site_perl/5.8.8/auto"' '"%not' %dir '/opt/openpkg/lib/perl/site_perl/5.8.8"' '"%not' %dir '/opt/openpkg/lib/perl/vendor_perl"' '"%not' %dir '/opt/openpkg/lib/perl/vendor_perl/5.8.8/sun4-solaris/auto"' '"%not' %dir '/opt/openpkg/lib/perl/vendor_perl/5.8.8/sun4-solaris"' '"%not' %dir '/opt/openpkg/lib/perl/vendor_perl/5.8.8/auto"' '"%not' %dir '/opt/openpkg/lib/perl/vendor_perl/5.8.8"' rpmtool:files: pass 1 (preparation and syntactical expansions) rpmtool:files: pass 2 (filesystem-based expansions) rpmtool:files: pass 3 (duplication removal and cleanup) + exit 0 Processing files: perl-dbi-5.8.8-2.20060622 ...