Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557832 - =dev-python/configobj-5.0.5 fails tests on sys-libs/uclibc
Summary: =dev-python/configobj-5.0.5 fails tests on sys-libs/uclibc
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: uclibc-porting
  Show dependency tree
 
Reported: 2015-08-15 11:34 UTC by René Rhéaume
Modified: 2018-10-14 12:23 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,33.59 KB, text/plain)
2015-08-15 11:35 UTC, René Rhéaume
Details
emerge --info output (emerge-info.txt,5.91 KB, text/plain)
2015-08-15 11:36 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-15 11:34:40 UTC
configobj 5.0.5 fails its test suite on uclibc.

Reproducible: Always

Steps to Reproduce:
1. FEATURES="test" emerge -1 dev-python/configobj
2.
3.
Actual Results:  
emake failed (test phase)

Expected Results:  
configobj updated on system

Several other Python packages fail their tests on uclibc.
Comment 1 René Rhéaume 2015-08-15 11:35:12 UTC
Created attachment 409064 [details]
build.log
Comment 2 René Rhéaume 2015-08-15 11:36:15 UTC
Created attachment 409066 [details]
emerge --info output
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2015-08-20 06:21:25 UTC
Probably no one of us can test it. So uclibc guys, could you please assist?
Comment 4 René Rhéaume 2015-10-18 14:51:31 UTC
All the errors have the following text in their message :

"OSError: illegal IP address string passed to inet_aton"

Looks like uclibc does not support x.y.z , x.y forms, nor a decimal string of a  32-bit integer in its inet_aton, probably for size considerations. This function is not defined in POSIX, but by 4.3BSD, however inet_addr, for which inet_aton is a replacement, is in POSIX-2001 and defined all these unusual forms and event support octal and hexadecimal (holy cow!). And yet inet_pton, which also supports IPv6 addresses and in POSIX, only supports the dotted-quad for IPv4 addresses.

How should we handle this?
Comment 5 Anthony Basile gentoo-dev 2016-03-01 09:47:13 UTC
(In reply to René Rhéaume from comment #4)
> All the errors have the following text in their message :
> 
> "OSError: illegal IP address string passed to inet_aton"
> 
> Looks like uclibc does not support x.y.z , x.y forms, nor a decimal string
> of a  32-bit integer in its inet_aton, probably for size considerations.
> This function is not defined in POSIX, but by 4.3BSD, however inet_addr, for
> which inet_aton is a replacement, is in POSIX-2001 and defined all these
> unusual forms and event support octal and hexadecimal (holy cow!). And yet
> inet_pton, which also supports IPv6 addresses and in POSIX, only supports
> the dotted-quad for IPv4 addresses.
> 
> How should we handle this?

Sounds to me like we port over what glibc or musl does and properly guard it with _USE_BSD.  Its on the todo list.
Comment 6 Anthony Basile gentoo-dev 2018-10-14 12:23:29 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.