Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56160 - mod_log_sql 1.98 does not merge correctly
Summary: mod_log_sql 1.98 does not merge correctly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
Depends on:
Reported: 2004-07-05 11:55 UTC by Henry Yang
Modified: 2005-04-26 10:39 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Henry Yang 2004-07-05 11:55:30 UTC
The ebuild does not follow "make install" step and assumes an obsolete source tree structure. As a result, the module file is not merged to the system.
Comment 1 Chuck Short (RETIRED) gentoo-dev 2004-07-05 18:06:36 UTC
Please post a log of your emerge. Because im seeing different here.

Comment 2 Henry Yang 2004-07-05 19:50:22 UTC
Calculating dependencies ...done!
>>> emerge (1 of 1) net-www/mod_log_sql-1.98 to /
>>> md5 src_uri ;-) mod_log_sql-1.98.tar.gz
>>> Unpacking source...
>>> Unpacking mod_log_sql-1.98.tar.gz to /var/tmp/portage/mod_log_sql-1.98/work
>>> Source unpacked.
configure: creating config.nice
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for Apache 2.0 version >= 2.0.40... yes
checking for floor in -lm... yes
checking for gzclose in -lz... yes
checking for mysql_init in -lmysqlclient... yes
checking for mysql_real_escape_string... yes
checking whether mysql clients can run... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking mod_ssl.h usability... no
checking mod_ssl.h presence... no
checking for mod_ssl.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
configure: creating ./config.status
config.status: creating stamp-h
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating contrib/Makefile
config.status: creating config.h
Apache version  : 2.0
SSL Support     : no
*** Use --enable-ssl to enable SSL support
/usr/lib/apache2/build/libtool --silent --mode=compile gcc -prefer-pic -march=pentium3 -fomit-frame-pointer -O3 -pipe -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -I/usr/include/apache2  -I/usr/include/apache2   -I/usr/include/apache2  -Wall -Werror -fno-strict-aliasing -DHAVE_CONFIG_H -DWITH_APACHE20  -c -o mod_log_sql.lo mod_log_sql.c && touch mod_log_sql.slo
/usr/lib/apache2/build/libtool --silent --mode=compile gcc -prefer-pic -march=pentium3 -fomit-frame-pointer -O3 -pipe -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -I/usr/include/apache2  -I/usr/include/apache2   -I/usr/include/apache2  -Wall -Werror -fno-strict-aliasing -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -DHAVE_CONFIG_H -DWITH_APACHE20  -c -o mod_log_sql_mysql.lo mod_log_sql_mysql.c && touch mod_log_sql_mysql.slo
/usr/lib/apache2/build/libtool --silent --mode=link gcc -o -Wall -Werror -fno-strict-aliasing -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -DHAVE_CONFIG_H -DWITH_APACHE20  -Wc,-Wall -Wc,-Werror -Wc,-fno-strict-aliasing -L/usr/local/mysql/lib -L/usr/lib/mysql -L/usr/mysql/lib -L/usr/local/lib/mysql -L/usr/local/mysql/lib/mysql -L/usr/mysql/lib/mysql -lmysqlclient -lz -lm -rpath /usr/lib/apache2/modules -module -avoid-version    mod_log_sql_mysql.lo
/usr/lib/apache2/build/libtool --silent --mode=link gcc -o -Wall -Werror -fno-strict-aliasing -DHAVE_CONFIG_H -DWITH_APACHE20  -Wc,-Wall -Wc,-Werror -Wc,-fno-strict-aliasing -rpath /usr/lib/apache2/modules -module -avoid-version    mod_log_sql.lo
Making all in docs
make[1]: Entering directory `/var/tmp/portage/mod_log_sql-1.98/work/mod_log_sql-1.98/docs'
make[1]: Leaving directory `/var/tmp/portage/mod_log_sql-1.98/work/mod_log_sql-1.98/docs'
Making all in contrib
make[1]: Entering directory `/var/tmp/portage/mod_log_sql-1.98/work/mod_log_sql-1.98/contrib'
make[1]: Leaving directory `/var/tmp/portage/mod_log_sql-1.98/work/mod_log_sql-1.98/contrib'

