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

Bug 501062

Summary: profiles: FreeBSD 9.0 or later version's test command supports GNU's == extension.
Product: Gentoo/Alt Reporter: Yuta SATOH <nigoro.dev>
Component: FreeBSDAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
URL: http://svnweb.freebsd.org/base?view=revision&revision=219084
See Also: https://bugs.gentoo.org/show_bug.cgi?id=256305
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: sample patch for profiles/default/bsd/profile.bashrc
sample patch that changed the error message for profiles/default/bsd/profile.bashrc

Description Yuta SATOH 2014-02-12 11:47:19 UTC
Currently, == is also supported.

I think better to change the error message or remove 'if grep -q "\\<test .*==" "${S}" -r --include configure; then' part from profiles/default/bsd/profile.bashrc.
Comment 1 Yuta SATOH 2014-02-12 11:51:28 UTC
Created attachment 370212 [details, diff]
sample patch for profiles/default/bsd/profile.bashrc

Sample patch to be removed
Comment 2 Naohiro Aota gentoo-dev 2014-02-13 07:00:26 UTC
The configure script should be POSIX compatible even if FreeBSD silently support it. To catch such QA issue, I'm against removing it.
Comment 3 Yuta SATOH 2014-02-13 10:57:55 UTC
Created attachment 370304 [details, diff]
sample patch that changed the error message for profiles/default/bsd/profile.bashrc

(In reply to Naohiro Aota from comment #2)
> The configure script should be POSIX compatible even if FreeBSD silently
> support it. To catch such QA issue, I'm against removing it.
ok.
What do you think to change the error message ?

I think this line is not correct now...
eerror "The configure checks of this package may not function properly"
Comment 4 Naohiro Aota gentoo-dev 2014-03-04 15:23:47 UTC
Well, this is bsd/profile.bashrc not bsd/fbsd/profile.bashrc
Other (feature) Gentoo/BSDs still suffer with this problem. The comment is still true for other BSDs.
Comment 5 Yuta SATOH 2018-01-10 13:23:25 UTC
(In reply to Naohiro Aota from comment #4)
> Well, this is bsd/profile.bashrc not bsd/fbsd/profile.bashrc
> Other (feature) Gentoo/BSDs still suffer with this problem. The comment is
> still true for other BSDs.

I'm sorry for the late reply. I agree with you. 
closing.