<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>136047</bug_id>
          
          <creation_ts>2006-06-08 03:26 0000</creation_ts>
          <short_desc>valgrind-3.2.0 does not emerge on amd64</short_desc>
          <delta_ts>2006-06-11 05:13:54 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>2006.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jean.brefort@normalesup.org</reporter>
          <assigned_to>griffon26@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>jean.brefort@normalesup.org</who>
            <bug_when>2006-06-08 03:26:42 0000</bug_when>
            <thetext>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=&quot;\&quot;x86-linux\&quot;&quot; -DVGA_x86=1 -DVGO_linux=1 -DVGP_x86_linux=1 -DVG_LIBDIR=&quot;\&quot;/usr/lib64/valgrind&quot;\&quot;   -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 &quot;.deps/libcoregrind_x86_linux_a-m_commandline.Tpo&quot; -c -o libcoregrind_x86_linux_a-m_commandline.o `test -f &apos;m_commandline.c&apos; || echo &apos;./&apos;`m_commandline.c; \
        then mv -f &quot;.deps/libcoregrind_x86_linux_a-m_commandline.Tpo&quot; &quot;.deps/libcoregrind_x86_linux_a-m_commandline.Po&quot;; else rm -f &quot;.deps/libcoregrind_x86_linux_a-m_commandline.Tpo&quot;; 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=&quot;amd64 ~amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-march=athlon64 -g -O2 -pipe&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/share/X11/xkb&quot;
CONFIG_PROTECT_MASK=&quot;/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d&quot;
CXXFLAGS=&quot;-march=athlon64 -g -O2 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig distlocks metadata-transfer sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo/&quot;
LANG=&quot;fr_FR.UTF-8&quot;
LC_ALL=&quot;fr_FR.UTF-8&quot;
LINGUAS=&quot;de es fr it pl ru zh_CN&quot;
MAKEOPTS=&quot;&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=&apos;/distfiles&apos; --exclude=&apos;/local&apos; --exclude=&apos;/packages&apos;&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jean.brefort@normalesup.org</who>
            <bug_when>2006-06-10 23:53:47 0000</bug_when>
            <thetext>I&apos;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 &lt; /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 &lt; /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&apos;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 &lt; /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&apos;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 &lt; /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&apos;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 &lt; /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&apos;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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jean.brefort@normalesup.org</who>
            <bug_when>2006-06-11 00:46:44 0000</bug_when>
            <thetext>Created an attachment (id=88884)
fixes the problem for me at least

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>griffon26@gentoo.org</who>
            <bug_when>2006-06-11 05:13:54 0000</bug_when>
            <thetext>Right. I added a slightly modified version of this fix to the ebuild.

Thanks for helping out.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>88884</attachid>
            <date>2006-06-11 00:46 0000</date>
            <desc>fixes the problem for me at least</desc>
            <filename>valgring-3.2.0.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHZhbGdyaW5kLTMuMi4wLmVidWlsZC5vbGQJMjAwNi0wNi0wNyAxMToyNDo0OS4wMDAwMDAw
MDAgKzAyMDAKKysrIHZhbGdyaW5kLTMuMi4wLmVidWlsZAkyMDA2LTA2LTExIDA5OjQ3OjIyLjA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