Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131781 - callgrind-0.10.1-r1 emerge fails
Summary: callgrind-0.10.1-r1 emerge fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Caleb Tennis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-30 03:57 UTC by Vasilis Lourdas
Modified: 2006-05-01 12:26 UTC (History)
1 user (show)

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


Attachments
config.log (config.log.bz2,3.62 KB, application/octet-stream)
2006-04-30 13:53 UTC, Vasilis Lourdas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vasilis Lourdas 2006-04-30 03:57:28 UTC
Emerge of callgrind-0.10.1-r fails with error:

emerge -v callgrind
Calculating dependencies... done!
>>> Emerging (1 of 1) dev-util/callgrind-0.10.1-r1 to /
>>> checking ebuild checksums
>>> checking auxfile checksums
>>> checking miscfile checksums
>>> checking distfiles checksums
>>> Unpacking source...
>>> Unpacking callgrind-0.10.1.tar.bz2 to /var/tmp/portage/callgrind-0.10.1-r1/work
 * Applying callgrind-0.10.1-pic-fix.patch ...                                                                    [ ok ]
 * Running eautoreconf in '/var/tmp/portage/callgrind-0.10.1-r1/work/callgrind-0.10.1' ...
 * Running aclocal ...                                                                                            [ ok ]
 * Running autoconf ...                                                                                           [ ok ]
 * Running autoheader ...                                                                                         [ ok ]
 * Running automake --add-missing --copy ...                                                                      [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/callgrind-0.10.1-r1/work/callgrind-0.10.1 ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of i686-pc-linux-gnu-g++... gcc3
checking for a BSD-compatible install... /bin/install -c
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for valgrind installation... in /usr
checking for valgrind version... 
configure: error: Unsupported version. This tool is for Valgrind 3.0.x/3.1.x

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/callgrind-0.10.1-r1/work/callgrind-0.10.1/config.log

!!! ERROR: dev-util/callgrind-0.10.1-r1 failed.
Call stack:
  ebuild.sh, line 1521:   Called dyn_compile
  ebuild.sh, line 924:   Called src_compile
  ebuild.sh, line 591:   Called econf
  ebuild.sh, line 526:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

*************
emerge --info
Portage 2.1_pre10 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r4 i686)
=================================================================
System uname: 2.6.16-gentoo-r4 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.risq.qc.ca /ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://gentoo.math.bme.hu http://ftp.heanet.ie/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ http://mirror.isp.net.au/pub/gentoo/ http://gentoo.osuosl.org/ http://adelie.polymtl.ca/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 acl acpi alsa apache2 apm arts artswrappersuid asf avi bash-completion berkdb bitmap-fonts bluetooth bzip2 bzlib cairo caps cdr chm cli crypt css ctype cups curl dba dbus dlloader doc dri dts dvd dvdr dvdread eds effects emboss encode esd examples exif expat fam fbcon ffmpeg firefox flac flatfile foomaticdb fortran ftp gd gdbm gif gimp gimpprint glx gmp gnome gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2 hal hddtemp howl iconv imagemagick imap imlib innodb isdnlog jabber java javascript jpeg jpeg2k kde kdeenablefinal ldap libg++ libsamplerate libwww lm_sensors mad maildir mailwrapper mhash mikmod mime mmx mmxext motif mozdevelop mozilla mozsvg mp3 mpeg mplayer mpm-worker mysql mysqli ncurses nls nodrm nomalloccheck nptl nptlonly nsplugin objc odbc offensive ogg opengl oss pam pcntl pcre pdf pdflib pear perl php pic plugin png posix postgres postgresi ppds pppd python qt quicktime rar rdesktop readline recode reflection ruby samba sasl scanner sdl server session slang sndfile soap sockets speex spell spl spreadsheet sqlite sse ssl subtitles subversion svga symlink tcltk tcpd tetex threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 visualization vorbis win32codecs wmf wv wxgtk1 xine xml xmlreader xmlrpc xmlwriter xmms xorg xpm xprint xscreensaver xsl xv xvid zip zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Vasilis Lourdas 2006-04-30 03:58:32 UTC
Forgot to mention that I have valgrind-3.1.1 installed.
Comment 2 Thomas Fischer 2006-04-30 06:18:01 UTC
(In reply to comment #0)

> checking for valgrind version... 
> configure: error: Unsupported version. This tool is for Valgrind 3.0.x/3.1.x
> 
> !!! Please attach the following file when filing a report to bugs.gentoo.org:
> !!! /var/tmp/portage/callgrind-0.10.1-r1/work/callgrind-0.10.1/config.log

Please provide config.log.
Comment 3 Vasilis Lourdas 2006-04-30 13:53:18 UTC
Created attachment 85857 [details]
config.log

The config.log file.
Comment 4 Thomas Fischer 2006-05-01 02:13:16 UTC
(In reply to comment #3)
> Created an attachment (id=85857) [edit]
> config.log
As far as I understand, the configure script cannot determine Valgrind's version (there is an empty string). Is Valgrind correctly installed? Have you tried to run it? What is the output from  valgrind --version  ?
Comment 5 Vasilis Lourdas 2006-05-01 02:42:21 UTC
$ valgrind --version
Killed
$

It segfaults. Maybe it's related to bug http://bugs.gentoo.org/show_bug.cgi?id=110007 and the 1GB low memory kernel patch that was included by default with kernel 2.6.16 (I think).
Comment 6 Thomas Fischer 2006-05-01 03:29:41 UTC
(In reply to comment #5)
> $ valgrind --version
> Killed
> $
> 
> It segfaults. Maybe it's related to bug
> http://bugs.gentoo.org/show_bug.cgi?id=110007 and the 1GB low memory kernel
> patch that was included by default with kernel 2.6.16 (I think).

I suggest you mark this bug as invalid (is not a callgrind bug) and try to dig into the segfault problem. Try compiling valgrind with debug flags and run it in a debugger. Try out ltrace and strace. If it is a valgrind specific bug, report it upstream.


Comment 7 Vasilis Lourdas 2006-05-01 12:26:43 UTC
(In reply to comment #6)
> I suggest you mark this bug as invalid (is not a callgrind bug) and try to dig
> into the segfault problem. Try compiling valgrind with debug flags and run it
> in a debugger. Try out ltrace and strace. If it is a valgrind specific bug,
> report it upstream.

OK, I will follow your suggestions.