Bug#708435: aide: FTBFS: (.text+0x1d8): undefined reference to `pthread_atfork'

2013-05-17 Thread Hannes von Haugwitz
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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#708435: aide: FTBFS: (.text+0x1d8): undefined reference to `pthread_atfork'

2013-05-17 Thread Laurent Bigonville
Le Fri, 17 May 2013 09:06:31 +0200,
Hannes von Haugwitz han...@vonhaugwitz.com a écrit :

 Hi,

Hello,

 On Thu, May 16, 2013 at 11:09:11PM +0200, Laurent Bigonville wrote:
  Hannes von Haugwitz wrote:
[...]
  
  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.

Well I'm seeing unresolved libpcre3 symbols in the libselinux.a archive
too.

So I /guess/ it should be added too, it's probably in a part of the
code that aide is not using.

Cheers

Laurent Bigonville


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#708435: aide: FTBFS: (.text+0x1d8): undefined reference to `pthread_atfork'

2013-05-16 Thread Hannes von Haugwitz
reassign 708435 libselinux1-dev 2.1.13-1
retitle 708435 libselinux1-dev: pkgconfig file misses 'Libs.private: -lpthread'
thanks

Dear SELinux maintainers,

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.

Please let me know if I shall provide a patch.

Best regards

Hannes


On Wed, May 15, 2013 at 01:53:49PM -0500, Nathan Handler wrote:
 Source: aide
 Version: 0.15.1-8
 Severity: serious
 Tags: jessie sid
 User: debian...@lists.debian.org
 Usertags: qa-ftbfs-20130514 qa-ftbfs
 Justification: FTBFS on amd64
 
 Hi,
 
 During a rebuild of all packages in sid, your package failed to build on
 amd64.
 
 Relevant part:
  /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libacl.a(__acl_to_any_text.o):
   In function `__acl_to_any_text':
  (.text+0x8af): warning: Using 'getpwuid' in statically linked applications 
  requires at runtime the shared libraries from the glibc version used for 
  linking
  /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libselinux.a(procattr.o):
   In function `init_procattr':
  (.text+0x1d8): undefined reference to `pthread_atfork'
  collect2: error: ld returned 1 exit status
 
 The full build log is available from:

 http://people.debian.org/~nhandler/logs/2013/05/14/aide_0.15.1-8_unstable.log
 
 A list of current common problems and possible solutions is available at 
 http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
 
 About the archive rebuild: The rebuild was done on EC2 VM instances from
 Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
 failed build was retried once to eliminate random failures.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#708435: aide: FTBFS: (.text+0x1d8): undefined reference to `pthread_atfork'

2013-05-16 Thread Laurent Bigonville
Hannes von Haugwitz wrote:
 Dear SELinux maintainers,
 
 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

Should I open a bug?

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

Cheers

Laurent Bigonville


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#708435: aide: FTBFS: (.text+0x1d8): undefined reference to `pthread_atfork'

2013-05-15 Thread Nathan Handler
Source: aide
Version: 0.15.1-8
Severity: serious
Tags: jessie sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20130514 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libacl.a(__acl_to_any_text.o):
  In function `__acl_to_any_text':
 (.text+0x8af): warning: Using 'getpwuid' in statically linked applications 
 requires at runtime the shared libraries from the glibc version used for 
 linking
 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libselinux.a(procattr.o):
  In function `init_procattr':
 (.text+0x1d8): undefined reference to `pthread_atfork'
 collect2: error: ld returned 1 exit status

The full build log is available from:
   http://people.debian.org/~nhandler/logs/2013/05/14/aide_0.15.1-8_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


signature.asc
Description: Digital signature