Bug 137860 - (PATCH) Compilation problems with selinux on RHEL 7.3
(PATCH) Compilation problems with selinux on RHEL 7.3
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: vim (Show other bugs)
2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Karsten Hopp
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-11-02 05:02 EST by František Dvořák
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-11-02 06:08:20 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
New version of vim-selinux.patch included in vim source package (3.66 KB, patch)
2004-11-02 05:06 EST, František Dvořák
no flags Details | Diff

  None (edit)
Description František Dvořák 2004-11-02 05:02:49 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040914
Firefox/0.10

Description of problem:
vim package in Fedora has a selinux patch which breaks compilation on
systems without selinux. Only problem is in src/configure.in, I send a
corrected patch vim-selinux.patch.

Version-Release number of selected component (if applicable):
vim-6.2.457-1

How reproducible:
Always

Steps to Reproduce:
1. boot into RHEL 7.3
2. rpmbuild --rebuild vim-6.2.457-1.src.rpm

    

Actual Results:  Headar file selinux.h not found.

Expected Results:  Succesful compilation.

Additional info:
Comment 1 František Dvořák 2004-11-02 05:06:04 EST
Created attachment 106063 [details]
New version of vim-selinux.patch included in vim source package

There is changed only begin of the patch - detection in src/configure.in.
Comment 2 Karsten Hopp 2004-11-02 06:08:20 EST
I usually set the WITH_SELINUX variable in the spec file to 0. This
disables the selinux patch and removes the Buildrequires:
libselinux-devel, too.
Anyway, your patch looks correct and I've added it to the CVS repository.

Note You need to log in before you can comment on or make changes to this bug.