Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40265 - mod_auth_mysql fails to install mod_auth_mysql.so
Summary: mod_auth_mysql fails to install mod_auth_mysql.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-03 06:34 UTC by Ashley McKenzie
Modified: 2004-04-22 11:09 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 Ashley McKenzie 2004-02-03 06:34:01 UTC
When attempting to emerge mod_auth_mysql, the mod_auth_mysql.so lib is built, but the .ebuild script contains incorrect information on where to obtain the newly built .so, and where to install it.

install: cannot stat `.libs/mod_auth_mysql.so': No such file or directory

^^ is displayed when emerging.

Reproducible: Always
Steps to Reproduce:
1. emerge -v /usr/portage/net-www/mod_auth_mysql/mod_auth_mysql-20030510-r2.ebuild
2. look for the 'No such file or directory' warning message
3.
Actual Results:  
>>> Merging net-www/mod_auth_mysql-20030510-r2 to /
--- /etc/
--- /etc/apache/
--- /etc/apache/conf/
--- /etc/apache/conf/addon-modules/
>>> /etc/apache/conf/addon-modules/12_mod_auth_mysql.conf
--- /usr/
--- /usr/lib/
--- /usr/lib/apache-extramodules/
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/mod_auth_mysql-20030510-r2/
>>> /usr/share/doc/mod_auth_mysql-20030510-r2/README.gz
>>> /usr/share/doc/mod_auth_mysql-20030510-r2/12_mod_auth_mysql.conf.gz
>>> /usr/share/doc/mod_auth_mysql-20030510-r2/mod_auth_mysql.txt.gz

** MISSING the mod_auth_mysql.so **

Expected Results:  
>>> Merging net-www/mod_auth_mysql-20030510-r2 to /
--- /etc/
--- /etc/apache/
--- /etc/apache/conf/
--- /etc/apache/conf/addon-modules/
>>> /etc/apache/conf/addon-modules/12_mod_auth_mysql.conf
--- /usr/
--- /usr/lib/
--- /usr/lib/apache-extramodules/
>>> /usr/lib/apache-extramodules/mod_auth_mysql.so
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/mod_auth_mysql-20030510-r2/
>>> /usr/share/doc/mod_auth_mysql-20030510-r2/README.gz
>>> /usr/share/doc/mod_auth_mysql-20030510-r2/12_mod_auth_mysql.conf.gz
>>> /usr/share/doc/mod_auth_mysql-20030510-r2/mod_auth_mysql.txt.gz

** NOTE the mod_auth_mysql.so lib is now installed **

On line 34 of mod_auth_mysql-20030510-r2.ebuild,

if

    doexe .libs/${PN}.so

is changed to

    doexe ${PN}.so

this appears to work.

ALSO.. the following error message appears in the emerge log

>>> Install mod_auth_mysql-20030510-r2 into /var/tmp/portage/mod_auth_mysql-20030510-r2/
image/ category net-www
cat: write error: Broken pipe
man:
prepallstrip:
strip:
strip:
   usr/lib/apache-extramodules/mod_auth_mysql.so
Comment 1 Chuck Short (RETIRED) gentoo-dev 2004-04-22 11:09:07 UTC
Fixed in cvs, thanks for the bug report.