Bug 446916
| Summary: | ocaml-gettext fails with NULL string not expected at 62 in gettextStubCompat_stubs.c | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Richard W.M. Jones <rjones> |
| Component: | ocaml-gettext | Assignee: | Richard W.M. Jones <rjones> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 0.3.2-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-06-09 15:54:47 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Upstream bug filed: http://le-gall.net/sylvain+violaine/bts/?do=details&id=66 I posted a couple of patches upstream which I'm hoping should fix this. http://annexia.org/tmp/ocaml-gettext-0.3.1-stringoption.patch http://annexia.org/tmp/ocaml-gettext-0.3.1-test-bad-lang.patch |
Programs linked to ocaml-gettext fail with this message if LANG is set to a locale name which cannot be parsed properly: $ LANG=xx virt-df Fatal error: exception Failure("NULL string not expected at 62 in gettextStubCompat_stubs.c") It turns out that setlocale(3) is returning NULL which the stubs aren't expecting.