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

Bug 680542

Summary: app-text/openjade fails in configure phase when cross-compiling due to AC_CHECK_FILES usage
Product: Gentoo Linux Reporter: Wazco <gentoo>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: UNCONFIRMED ---    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: crossdev-patch
emerge --info
build.log

Description Wazco 2019-03-16 06:24:24 UTC
Created attachment 569246 [details, diff]
crossdev-patch

openjade checks for OpenSP include files using AC_CHECK_FILES which fails when cross-compiling with:
configure: error: cannot check for file existence when cross compiling

Attached patch with suggested fix using AS_IF(test -r) instead.
Comment 1 Wazco 2019-03-16 06:25:25 UTC
Created attachment 569248 [details]
emerge --info
Comment 2 Wazco 2019-03-16 06:26:04 UTC
Created attachment 569250 [details]
build.log