Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 379211

Summary: [ebuild] net-misc/kyototycoon-0.9.56-r1 (New Package)
Product: Gentoo Linux Reporter: babykart <babykart>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED OBSOLETE    
Severity: enhancement CC: der-coole-carl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: kyototycoon-0.9.49.ebuild
kyototycoon.confd
kyototycoon.initd
remove_docinst.patch
kyototycoon-0.9.49.ebuild
kyototycoon-0.9.51.ebuild
kyototycoon.initd
kyototycoon.initd
kyototycoon.initd
kyototycoon.confd
kyototycoon-0.9.52.ebuild
kyototycoon-0.9.55.ebuild
fix_compile.patch
kyototycoon-0.9.56-r1.ebuild

Description babykart 2011-08-14 23:23:19 UTC
Hi,

From : http://fallabs.com/kyototycoon/

Kyoto Tycoon is a lightweight database server with auto expiration mechanism, which is useful to handle cache data and persistent data of various applications. Kyoto Tycoon is also a package of network interface to the DBM called Kyoto Cabinet.

Please find attached kyototycoon-0.9.49.ebuild, initd and confd scripts.

The patch remove_docinst.patch is for a proper document installation.

Reproducible: Always
Comment 1 babykart 2011-08-14 23:26:13 UTC
Created attachment 283355 [details]
kyototycoon-0.9.49.ebuild
Comment 2 babykart 2011-08-14 23:26:51 UTC
Created attachment 283357 [details]
kyototycoon.confd
Comment 3 babykart 2011-08-14 23:27:15 UTC
Created attachment 283359 [details]
kyototycoon.initd
Comment 4 babykart 2011-08-14 23:28:33 UTC
Created attachment 283361 [details, diff]
remove_docinst.patch
Comment 5 Agostino Sarubbo gentoo-dev 2011-08-15 00:02:14 UTC
Usually test(s) is before install
Comment 6 babykart 2011-08-15 12:52:42 UTC
Created attachment 283415 [details]
kyototycoon-0.9.49.ebuild
Comment 7 babykart 2011-09-01 19:02:34 UTC
Created attachment 285279 [details]
kyototycoon-0.9.51.ebuild
Comment 8 babykart 2011-09-11 22:07:39 UTC
Created attachment 286181 [details]
kyototycoon.initd

Update initd script for $opts deprecated warning with >=openrc-0.9.
Comment 9 babykart 2011-09-18 15:11:24 UTC
Created attachment 286907 [details]
kyototycoon.initd

Fix extra_commands and extra_started_commands usage in kyototycoon.initd.
Comment 10 babykart 2011-11-01 18:12:30 UTC
Created attachment 291463 [details]
kyototycoon.initd
Comment 11 babykart 2011-11-01 18:13:17 UTC
Created attachment 291465 [details]
kyototycoon.confd
Comment 12 balrok 2011-11-12 10:39:22 UTC
Hello thank you for that ebuild.
On my system I got an error when installing this package. I assume the problem is in the kyotocabinet ebuild where no zlib and lzma dependency is declared.
If you need additional data please let me know.


Portage 2.2.0_alpha51 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.12.2-r0, 3.0.4-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.4-gentoo-x86_64-Intel-R-_Core-TM-_i3-2310M_CPU_@_2.10GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 18 Oct 2011 11:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/ccache:          2.4-r9
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo enlightenment-niifaq betagarden x-portage
Installed sets: 
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-10.1 AdobeFlash-10 AdobeFlash-9.0.31.0"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes --delete=excluded --delete-before"
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="/var/lib/layman/enlightenment-niifaq /var/lib/layman/betagarden /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit X a52 aac aalib acl acpi amd64 bash-completion berkdb binary bitmap-fonts blksha1 bzip2 cjk cli cracklib crypt custom-optimization cxx directfb dri dvd flac fortran fxsr gdbm iconv immqt-bc jpeg jpg lzma madwifi mmx modules mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp optimization pch pcre png pppd readline session sse sse2 ssl static-libs sysfs system-sqlite tcpd theora truetype-fonts type1-fonts unicode v4l2 vcd vim-syntax vorbis xml xorg xvid zlib" ALSA_CARDS="hda-intel" 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev mouse synaptics keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS



