SPTK-3.5.7.13 has been out for more then a month, with no bugs reported. I am actively using it on both x86 and amd64
This package fails multilib strictness on amd64: >>> Completed installing sptk-3.5.7.13 into /var/tmp/portage/dev-cpp/sptk-3.5.7.13/image/ strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment usr/lib/libspdb3.so usr/lib/libsputil3.so making executable: usr/lib/libspdb3.so making executable: usr/lib/libsputil3.so Files matching a file type that is not allowed: usr/lib/libspdb3.so usr/lib/libsputil3.so
If you need assistance in fixing this, just email me or ping me on irc and I'll see what I can come up with.
x86 stable
>Files matching a file type that is not allowed: > usr/lib/libspdb3.so > usr/lib/libsputil3.so Is my guess that 64bit libraries ended up in lib instead of lib64 correct?
Yep.
Cool. I'll fix it in a few days.
Created attachment 166945 [details, diff] Ebuild patch. Works on amd64 Please advise if I can commit this patch.
Thanks Thomas, I'll apply this one. Latest SPTK versions (>3.5.8) will have a different fix though.
OK. amd64 fixes are in for 3.5.7.13 and 3.5.8
Another error with USE=postgres: Linking CXX shared library libsputil3.so [ 40%] Built target sputil3 [ 40%] Generating Default.tar [ 40%] Built target Default Theme Scanning dependencies of target spdb3 [ 41%] Building CXX object src/CMakeFiles/spdb3.dir/db/CDatabase.o [ 42%] Building CXX object src/CMakeFiles/spdb3.dir/db/CDatabaseField.o [ 43%] Building CXX object src/CMakeFiles/spdb3.dir/db/CParams.o [ 43%] [ 44%] Building CXX object src/CMakeFiles/spxl3.dir/excel/CExcelColumn.o Building CXX object src/CMakeFiles/spdb3.dir/db/CQuery.o [ 45%] Building CXX object src/CMakeFiles/spdb3.dir/db/CTransaction.o [ 46%] Building CXX object src/CMakeFiles/spdb3.dir/drivers/odbc/CODBC.o [ 47%] Building CXX object src/CMakeFiles/spxl3.dir/excel/CExcelDBCellRecord.o [ 47%] Building CXX object src/CMakeFiles/spxl3.dir/excel/CExcelFont.o [ 47%] Building CXX object src/CMakeFiles/spdb3.dir/drivers/odbc/CODBCDatabase.o [ 48%] Building CXX object src/CMakeFiles/spxl3.dir/excel/CExcelHeader.o [ 49%] Building CXX object src/CMakeFiles/spxl3.dir/excel/CExcelIndex.o [ 50%] [ 51%] Building CXX object src/CMakeFiles/spdb3.dir/drivers/SQLite3/CSQLite3Database.o Building CXX object src/CMakeFiles/spxl3.dir/excel/CExcelNumericFormat.o [ 52%] Building CXX object src/CMakeFiles/spdb3.dir/drivers/PostgreSQL/CPostgreSQLDatabase.o [ 52%] Building CXX object src/CMakeFiles/spxl3.dir/excel/CExcelPalette.o /var/tmp/portage/dev-cpp/sptk-3.5.7.13/work/sptk-3.5.7.13/src/drivers/PostgreSQL/CPostgreSQLDatabase.cpp: In member function ‘virtual void sptk::CPostgreSQLDatabase::queryPrepare(sptk::CQuery*)’: /var/tmp/portage/dev-cpp/sptk-3.5.7.13/work/sptk-3.5.7.13/src/drivers/PostgreSQL/CPostgreSQLDatabase.cpp:448: error: ‘PQdescribePrepared’ was not declared in this scope make[2]: *** [src/CMakeFiles/spdb3.dir/drivers/PostgreSQL/CPostgreSQLDatabase.o] Error 1 make[1]: *** [src/CMakeFiles/spdb3.dir/all] Error 2 [ 53%] make[1]: *** Waiting for unfinished jobs.... Building CXX object src/CMakeFiles/spxl3.dir/excel/CExcelProperty.o [ 54%] Building CXX object src/CMakeFiles/spxl3.dir/excel/CExcelRecord.o [ 54%] Building CXX object src/CMakeFiles/spxl3.dir/excel/CExcelRecordsBuffer.o [ 55%] Building CXX object src/CMakeFiles/spxl3.dir/excel/CExcelRow.o [ 56%] Building CXX object src/CMakeFiles/spxl3.dir/excel/CExcelRowRecord.o [ 56%] Building CXX object src/CMakeFiles/spxl3.dir/excel/CExcelRows.o [ 57%] Building CXX object src/CMakeFiles/spxl3.dir/excel/CExcelSheet.o [ 58%] Building CXX object src/CMakeFiles/spxl3.dir/excel/CExcelSST.o [ 59%] Building CXX object src/CMakeFiles/spxl3.dir/excel/CExcelStyle.o Linking CXX shared library libspxl3.so [ 59%] Built target spxl3 make: *** [all] Error 2 My system setup: Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25.9 x86_64) ================================================================= System uname: 2.6.25.9 x86_64 AMD Athlon(tm) 64 Processor 3400+ Timestamp of tree: Fri, 03 Oct 2008 16:31:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/distfiles" FEATURES="ccache collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test unmerge-orphans userfetch userpriv" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/science /overlay" SYNC="rsync://raptor.gentoo.osuosl.org/gentoo-portage" USE="X acl aiglx aim amd64 berkdb branding cli cracklib crypt cups dri fortran gdbm gpm gtk iconv imap ipv6 isdnlog midi mmx mpeg3 mudflap ncurses nls nptl nptlonly nvidia opengl openmp pam pcre perl pppd python qt3 readline reflection session sockets spl sqlite3 sse sse2 ssl tcpd unicode vim xcomposite xine xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Which postgresql version do you have?
dev-db/postgresql-8.0.15
(In reply to comment #12) > dev-db/postgresql-8.0.15 > This is fixed in 3.5.8. The PQdescribePrepared() was introduced in PostgreSQL 8.2. SPTK 3.5.8 doesn't use this function anymore.
OK. I simply dropped postgres flag from 3.5.7.13 ebuild, since backporting fix for that from 3.5.8 is more pain then I want to go through right now.
amd64 stable, closing