* After a fresh install of mod_ruby, the following QA-notice is displayed: QA Notice: the following files contain executable stacks Files with executable stacks will not work properly (or at all!) on some architectures/operating systems. A bug should be filed at http://bugs.gentoo.org/ to make sure the file is fixed. --- --- RWX usr/lib/apache2-extramodules/mod_ruby.so * Subsequently, apache2 will not start: hwyss@lapdog ~ $ sudo /etc/init.d/apache2 restart * Apache2 has detected a syntax error in your configuration files: Syntax error on line 12 of /etc/apache2/vhosts.d/00.oddb.org.conf: Invalid command 'RubyAddPath', perhaps mis-spelled or defined by a module not included in the server configuration * Workaround #> ln -s /etc/apache2/conf/modules.d/20_mod_ruby.conf /etc/apache2/modules.d/ #> ln -s /usr/lib/apache2-extramodules/ /usr/lib/apache2/extramodules * hwyss@lapdog ~ $ emerge --info Portage 2.0.54 (default-linux/ppc/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.15-g47184d0f ppc) ================================================================= System uname: 2.6.15-g47184d0f ppc 7447A, altivec supported Gentoo Base System version 1.12.0_pre15 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fsigned-char" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fsigned-char" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ ftp://ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="en_US.ISO8859-1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="ppc X aac aalib aim alsa altivec apache2 apm arts async audiofile berkdb bitmap-fonts bonobo bzip2 cairo caps cddb cdparanoia cdr chroot cpdflib crypt cups curl curlwrappers dba dga directfb dmx dts dv dvd dvdread edl eds emboss ethereal evo exif expat fam fastcgi fbcon fbdev ffmpeg flac font-server foomaticdb fortran gcj gd gdbm ggi gif gimpprint glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal idn ieee1394 image imagemagick imlib imlib2 ipv6 jack jack-tmpfs java javacomm jikes jpeg junit kde kdeenablefinal kdexdeltas lcms libcaca libwww live lua lzo lzw mad maildir mailwrapper mhash mikmod mng mono motif mozdevelop mozilla moznocompose moznoirc moznomail mozsha1 mozsvg mozxmlterm mp3 mpeg mpm-worker mysql ncurses nls offensive ogg oggvorbis openal opengl pam pbbuttonsd pci pcre pda pdflib perl php png postgres python qt quicktime readline recode rtc ruby samba sasl scanner sdl sheep slang speex spell sqlite ssl svg tcltk tcpd tetex tga theora threads tiff truetype truetype-fonts type1 type1-fonts udev unicode usb vnc vorbis xanim xine xinerama xml xml2 xmms xv xvid zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS
Use 1.2.4-r2
Ah, excellent, thanks! But: may I suggest stable Keywords then? (I don't know whether it would be preferred behavior to reopen this Bug or open a new Bug, but I'll go for the least intrusive and just add a comment..) The three installs where we experienced this problem in the last 2 weeks were all fresh/clean and stable. I suspect the problem is that apache-2.0.55 has KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86", whereas mod_ruby-1.2.4-r2 has KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" so on a new system with stable keywords #> emerge mod_ruby will not work as desired...
As I've just come across the exact same problem again (fresh gentoo install on a x86 laptop with keywords = 'x86'), and since my last non-intrusive comment was obviously too nonintrusive, I'll allow myself to reactivate this bug. I'm not exactly proficient about gentoo processes; I'm sure there is a reason why mod_ruby-1.2.4-r2 is marked unstable. However the stable version of mod_ruby (1.2.4) does not work with the stable version of apache (2.0.55-r1) and imVho this is a bug (please correct me if I'm wrong). If this is the wrong place to report such a keyword-problem please direct me to a more appropriate place. Thanks in advance! Hannes
>I'm sure there is a reason why mod_ruby-1.2.4-r2 is marked unstable. No, there's no reason except that noone has keyworded it stable. Arches, please stabilize 1.2.4-r2 for new apache layout.
stable on ppc64
Marked ppc stable.
x86 done
1.2.5 is out: * added RubyRestrictDirectives by David Garamond. * added Apache::Request#all_params. * set $0 correctly * added Apache::RubyProfile. * added RubyOption. * added Apache::RailsDispatcher. * supported Apache 2.2 thanks to Michael Sullivan. * added RubyGcPerRequest. * do not timeout if RubyTimeOut is 0.
By the way, adding eruby to the dependencies of mod_ruby would be great, as it screams if it isn't present when you relaunch apache after installing the mod...
For a fresh install on amd64, /usr/lib/apache2/extramodules does not exist. Using apache-2.0.55-r1 and mod_ruby-1.2.4, I copied /etc/apache2/conf/modules.d/20_mod_ruby.conf to /etc/apache2/modules.d and edited the path to mod_ruby.so (to modules/mod_ruby.so). After this, appears to be stable on amd64.
We may need some time, but sooner or later we get every bug. This seems to be working fine on amd64 and is good to go stable :) emerge --info Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-suspend2-r3-Dudebox-Edition x86_64) ================================================================= System uname: 2.6.17-suspend2-r3-Dudebox-Edition x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.15 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -msse3" 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/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=k8 -O2 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LINGUAS="de" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://server/gentoo-portage" USE="amd64 X alsa arts avi berkdb bitmap-fonts cli crypt cups dlloader dri eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde kdeenablefinal lzw lzw-tiff mp3 mpeg ncurses nls nptl opengl pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts unicode usb userlocales xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de userland_GNU video_cards_dummy" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
amd64 stable
Looking at the ebuild, there are two arches left: alpha and (CC missing) sparc.
We don't appear to currently have a stable keyword so removing.
Alpha done.
Last team, meant to close the bug.