[Ohrrpgce] SVN: teeemcee/8442 scons: add portable=1 option, which forces linking to libncurses.so.5 an

Ralph Versteegen teeemcee at gmail.com
Thu Feb 23 17:52:02 PST 2017


We should definitely do that, although there are two potential problems:

1) the technicality that using lbifb.a compiled against headers for ncurses
ABI 6 and linking to ncurses ABI 5 might cause a crash... but I just tested
gfx_console, which uses vastly more of ncurses than libfb does, and even
that works fine.

2) apparently Arch Linux doesn't have libncurses.so.5, because they are
contrarian, and I see Linux From Scratch also lists it as optional, only if
you need to run binary-only packages. But Ichiro has created an Arch Linux
package, so we don't need to worry about that. Reading more, I found:
- The latest version (5.0) of Linux Standard Base requires libncurses.so.5
- Debian and Ubuntu have officially abandoned LSB because it's too much
work to check they conform, but can still be expected to follow most of it
(they provide libncurses.so.5)
- ncurses actually has a configure option --with-abi-version=5, so it's
still maintained

So it's clear that portable=1 should not be the default for people
compiling themselves.

The list of library versions required by LSB 4.1 can be seen here:
https://www.cendio.com/bugzilla/show_bug.cgi?id=5828#c13


On 24 February 2017 at 11:51, James Paige <Bob at hamsterrepublic.com> wrote:

> Nifty!
>
> Any reason I shouldn't turn portable=1 on for the nightly builds?
>
> ---
> James
>
>
> On Thu, Feb 23, 2017 at 7:25 AM, <subversion at hamsterrepublic.com> wrote:
>
>> teeemcee
>> 2017-02-23 07:25:26 -0800 (Thu, 23 Feb 2017)
>> 200
>> scons: add portable=1 option, which forces linking to libncurses.so.5 and
>> checks glibc/libstdc++/gcc version
>>
>> For me this enables building on slackware-current and running on
>> 32-bit lubuntu 14.04 LTS.
>> ---
>> U   wip/SConscript
>> U   wip/ohrbuild.py
>> _______________________________________________
>> Ohrrpgce mailing list
>> ohrrpgce at lists.motherhamster.org
>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>
>
>
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20170224/7bb392c6/attachment.htm>


More information about the Ohrrpgce mailing list