Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 557896

Summary: =sys-devel/gettext-0.19.4 fails test msgunfmt-3 on sys-libs/uclibc
Product: Gentoo Linux Reporter: René Rhéaume <rene.rheaume>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED OBSOLETE    
Severity: normal CC: ysottre
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 570544    
Attachments: build.log from emerge
gettext-tools/tests/test-suite.log
emerge --info output

Description René Rhéaume 2015-08-16 03:02:56 UTC
On uclibc, there is a single failure in gettext 0.19.4 test suite, for the test msgunfmt-3. More specifically, it is with the third file. You can reproduce the problematic output by running the follwing in a shell

cd /var/tmp/portage/sys-devel/gettext-0.19.4/work
LANGUAGE= LC_ALL=C ./gettext-0.19.4-abi_x86_64.amd64/gettext-tools/src/msgunfmt ./gettext-0.19.4/gettext-tools/tests/overflow-3.mo

You will get th message "msgunfmt: memory exhausted" instead of the expected message "msgunfmt: file "./gettext-0.19.4/gettext-tools/tests/overflow-2.mo" is truncated". I had over 1GB of free RAM when I ran the test.

Reproducible: Always

Steps to Reproduce:
1. FEATURES="test" emerge -1 gettext
2.
3.
Actual Results:  
make check failed

Expected Results:  
gettext updated on system
Comment 1 René Rhéaume 2015-08-16 03:03:33 UTC
Created attachment 409122 [details]
build.log from emerge
Comment 2 René Rhéaume 2015-08-16 03:06:55 UTC
Created attachment 409124 [details]
gettext-tools/tests/test-suite.log
Comment 3 René Rhéaume 2015-08-16 03:07:33 UTC
Created attachment 409126 [details]
emerge --info output
Comment 4 Andrew Miller 2015-08-18 01:36:08 UTC
Seems to be arch-related. I get:

* PASS on a uclibc/x86 system with 1GB RAM + 1GB swap
* PASS on a glibc/x86 system with 1GB RAM + 1GB swap
* FAIL on a glibc/amd64 system with 1GB RAM + 1GB swap
* FAIL on a glibc/amd64 system with 2GB RAM + 2GB swap
* PASS on a glibc/amd64 system with 3GB RAM + 2GB swap

However there are some test failures later on (eg unbuffered fputc) that are libc-related.
Comment 5 Anthony Basile gentoo-dev 2018-10-14 12:24:03 UTC
sys-libs/uclibc has been removed from the tree, replaced by sys-libs/uclibc-ng.  if this is still a problem on uclibc-ng, please open a new bug.