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.
Created attachment 156941 [details, diff] treeviewx-0.5.1-gcc43.patch
Thank you very much for the patch, Marek. I've added this patch to a new revision of the ebuild. Thanks, Markus
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'. *
Created attachment 157195 [details] patch log
Created attachment 157197 [details] emerge --info
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
(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