Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178486 - dev-ruby/sqlite3-ruby does not install
Summary: dev-ruby/sqlite3-ruby does not install
Status: RESOLVED DUPLICATE of bug 159922
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-14 09:56 UTC by Timo Boettcher
Modified: 2007-05-14 09:58 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Boettcher 2007-05-14 09:56:19 UTC
dev-ruby/sqlite3-ruby-1.10 does not install.
in /var/tmp/portage/dev-ruby/sqlite3-ruby-1.1.0/image/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/ext/sqlite3_api/gem_make.out, the relevant lines before the error are:


make install
/bin/install -c -m 0755 sqlite3_api.so /var/tmp/portage/dev-ruby/sqlite3-ruby-1.1.0/image/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib
make: /bin/install: Command not found
make: *** [/var/tmp/portage/dev-ruby/sqlite3-ruby-1.1.0/image/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3_api.so] Error 127

It seems that some pathes are hardcoded, as install is /usr/bin/install, not /bin/install

Reproducible: Always

Steps to Reproduce:
1. emerge sqlite3-ruby
Actual Results:  
>>> Unpacking source...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-ruby/sqlite3-ruby-1.1.0/work ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-ruby/sqlite3-ruby-1.1.0

>>> Install sqlite3-ruby-1.1.0 into /var/tmp/portage/dev-ruby/sqlite3-ruby-1.1.0/image/ category dev-ruby
ERROR:  While executing gem ... (RuntimeError)
    Error instaling /var/tmp/portage/dev-ruby/sqlite3-ruby-1.1.0/distdir/sqlite3-ruby-1.1.0:
        ERROR: Failed to build gem native extension.

ruby extconf.rb install /var/tmp/portage/dev-ruby/sqlite3-ruby-1.1.0/distdir/sqlite3-ruby-1.1.0 -v 1.1.0 --no-ri --no-rdoc -l -i /var/tmp/portage/dev-ruby/sqlite3-ruby-1.1.0/image///usr/lib/ruby/gems/1.8
checking for sqlite3.h... yes
checking for sqlite3_open() in -lsqlite3... yes
creating Makefile

make
i686-pc-linux-gnu-gcc -I. -I. -I/usr/lib/ruby/1.8/i686-linux -I. -DHAVE_SQLITE3_H -I/usr/local/include  -fPIC -march=pentium-m -O3 -pipe  -fPIC  -c sqlite3_api_wrap.c
i686-pc-linux-gnu-gcc -shared  -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -L'/usr/lib' -Wl,-R'/usr/lib' -o sqlite3_api.so sqlite3_api_wrap.o  -Wl,-R -Wl,/usr/lib -L/usr/lib -L. -lruby18 -lsqlite3  -ldl -lcrypt -lm   -lc

make install
/bin/install -c -m 0755 sqlite3_api.so /var/tmp/portage/dev-ruby/sqlite3-ruby-1.1.0/image/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib
make: /bin/install: Command not found
make: *** [/var/tmp/portage/dev-ruby/sqlite3-ruby-1.1.0/image/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3_api.so] Error 127


Gem files will remain installed in /var/tmp/portage/dev-ruby/sqlite3-ruby-1.1.0/image/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0 for inspection.
Results logged to /var/tmp/portage/dev-ruby/sqlite3-ruby-1.1.0/image/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/ext/sqlite3_api/gem_make.out
Building native extensions.  This could take a while...

!!! ERROR: dev-ruby/sqlite3-ruby-1.1.0 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_install
  ebuild.sh, line 1060:   Called qa_call 'src_install'
  environment, line 3269:   Called src_install
  ebuild.sh, line 1304:   Called gems_src_install
  gems.eclass, line 72:   Called die

!!! gem install failed: gem-0.9.2 install /var/tmp/portage/dev-ruby/sqlite3-ruby-1.1.0/distdir/sqlite3-ruby-1.1.0 -v 1.1.0 --no-ri --no-rdoc -l -i /var/tmp/portage/dev-ruby/sqlite3-ruby-1.1.0/image///usr/lib/ruby/gems/1.8
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-ruby/sqlite3-ruby-1.1.0/temp/build.log'.


Expected Results:  
sqlite3-ruby should have merged

Portage 2.1.2.2 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.5-r2, 2.6.20-gentoo-r7 i686)
=================================================================
System uname: 2.6.20-gentoo-r7 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 14 May 2007 01:47:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://distfiles.gentoo.org ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="en_US"
LC_ALL="en_US"
LINGUAS="en de en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X aac acpi alsa apache2 arts berkdb bitmap-fonts bluetooth bzip2 cardbus cdparanoia cdr cdrom chipcard cli cracklib crypt css cups dbus dri dvb dvd dvdr dvdread encode exiscan exiscan-acl expat extras fat ffmpeg firefox flac foomaticdb frontendonly fuse gcj gd gdbm gif gimp gpgme gphoto2 gpm gps gstreamer hbci iconv idn ieee1394 imap imlib ipv6 irmc john jpeg jpeg2k kde libwww mad madwifi maildir midi mmx mmxext motif moznocompose moznoirc moznomail mozsvg mozxmlterm mp3 mpeg multiuser mythtv ncurses nls nocd ntfs nvidia ogg opengl pam pcmcia pcre pda perl png pnp pop ppds python qt3 qt4 quicktime readline samba sdl session simplexml spell sse ssl subp subtitles subversion svg sysfs syslog tcpd teamarena theora tiff truetype truetype-fonts type1-fonts usb v4l2 vim vim-with-x visualization vorbis wifi win32codecs x86 xine xml xorg xscreensaver xv xvid xvmc zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de en_GB" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Timo Boettcher 2007-05-14 09:58:27 UTC
dev-ruby/sqlite3-ruby-1.2.1 works.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-05-14 09:58:46 UTC
Please, search.

*** This bug has been marked as a duplicate of bug 159922 ***

*** This bug has been marked as a duplicate of bug 159922 ***