Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417549 - sys-devel/binutils-2.20.1: non-POSIX test construction in a configure script
Summary: sys-devel/binutils-2.20.1: non-POSIX test construction in a configure script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal QA (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://sourceware.org/git/?p=binutils...
Whiteboard:
Keywords: Bug, PATCH
Depends on:
Blocks:
 
Reported: 2012-05-26 03:45 UTC by Richard Yao (RETIRED)
Modified: 2012-05-31 04:45 UTC (History)
1 user (show)

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


Attachments
Proposed patch (binutils-2.20.1-fix-non-posix-comparison.patch,575 bytes, patch)
2012-05-26 03:45 UTC, Richard Yao (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Yao (RETIRED) gentoo-dev 2012-05-26 03:45:32 UTC
Created attachment 313079 [details, diff]
Proposed patch

This is caused by cygwin-cat-check. Interestingly, configure.ac does not appear to have this and it does not appear that any of our patches introduce it.

I have attached a patch for the ./configure script that addresses this issue. Also, someone probably should investigate how this was present in the configure script without being present in configure.ac.
Comment 1 Naohiro Aota gentoo-dev 2012-05-27 15:01:15 UTC
It's in config/acx.m4

configure.ac:
> m4_include(config/acx.m4)

config/acx.m4:
> AC_DEFUN([ACX_CHECK_CYGWIN_CAT_WORKS],[
> AC_MSG_CHECKING([to see if cat works as expected])
> echo a >cygwin-cat-check
> if test `cat cygwin-cat-check` == a ; then
>   rm cygwin-cat-check
>   AC_MSG_RESULT(yes)
Comment 2 SpanKY gentoo-dev 2012-05-29 20:09:03 UTC
it's already fixed in 2.22 ...
Comment 3 Richard Yao (RETIRED) gentoo-dev 2012-05-29 20:15:34 UTC
(In reply to comment #2)
> it's already fixed in 2.22 ...

2.22 fails to build on Gentoo FreeBSD. We are stuck at 2.20.1 until bug #347931 is fixed.
Comment 5 SpanKY gentoo-dev 2012-05-31 04:45:49 UTC
should be all set now in the tree; thanks for the report!

Commit message: Push out fix for POSIX test behavior
http://sources.gentoo.org/sys-devel/binutils/binutils-2.20.1-r1.ebuild?r1=1.15&r2=1.16