[DSE-Dev] Bug#708435: aide: FTBFS: (.text+0x1d8): undefined reference to `pthread_atfork'

Hannes von Haugwitz hannes at vonhaugwitz.com
Fri May 17 07:06:31 UTC 2013


Hi,

On Thu, May 16, 2013 at 11:09:11PM +0200, Laurent Bigonville wrote:
> Hannes von Haugwitz wrote:
> > I'm reassigning this bug to you, because I think the FTBFS is caused
> > by a missing 'Libs.private: -lpthread' line in the libselinux.pc
> > file.  The flag is again (see #388375) needed due to the recent
> > changes in 'src/procattr.c' of version 2.1.13.
> 
> Thanks for your bug report.
> 
> The .pc file indeed seems missing the -lpthread flag. But at the same
> time, it seems that the aide package is missing a build-dependency
> against pkg-config.
> 
> checking for pkg-config... no

Indeed, I'll check that and add the build-dependency if needed.

> Should I open a bug?

I don't think that is necessary ;-).

> 
> I'll fix this in the libselinux package soon. It also probably
> needs "Requires.private: libpcre" too.

I'm not sure if the requirement for libpcre is really needed.  On an
up-to-date minimal sid (with added -lpthread) aide builds fine for me with no
libpcre dev package installed.

Best regards

Hannes



More information about the SELinux-devel mailing list