=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for physfs-2.0.3nb1 Scanning dependencies of target physfs [ 1%] Building C object CMakeFiles/physfs.dir/physfs.o [ 3%] Building C object CMakeFiles/physfs.dir/physfs_byteorder.o [ 5%] Building C object CMakeFiles/physfs.dir/physfs_unicode.o [ 6%] Building C object CMakeFiles/physfs.dir/platform/os2.o [ 8%] Building C object CMakeFiles/physfs.dir/platform/pocketpc.o [ 10%] Building C object CMakeFiles/physfs.dir/platform/posix.o [ 11%] Building C object CMakeFiles/physfs.dir/platform/unix.o [ 13%] Building C object CMakeFiles/physfs.dir/platform/macosx.o [ 15%] Building C object CMakeFiles/physfs.dir/platform/windows.o [ 16%] Building C object CMakeFiles/physfs.dir/archivers/dir.o [ 18%] Building C object CMakeFiles/physfs.dir/archivers/grp.o [ 20%] Building C object CMakeFiles/physfs.dir/archivers/hog.o [ 21%] Building C object CMakeFiles/physfs.dir/archivers/lzma.o [ 23%] Building C object CMakeFiles/physfs.dir/archivers/mvl.o [ 25%] Building C object CMakeFiles/physfs.dir/archivers/qpak.o [ 26%] Building C object CMakeFiles/physfs.dir/archivers/wad.o [ 28%] Building C object CMakeFiles/physfs.dir/archivers/zip.o [ 30%] Building C object CMakeFiles/physfs.dir/lzma/C/7zCrc.o [ 31%] Building C object CMakeFiles/physfs.dir/lzma/C/Archive/7z/7zBuffer.o [ 33%] Building C object CMakeFiles/physfs.dir/lzma/C/Archive/7z/7zDecode.o [ 35%] Building C object CMakeFiles/physfs.dir/lzma/C/Archive/7z/7zExtract.o [ 36%] Building C object CMakeFiles/physfs.dir/lzma/C/Archive/7z/7zHeader.o [ 38%] Building C object CMakeFiles/physfs.dir/lzma/C/Archive/7z/7zIn.o [ 40%] Building C object CMakeFiles/physfs.dir/lzma/C/Archive/7z/7zItem.o [ 41%] Building C object CMakeFiles/physfs.dir/lzma/C/Archive/7z/7zMethodID.o [ 43%] Building C object CMakeFiles/physfs.dir/lzma/C/Compress/Branch/BranchX86.o [ 45%] Building C object CMakeFiles/physfs.dir/lzma/C/Compress/Branch/BranchX86_2.o [ 46%] Building C object CMakeFiles/physfs.dir/lzma/C/Compress/Lzma/LzmaDecode.o [ 48%] Linking C shared library libphysfs.so [ 48%] Built target physfs Scanning dependencies of target test_physfs [ 50%] Building C object CMakeFiles/test_physfs.dir/test/test_physfs.o [ 51%] Linking C executable test_physfs libphysfs.so.2.0.3: undefined reference to `pthread_self' libphysfs.so.2.0.3: undefined reference to `pthread_mutex_destroy' libphysfs.so.2.0.3: undefined reference to `pthread_mutex_init' libphysfs.so.2.0.3: undefined reference to `pthread_mutex_unlock' libphysfs.so.2.0.3: undefined reference to `pthread_mutex_lock' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake[2]: stopped in /usr/pkgsrc/work/devel/physfs/work/physfs-2.0.3 *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/work/devel/physfs/work/physfs-2.0.3 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/devel/physfs/work/physfs-2.0.3 *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/devel/physfs *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/devel/physfs