Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 263394

Summary: www-servers/cherokee ebuild fails after compilation
Product: Gentoo Linux Reporter: Ludovic Magerand <ludovic>
Component: [OLD] ServerAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ludovic Magerand 2009-03-22 18:23:09 UTC
I tried to install Cherokee to test it (for the very first time), and the ebuild failed just after the compilation and before merging with the live filesystem.

Portage died with a "poor code kills airplanes" message (funny, really, but useless to solve the problem).

A more complete log is provided.

Reproducible: Always

Steps to Reproduce:
1. Try to emerge cherokee with all use flags apart "static" on amd64


Actual Results:  
>>> Completed installing cherokee-0.9.0 into /var/tmp/portage/www-servers/cherokee-0.9.0/image/

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
   usr/bin/cget
   usr/bin/cherokee-tweak
   usr/bin/spawn-fcgi
   usr/sbin/cherokee-worker
   usr/sbin/cherokee
   usr/sbin/cherokee-admin
   usr/lib64/libcherokee-server.so.0.0.1
   usr/lib64/libcherokee-config.so.0.0.1
   usr/lib64/cherokee/libplugin_error_redir.so
   usr/lib64/cherokee/libplugin_deflate.so
   usr/lib64/cherokee/libplugin_proxy.so
   usr/lib64/cherokee/libplugin_w3c.so
   usr/lib64/cherokee/libplugin_error_nn.so
   usr/lib64/cherokee/libplugin_redir.so
   usr/lib64/cherokee/libplugin_mirror.so
   usr/lib64/cherokee/libplugin_round_robin.so
   usr/lib64/cherokee/libplugin_fastcgi.so
   usr/lib64/cherokee/libplugin_header.so
   usr/lib64/cherokee/libplugin_common.so
   usr/lib64/cherokee/libplugin_or.so
   usr/lib64/cherokee/libplugin_ldap.so
   usr/lib64/cherokee/libplugin_scgi.so
   usr/lib64/cherokee/libplugin_directory.so
   usr/lib64/cherokee/libplugin_fcgi.so
   usr/lib64/cherokee/libplugin_file.so
   usr/lib64/cherokee/libplugin_request.so
   usr/lib64/cherokee/libplugin_htdigest.so
   usr/lib64/cherokee/libplugin_extensions.so
   usr/lib64/cherokee/libplugin_dirlist.so
   usr/lib64/cherokee/libplugin_ncsa.so
   usr/lib64/cherokee/libplugin_htpasswd.so
   usr/lib64/cherokee/libplugin_and.so
   usr/lib64/cherokee/libplugin_cgi.so
   usr/lib64/cherokee/libplugin_admin.so
   usr/lib64/cherokee/libplugin_custom_error.so
   usr/lib64/cherokee/libplugin_server_info.so
   usr/lib64/cherokee/libplugin_plain.so
   usr/lib64/cherokee/libplugin_combined.so
   usr/lib64/cherokee/libplugin_phpcgi.so
   usr/lib64/cherokee/libplugin_gzip.so
   usr/lib64/cherokee/libplugin_not.so
   usr/lib64/cherokee/libplugin_pam.so
   usr/lib64/libcherokee-base.so.0.0.1
   usr/lib64/libcherokee-client.so.0.0.1
ecompressdir: bzip2 -9 /usr/share/man
removing executable bit: usr/lib64/libcherokee-base.la
removing executable bit: usr/lib64/libcherokee-client.la
removing executable bit: usr/lib64/libcherokee-config.la
removing executable bit: usr/lib64/libcherokee-server.la

 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * validator_ldap.c:161: warning: implicit declaration of function 'ldap_init'
 * validator_ldap.c:203: warning: implicit declaration of function 'ldap_simple_bind_s'
 * validator_ldap.c:294: warning: implicit declaration of function 'ldap_unbind_s'
 * validator_ldap.c:342: warning: implicit declaration of function 'ldap_search_s'

 * 
 * QA Notice: Package has poor programming practices which may compile
 *            but will almost certainly crash on 64bit architectures.
 * 
 * Function `ldap_init' implicitly converted to pointer at validator_ldap.c:161
 * 
 *  Please file a bug about this at http://bugs.gentoo.org/
 *  with the maintaining herd of the package.
 * 
 * 
 * ERROR: www-servers/cherokee-0.9.0 failed.
 * Call stack:
 *       misc-functions.sh, line 729:  Called install_qa_check
 *       misc-functions.sh, line 421:  Called die
 * The specific snippet of code:
 *   				die "poor code kills airplanes"
 *  The die message:
 *   poor code kills airplanes
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/www-servers/cherokee-0.9.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-servers/cherokee-0.9.0/temp/environment'.
 * 
!!! post install failed; exiting.


Expected Results:  
Package merged.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-03-23 16:14:28 UTC
Please post your `emerge --info' too. Also note that only if you set FEATURES=stricter, portage will die on these minor QA issues.
Comment 2 Ludovic Magerand 2009-03-23 20:47:19 UTC
I will have a little problem doing that as my laptop crashed (hardly) this morning. It's down for now.

What I could say is that it was an up to date portage (and gcc) as found in ~amd64 (an eix-sync and emerge -avuD world was run the day before I tried to merge this package).

Yes, the "stricter" feature was on, as well as a few other (sandbox, userpriv, userfetch, user*, ccache, ...).
The building were like -Os -pipe and another I don't remenber right now (a standard one).

I will be no more helpfull until my new laptop (just ordered) is here and gentoo installed on it.
The older one will be return for being repaired but it may take a long time.