Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 205752 - www-apache/mod_vhs-1.0.32 not compiled properly
Summary: www-apache/mod_vhs-1.0.32 not compiled properly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-14 08:43 UTC by Greg Dziegielewski
Modified: 2008-02-06 21:49 UTC (History)
0 users

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


Attachments
corrected ebuild (mod_vhs-1.0.32.ebuild,1.03 KB, text/plain)
2008-02-02 23:52 UTC, Milan Ilavsky
Details
nicer corrected ebuild (mod_vhs-1.0.32.ebuild,1.08 KB, text/plain)
2008-02-03 00:28 UTC, Milan Ilavsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Dziegielewski 2008-01-14 08:43:16 UTC
www-apache/mod_vhs-1.0.32: cannot be loaded to apache, /usr/lib/apache2/modules/mod_vhs.so: undefined symbol: home_getpwnam

Reproducible: Always

Steps to Reproduce:
1. emerge apache
2. emerge mod_vhs
3. enable it in /etc/conf.d/apache2 by -D VHS

Actual Results:  
# ldd /usr/lib/apache2/modules/mod_vhs.so
        linux-gate.so.1 =>  (0xffffe000)
        libc.so.6 => /lib/libc.so.6 (0xb7e78000)
        /lib/ld-linux.so.2 (0x80000000)


Expected Results:  
# ldd /usr/lib/apache2/modules/mod_vhs.so
        linux-gate.so.1 =>  (0xffffe000)
        libhome.so.1 => /usr/lib/libhome.so.1 (0xb7f6d000)
        libc.so.6 => /lib/libc.so.6 (0xb7e3d000)
        libdb-4.5.so => /usr/lib/libdb-4.5.so (0xb7d27000)
        libmysqlclient.so.15 => /usr/lib/mysql/libmysqlclient.so.15 (0xb7bb7000)
        libz.so.1 => /lib/libz.so.1 (0xb7ba4000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7b76000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7b5e000)
        libm.so.6 => /lib/libm.so.6 (0xb7b38000)
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7af5000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb79ab000)
        /lib/ld-linux.so.2 (0x80000000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7994000)
        libdl.so.2 => /lib/libdl.so.2 (0xb798f000)


I compiled it manually and works ok.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-14 09:16:01 UTC
emerge --info please... Also completely emerge.log would be helpful I guess.
Comment 2 Greg Dziegielewski 2008-01-16 08:30:03 UTC
emerge --info:

Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Pentium III (Coppermine)
Timestamp of tree: Wed, 16 Jan 2008 01:46:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl http://gentoo.po.opole.pl "
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl"
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/portage/local/layman/webapps-experimental"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip animgif apache2 bcmath berkdb bitmap-fonts bittorrent bzip2 charconv chm clamav cli colordiff cracklib crypt ctype curl daemon dcraw dlz dri exif extraengine fortran ftp gadu gd gdbm gif gpm gzip hal iconv idn imagemagick imap iproute2 ipv6 isdnlog javascript jbig jpeg jpeg2k libwww maildir midi mod_irc mod_muc mod_pubsub mpm-worker mudflap multiuser mysql mysqli ncurses netpbm nls nptl nptlonly openmp pcre pear-db perl php png pop posix pppd python qt3 readline reflection rle sasl session simplexml slang sockets spell spl srvdir ssl svg symlink tcpd threads tidy tiff truetype truetype-fonts type1-fonts unicode unzip vhosts web x86 xml xorg xpm zip zlib" 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="trident nv i810 vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Greg Dziegielewski 2008-01-16 08:32:05 UTC
emerge -v mod_vhs:
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] www-apache/mod_vhs-1.0.32  USE="php -debug* -suphp" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) www-apache/mod_vhs-1.0.32 to /
 * mod_vhs-1.0.32.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                 [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                     [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                    [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                   [ ok ]
 * checking mod_vhs-1.0.32.tar.gz ;-) ...                                                                                                                                                                [ ok ]
 *
 * Using dev-lang/php-5.2.5-r1
 *
 * Checking for compatible SAPI(s)
 *   Discovered compatible SAPI apache2
>>> Unpacking source...
>>> Unpacking mod_vhs-1.0.32.tar.gz to /var/tmp/portage/www-apache/mod_vhs-1.0.32/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/www-apache/mod_vhs-1.0.32/work/mod_vhs ...
/usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -march=i686 -pipe  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/apache2  -I/usr/include/apr-1   -I/usr/include/apr-1 -I/usr/include/db4.5 -I/usr/include/mysql  -c -o mod_vhs.lo mod_vhs.c && touch mod_vhs.slo
/usr/bin/libtool --silent --mode=link i686-pc-linux-gnu-gcc -o mod_vhs.la  -rpath /usr/lib/apache2/modules -module -avoid-version    mod_vhs.lo
>>> Source compiled.
>>> Test phase [not enabled]: www-apache/mod_vhs-1.0.32

>>> Install mod_vhs-1.0.32 into /var/tmp/portage/www-apache/mod_vhs-1.0.32/image/ category www-apache
>>> Completed installing mod_vhs-1.0.32 into /var/tmp/portage/www-apache/mod_vhs-1.0.32/image/

strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment
   usr/lib/apache2/modules/mod_vhs.so
* checking 2 files for package collisions
>>> Merging www-apache/mod_vhs-1.0.32 to /
--- /etc/
--- /etc/apache2/
--- /etc/apache2/modules.d/
>>> /etc/apache2/modules.d/99_mod_vhs.conf
--- /usr/
--- /usr/lib/
--- /usr/lib/apache2/
--- /usr/lib/apache2/modules/
>>> /usr/lib/apache2/modules/mod_vhs.so
>>> Safely unmerging already-installed instance...
No package files given... Grabbing a set.
--- replaced obj /usr/lib/apache2/modules/mod_vhs.so
--- replaced dir /usr/lib/apache2/modules
--- replaced dir /usr/lib/apache2
--- replaced dir /usr/lib
--- replaced dir /usr
--- replaced obj /etc/apache2/modules.d/99_mod_vhs.conf
--- replaced dir /etc/apache2/modules.d
--- replaced dir /etc/apache2
--- replaced dir /etc
>>> Original instance of package unmerged safely.
 *
 * To enable mod_vhs, you need to edit your /etc/conf.d/apache2 file and
 * add '-D VHS' to APACHE2_OPTS.
 *
 *
 * Configuration file installed as
 *     /etc/apache2/modules.d/99_mod_vhs.conf
 * You may want to edit it before turning the module on in /etc/conf.d/apache2
 *
>>> www-apache/mod_vhs-1.0.32 merged.

>>> No packages selected for removal by clean
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
 * GNU info directory index is up-to-date.

akatosh www # ldd /usr/lib/apache2/modules/mod_vhs.so
        linux-gate.so.1 =>  (0xffffe000)
        libc.so.6 => /lib/libc.so.6 (0xb7e8e000)
        /lib/ld-linux.so.2 (0x80000000)
Comment 4 Milan Ilavsky 2008-02-02 23:52:23 UTC
Created attachment 142560 [details]
corrected ebuild
Comment 5 Milan Ilavsky 2008-02-03 00:28:53 UTC
Created attachment 142568 [details]
nicer corrected ebuild

I modified my previous ebuild.
This new code should be nicer :)
Comment 6 Benedikt Böhm (RETIRED) gentoo-dev 2008-02-06 21:49:40 UTC
in cvs, thanks