Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 446269 - dev-ruby/bsearch-1.5.0 - A binary search library for Ruby
Summary: dev-ruby/bsearch-1.5.0 - A binary search library for Ruby
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL: http://gist.github.com/d70d5ec8b460bf...
Whiteboard: dev-ruby/ruby-bsearch currentry does ...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-06 16:19 UTC by Ryuichi KAWAMATA
Modified: 2012-12-10 19:02 UTC (History)
0 users

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


Attachments
bsearch-1.5.0.tar (bsearch-1.5.0.tar,10.00 KB, application/x-tar)
2012-12-06 16:21 UTC, Ryuichi KAWAMATA
Details
dev-ruby/bsearch-1.5.0.ebuild (file_446269.txt,652 bytes, text/plain)
2012-12-10 09:02 UTC, Ryuichi KAWAMATA
Details
dev-ruby/bsearch-1.5.0 metadata.xml (file_446269.txt,239 bytes, text/plain)
2012-12-10 09:04 UTC, Ryuichi KAWAMATA
Details
dev-ruby/bsearch-1.5.0 Manifest (file_446269.txt,1.10 KB, text/plain)
2012-12-10 09:04 UTC, Ryuichi KAWAMATA
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryuichi KAWAMATA 2012-12-06 16:19:50 UTC
This package is provided as 'dev-ruby/ruby-bsearch' but it doesn't use rubygems.
Now, rubygems is provided ( http://rubygems.org/gems/bsearch ) so I wrote ebuild using rubygems.

Reproducible: Always

Steps to Reproduce:
1. If you have installed 'dev-ruby/ruby-bsearch', first you have to unmerge it.
2. emerge 'dev-ruby/bsearch'


Expected Results:  
This new package uses rubygems.

$ emerge --info \=dev-ruby/bsearch-1.5.0
Portage 2.2.0_alpha144 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r3, 3.5.7-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.5.7-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5645-with-gentoo-2.1
Timestamp of tree: Wed, 05 Dec 2012 23:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.6
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo betagarden sunrise rkmathi-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe "
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.iij.ad.jp/pub/linux/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j -l4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/betagarden /var/lib/layman/sunrise /home/rkmathi/rep/my/rkmathi-overlay"
SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage"
USE="aalib acl amd64 bash-completion berkdb bzip2 cgi cjk cli cracklib crypt cscope curl cxx dbus dri fastcgi fortran gd gdbm gif git gnutils gpm grapviz gsl gzip iconv imagemagick imap java javascript jpeg latex lzo mime mmx modules mudflap multilib mysql mysqli ncurses nls nptl ocaml openmp pam pcre perl php png posix pppd python raw readline ruby session sockets socks5 source sqlite sqlite3 sse sse2 sse3 ssl svg syslog szip tcpd udev unicode vim-syntax webkit xml zlib zsh-completion" 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="authn_core authz_core socache_shmcb unixd 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 sheets 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 keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ja" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

dev-ruby/bsearch-1.5.0 was built with the following:
USE="(multilib) -doc -test" RUBY_TARGETS="ruby19 -jruby -ree18 -ruby18"
Comment 1 Ryuichi KAWAMATA 2012-12-06 16:21:50 UTC
Created attachment 331651 [details]
bsearch-1.5.0.tar
Comment 2 Hans de Graaff gentoo-dev Security 2012-12-07 07:14:03 UTC
(In reply to comment #0)

> dev-ruby/bsearch-1.5.0 was built with the following:
> USE="(multilib) -doc -test" RUBY_TARGETS="ruby19 -jruby -ree18 -ruby18"

Please provide a build log with USE=doc, FEATURES=test, and all ruby targets enabled.
Comment 3 Hans de Graaff gentoo-dev Security 2012-12-07 07:14:23 UTC
(In reply to comment #1)
> Created attachment 331651 [details]
> bsearch-1.5.0.tar

Please provide individual files.
Comment 4 Ryuichi KAWAMATA 2012-12-10 09:01:20 UTC
(In reply to comment #2)
> Please provide a build log with USE=doc, FEATURES=test, and all ruby targets
> enabled.

I fixed this problems and tried again.

# USE=doc FEATURES=test emerge dev-ruby/bsearch --autounmask-write
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-ruby/bsearch-1.5.0 from rkmathi-overlay
 * bsearch-1.5.0.gem SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                        [ ok ]
>>> Unpacking source...
 * Running unpack phase for all ...
 * Unpacking .gem file... ...                                                                                                                    [ ok ]
 * Uncompressing metadata ...                                                                                                                    [ ok ]
 * Unpacking data.tar.gz ...                                                                                                                     [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-ruby/bsearch-1.5.0/work
>>> Preparing source in /var/tmp/portage/dev-ruby/bsearch-1.5.0/work ...
 * Running prepare phase for all ...
 * Running source copy phase for ruby18 ...
 * Running source copy phase for ruby19 ...
 * Running source copy phase for ree18 ...
 * Running source copy phase for jruby ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/bsearch-1.5.0/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/bsearch-1.5.0/work ...
 * Running compile phase for all ...
>>> Source compiled.
 * Running test phase for ruby18 ...
/var/tmp/portage/dev-ruby/bsearch-1.5.0/work/ruby18/bsearch-1.5.0/test /var/tmp/portage/dev-ruby/bsearch-1.5.0/work/ruby18/bsearch-1.5.0 /var/tmp/portage/dev-ruby/bsearch-1.5.0/work
/var/tmp/portage/dev-ruby/bsearch-1.5.0/work/ruby18/bsearch-1.5.0 /var/tmp/portage/dev-ruby/bsearch-1.5.0/work
 * Running test phase for ruby19 ...
/var/tmp/portage/dev-ruby/bsearch-1.5.0/work/ruby19/bsearch-1.5.0/test /var/tmp/portage/dev-ruby/bsearch-1.5.0/work/ruby19/bsearch-1.5.0 /var/tmp/portage/dev-ruby/bsearch-1.5.0/work
/var/tmp/portage/dev-ruby/bsearch-1.5.0/work/ruby19/bsearch-1.5.0 /var/tmp/portage/dev-ruby/bsearch-1.5.0/work
 * Running test phase for ree18 ...
/var/tmp/portage/dev-ruby/bsearch-1.5.0/work/ree18/bsearch-1.5.0/test /var/tmp/portage/dev-ruby/bsearch-1.5.0/work/ree18/bsearch-1.5.0 /var/tmp/portage/dev-ruby/bsearch-1.5.0/work
/var/tmp/portage/dev-ruby/bsearch-1.5.0/work/ree18/bsearch-1.5.0 /var/tmp/portage/dev-ruby/bsearch-1.5.0/work
 * Running test phase for jruby ...
/var/tmp/portage/dev-ruby/bsearch-1.5.0/work/jruby/bsearch-1.5.0/test /var/tmp/portage/dev-ruby/bsearch-1.5.0/work/jruby/bsearch-1.5.0 /var/tmp/portage/dev-ruby/bsearch-1.5.0/work
/var/tmp/portage/dev-ruby/bsearch-1.5.0/work/jruby/bsearch-1.5.0 /var/tmp/portage/dev-ruby/bsearch-1.5.0/work

>>> Install bsearch-1.5.0 into /var/tmp/portage/dev-ruby/bsearch-1.5.0/image/ category dev-ruby
 * Running install phase for ruby18 ...
 * Running install phase for ruby19 ...
 * Running install phase for ree18 ...
 * Running install phase for jruby ...
 * Running install phase for all ... * Running check install phase for ruby18 ...
 * Running check install phase for ruby19 ...
 * Running check install phase for ree18 ...
 * Running check install phase for jruby ...
>>> Completed installing bsearch-1.5.0 into /var/tmp/portage/dev-ruby/bsearch-1.5.0/image/


>>> Installing (1 of 1) dev-ruby/bsearch-1.5.0

>>> Recording dev-ruby/bsearch in "world" favorites file...
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.



# emerge --info dev-ruby/bsearch
Portage 2.2.0_alpha144 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r3, 3.5.7-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.5.7-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5645-with-gentoo-2.1
Timestamp of tree: Mon, 10 Dec 2012 07:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo betagarden sunrise rkmathi-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe "
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe" 
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.iij.ad.jp/pub/linux/gentoo/" 
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j -l4" 
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" 
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/betagarden /var/lib/layman/sunrise /home/rkmathi/rep/my/rkmathi-overlay"
SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage"
USE="aalib acl amd64 bash-completion berkdb bzip2 cgi cjk cli cracklib crypt cscope curl cxx dbus dri fastcgi fortran gd gdbm gif git gnutils gpm grapviz gsl gzip iconv imagemagick imap java javascript jpeg latex lzo mime mmx modules mudflap multilib mysql mysqli ncurses nls nptl ocaml openmp pam pcre perl php png posix pppd python raw readline ruby session sockets socks5 source sqlite sqlite3 sse sse2 sse3 ssl svg syslog szip tcpd threads udev unicode vim-syntax webkit xml zlib zsh-completion" 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="authn_core authz_core socache_shmcb unixd 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 sheets 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 keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ja" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19 ree18 jruby" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

dev-ruby/bsearch-1.5.0 was built with the following:
USE="doc (multilib) test" RUBY_TARGETS="jruby ree18 ruby18 ruby19 -rbx"
Comment 5 Ryuichi KAWAMATA 2012-12-10 09:02:43 UTC
Created attachment 331928 [details]
dev-ruby/bsearch-1.5.0.ebuild

Fix test phase.
Comment 6 Ryuichi KAWAMATA 2012-12-10 09:04:08 UTC
Created attachment 331930 [details]
dev-ruby/bsearch-1.5.0 metadata.xml
Comment 7 Ryuichi KAWAMATA 2012-12-10 09:04:56 UTC
Created attachment 331932 [details]
dev-ruby/bsearch-1.5.0 Manifest
Comment 8 Ryuichi KAWAMATA 2012-12-10 09:07:30 UTC
(In reply to comment #3)
> Please provide individual files.

There are 3 files in this overlay.
So I attached these files.

* bsearch-1.5.0.ebuild ==> https://446269.bugs.gentoo.org/attachment.cgi?id=331928
* metadata.xml ==> https://446269.bugs.gentoo.org/attachment.cgi?id=331930
* Manifest ==> https://446269.bugs.gentoo.org/attachment.cgi?id=331932
Comment 9 Hans de Graaff gentoo-dev Security 2012-12-10 19:02:45 UTC
(In reply to comment #8)
> (In reply to comment #3)
> > Please provide individual files.
> 
> There are 3 files in this overlay.
> So I attached these files.

There is usually no need to include metadata.xml and Manifest.

> * bsearch-1.5.0.ebuild ==>
> https://446269.bugs.gentoo.org/attachment.cgi?id=331928

This file has dos2unix line endings which does not work with bash. Probably an artifact of uploading.

The ebuild should also die when tests fail.

There is also some documentation that could be installed.

I've pkgmoved ruby-bsearch to bsearch and added bsearch 1.5.0 based your ebuild. Thanks!