I have no words :(
I tried this again with DBD-SQLite-1.27: | -DEPEND=">=dev-perl/DBI-1.57 | +RDEPEND=">=dev-perl/DBI-1.57 | + >=dev-db/sqlite-3.6.0 | !<dev-perl/DBD-SQLite-1" | +DEPEND="${RDEPEND}" | | SRC_TEST="do" | + | +src_prepare() { | + perl-module_src_prepare | + sed -i 's/^if ( 0 )/if ( 1 )/' "${S}"/Makefile.PL || die | +} and tests fail: | PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t | t/01_compile.t ........................... 1/4 | # Failed test 'use DBD::SQLite;' | # at t/01_compile.t line 17. | # Tried to use 'DBD::SQLite'. | # Error: Can't load '/var/tmp/portage/dev-perl/DBD-SQLite-1.27/work/DBD-SQLite-1.27/blib/arch/auto/DBD/SQLite/SQLite.so' for module DBD::SQLite: /var/tmp/portage/dev-perl/DBD-SQLite-1.27/work/DBD-SQLite-1.27/blib/arch/auto/DBD/SQLite/SQLite.so: undefined symbol: sqlite3_enable_load_extension at /usr/lib64/perl5/5.8.8/x86_64-linux/DynaLoader.pm line 230. | # at (eval 6) line 2 | # Compilation failed in require at (eval 6) line 2. | # BEGIN failed--compilation aborted at t/01_compile.t line 17. | # $DBI::VERSION=1.609 | # Looks like you failed 1 test of 4. | t/01_compile.t ........................... Dubious, test returned 1 (wstat 256, 0x100) | Failed 1/4 subtests (In reply to comment #0) > I have no words :( I have no clue :(
Hrm, can you try with tcl USE flag enabled on sqlite? I know it's far-fetched but…
(In reply to comment #2) > Hrm, can you try with tcl USE flag enabled on sqlite? I know it's far-fetched > but… It's related to bug #233994. If sqlite is build with EXTRA_ECONF=--enable-load-extension, the output looks much better. What we have to do to make it work with sqlite without loadable extension support, i don't know.
Guess it would be enough to get the USE flag in and then depend on it. An experimental feature in sqlite is still better than a bundled copy :)
Should be fixed in dev-perl/DBD-SQLite-1.29-r1