Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 612840 - gnustep-base/gnustep-make: accesses FILESDIR in pkg_setup
Summary: gnustep-base/gnustep-make: accesses FILESDIR in pkg_setup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal critical (vote)
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: filesdir-bad-scope
  Show dependency tree
 
Reported: 2017-03-16 20:21 UTC by Michał Górny
Modified: 2017-03-20 14:21 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)