Bug 246152 - shells/bash-static build fails cannot compute sizeof (wchar_t)
Summary: shells/bash-static build fails cannot compute sizeof (wchar_t)
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Emanuel Haupt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-03 22:21 UTC by mike miskulin
Modified: 2020-12-27 22:32 UTC (History)
1 user (show)

See Also:
linimon: maintainer-feedback? (ehaupt)


Attachments
Build log (164.08 KB, text/plain)
2020-05-04 06:51 UTC, Emanuel Haupt
no flags Details
screen output while building (16.84 KB, text/plain)
2020-05-04 18:23 UTC, mike miskulin
no flags Details
configure log (608.19 KB, text/plain)
2020-05-12 08:54 UTC, Emanuel Haupt
no flags Details
typescript (138.91 KB, text/plain)
2020-05-12 08:54 UTC, Emanuel Haupt
no flags Details
config.log (393.22 KB, text/plain)
2020-05-14 16:21 UTC, mike miskulin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description mike miskulin 2020-05-03 22:21:06 UTC
While trying to build bash-static from ports on a vanilla 12.1-stable I get an error:

cannot compute sizeof (wchar_t)

and all work stops.

ports were checked on May 1

I changed the CC in makefile to use gcc9 and it all compiles as expected.

GNU bash, version 5.0.17(0)-release (amd64-portbld-freebsd12.1)
Comment 1 Emanuel Haupt freebsd_committer freebsd_triage 2020-05-04 06:51:42 UTC
Created attachment 214087 [details]
Build log

I've just built shells/bash-static on 12.1-STABLE amd64 without any error (see build log attached). Can you provide a full build log and show the contents of /etc/{make,src,ports}.conf? Also, can you provide a list of your installed ports?
Comment 2 mike miskulin 2020-05-04 18:23:02 UTC
Created attachment 214117 [details]
screen output while building

I used script to capture the build session. The file is all plain text.
Comment 3 mike miskulin 2020-05-04 18:28:49 UTC
Hi - from googling it looks like I need to have this poudriere installed for building ports, I do not.  Just a basic end-user running make install clean 

I used script to capture the screen with a batch make (so default configuration), you can see where it bombs out.  If you want, there is also a config.log in one of the work directories. 

As to /etc/make.conf, et al - none exist on this system.

If there is some otherway I can assist, please let me know. This 12.1 stable, no old files/stale libs running on an Xeon E3-1245 v3 w/ 32GB.
Comment 4 Emanuel Haupt freebsd_committer freebsd_triage 2020-05-11 15:40:56 UTC
This might be caused by (https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/versions-12.html) but didn't have the time to verify:

1201515	360545	May 1, 2020	12-STABLE after updating llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to 10.0.0 release.
Comment 5 Emanuel Haupt freebsd_committer freebsd_triage 2020-05-12 08:54:04 UTC
Created attachment 214410 [details]
configure log
Comment 6 Emanuel Haupt freebsd_committer freebsd_triage 2020-05-12 08:54:30 UTC
Created attachment 214411 [details]
typescript
Comment 7 Emanuel Haupt freebsd_committer freebsd_triage 2020-05-12 08:55:58 UTC
I've just tried to build bash-static on a recent 12.1-STABLE without any issues. See attachments.
Comment 8 mike miskulin 2020-05-14 16:21:28 UTC
Created attachment 214493 [details]
config.log

Attached is config.log from port build (ie, make install clean from port directory)
Comment 9 Emanuel Haupt freebsd_committer freebsd_triage 2020-12-27 22:32:48 UTC
Builds fine without any errors on the package build servers. Can't reproduce locally.