Ardour fails to build in directory libs/pbd with the error: pthread_utils.cc: In function `void pthread_kill_all(int)': pthread_utils.cc:73: error: `pthread_kill' undeclared (first use this function) pthread_utils.cc:73: error: (Each undeclared identifier is reported only once for each function it appears in.) pthread_kill is declared through signal.h, which was not included. I added #include <signal.h> to pthread_utils.cc. The patch is attached. Reproducible: Always Steps to Reproduce: 1. Run emerge ardour 2. 3. Actual Results: The above error. Expected Results: Built and installed ardour I am using glibc 2.3.2-r8 with nptl support. Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test9-bk9) ================================================================= System uname: 2.6.0-test9-bk9 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.2/share/config /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs digest" GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://www.gtlib.cc.gatech.edu/pub/gentoo ftp://mirrors.tds.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg kde libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline tetex aalib bonobo tcltk java guile X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt opengl mozilla gphoto2 cdr 3dfx acpi acpi4linux apache2 autofs caps dga emacs evo fluidsynth gnomedb gstreamer gtk2 imap innodb ipv6 jack jack-caps jack-tmpfs ladcca maildir mbox mmx moznocompose moznoirc moznomail mozsvg mpi mule nptl plotutils radeon rage128 samba sse tiff usb xinerama xml xvid -svga -arts -motif"
Created attachment 20488 [details, diff] Add #include <signal.h> to libs/pbd/pbd/pthread_utils.h I successfully used this to build ardour on my system. Ardour crashs a bit, but I think that is other bugs, not the patch.
in portage