Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227245 - [gcc-4.3] sci-biology/treeviewx-0.5.1 fails to compile w/ gcc-4.3
Summary: [gcc-4.3] sci-biology/treeviewx-0.5.1 fails to compile w/ gcc-4.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Olivier Fisette (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-06-15 16:05 UTC by Marek Miller
Modified: 2008-06-17 13:18 UTC (History)
2 users (show)

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


Attachments
treeviewx-0.5.1-gcc43.patch (treeviewx-0.5.1-gcc43.patch,1.81 KB, patch)
2008-06-15 16:05 UTC, Marek Miller
Details | Diff
patch log (treeviewx-0.5.1-gcc4.3.patch-9506.out,14.86 KB, text/plain)
2008-06-17 04:23 UTC, Erik Zeek
Details
emerge --info (emerge_info.txt,8.75 KB, text/plain)
2008-06-17 04:24 UTC, Erik Zeek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Miller 2008-06-15 16:05:09 UTC
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 Marek Miller 2008-06-15 16:05:32 UTC
Created attachment 156941 [details, diff]
treeviewx-0.5.1-gcc43.patch
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2008-06-16 10:47:12 UTC
Thank you very much for the patch, Marek.
I've added this patch to a new revision of the ebuild.

Thanks,
Markus
Comment 3 Erik Zeek 2008-06-17 04:22:54 UTC
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 Erik Zeek 2008-06-17 04:23:15 UTC
Created attachment 157195 [details]
patch log
Comment 5 Erik Zeek 2008-06-17 04:24:24 UTC
Created attachment 157197 [details]
emerge --info
Comment 6 Markus Dittrich (RETIRED) gentoo-dev 2008-06-17 10:33:52 UTC
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 Erik Zeek 2008-06-17 13:18:19 UTC
(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