Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88316 - mod_ruby-1.2.4-r1.ebuild contains minor error which prevents it from building
Summary: mod_ruby-1.2.4-r1.ebuild contains minor error which prevents it from building
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-07 22:52 UTC by Alexander Vasilev
Modified: 2005-04-08 05:26 UTC (History)
1 user (show)

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


Attachments
small patch which corrects discribed problem (mod_ruby-1.2.4-r1.ebuild.patch,328 bytes, patch)
2005-04-07 22:56 UTC, Alexander Vasilev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Vasilev 2005-04-07 22:52:54 UTC
When I try to emerge mod_ruby, I get errors about command not found.

Reproducible: Always
Steps to Reproduce:
1. emerge mod_ruby

Actual Results:  
/usr/portage/dev-ruby/mod_ruby/mod_ruby-1.2.4-r1.ebuild: line 29: [: missing `]'
checking for a BSD compatible install... /bin/install -c
checking whether we are using gcc... yes
checking Ruby version... 1.8.2
checking for static Apache module support... no
checking for dynamic Apache module support... ./configure.rb:65: command not
found: /usr/sbin/apxs -q INCLUDEDIR
./configure.rb:65: command not found: /usr/sbin/apxs -q CFLAGS
./configure.rb:65: command not found: /usr/sbin/apxs -q LIBEXECDIR
configure.rb: error: failed to exec /usr/sbin/apxs
make: *** Не заданы цели и не найден make-файл.  Останов.

!!! ERROR: dev-ruby/mod_ruby-1.2.4-r1 failed.



Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.10-gentoo-r7 i686)
=================================================================
System uname: 2.6.10-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 21 2005, 21:27:09)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mtune=i686 -march=i686 -fomit-frame-pointer -funroll-loops"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mtune=i686 -march=i686 -fomit-frame-pointer -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache sandbox sfperms"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="ru_RU.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acl alsa apache2 apm avi bash-completion berkdb bitmap-fonts
cdr cjk crypt cscope cups curl dvd emboss encode esd fam flac foomaticdb fortran
gdbm gif gnome gnutls gpm gstreamer gtk2 guile imagemagick imlib java jpeg ldap
leim libg++ libwww mad mikmod mmx mmx2 motif mozilla mp3 mpeg ncurses nls
oggvorbis opengl oss pam pdflib perl png postgres python quicktime readline ruby
samba sdl slang spell sse sse2 ssl svga tcltk tcpd tiff truetype truetype-fonts
type1-fonts ucs2 unicode xinerama xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 Alexander Vasilev 2005-04-07 22:56:56 UTC
Created attachment 55627 [details, diff]
small patch which corrects discribed problem
Comment 2 Alexander Vasilev 2005-04-07 23:03:09 UTC
Sorry! Posted 'Actual Results' in wrong locale...

Here is the correct one.

/usr/portage/dev-ruby/mod_ruby/mod_ruby-1.2.4-r1.ebuild: line 29: [: missing `]'
checking for a BSD compatible install... /bin/install -c
checking whether we are using gcc... yes
checking Ruby version... 1.8.2
checking for static Apache module support... no
checking for dynamic Apache module support... ./configure.rb:65: command not found: /usr/sbin/apxs -q INCLUDEDIR
./configure.rb:65: command not found: /usr/sbin/apxs -q CFLAGS
./configure.rb:65: command not found: /usr/sbin/apxs -q LIBEXECDIR
configure.rb: error: failed to exec /usr/sbin/apxs
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: dev-ruby/mod_ruby-1.2.4-r1 failed.
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2005-04-08 05:26:12 UTC
committed - thanks for the report.