Summary: | sys-devel/binutils-2.20.1: non-POSIX test construction in a configure script | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Richard Yao (RETIRED) <ryao> |
Component: | FreeBSD | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | QA | CC: | bsd+disabled |
Priority: | Normal | Keywords: | Bug, PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | FreeBSD | ||
URL: | http://sourceware.org/git/?p=binutils.git;a=commit;h=dcc1615fd81c9a87677cd5b7138c12eab997b60f | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Proposed patch |
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) it's already fixed in 2.22 ... (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. 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 |
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.