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

Bug 380957

Summary: dev-libs/newt: failed to compile on Mac OSX
Product: Gentoo/Alt Reporter: yegle <cnyegle>
Component: OtherAssignee: Gentoo non-Linux Team <alt>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info =dev-libs/newt-0.52.12
build.log
Patch from macports, modified a little
Makefile.in.patch
newt-0.52.13.ebuild

Description yegle 2011-08-28 15:19:24 UTC
Bug 370457 depends on this package.

whiptail.c: In function 'readTextFile':
whiptail.c:300: error: storage size of 's' isn't known
make: *** [whiptail.o] Error 1
emake failed


Reproducible: Always
Comment 1 yegle 2011-08-28 15:20:34 UTC
Created attachment 284883 [details]
emerge --info =dev-libs/newt-0.52.12
Comment 2 yegle 2011-08-28 15:21:17 UTC
Created attachment 284885 [details]
build.log
Comment 3 yegle 2011-09-13 15:55:59 UTC
Managed to build it with some modificated patch from MacPorts
https://trac.macports.org/browser/trunk/dports/devel/libnewt/files
Comment 4 yegle 2011-09-13 15:57:23 UTC
Created attachment 286357 [details, diff]
Patch from macports, modified a little
Comment 5 yegle 2011-09-13 15:58:29 UTC
Created attachment 286359 [details, diff]
Makefile.in.patch

Patch from macports, without modification
Comment 6 yegle 2011-09-13 15:59:04 UTC
Created attachment 286361 [details]
newt-0.52.13.ebuild
Comment 7 yegle 2013-06-05 20:57:57 UTC
Unfortunately in newt-0.52.15 the author starts passing `--version-script` option to ld, which is not supported by the toolchain (gcc-apple 4.2.1_p5666-r1)

I really hope this ebuild is officially supported in prefix. Since app-misc/byobu depends on this package.
Comment 8 yegle 2016-06-06 04:03:41 UTC
I don't see anyone actively working on this and since I don't use byobu anymore I don't have interest in following this bug.