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

Bug 576984

Summary: sys-libs/ncurses: ABI_X86="32 64": generated ncurses/include/curses.h is slightly different
Product: Gentoo Linux Reporter: Denis Sokolovsky <ganellon>
Component: [OLD] DevelopmentAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED OBSOLETE    
Severity: normal CC: embedded, esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz
emerge-x86_64-isis_multilib-linux-gnu --info ncurses

Description Denis Sokolovsky 2016-03-10 17:56:44 UTC
Created attachment 427904 [details]
build.log.xz

Cross-build of sys-libs/ncurses for multiple ABI (in my case amd64 and x86) failed with error "Header files have changed between ABIs."

This is actual difference in "include/curses.h":
--- /usr/x86_64-isis_multilib-linux-gnu/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0-abi_x86_32.x86/ncurses/include/curses.h    2016-03-10 19:38:51.923975350 +0200
+++ /usr/x86_64-isis_multilib-linux-gnu/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0-abi_x86_64.amd64/ncurses/include/curses.h  2016-03-10 19:39:47.675922974 +0200
@@ -201,7 +201,7 @@
 #undef FALSE
 #define FALSE   0

-typedef unsigned char NCURSES_BOOL;
+typedef unsigned NCURSES_BOOL;

 #if defined(__cplusplus)       /* __cplusplus, etc. */
Comment 1 Pacho Ramos gentoo-dev 2016-03-14 12:36:18 UTC
Please provide emerge --info ncurses
Comment 2 Denis Sokolovsky 2016-03-14 14:10:31 UTC
Created attachment 428210 [details]
emerge-x86_64-isis_multilib-linux-gnu --info ncurses
Comment 3 SpanKY gentoo-dev 2021-11-01 02:31:32 UTC
that def shouldn't have happened, but i wonder if we can just assume things overall have resolved this ?  that's ncurses-6.0 w/portage-2.2.28.

if you can repro with latest versions, feel free to re-open.