>>> Install mod_log_sql-1.98 into /var/tmp/portage/mod_log_sql-1.98/image/ category net-www
install: cannot stat `': No such file or directory
/usr/lib/portage/bin/dodoc: Documentation/README does not exist.
/usr/lib/portage/bin/dodoc: Documentation/manual.html does not exist.
/usr/lib/portage/bin/dodoc: Documentation/manual.xml does not exist.
>>> Completed installing into /var/tmp/portage/mod_log_sql-1.98/image/

>>> Merging net-www/mod_log_sql-1.98 to /
--- /etc/
--- /etc/apache2/
--- /etc/apache2/conf/
--- /etc/apache2/conf/modules.d/
>>> /etc/apache2/conf/modules.d/10_mod_log_sql.conf
--- /usr/
--- /usr/lib/
--- /usr/lib/apache2-extramodules/
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/mod_log_sql-1.98/
--- /usr/share/doc/mod_log_sql-1.98/contrib/
>>> /usr/share/doc/mod_log_sql-1.98/contrib/create_tables.sql.gz
>>> /usr/share/doc/mod_log_sql-1.98/contrib/
>>> /usr/share/doc/mod_log_sql-1.98/contrib/
>>> /usr/share/doc/mod_log_sql-1.98/CHANGELOG.gz
>>> /usr/share/doc/mod_log_sql-1.98/TODO.gz
>>> /usr/share/doc/mod_log_sql-1.98/INSTALL.gz
>>> /usr/share/doc/mod_log_sql-1.98/AUTHORS.gz
>>> /usr/share/doc/mod_log_sql-1.98/LICENSE.gz
>>> Safely unmerging already-installed instance...
--- !mtime obj /usr/share/doc/mod_log_sql-1.98/contrib/
--- !mtime obj /usr/share/doc/mod_log_sql-1.98/contrib/
--- !mtime obj /usr/share/doc/mod_log_sql-1.98/contrib/create_tables.sql.gz
--- !mtime obj /usr/share/doc/mod_log_sql-1.98/TODO.gz
--- !mtime obj /usr/share/doc/mod_log_sql-1.98/LICENSE.gz
--- !mtime obj /usr/share/doc/mod_log_sql-1.98/INSTALL.gz
--- !mtime obj /usr/share/doc/mod_log_sql-1.98/CHANGELOG.gz
--- !mtime obj /usr/share/doc/mod_log_sql-1.98/AUTHORS.gz
--- cfgpro obj /etc/apache2/conf/modules.d/10_mod_log_sql.conf
--- cfgpro dir /etc/apache2/conf/modules.d
--- cfgpro dir /etc/apache2/conf
--- cfgpro dir /etc/apache2
--- !empty dir /usr/share/doc/mod_log_sql-1.98/contrib
--- !empty dir /usr/share/doc/mod_log_sql-1.98
--- !empty dir /usr/share/doc
--- !empty dir /usr/share
--- !empty dir /usr/lib/apache2-extramodules
--- !empty dir /usr/lib
--- !empty dir /usr
--- !empty dir /etc
>>> original instance of package unmerged safely.
 * Please add '-D LOG_SQL' to your /etc/conf.d/apache APACHE_OPTS setting
 * Do not forget to adapt /etc/apache2/conf/modules.d/10_mod_log_sql.conf to your needs.
 * See /usr/share/doc/mod_log_sql-1.98/contrib/create_tables.sql.gz on how to create logging tables.

 * Caching service dependencies...
>>> net-www/mod_log_sql-1.98 merged.

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.
Comment 3 Chuck Short (RETIRED) gentoo-dev 2004-07-17 08:31:19 UTC
Please post emerge info.
Comment 4 Henry Yang 2004-07-19 19:18:13 UTC
Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-, 2.6.7-gentoo-r8)
System uname: 2.6.7-gentoo-r8 i686 Pentium III (Coppermine)
Gentoo Base System version 1.5.1
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
CFLAGS="-march=pentium3 -fomit-frame-pointer -O3 -pipe"
CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /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="-march=pentium3 -fomit-frame-pointer -O3 -pipe"
FEATURES="autoaddcvs ccache sandbox"
USE="X acpi acpi4linux apache2 apm berkdb bzlib cjk crypt directfb emacs encode extensions f77 fbcon foomaticdb freewnn gdbm gif gpm gtk gtk2 guile icc icu imap imlib java jikes jpeg leim libg++ libwww mad maildir mikmod mmx mono motif mpeg mysql ncurses nls nocardbus objc offensive oggvorbis opengl pam pdflib perl png python qt quicktime readline samba sdl slang snmp soap spell sse ssl svga tcltk tcpd tetex tiff truetype unicode vim-with-x wmf x86 xml2 zlib"
Comment 5 Minati jean michel 2004-09-13 11:20:38 UTC
I can t reproduce the bus either,but README manual.htll and manual.xml are still missings.
Comment 6 MikeL 2005-01-25 09:28:08 UTC
Tried to emerge it, but the library didn't install.  So, when restarting Apache, I get the following:

Syntax error on line 5 of /usr/lib/apache2/conf/modules.d/10_mod_log_sql.conf:
Cannot load /usr/lib/apache2/extramodules/ into server: /usr/lib/apache2/extramodules/ cannot open shared object file: No such file or directory
Comment 7 Benedikt Böhm (RETIRED) gentoo-dev 2005-01-30 06:05:13 UTC
i just commited 1.100 to cvs which uses the new apache-module.eclass and so is hard masked. please unmask, test and reopen if the error still occurs