Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261444 - dev-util/cmake-2.6.3 fails to compile - No rule to make target `/lib/libexpat.so'
Summary: dev-util/cmake-2.6.3 fails to compile - No rule to make target `/lib/libexpat...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-06 12:42 UTC by Neil Bothwick
Modified: 2009-03-07 10:29 UTC (History)
0 users

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


Attachments
Build log (dev-util:cmake-2.6.3:20090306-115804.log,60.45 KB, text/plain)
2009-03-06 12:43 UTC, Neil Bothwick
Details
ebuild environment (environment,114.95 KB, text/plain)
2009-03-06 12:44 UTC, Neil Bothwick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Bothwick 2009-03-06 12:42:47 UTC
Compilation of dev-util/cmake-2.6.3 fails with

[ 72%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestCoverageHandler.o
[ 72%] Building CXX object Source/CMakeFiles/CPackLib.dir/CPack/cmCPackDebGenerator.o
/mnt/scratch/portage/dev-util/cmake-2.6.3/work/cmake-2.6.3/Source/CPack/cmCPackDebGenerator.cxx: In function 'int ar_append(const char*, const std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)':
/mnt/scratch/portage/dev-util/cmake-2.6.3/work/cmake-2.6.3/Source/CPack/cmCPackDebGenerator.cxx:484: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
[ 73%] Building CXX object Source/CMakeFiles/CPackLib.dir/CPack/cmCPackRPMGenerator.o
Linking CXX static library libCPackLib.a
[ 73%] Built target CPackLib
[ 73%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestEmptyBinaryDirectoryCommand.o
[ 74%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestGenericHandler.o
[ 74%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestHandlerCommand.o
[ 74%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestMemCheckCommand.o
[ 75%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestMemCheckHandler.o
[ 75%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestReadCustomFilesCommand.o
[ 76%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestRunScriptCommand.o
[ 76%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestScriptHandler.o
Scanning dependencies of target DumpDocumentation
[ 77%] make[2]: *** No rule to make target `/lib/libexpat.so', needed by `bin/DumpDocumentation'.  Stop.
make[2]: *** Waiting for unfinished jobs....
Building CXX object Source/CMakeFiles/DumpDocumentation.dir/cmDumpDocumentation.o
make[1]: *** [Source/CMakeFiles/DumpDocumentation.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 77%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestSleepCommand.o
[ 78%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestStartCommand.o
[ 78%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestSubmitCommand.o
[ 79%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestSubmitHandler.o
[ 79%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestTestCommand.o
[ 79%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestTestHandler.o
[ 80%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestUpdateCommand.o
[ 80%] Building CXX object Source/CMakeFiles/CTestLib.dir/CTest/cmCTestUpdateHandler.o
Linking CXX static library libCTestLib.a
[ 80%] Built target CTestLib
make: *** [all] Error 2
 *
 * ERROR: dev-util/cmake-2.6.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2937:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed.";
 *  The die message:
 *   emake failed.
 *


% emerge --info
Portage 2.2_rc23 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-tuxonice-r3 i686)
=================================================================
System uname: Linux-2.6.28-tuxonice-r3-i686-Intel-R-_Celeron-R-_M_processor_900MHz-with-gentoo-2.0.0
Timestamp of tree: Fri, 06 Mar 2009 06:15:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2, 2.6.1
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.3.9
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -march=pentium-m -pipe"
DISTDIR="/mnt/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="buildpkg ccache distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/"
LANG="en_GB"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/mnt/portage/packages/krikkit"
PORTAGE_CONFIGROOT="/"
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="/mnt/scratch"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mnt/portage/layman/cwiid /mnt/portage/layman/genscripts /mnt/portage/local"
SYNC="rsync://desiato/gentoo"
USE="3dnow 3dnowext X a52 aac aalib acpi alsa audiofile berkdb bluetooth branding bzip2 cairo cddb cdr cli cracklib crypt cups curl dbus dri dvd dvdr encode exif fam ffmpeg flac gdbm gif gimp gpg gphoto2 gpm gtk hal htmlhandbook iconv id3 imagemagick imap isdnlog java jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdeprefix libnotify libwww lm_sensors mad midi mmxext mp3 mp4 mpeg mplayer mudflap musicbrainz ncurses nptl nptlonly nsplugin offensive ogg opengl openmp oss pcre pdf png pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection scanner sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb v4l v4l2 vorbis webkit wifi win32codecs x264 x86 xcomposite xml xorg xulrunner xv xvid zlib zsh-completion" 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" CAMERAS="canon nikon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="intel vesa"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Neil Bothwick 2009-03-06 12:43:44 UTC
Created attachment 184133 [details]
Build log
Comment 2 Neil Bothwick 2009-03-06 12:44:33 UTC
Created attachment 184135 [details]
ebuild environment
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-06 13:00:12 UTC
[ 77%] make[2]: *** No rule to make target `/lib/libexpat.so', needed by `bin/DumpDocumentation'.  Stop.
make[2]: *** Waiting for unfinished jobs....

Reassigning to kde herd.
Comment 4 Rafał Mużyło 2009-03-06 13:05:27 UTC
-- Using system-installed CURL
-- Using system-installed EXPAT
-- Using system-installed XMLRPC
-- Using system-installed ZLIB
-- Found ZLIB: /lib/libz.so
-- Found CURL: /lib/libcurl.so
-- Found EXPAT: /lib/libexpat.so

Do you recall doing anything that could cause these invalid results for
libcurl and libexpat ?
Comment 5 Neil Bothwick 2009-03-06 23:28:07 UTC
There are dangling symlinks for them in /lib. The timestamps do not coincide with any emerges, but I didn't create them manually. I'll try removing them.
Comment 6 Neil Bothwick 2009-03-07 10:29:15 UTC
It turns out I had 416 dangling symlinks in /lib, ones you would expect to find in /usr/lib, with exactly the same timestamp in late January. I've no idea how they got there, but removing them fixed the cmake install. What really surprises me is that it was like this for over a month without any apparent problems.

Anyway, it's fixed now, thanks for the help.