Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237728 - stabilize dev-cpp/sptk-3.5.7.13
Summary: stabilize dev-cpp/sptk-3.5.7.13
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Ilya Volynets (RETIRED)
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2008-09-15 14:19 UTC by Ilya Volynets (RETIRED)
Modified: 2008-11-21 00:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild patch. Works on amd64 (sptk-3.5.7.13-multilib.patch,1.00 KB, patch)
2008-10-01 22:11 UTC, Thomas Anderson (tanderson) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Volynets (RETIRED) gentoo-dev 2008-09-15 14:19:19 UTC
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
Comment 1 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-09-17 17:22:38 UTC
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
Comment 2 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-09-17 17:23:33 UTC
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.
Comment 3 Markus Meier gentoo-dev 2008-09-17 21:21:08 UTC
x86 stable
Comment 4 Ilya Volynets (RETIRED) gentoo-dev 2008-09-20 11:01:22 UTC
>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?
Comment 5 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-09-20 11:37:59 UTC
Yep.
Comment 6 Ilya Volynets (RETIRED) gentoo-dev 2008-09-20 18:14:14 UTC
Cool. I'll fix it in a few days.
Comment 7 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-10-01 22:11:36 UTC
Created attachment 166945 [details, diff]
Ebuild patch. Works on amd64

Please advise if I can commit this patch.
Comment 8 Ilya Volynets (RETIRED) gentoo-dev 2008-10-02 18:28:19 UTC
Thanks Thomas, I'll apply this one.
Latest SPTK versions (>3.5.8) will have a different fix though.
Comment 9 Ilya Volynets (RETIRED) gentoo-dev 2008-10-02 18:58:50 UTC
OK. amd64 fixes are in for 3.5.7.13 and 3.5.8
Comment 10 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-10-03 17:11:11 UTC
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

Comment 11 Ilya Volynets (RETIRED) gentoo-dev 2008-10-06 14:23:55 UTC
Which postgresql version do you have?
Comment 12 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-10-07 16:19:04 UTC
dev-db/postgresql-8.0.15
Comment 13 Alexey Parshin 2008-10-09 21:36:41 UTC
(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.
Comment 14 Ilya Volynets (RETIRED) gentoo-dev 2008-11-11 09:47:48 UTC
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.
Comment 15 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-11-21 00:45:01 UTC
amd64 stable, closing