[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-selinux-list
Subject:    Re: error in 'make load'
From:       gf <gyromagnetic () gmail ! com>
Date:       2006-03-22 13:02:37
Message-ID: ace26be40603220502w79d1b941mcff55aa9d72dc142 () mail ! gmail ! com
[Download RAW message or body]

On 3/22/06, Martin Ebourne <lists@ebourne.me.uk> wrote:
> Stephen Smalley wrote:
>
> I've just come across this error myself. I've got two updated FC4
> machines here both doing the same thing.
>
> Turns out it's a 'cd' in the Makefile that is echoing the new directory
> and getting caught up in the destination file. The odd thing is that my
> shell setup has never had cd echoing the destination (it would annoy me
> - if I've just cd'd, I know where to!), so this must be something from
> Fedora.
>
> Anyhow, the attached patch fixes it for me. Any chance this can make it
> upstream?
>
> [Stephen, thanks for the clue that let me to find this!]
>
> Cheers,
>
> Martin.
>

Hi,
With Stephen's help, I reached the same conclusion.
I should have cc'ed my latter emails to the list.
I think that the problem arises due to the presence of a non-blank
CDPATH. It appears that POSIX.2 says that if a nonempty directory from
CDPATH is used to find the directory to change to, the new directory
name is echoed to stdout, regardless of whether or not the shell is
interactive. Aside from the patch that Martin provided, 'unsetting'
CDPATH cures the problem for me.

- g

--
fedora-selinux-list mailing list
fedora-selinux-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-selinux-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic