Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 217637

Summary: mail-client/cone-0.69 fails w/ gcc-4.3.0 (+ bump)
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: cone-0.74.ebuild
cone-0.74-gcc43.patch
cone-0.69-0.74.diff

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-14 12:39:19 UTC
Compiling addmessage.C
addmessage.C: In member function 'virtual void mail::addMessage::assembleMessageRfc822(size_t&, std::string, size_t, mail::callback&)':
addmessage.C:66: error: 'strerror' was not declared in this scope
addmessage.C: In member function 'virtual void mail::addMessage::assembleMultipart(size_t&, std::string, const std::vector<unsigned int, std::allocator<unsigned int> >&, std::string, const mail::mimestruct::parameterList&, mail::callback&)':
addmessage.C:92: error: 'strerror' was not declared in this scope
make[3]: *** [addmessage.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from mail.C:12:
mbox.H:29: warning: declaration 'struct mail::smtpInfo' does not declare anything
make[3]: Leaving directory `/var/tmp/portage/mail-client/cone-0.69/work/cone-0.69/libmail'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/mail-client/cone-0.69/work/cone-0.69/libmail'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mail-client/cone-0.69/work/cone-0.69'
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-14 12:40:54 UTC
Created attachment 149675 [details]
cone-0.74.ebuild

There exists a patch only for cone-0.74. This is a simple rename and add src_unpack function + inherit eutils.
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-14 12:42:02 UTC
Created attachment 149677 [details, diff]
cone-0.74-gcc43.patch

Cone-0.74 compiles when this is added. Snatched from Fedora.
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-14 12:44:03 UTC
Created attachment 149679 [details, diff]
cone-0.69-0.74.diff

The output of
diff -U5 cone-0.74.ebuild /usr/portage/mail-client/cone/cone-0.69.ebuild
FYI only.
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2008-06-09 09:27:55 UTC
+*cone-0.74 (09 Jun 2008)
+
+  09 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+  +files/cone-0.74-gcc43.patch, -cone-0.57-r1.ebuild, -cone-0.63.ebuild,
+  -cone-0.66.ebuild, -cone-0.69.ebuild, +cone-0.74.ebuild:
+  bump and patch for bug #217637
+