Subject: bug#36150: ERROR: testsuite/inplace-selinux.sh

From: Assaf Gordon <[email-masked]>
Date: Sat, 29 Jun 2019 02:37:18 -0600

tag 36150 moreinfo
stop

Hello,

On Sun, Jun 09, 2019 at 03:37:31PM +0530, Vineet Jain wrote:
> I was building sed from scratch. While running the tests I had this single
> failure for testsuite/inplace-selinux.sh
> It looks like following was the reason for error.
> inplace-selinux.sh: set-up failure: CONFIG_HEADER not defined
> 
> Do let me know if you need any more information.
> 

Thanks for the report.

Yes - more information is needed.

This error comes from 'init.cfg' in the 'require_selinux_' function.
It happens when the system supports SELinux (based on
/proc/filesystems), but during the './configure' step, somehow
the generated Makefile did not contain a 'CONFIG_HEADER = config.h'
statement (very strange).

Could you provide the exact commands you've used to build 'sed' ?
Also, are you building sed from latest 'git' repository or from
a released tarball ?

And, if possible, please attach the following files (but compress them
before attaching them):
  config.log
  config.status
  config.h
  Makefile

regards,
  - assaf