First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 235496
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Sébastien Fabbro <bicatali@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Erik Zeek <zeekec@mad.scientist.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge_info.txt emerge --info text/plain Erik Zeek 2008-08-23 03:28 0000 8.95 KB Details
dev-lang:icc-10.1.017-r1:20080823-032353.log emerge log text/plain Erik Zeek 2008-08-23 03:29 0000 1.85 KB Details
icc-add-amd64-preprocessor-directives.patch-31754.out epatch ouput text/plain Erik Zeek 2008-08-23 03:29 0000 3.23 KB Details
icc.diff icc.diff patch Harald van Dijk 2008-08-23 10:09 0000 668 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 235496 depends on: Show dependency tree
Bug 235496 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-08-23 03:28 0000
The icc-add-amd64-preprocessor-directives.patch fails to apply on my machine.

>>> Emerging (1 of 5) dev-lang/icc-10.1.017-r1
 * l_cc_p_10.1.017_ia32.tar.gz RMD160 SHA1 SHA256 size ;-) ...                 
                                                                               
            [ ok ]
 * checking ebuild checksums ;-) ...                                           
                                                                               
            [ ok ]
 * checking auxfile checksums ;-) ...                                          
                                                                               
            [ ok ]
 * checking miscfile checksums ;-) ...                                         
                                                                               
            [ ok ]
 * Checking for at least 512MBytes RAM ...                                     
                                                                               
             [ ok ]
 * Checking for at least 300MBytes disk space at ${T} ...                      
                                                                               
             [ ok ]
>>> Unpacking source...
>>> Unpacking l_cc_p_10.1.017_ia32.tar.gz to /gentoo/tmp/portage/dev-lang/icc-10.1.017-r1/work
 * Extracting intel-icc101017-10.1.017-1.i386.rpm...
 * Extracting intel-isubh101017-10.1.017-1.i386.rpm...
 * Applying icc-add-amd64-preprocessor-directives.patch ...

 * Failed Patch: icc-add-amd64-preprocessor-directives.patch !
 *  (
/gentoo/portage/dev-lang/icc/files/icc-add-amd64-preprocessor-directives.patch
)
 *
 * Include in your bugreport the contents of:
 *
 *  
/gentoo/tmp/portage/dev-lang/icc-10.1.017-r1/temp/icc-add-amd64-preprocessor-directives.patch-31754.out

 *
 * ERROR: dev-lang/icc-10.1.017-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2280:  Called epatch
'/gentoo/portage/dev-lang/icc/files/icc-add-amd64-preprocessor-directives.patch'
 *             environment, line 1252:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: icc-add-amd64-preprocessor-directives.patch!
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/log/portage/dev-lang:icc-10.1.017-r1:20080823-032353.log'.
 * The ebuild environment file is located at
'/gentoo/tmp/portage/dev-lang/icc-10.1.017-r1/temp/environment'.
 *

------- Comment #1 From Erik Zeek 2008-08-23 03:28:34 0000 -------
Created an attachment (id=163593) [edit]
emerge --info

------- Comment #2 From Erik Zeek 2008-08-23 03:29:01 0000 -------
Created an attachment (id=163594) [edit]
emerge log

------- Comment #3 From Erik Zeek 2008-08-23 03:29:30 0000 -------
Created an attachment (id=163596) [edit]
epatch ouput

------- Comment #4 From Harald van Dijk 2008-08-23 10:05:46 0000 -------
Well, aside from the fact that the patch just doesn't work right now, the patch
is the wrong approach anyway. Defining __amd64 in a header file means

#if defined(__amd64__)
#define HAVE_64BIT
#endif

#include <header a>
#if HAVE_64BIT
#include <header b>
#endif

cannot possibly work, because __amd64__ isn't defined yet. It should be defined
in icc.cfg/icpc.cfg, as suggested on
<http://softwarecommunity.intel.com/isn/Community/en-US/forums/thread/30251206.aspx>
(from #233739, no less)

I'll attach a patch shortly.

------- Comment #5 From Harald van Dijk 2008-08-23 10:09:47 0000 -------
Created an attachment (id=163608) [edit]
icc.diff

This patch makes __amd64__ conditional on use amd64, and defines it in the
configuration files instead of a header.

------- Comment #6 From Sébastien Fabbro 2008-08-23 11:45:20 0000 -------
Fixed in cvs. Thanks!

First Last Prev Next    No search results available      Search page      Enter new bug