Bug 233472

Summary: shells/bash STATIC does not compile after upgrade from 11-STABLE to 12-STABLE
Product: Ports & Packages Reporter: jakub_lach
Component: Individual Port(s)Assignee: Emanuel Haupt <ehaupt>
Status: Closed Overcome By Events    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (ehaupt)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description jakub_lach 2018-11-24 15:10:49 UTC
checking for sig_atomic_t in signal.h... yes
checking size of char... Segmentation fault (core dumped)
configure: error: in `/usr/obj/usr/ports/shells/bash/work/bash-4.4':
configure: error: cannot compute sizeof (char)
See `config.log' for more details
===>  Script "configure" failed unexpectedly.

Default version is ok, system is self hosted, other ports recompiled fine.
Comment 1 Emanuel Haupt freebsd_committer freebsd_triage 2018-11-25 11:57:05 UTC
Confirmed. I'm trying to isolate the change in base [1] that caused the break.

[1] https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/versions-12.html
Comment 2 jakub_lach 2018-11-25 12:25:51 UTC
Thank you for prompt reply :)

For now, I've just added

shells_bash_UNSET=STATIC

to ports.conf.
Comment 3 Emanuel Haupt freebsd_committer freebsd_triage 2019-01-07 08:24:42 UTC
I've just tried compiling it on a recent version of 12-STABLE (r342806) and whatever caused the issue seems to be gone. I can't reproduce the compiler error anymore. Can you confirm?
Comment 4 jakub_lach 2019-01-08 00:27:09 UTC
Confirmed on FreeBSD 12.0-STABLE #0 r342683. Thanks!