Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136047 - valgrind-3.2.0 does not emerge on amd64
Summary: valgrind-3.2.0 does not emerge on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Maurice van der Pot (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-08 03:26 UTC by Jean Bréfort
Modified: 2006-06-11 05:13 UTC (History)
0 users

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


Attachments
fixes the problem for me at least (valgring-3.2.0.ebuild.patch,962 bytes, patch)
2006-06-11 00:46 UTC, Jean Bréfort
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jean Bréfort 2006-06-08 03:26:42 UTC
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../coregrind -I.. -I../coregrind/x86 -I../coregrind/linux -I../coregrind/x86-linux -I../include -I../VEX/pub -DVG_PLATFORM="\"x86-linux\"" -DVGA_x86=1 -DVGO_linux=1 -DVGP_x86_linux=1 -DVG_LIBDIR="\"/usr/lib64/valgrind"\"   -m32 -fno-stack-protector -O -g -Wmissing-prototypes -Winline -Wall -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -march=athlon64 -g -O2 -pipe -Wno-long-long -Wno-pointer-sign -Wdeclaration-after-statement -MT libcoregrind_x86_linux_a-m_commandline.o -MD -MP -MF ".deps/libcoregrind_x86_linux_a-m_commandline.Tpo" -c -o libcoregrind_x86_linux_a-m_commandline.o `test -f 'm_commandline.c' || echo './'`m_commandline.c; \
        then mv -f ".deps/libcoregrind_x86_linux_a-m_commandline.Tpo" ".deps/libcoregrind_x86_linux_a-m_commandline.Po"; else rm -f ".deps/libcoregrind_x86_linux_a-m_commandline.Tpo"; exit 1; fi
In file included from /usr/include/features.h:346,
          from /usr/include/setjmp.h:26,
          from pub_core_basics.h:65,
          from m_commandline.c:31:
/usr/include/gnu/stubs.h:7:27: erreur: gnu/stubs-32.h : No such file or directory
make[3]: *** [libcoregrind_x86_linux_a-m_commandline.o] Erreur 1

emerge --info
Portage 2.1_rc4-r4 (default-linux/amd64/2006.0/no-multilib, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.1
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -g -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -g -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="de es fr it pl ru zh_CN"
MAKEOPTS=""
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts blas bonobo bzip2 bzlib cdr clamav cli crypt cups dba dbus debug dri dvd dvdr eds emboss encode esd evolution fam firefox foomaticdb fortran ftp gd gdbm gif gimp gnome gpm gstreamer gtk gtk2 guile hal hdf5 imap imlib ipv6 isdnlog javascript jpeg lzw lzw-tiff mopac7 mp3 mpeg mpqc ncurses nls nptl nptlonly nsplugin ogg openbabel opengl pam pcre pdf pdflib perl png pop postgres pppd print python quicktime readline reflection samba sdl session spell spl ssl tcpd tetex threads tiff toolbar truetype truetype-fonts type1-fonts usb userlocales vorbis xml2 xorg xpm xv zlib elibc_glibc kernel_linux linguas_de linguas_es linguas_fr linguas_it linguas_pl linguas_ru linguas_zh_CN userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jean Bréfort 2006-06-10 23:53:47 UTC
I'm sorry, I missed the first error message. emerge did not die!

 * Applying valgrind-3.1.0-amd64-nomultilib-fix.patch ...

 * Failed Patch: valgrind-3.1.0-amd64-nomultilib-fix.patch !
 *  ( /usr/portage/dev-util/valgrind/files/valgrind-3.1.0-amd64-nomultilib-fix.patch )

Output file contents are:

***** valgrind-3.1.0-amd64-nomultilib-fix.patch *****

=====================================================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-util/valgrind/files/valgrind-3.1.0-amd64-nomultilib-fix.patch

=====================================================
patching file configure
Hunk #1 FAILED at 4138.
1 out of 1 hunk FAILED -- saving rejects to file configure.rej
=====================================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-util/valgrind/files/valgrind-3.1.0-amd64-nomultilib-fix.patch

=====================================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- configure.bak      2006-02-20 23:50:24.000000000 +0100
|+++ configure  2006-02-20 23:50:47.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=====================================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-util/valgrind/files/valgrind-3.1.0-amd64-nomultilib-fix.patch

=====================================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- configure.bak      2006-02-20 23:50:24.000000000 +0100
|+++ configure  2006-02-20 23:50:47.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=====================================================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-util/valgrind/files/valgrind-3.1.0-amd64-nomultilib-fix.patch

=====================================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- configure.bak      2006-02-20 23:50:24.000000000 +0100
|+++ configure  2006-02-20 23:50:47.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=====================================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-util/valgrind/files/valgrind-3.1.0-amd64-nomultilib-fix.patch

=====================================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- configure.bak      2006-02-20 23:50:24.000000000 +0100
|+++ configure  2006-02-20 23:50:47.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Comment 2 Jean Bréfort 2006-06-11 00:46:44 UTC
Created attachment 88884 [details, diff]
fixes the problem for me at least
Comment 3 Maurice van der Pot (RETIRED) gentoo-dev 2006-06-11 05:13:54 UTC
Right. I added a slightly modified version of this fix to the ebuild.

Thanks for helping out.