Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557896 - =sys-devel/gettext-0.19.4 fails test msgunfmt-3 on sys-libs/uclibc
Summary: =sys-devel/gettext-0.19.4 fails test msgunfmt-3 on sys-libs/uclibc
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: uclibc-porting
  Show dependency tree
 
Reported: 2015-08-16 03:02 UTC by René Rhéaume
Modified: 2018-10-14 12:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log from emerge (build.log,514.58 KB, text/plain)
2015-08-16 03:03 UTC, René Rhéaume
Details
gettext-tools/tests/test-suite.log (test-suite.log,3.08 KB, text/plain)
2015-08-16 03:06 UTC, René Rhéaume
Details
emerge --info output (emerge-info.txt,5.91 KB, text/plain)
2015-08-16 03:07 UTC, René Rhéaume
Details

Note You need to log in before you can comment on or make changes to this bug.
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.