Re: sysutils/screen compilation oddities on stable-14

From: Cy Schubert <Cy.Schubert_at_cschubert.com>
Date: Tue, 02 Jan 2024 21:15:24 UTC
In message <3611bca4-5157-4d7e-abb6-16a34bac8d99@chen.org.nz>, Jonathan 
Chen wr
ites:
> Hi,
>
> I'm running a somewhat recent stable-14/amd64 (refreshed 27-Dec-2023), 
> and I wonder if someone can explain what is happening...
>
> I've got a dev-host which I use as a repo-builder. I have discovered 
> that if I have linux_enable="YES" on the repo-builder, the resultant 
> executable from the sysutils/screen package produced will only behave as 
> expected on other hosts that also have linux_enable="YES". On hosts 
> where linux_enable is *not* defined (ie linux_enable="NO"), `screen' 
> will start up and then immediatly quit. There are no core-dumps, or any 
> other noticeable error-messages.

Is there anything in /var/log/messages or dmesg?

>
> If I set linux_enable="NO" on the repo-builder, the executable from the 
> sysutils/screen package produced will work as expected on _all_ hosts, 
> ie linux_enable=YES|NO.

How does your repo-builder build packages? Using poudriere?

>
> Can someone explain why this is so?

I use screen on 15-CURRENT without linux_enable. I build using poudriere.


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy@nwtime.org>    Web:  https://nwtime.org

			e^(i*pi)+1=0