Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213981 - www-servers/cherokee-0.6.0: fails to compile on libplugin_server_info
Summary: www-servers/cherokee-0.6.0: fails to compile on libplugin_server_info
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: José Alberto Suárez López (RETIRED)
URL:
Whiteboard:
Keywords:
: 222377 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-20 03:09 UTC by John Alberts
Modified: 2008-06-03 17:15 UTC (History)
3 users (show)

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


Attachments
0.7 from 0.6 ebuild: Updated (0.6_to_0.7.patch,1.38 KB, patch)
2008-06-03 17:15 UTC, Benjamin Bannier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Alberts 2008-03-20 03:09:54 UTC
I tried to emerge cherokee-0.6.0 on 2 different x86 servers and received the same compile error on libplugin_server_info.

Reproducible: Always

Steps to Reproduce:
1. emerge www-servers/cherokee
2. compiling fails on libplugin_server_info




relevant part of compile log:
generating symbol list for `libplugin_server_info.la'
/usr/bin/nm -B  .libs/handler_server_info.o  | sed -n -e 's/^.*[        ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/li
bplugin_server_info.exp
/bin/grep -E -e "^[^_].*" ".libs/libplugin_server_info.exp" > ".libs/libplugin_server_info.expT"
mv -f ".libs/libplugin_server_info.expT" ".libs/libplugin_server_info.exp"
echo "{ global:" > .libs/libplugin_server_info.ver
 cat .libs/libplugin_server_info.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libplugin_server_info.ver
 echo "local: *; };" >> .libs/libplugin_server_info.ver
 i686-pc-linux-gnu-gcc -shared  .libs/handler_server_info.o  -lcherokee-config -lcrypto -ldl  -march=pentium4 -Wl,-soname -Wl,libplugin_server_info.so -Wl,-version-script -Wl,.libs/libplugin_server_info.ver
-o .libs/libplugin_server_info.so
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lcherokee-config
collect2: ld returned 1 exit status
make[2]: *** [libplugin_server_info.la] Error 1
make[2]: *** Waiting for unfinished jobs....
generating symbol list for `libcherokee-base.la'
/usr/bin/nm -B  .libs/deflate.o .libs/deftree.o .libs/pcre_try_flipped.o .libs/pcre_chartables.o .libs/pcre_fullinfo.o .libs/pcre_newline.o .libs/pcre_globals.o .libs/pcre_compile.o .libs/pcre_tables.o .libs
/pcre_exec.o .libs/pcre_get.o .libs/fdpoll-poll.o .libs/fdpoll-epoll.o .libs/fdpoll-select.o .libs/avl.o .libs/avl_r.o .libs/http.o .libs/list.o .libs/ncpus.o .libs/crc32.o .libs/util.o .libs/human_strcmp.o
.libs/trace.o .libs/version.o .libs/buffer.o .libs/socket.o .libs/fdpoll.o .libs/mime.o .libs/mime_entry.o .libs/matching_list.o .libs/iocache.o .libs/md5.o .libs/md5crypt.o .libs/sha1.o .libs/match.o .libs/
dtm.o .libs/header.o .libs/access.o .libs/regex.o .libs/resolv_cache.o .libs/post.o .libs/config_node.o .libs/config_reader.o  | sed -n -e 's/^.*[         ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      ]*\(
[_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libcherokee-base.exp
/bin/grep -E -e "^[^_].*" ".libs/libcherokee-base.exp" > ".libs/libcherokee-base.expT"
mv -f ".libs/libcherokee-base.expT" ".libs/libcherokee-base.exp"
echo "{ global:" > .libs/libcherokee-base.ver
 cat .libs/libcherokee-base.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libcherokee-base.ver
 echo "local: *; };" >> .libs/libcherokee-base.ver
 i686-pc-linux-gnu-gcc -shared  .libs/deflate.o .libs/deftree.o .libs/pcre_try_flipped.o .libs/pcre_chartables.o .libs/pcre_fullinfo.o .libs/pcre_newline.o .libs/pcre_globals.o .libs/pcre_compile.o .libs/pcr
e_tables.o .libs/pcre_exec.o .libs/pcre_get.o .libs/fdpoll-poll.o .libs/fdpoll-epoll.o .libs/fdpoll-select.o .libs/avl.o .libs/avl_r.o .libs/http.o .libs/list.o .libs/ncpus.o .libs/crc32.o .libs/util.o .libs
/human_strcmp.o .libs/trace.o .libs/version.o .libs/buffer.o .libs/socket.o .libs/fdpoll.o .libs/mime.o .libs/mime_entry.o .libs/matching_list.o .libs/iocache.o .libs/md5.o .libs/md5crypt.o .libs/sha1.o .lib
s/match.o .libs/dtm.o .libs/header.o .libs/access.o .libs/regex.o .libs/resolv_cache.o .libs/post.o .libs/config_node.o .libs/config_reader.o  -lssl -lcrypto -ldl  -march=pentium4 -Wl,-soname -Wl,libcherokee
-base.so.0 -Wl,-version-script -Wl,.libs/libcherokee-base.ver -o .libs/libcherokee-base.so.0.0.1
(cd .libs && rm -f libcherokee-base.so.0 && ln -s libcherokee-base.so.0.0.1 libcherokee-base.so.0)
(cd .libs && rm -f libcherokee-base.so && ln -s libcherokee-base.so.0.0.1 libcherokee-base.so)
creating libcherokee-base.la
(cd .libs && rm -f libcherokee-base.la && ln -s ../libcherokee-base.la libcherokee-base.la)
make[2]: Leaving directory `/var/tmp/portage/www-servers/cherokee-0.6.0/work/cherokee-0.6.0/cherokee'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/www-servers/cherokee-0.6.0/work/cherokee-0.6.0'
make: *** [all] Error 2

!!! ERROR: www-servers/cherokee-0.6.0 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3945:   Called src_compile
  cherokee-0.6.0.ebuild, line 73:   Called die



emerge --info output:
Portage 2.1.2.2 (default-linux/x86/2007.0, gcc-4.1.1, glibc-2.5-r0, 2.6.20-vs2.2.0-gentoo i686)
=================================================================
System uname: 2.6.20-vs2.2.0-gentoo i686 Intel(R) Pentium(R) 4 CPU 1700MHz
Gentoo Base System release 1.13.0_alpha12
Timestamp of tree: Thu, 20 Mar 2008 01:30:01 +0000
app-shells/bash:     3.2_p10
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/baselayout: 1.13.0_alpha12
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61
sys-devel/automake:  1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl aotuv berkdb bzip2 cgi cli cracklib crypt ctype curl dri enscript fam fastbuild fastcgi fortran gd gdbm http iconv ipv6 isdnlog memcache midi mmap mudflap multiuser mysql mysqli ncurses nls nptl nptlonly offensive ogg openmp pam pcntl pcre pear perl php png pppd python readline reflection rrdtool session sharedmem simplexml soap sockets spl sqlite sse ssl tcpd tidy tokenizer truetype unicode x86 xattr xml xmlreader xmlrpc xmlwriter xorg xsl zip zlib" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" KERNEL="linux" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 avx 2008-03-31 22:52:46 UTC
Same goes for me on ~amd64 with cherokee-0.6.1 (USE: admin, coverpage, threads)

###
generating symbol list for `libplugin_server_info.la'
/usr/bin/nm -B  .libs/handler_server_info.o  | sed -n -e 's/^.*[ 	]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ 	][ 	]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libplugin_server_info.exp
/bin/grep -E -e "^[^_].*" ".libs/libplugin_server_info.exp" > ".libs/libplugin_server_info.expT"
mv -f ".libs/libplugin_server_info.expT" ".libs/libplugin_server_info.exp"
echo "{ global:" > .libs/libplugin_server_info.ver
 cat .libs/libplugin_server_info.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libplugin_server_info.ver
 echo "local: *; };" >> .libs/libplugin_server_info.ver
 x86_64-pc-linux-gnu-gcc -shared  .libs/handler_server_info.o  -lcherokee-config -ldl  -march=nocona -Wl,-soname -Wl,libplugin_server_info.so -Wl,-version-script -Wl,.libs/libplugin_server_info.ver -o .libs/libplugin_server_info.so
creating libplugin_file.la
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcherokee-config
collect2: ld returned 1 exit status
make[2]: *** [libplugin_server_info.la] Error 1
make[2]: *** Waiting for unfinished jobs....
(cd .libs && rm -f libplugin_file.la && ln -s ../libplugin_file.la libplugin_file.la)
generating symbol list for `libcherokee-base.la'
/usr/bin/nm -B  .libs/deflate.o .libs/deftree.o .libs/fdpoll-poll.o .libs/fdpoll-epoll.o .libs/fdpoll-select.o .libs/avl.o .libs/avl_r.o .libs/http.o .libs/list.o .libs/ncpus.o .libs/crc32.o .libs/util.o .libs/human_strcmp.o .libs/trace.o .libs/version.o .libs/buffer.o .libs/socket.o .libs/fdpoll.o .libs/mime.o .libs/mime_entry.o .libs/matching_list.o .libs/iocache.o .libs/md5.o .libs/md5crypt.o .libs/sha1.o .libs/match.o .libs/dtm.o .libs/header.o .libs/access.o .libs/regex.o .libs/resolv_cache.o .libs/post.o .libs/config_node.o .libs/config_reader.o  | sed -n -e 's/^.*[ 	]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ 	][ 	]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libcherokee-base.exp
/bin/grep -E -e "^[^_].*" ".libs/libcherokee-base.exp" > ".libs/libcherokee-base.expT"
mv -f ".libs/libcherokee-base.expT" ".libs/libcherokee-base.exp"
echo "{ global:" > .libs/libcherokee-base.ver
 cat .libs/libcherokee-base.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libcherokee-base.ver
 echo "local: *; };" >> .libs/libcherokee-base.ver
 x86_64-pc-linux-gnu-gcc -shared  .libs/deflate.o .libs/deftree.o .libs/fdpoll-poll.o .libs/fdpoll-epoll.o .libs/fdpoll-select.o .libs/avl.o .libs/avl_r.o .libs/http.o .libs/list.o .libs/ncpus.o .libs/crc32.o .libs/util.o .libs/human_strcmp.o .libs/trace.o .libs/version.o .libs/buffer.o .libs/socket.o .libs/fdpoll.o .libs/mime.o .libs/mime_entry.o .libs/matching_list.o .libs/iocache.o .libs/md5.o .libs/md5crypt.o .libs/sha1.o .libs/match.o .libs/dtm.o .libs/header.o .libs/access.o .libs/regex.o .libs/resolv_cache.o .libs/post.o .libs/config_node.o .libs/config_reader.o  /usr/lib64/libgnutls.so -L/usr/lib64 /usr/lib64/libgcrypt.so /usr/lib64/libgpg-error.so -lpthread /usr/lib64/libpcre.so -ldl  -march=nocona -Wl,-soname -Wl,libcherokee-base.so.0 -Wl,-version-script -Wl,.libs/libcherokee-base.ver -o .libs/libcherokee-base.so.0.0.1
(cd .libs && rm -f libcherokee-base.so.0 && ln -s libcherokee-base.so.0.0.1 libcherokee-base.so.0)
(cd .libs && rm -f libcherokee-base.so && ln -s libcherokee-base.so.0.0.1 libcherokee-base.so)
creating libcherokee-base.la
(cd .libs && rm -f libcherokee-base.la && ln -s ../libcherokee-base.la libcherokee-base.la)
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
 * 
 * ERROR: www-servers/cherokee-0.6.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3000:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * 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.6.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-servers/cherokee-0.6.1/temp/environment'.
###

emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r3 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Mon, 31 Mar 2008 18:45:03 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 2.0.0
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe"
DISTDIR="/var/tmp/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ "
LC_ALL="de_DE.utf8"
LINGUAS="de en"
MAKEOPTS="-s -j3"
PKGDIR="/var/tmp/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 bash-completion bitmap-fonts cjk cli cracklib crypt cups dbus dri fortran freetype gnutls gpm hal iconv ipv6 isdnlog kdeenablefinal midi mmx mmx2 mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session slang spl sse sse2 sse3 ssl tcpd truetype truetype-fonts type1-fonts unicode userlocales utf-8 utf8 xattr xinerama xorg zlib" ALSA_CARDS="hda-intel" 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2008-05-18 12:56:03 UTC
*** Bug 222377 has been marked as a duplicate of this bug. ***
Comment 3 Benjamin Bannier 2008-05-22 17:23:42 UTC
Similar problem (library not found for linking) here with 0.6.0 and 0.6.1.

Setting MAKEOPTS=-j1 fixed it for me, so adding overriding MAKEOPTS+=-j1 in the ebuild could do it if the Makefile can not be easily fixed.
Comment 4 José Alberto Suárez López (RETIRED) gentoo-dev 2008-05-23 11:34:40 UTC
it will be fixed in next release (~2 days)

http://svn.cherokee-project.com/changeset/1463
Comment 5 José Alberto Suárez López (RETIRED) gentoo-dev 2008-06-03 08:28:20 UTC
try 0.7 now in portage, if you have the same error, reopen this bug

thanks :)
Comment 6 Benjamin Bannier 2008-06-03 17:15:43 UTC
Created attachment 155389 [details, diff]
0.7 from 0.6 ebuild: Updated

(in reply to comment #5)

Works here.

Attached some updates of the 0.7 ebuild from the main tree reflecting the new src package and with updated messages.