ln -f -s libkyototycoon.so.2.15.0 libkyototycoon.so.2
ln -f -s libkyototycoon.so.2.15.0 libkyototycoon.so
x86_64-pc-linux-gnu-g++ -march=native -m64 -O2 -march=native -pipe -Wall -fPIC -fsigned-char -g0 -O2 -shared -o ktplugservmemc.so ktplugservmemc.o -Wl,-O1 -Wl,--as-needed -L. -L/usr/lib64 -L/usr/local/lib -Wl,-rpath-link,.:/usr/local/lib:.:/usr/local/lib: -Wl,--as-needed -lkyototycoon -lkyotocabinet -llzma -lz -lstdc++ -lresolv -lnsl -ldl -lrt -lpthread -lm -lc 
x86_64-pc-linux-gnu-g++ -march=native -m64 -O2 -march=native -pipe -Wall -fPIC -fsigned-char -g0 -O2 -shared -o ktplugdbvoid.so ktplugdbvoid.o -Wl,-O1 -Wl,--as-needed -L. -L/usr/lib64 -L/usr/local/lib -Wl,-rpath-link,.:/usr/local/lib:.:/usr/local/lib: -Wl,--as-needed -lkyototycoon -lkyotocabinet -llzma -lz -lstdc++ -lresolv -lnsl -ldl -lrt -lpthread -lm -lc 
x86_64-pc-linux-gnu-g++ -march=native -m64 -O2 -march=native -pipe -Wall -fPIC -fsigned-char -g0 -O2 -o ktutiltest ktutiltest.o -Wl,-O1 -Wl,--as-needed -L. -L/usr/lib64 -L/usr/local/lib -Wl,-rpath-link,.:/usr/local/lib:.:/usr/local/lib: -Wl,--as-needed  -lkyototycoon -lkyotocabinet
x86_64-pc-linux-gnu-g++ -march=native -m64 -O2 -march=native -pipe -Wall -fPIC -fsigned-char -g0 -O2 -o ktutilmgr ktutilmgr.o -Wl,-O1 -Wl,--as-needed -L. -L/usr/lib64 -L/usr/local/lib -Wl,-rpath-link,.:/usr/local/lib:.:/usr/local/lib: -Wl,--as-needed  -lkyototycoon -lkyotocabinet
x86_64-pc-linux-gnu-g++ -march=native -m64 -O2 -march=native -pipe -Wall -fPIC -fsigned-char -g0 -O2 -o ktutilserv ktutilserv.o -Wl,-O1 -Wl,--as-needed -L. -L/usr/lib64 -L/usr/local/lib -Wl,-rpath-link,.:/usr/local/lib:.:/usr/local/lib: -Wl,--as-needed  -lkyototycoon -lkyotocabinet
x86_64-pc-linux-gnu-g++ -march=native -m64 -O2 -march=native -pipe -Wall -fPIC -fsigned-char -g0 -O2 -o ktremotetest ktremotetest.o -Wl,-O1 -Wl,--as-needed -L. -L/usr/lib64 -L/usr/local/lib -Wl,-rpath-link,.:/usr/local/lib:.:/usr/local/lib: -Wl,--as-needed  -lkyototycoon -lkyotocabinet
x86_64-pc-linux-gnu-g++ -march=native -m64 -O2 -march=native -pipe -Wall -fPIC -fsigned-char -g0 -O2 -o ktremotemgr ktremotemgr.o -Wl,-O1 -Wl,--as-needed -L. -L/usr/lib64 -L/usr/local/lib -Wl,-rpath-link,.:/usr/local/lib:.:/usr/local/lib: -Wl,--as-needed  -lkyototycoon -lkyotocabinet
x86_64-pc-linux-gnu-g++ -march=native -m64 -O2 -march=native -pipe -Wall -fPIC -fsigned-char -g0 -O2 -o kttimedmgr kttimedmgr.o -Wl,-O1 -Wl,--as-needed -L. -L/usr/lib64 -L/usr/local/lib -Wl,-rpath-link,.:/usr/local/lib:.:/usr/local/lib: -Wl,--as-needed  -lkyototycoon -lkyotocabinet
/usr/lib64/libkyotocabinet.a(kccompress.o): In function `kyotocabinet::ZLIB::compress(void const*, unsigned long, unsigned long*, kyotocabinet::ZLIB::Mode)':
(.text+0x92): undefined reference to `deflateInit2_'
/usr/lib64/libkyotocabinet.a(kccompress.o): In function `kyotocabinet::ZLIB::compress(void const*, unsigned long, unsigned long*, kyotocabinet::ZLIB::Mode)':
(.text+0xdc): undefined reference to `deflate'
/usr/lib64/libkyotocabinet.a(kccompress.o): In function `kyotocabinet::ZLIB::compress(void const*, unsigned long, unsigned long*, kyotocabinet::ZLIB::Mode)':
(.text+0xe9): undefined reference to `deflateEnd'
/usr/lib64/libkyotocabinet.a(kccompress.o): In function `kyotocabinet::ZLIB::compress(void const*, unsigned long, unsigned long*, kyotocabinet::ZLIB::Mode)':
(.text+0x164): undefined reference to `deflateEnd'
/usr/lib64/libkyotocabinet.a(kccompress.o): In function `kyotocabinet::ZLIB::decompress(void const*, unsigned long, unsigned long*, kyotocabinet::ZLIB::Mode)':
(.text+0x21f): undefined reference to `inflateInit2_'
/usr/lib64/libkyotocabinet.a(kccompress.o): In function `kyotocabinet::ZLIB::decompress(void const*, unsigned long, unsigned long*, kyotocabinet::ZLIB::Mode)':
(.text+0x254): undefined reference to `inflate'
/usr/lib64/libkyotocabinet.a(kccompress.o): In function `kyotocabinet::ZLIB::decompress(void const*, unsigned long, unsigned long*, kyotocabinet::ZLIB::Mode)':
(.text+0x260): undefined reference to `inflateEnd'
/usr/lib64/libkyotocabinet.a(kccompress.o): In function `kyotocabinet::ZLIB::decompress(void const*, unsigned long, unsigned long*, kyotocabinet::ZLIB::Mode)':
(.text+0x2c8): undefined reference to `inflateInit2_'
/usr/lib64/libkyotocabinet.a(kccompress.o): In function `kyotocabinet::ZLIB::decompress(void const*, unsigned long, unsigned long*, kyotocabinet::ZLIB::Mode)':
(.text+0x305): undefined reference to `inflateInit2_'
/usr/lib64/libkyotocabinet.a(kccompress.o): In function `kyotocabinet::ZLIB::calculate_crc(void const*, unsigned long, unsigned int)':
(.text+0x35f): undefined reference to `crc32'
/usr/lib64/libkyotocabinet.a(kccompress.o): In function `kyotocabinet::LZMA::compress(void const*, unsigned long, unsigned long*, kyotocabinet::LZMA::Mode)':
(.text+0x521): undefined reference to `lzma_easy_encoder'
/usr/lib64/libkyotocabinet.a(kccompress.o): In function `kyotocabinet::LZMA::compress(void const*, unsigned long, unsigned long*, kyotocabinet::LZMA::Mode)':
(.text+0x536): undefined reference to `lzma_code'
/usr/lib64/libkyotocabinet.a(kccompress.o): In function `kyotocabinet::LZMA::compress(void const*, unsigned long, unsigned long*, kyotocabinet::LZMA::Mode)':
(.text+0x543): undefined reference to `lzma_end'
/usr/lib64/libkyotocabinet.a(kccompress.o): In function `kyotocabinet::LZMA::compress(void const*, unsigned long, unsigned long*, kyotocabinet::LZMA::Mode)':
(.text+0x5a4): undefined reference to `lzma_end'
/usr/lib64/libkyotocabinet.a(kccompress.o): In function `kyotocabinet::LZMA::decompress(void const*, unsigned long, unsigned long*, kyotocabinet::LZMA::Mode)':
(.text+0x621): undefined reference to `lzma_code'
/usr/lib64/libkyotocabinet.a(kccompress.o): In function `kyotocabinet::LZMA::decompress(void const*, unsigned long, unsigned long*, kyotocabinet::LZMA::Mode)':
(.text+0x62d): undefined reference to `lzma_end'
/usr/lib64/libkyotocabinet.a(kccompress.o): In function `kyotocabinet::LZMA::decompress(void const*, unsigned long, unsigned long*, kyotocabinet::LZMA::Mode)':
(.text+0x699): undefined reference to `lzma_auto_decoder'
/usr/lib64/libkyotocabinet.a(kccompress.o): In function `kyotocabinet::LZMA::calculate_crc(void const*, unsigned long, unsigned int)':
(.text+0x701): undefined reference to `lzma_crc32'
collect2: ld gab 1 als Ende-Status zurück
make: *** [kttimedmgr] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...
 [31;01m*[0m ERROR: dev-db/kyototycoon-0.9.51 failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of 'emerge --info =dev-db/kyototycoon-0.9.51',
 [31;01m*[0m the complete build log and the output of 'emerge -pqv =dev-db/kyototycoon-0.9.51'.
 [31;01m*[0m This ebuild is from an overlay named 'x-portage': '/usr/local/portage/'
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-db/kyototycoon-0.9.51/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-db/kyototycoon-0.9.51/temp/environment'.
 [31;01m*[0m S: '/var/tmp/portage/dev-db/kyototycoon-0.9.51/work/kyototycoon-0.9.51'
Comment 13 babykart 2011-11-14 09:46:24 UTC
Hi,

Have you tried to recompile kyotocabinet?
Comment 14 balrok 2011-11-14 18:30:04 UTC
Hello,
simple recompiling didn't help but I tried the debug use-flag:
kc=kyotocabinet, kt=kyototycoon, working=0(not),1(yes)
kc      kt       working
-       -        0
debug   -        0
debug   debug    1
-       debug    1

So it seems, that when I compile kyototycoon without debug flag there comes the linking error. If you need further information I can provide it for you.
Comment 15 babykart 2011-12-18 14:09:35 UTC
Created attachment 296249 [details]
kyototycoon-0.9.52.ebuild

net-misc/kyototycoon-0.9.52 version bump
Comment 16 babykart 2012-05-20 14:23:56 UTC
Created attachment 312357 [details]
kyototycoon-0.9.55.ebuild

net-misc/kyototycoon-0.9.55 version bump
Comment 17 babykart 2014-08-10 12:56:17 UTC
Created attachment 382626 [details, diff]
fix_compile.patch
Comment 18 babykart 2014-08-10 12:56:49 UTC
Created attachment 382628 [details]
kyototycoon-0.9.56-r1.ebuild
Comment 19 babykart 2019-02-16 20:12:32 UTC
kyototycoon is no longer maintained.