First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 227245
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Olivier Fisette <ribosome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Marek Miller <mlm@ngc17.pl>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
treeviewx-0.5.1-gcc43.patch treeviewx-0.5.1-gcc43.patch patch Marek Miller 2008-06-15 16:05 0000 1.81 KB Details | Diff
treeviewx-0.5.1-gcc4.3.patch-9506.out patch log text/plain Erik Zeek 2008-06-17 04:23 0000 14.86 KB Details
emerge_info.txt emerge --info text/plain Erik Zeek 2008-06-17 04:24 0000 8.75 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 227245 depends on: Show dependency tree
Bug 227245 blocks: 198121
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-06-15 16:05 0000
Again missing headers.

Steps to reproduce:
1. USE="" emerge -v1 =sci-biology/treeviewx-0.5.1

The error messages:
1.
> charactersblock.cpp: In member function 'char CharactersBlock::GetState(int, int, int)':
> charactersblock.cpp:1048: error: 'strlen' was not declared in this scope

2.
> nexus.cpp: In member function 'void Nexus::Execute(NexusToken&, bool)':
> nexus.cpp:249: error: 'strcpy' was not declared in this scope

3.
> nexustoken.cpp: In member function 'bool NexusToken::IsPunctuation(char)':
> nexustoken.cpp:455: error: 'strchr' was not declared in this scope

4.
> nxsstring.cpp: In member function 'nxsstring& nxsstring::operator+=(double)':
> nxsstring.cpp:29: error: 'strlen' was not declared in this scope

5.
> Parse.cpp: In member function 'virtual bool Parser::IsPunctuation(char)':
> Parse.cpp:249: error: 'strchr' was not declared in this scope

6.
> TreeLib.cpp: In member function 'virtual int Tree::Parse(const char*)':
> TreeLib.cpp:463: error: 'atof' was not declared in this scope

etc. etc. etc.

My emerge --info: as in the bug 226663, comment 2.

------- Comment #1 From Marek Miller 2008-06-15 16:05:32 0000 -------
Created an attachment (id=156941) [edit]
treeviewx-0.5.1-gcc43.patch

------- Comment #2 From Markus Dittrich 2008-06-16 10:47:12 0000 -------
Thank you very much for the patch, Marek.
I've added this patch to a new revision of the ebuild.

Thanks,
Markus

------- Comment #3 From Erik Zeek 2008-06-17 04:22:54 0000 -------
This patch is currently failing to apply.

 * tv-0.5.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                             
                                                                               
             [ ok ]
 * checking ebuild checksums ;-) ...                                           
                                                                               
             [ ok ]
 * checking auxfile checksums ;-) ...                                          
                                                                               
             [ ok ]
 * checking miscfile checksums ;-) ...                                         
                                                                               
             [ ok ]
 * checking tv-0.5.1.tar.gz ;-) ...                                            
                                                                               
             [ ok ]
>>> Unpacking source...
>>> Unpacking tv-0.5.1.tar.gz to /gentoo/tmp/portage/sci-biology/treeviewx-0.5.1-r1/work
 * Applying treeviewx-wxt.patch ...                                            
                                                                               
             [ ok ]
 * Applying treeviewx-0.5.1-gcc4.3.patch ...

 * Failed Patch: treeviewx-0.5.1-gcc4.3.patch !
 *  ( /gentoo/portage/sci-biology/treeviewx/files/treeviewx-0.5.1-gcc4.3.patch
)
 *
 * Include in your bugreport the contents of:
 *
 *  
/gentoo/tmp/portage/sci-biology/treeviewx-0.5.1-r1/temp/treeviewx-0.5.1-gcc4.3.patch-9506.out

 *
 * ERROR: sci-biology/treeviewx-0.5.1-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2227:  Called epatch
'/gentoo/portage/sci-biology/treeviewx/files/treeviewx-0.5.1-gcc4.3.patch'
 *             environment, line 1166:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: treeviewx-0.5.1-gcc4.3.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/sci-biology:treeviewx-0.5.1-r1:20080617-042007.log'.
 * The ebuild environment file is located at
'/gentoo/tmp/portage/sci-biology/treeviewx-0.5.1-r1/temp/environment'.
 *

------- Comment #4 From Erik Zeek 2008-06-17 04:23:15 0000 -------
Created an attachment (id=157195) [edit]
patch log

------- Comment #5 From Erik Zeek 2008-06-17 04:24:24 0000 -------
Created an attachment (id=157197) [edit]
emerge --info

------- Comment #6 From Markus Dittrich 2008-06-17 10:33:52 0000 -------
Yeah, looks like cvs mangled the patch when I committed
it (thanks cvs!). I've slightly re-arranged that patch
to prevent this from happening and cvs seems to not
have touched it this time. Please re-sync in an hour or
so and try again.

Sorry for the inconvenience.

Best,
Markus

------- Comment #7 From Erik Zeek 2008-06-17 13:18:19 0000 -------
(In reply to comment #6)
> Yeah, looks like cvs mangled the patch when I committed
> it (thanks cvs!). I've slightly re-arranged that patch
> to prevent this from happening and cvs seems to not
> have touched it this time. Please re-sync in an hour or
> so and try again.
> 
> Sorry for the inconvenience.
> 
> Best,
> Markus
> 

That fixed it.

Thanks,
Erik

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