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

Bug 612840

Summary: gnustep-base/gnustep-make: accesses FILESDIR in pkg_setup
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo Gnustep project <gnustep>
Status: RESOLVED FIXED    
Severity: critical    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 586416    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-03-16 20:21:17 UTC
if $(tc-getCC) -Werror -Wl,-l:libobjc.so.${ver} \
    "${FILESDIR}"/testlibobjc.m -o /dev/null 2> /dev/null;

FILESDIR is not accessible in pkg_setup() yet. This is completely broken for binary packages, and will be completely rejected by Portage soon (~2-4 weeks). Please consider it urgent to fix it.

If you insist on early processing of the check, you can just inline the code in a <<.
Comment 1 Bernard Cafarelli gentoo-dev 2017-03-20 14:21:38 UTC
Ack, I updated current ebuild to test libobjc.so.* support with inlined check.

A pkg_* processing is nice as binary packages still need to check for system support (same libobjc.so version as in the build host)