public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nscd/798] New: nscd Makefile minor problem
@ 2005-03-23 5:48 gschafer at zip dot com dot au
2005-03-23 5:49 ` [Bug nscd/798] " gschafer at zip dot com dot au
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: gschafer at zip dot com dot au @ 2005-03-23 5:48 UTC (permalink / raw)
To: glibc-bugs
There is a small problem in the nscd/Makefile which is triggered in the
following circumstances:
* build host is a FC3 system (with libselinux-devel installed)
* Glibc is configured with `--with-headers=/somewhere-non-standard'
For reference, here is a relevant snippet of configure output:
checking for is_selinux_enabled in -lselinux... yes
checking for NSCD Flask permissions in selinux/av_permissions.h... yes
In these circumstances the build of nscd fails with the following:
nscd_stat.c:34:30: selinux/selinux.h: No such file or directory
nscd_stat.c:35:26: selinux/avc.h: No such file or directory
The cause is due to the Makefile variable $sysincludes which prevents
/usr/include from being searched.
A similar fix went in for malloc/memusagestat with the following ChangeLog:
2002-09-17 Roland McGrath <roland@redhat.com>
* malloc/Makefile ($(objpfx)memusagestat.o: sysincludes): Define
file-specific variable override so it compiles properly when using
--with-headers.
A similar approach fixes the problem in the nscd/Makefile. I'll attach a patch
that makes it work for me.
Thanks
--
Summary: nscd Makefile minor problem
Product: glibc
Version: 2.3.4
Status: NEW
Severity: normal
Priority: P2
Component: nscd
AssignedTo: drepper at redhat dot com
ReportedBy: gschafer at zip dot com dot au
CC: glibc-bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=798
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug nscd/798] nscd Makefile minor problem
2005-03-23 5:48 [Bug nscd/798] New: nscd Makefile minor problem gschafer at zip dot com dot au
@ 2005-03-23 5:49 ` gschafer at zip dot com dot au
2005-04-29 2:09 ` drepper at redhat dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: gschafer at zip dot com dot au @ 2005-03-23 5:49 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From gschafer at zip dot com dot au 2005-03-23 05:49 -------
Created an attachment (id=442)
--> (http://sources.redhat.com/bugzilla/attachment.cgi?id=442&action=view)
minor fix for nscd/Makefile
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=798
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug nscd/798] nscd Makefile minor problem
2005-03-23 5:48 [Bug nscd/798] New: nscd Makefile minor problem gschafer at zip dot com dot au
2005-03-23 5:49 ` [Bug nscd/798] " gschafer at zip dot com dot au
@ 2005-04-29 2:09 ` drepper at redhat dot com
2005-07-17 5:36 ` gschafer at zip dot com dot au
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: drepper at redhat dot com @ 2005-04-29 2:09 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2005-04-29 02:09 -------
I've applied some patch although I have no sympathy for anybody using
--with-headers. That option is really only for the initial port.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sources.redhat.com/bugzilla/show_bug.cgi?id=798
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug nscd/798] nscd Makefile minor problem
2005-03-23 5:48 [Bug nscd/798] New: nscd Makefile minor problem gschafer at zip dot com dot au
2005-03-23 5:49 ` [Bug nscd/798] " gschafer at zip dot com dot au
2005-04-29 2:09 ` drepper at redhat dot com
@ 2005-07-17 5:36 ` gschafer at zip dot com dot au
2005-07-17 5:38 ` gschafer at zip dot com dot au
2005-07-20 18:10 ` drepper at redhat dot com
4 siblings, 0 replies; 6+ messages in thread
From: gschafer at zip dot com dot au @ 2005-07-17 5:36 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From gschafer at zip dot com dot au 2005-07-17 05:36 -------
(In reply to comment #2)
> I've applied some patch although I have no sympathy for anybody using
> --with-headers. That option is really only for the initial port.
Ulrich, thanks for fixing this. However, there is still a small problem. Those
lines need to be inside the
ifeq (yes,$(have-selinux))
for the fix to be effective. It seems there is a mis-placed `endif'. I'll attach
a tiny patch to correct it.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://sources.redhat.com/bugzilla/show_bug.cgi?id=798
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug nscd/798] nscd Makefile minor problem
2005-03-23 5:48 [Bug nscd/798] New: nscd Makefile minor problem gschafer at zip dot com dot au
` (2 preceding siblings ...)
2005-07-17 5:36 ` gschafer at zip dot com dot au
@ 2005-07-17 5:38 ` gschafer at zip dot com dot au
2005-07-20 18:10 ` drepper at redhat dot com
4 siblings, 0 replies; 6+ messages in thread
From: gschafer at zip dot com dot au @ 2005-07-17 5:38 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From gschafer at zip dot com dot au 2005-07-17 05:38 -------
Created an attachment (id=555)
--> (http://sources.redhat.com/bugzilla/attachment.cgi?id=555&action=view)
another minor fix for nscd/Makefile
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=798
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug nscd/798] nscd Makefile minor problem
2005-03-23 5:48 [Bug nscd/798] New: nscd Makefile minor problem gschafer at zip dot com dot au
` (3 preceding siblings ...)
2005-07-17 5:38 ` gschafer at zip dot com dot au
@ 2005-07-20 18:10 ` drepper at redhat dot com
4 siblings, 0 replies; 6+ messages in thread
From: drepper at redhat dot com @ 2005-07-20 18:10 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From drepper at redhat dot com 2005-07-20 18:10 -------
I see nothing wrong and your proposed patch is definitely wrong. Excluding
sysincludes for nscd_stat has nothing to do with selinux, selinux-LIBS is empty
if have-selinux isn't defined.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
http://sources.redhat.com/bugzilla/show_bug.cgi?id=798
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-07-20 18:10 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-23 5:48 [Bug nscd/798] New: nscd Makefile minor problem gschafer at zip dot com dot au
2005-03-23 5:49 ` [Bug nscd/798] " gschafer at zip dot com dot au
2005-04-29 2:09 ` drepper at redhat dot com
2005-07-17 5:36 ` gschafer at zip dot com dot au
2005-07-17 5:38 ` gschafer at zip dot com dot au
2005-07-20 18:10 ` drepper at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).