Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245652 - app-admin/apache-tools-2.2.9 - ld: skipping incompatible /usr/lib/libpcre.so when searching for -lpcre
Summary: app-admin/apache-tools-2.2.9 - ld: skipping incompatible /usr/lib/libpcre.so ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-05 12:52 UTC by Anton Kovalenko
Modified: 2008-11-06 04:43 UTC (History)
0 users

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


Attachments
config.log (config.log,69.40 KB, text/plain)
2008-11-05 12:53 UTC, Anton Kovalenko
Details
environment description (environment,91.25 KB, text/plain)
2008-11-05 12:55 UTC, Anton Kovalenko
Details
build log file (build.log,6.87 KB, text/plain)
2008-11-05 12:55 UTC, Anton Kovalenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kovalenko 2008-11-05 12:52:09 UTC
I installed the new Gentoo Linux on my i686 Intel(R) Xeon(TM) MP CPU 3.16GHz.
After finishing the installation, just right after the emerge --newuse world, I started emerging Apache.
It crashed with the following error message:
checking for void pointer length... yes
configure: error: Size of "void *" is less than size of "long"

*
 * ERROR: app-admin/apache-tools-2.2.9 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2343:  Called econf 'src_compile' 'src_compile' '--sbindir=/usr/sbin' '--with-z=/usr' '--with-apr=/usr' '--with-apr-util=/usr' '--with-pcre=/usr'
 *               ebuild.sh, line  519:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
*   econf failed


Any tricks like:
emerge openssl
run revdep-depclean 
do not help.

Reproducible: Always

Steps to Reproduce:
0. install gentoo from livecd as described in a manual
1. run emerge apache
2. see the error, shown above, appearing

Actual Results:  
emerge process stopped

Expected Results:  
apache-2.2.9 is installed

melange ~ # uname -a
Linux melange 2.6.25-gentoo-r8 #4 SMP Wed Nov 5 09:19:10 MSK 2008 i686 Intel(R) Xeon(TM) MP CPU 3.16GHz GenuineIntel GNU/Linux

Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r8 i686)
=================================================================
System uname: 2.6.25-gentoo-r8 i686 Intel(R) Xeon(TM) MP CPU 3.16GHz
Timestamp of tree: Wed, 05 Nov 2008 10:35:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.lagis.at/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups dri gdbm gpm iconv isdnlog midi mudflap ncurses nls nptl nptlonly nptonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg 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 mmap_emul 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Anton Kovalenko 2008-11-05 12:53:06 UTC
Created attachment 170800 [details]
config.log
Comment 2 Anton Kovalenko 2008-11-05 12:55:40 UTC
Created attachment 170801 [details]
environment description
Comment 3 Anton Kovalenko 2008-11-05 12:55:52 UTC
Created attachment 170803 [details]
build log file
Comment 4 Rafał Mużyło 2008-11-05 13:28:18 UTC
You're looking at the wrong error.
The correct one is:
/usr/lib/gcc/i486-pc-linux-gnu/4.1.2/../../../../i486-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpcre.so when searching for -lpcre
/usr/lib/gcc/i486-pc-linux-gnu/4.1.2/../../../../i486-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpcre.a when searching for -lpcre
/usr/lib/gcc/i486-pc-linux-gnu/4.1.2/../../../../i486-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpcre.so when searching for -lpcre
/usr/lib/gcc/i486-pc-linux-gnu/4.1.2/../../../../i486-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpcre.a when searching for -lpcre
/usr/lib/gcc/i486-pc-linux-gnu/4.1.2/../../../../i486-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/../../../libpcre.so when searching for -lpcre
/usr/lib/gcc/i486-pc-linux-gnu/4.1.2/../../../../i486-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/../../../libpcre.a when searching for -lpcre
/usr/lib/gcc/i486-pc-linux-gnu/4.1.2/../../../../i486-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpcre.so when searching for -lpcre
/usr/lib/gcc/i486-pc-linux-gnu/4.1.2/../../../../i486-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpcre.a when searching for -lpcre
/usr/lib/gcc/i486-pc-linux-gnu/4.1.2/../../../../i486-pc-linux-gnu/bin/ld: cannot find -lpcre
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-05 19:05:20 UTC
@Anton: Did you run revdep-rebuild after installing and before emerging apache?
Comment 6 Anton Kovalenko 2008-11-06 04:43:22 UTC
(In reply to comment #5)
> @Anton: Did you run revdep-rebuild after installing and before emerging apache?
> 

Yes,I have run it, but it didn't help.
But the error itself is fixed. Sorry, guys, I didn't notice this pcre trouble.
Running the update for PCRE fixed all the problems with Apache installation