app-admin/gamin-0.1.2 does not compile. Reproducible: Always Steps to Reproduce: 1. emerge --newuse -Du world Actual Results: if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\""/usr/libexec"\" -DBUILDDIR=\"".."\" -march=pentium-m -O2 -pipe -MT gam_data.lo -MD -MP -MF ".deps/gam_data.Tpo" -c -o gam_data.lo gam_data.c; \ then mv -f ".deps/gam_data.Tpo" ".deps/gam_data.Plo"; else rm -f ".deps/gam_data.Tpo"; exit 1; fi i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/libexec\" -DBUILDDIR=\"..\" -march=pentium-m -O2 -pipe -MT gam_data.lo -MD -MP -MF .deps/gam_data.Tpo -c gam_data.c -fPIC -DPIC -o .libs/gam_data.o gam_data.c: In function `gamin_data_new': gam_data.c:474: error: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) gam_data.c:474: error: (Each undeclared identifier is reported only once gam_data.c:474: error: for each function it appears in.) make[2]: *** [gam_data.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/gamin-0.1.2/work/gamin-0.1.2/libgamin' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gamin-0.1.2/work/gamin-0.1.2' make: *** [all] Error 2 Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-gentoo-r5 i686) ================================================================= System uname: 2.6.12-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1500MHz Gentoo Base System version 1.6.13 dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium-m -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig cvs digest distlocks fixpackages sandbox sfperms sign strict" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://trumpetti.atm.tut.fi/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="de" 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 X a52 acpi alsa avi berkdb bitmap-fonts cdr crypt cups curl divx4linux dvd dvdr dvdread emboss encode esd fame firefox font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 java jpeg libg++ libwww lzo mad mikmod mjpeg mmx mono moznocompose moznoirc moznomail mp3 mpeg ncurses nls nomotif nptl nvidia ogg oggvorbis opengl oss pam pdflib perl png ppds python quicktime readline samba slang spell sse ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode userlocales vorbis win32codecs xml2 xv xvid zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
Yeah, bad Diego .. should be fixed now.
It is fixed, just with 1.2 revision of the freebsd patch. BTW it seems it's caused by a missing define in glibc, so it's not like FreeBSD breaking stuff :P
We all know fbsd's threading api sucks ;p Seriously though .. if you check the glibc manpages, the _NP extension added by glibc means Non-Portable, as it was, or still is not defined by the posix standard.
The new patch has surely reached the mirrors now, and I got confirmations that it compiles clean now.