Summary: | `make check` fails on OS X | ||
---|---|---|---|
Product: | p11-glue | Reporter: | flangy |
Component: | p11-kit | Assignee: | Stef Walter <stefw> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | medium | CC: | manphiz, stefw |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Mac OS X (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
patch
Force Mac OS shared library extension to .so Patch to fix free uninitialized memory Fix uninitialized p11_library_once |
Description
flangy
2012-11-30 03:43:19 UTC
I'm sorry I haven't been able to fix this, as I don't currently have access to Mac OS X. If you do have a patch which fixes the issue, that would be very welcome. Would love to merge a patch here. Unfortunately I don't have access to every one of the proprietary Unixes, so I have to rely on contributions from people using those systems. Created attachment 77454 [details] [review] patch (In reply to comment #3) > Created attachment 77454 [details] [review] > patch Sorry, the comment text got dropped or something. This patch is enough to resolve the issue for me building from the tip of the git repo. It seems the other references to mock modules hardcode ".so" but this one uses SHLEXT. Comment on attachment 77454 [details] [review] patch Review of attachment 77454 [details] [review]: ----------------------------------------------------------------- ::: p11-kit/tests/test-init.c @@ +274,4 @@ > CK_RV rv; > int ret; > > + rv = p11_kit_load_initialize_module (BUILDDIR "/.libs/mock-one.so", &module); Unfortunately this patch breaks building on Windows. Are shared libraries on Mac OS X really built with a '.so' extension? I wonder why libtool is setting the SHLEXT to '.dylib'. We should patch configure.ac to note that on mac os, we use the .so extension for modules. Created attachment 77495 [details] [review] Force Mac OS shared library extension to .so Could you try out the attached patch? No, the correct extension is .dylib, but none of the mock modules are built with that extension (they end up as *.so, but test-init tries to load mock-one with .dylib instead of .so). I didn't intend my patch to be useable, just a "minimum change to make this work". I was hoping there was some other code not respecting SHLEXT that could be fixed, but I didn't have time to try and debug it further. Related tickets filed against Homebrew: https://github.com/mxcl/homebrew/issues/18979 https://github.com/mxcl/homebrew/pull/18987 The correct extension for shared library on Mac OS X is ".dylib". It is curious why mock modules ended up with ".so" extensions on Mac as well. Also, besides the extension problem, some of the users also encounter "free uninitialized memory" problem. A possible fix is at [1] but may lead to memory leak. Also it is uncertain that whether this is related to the extension problem, as ".so" is not valid on Mac OS X. [1] https://github.com/manphiz/homebrew/commit/14df14427b0ce76334f7dbab6d041ab6412d11d4#diff-0 Regarding extension, looks like ".so" is appropriate in this case, as explain in another glib bug: http://lists.gnu.org/archive/html/bug-libtool/2006-03/msg00020.html Besides the double-free noted by manphiz, test-init also fails sometimes (seemingly random) with a segmentation fault in next_entry: bash-4.2$ ./test-init p11-kit: p11-kit initialization called recursively Segmentation fault: 11 Here is a backtrace (how the heck can I get it to compile with -g for make check?): (gdb) bt #0 0x0000000100007fd6 in next_entry () #1 0x0000000100007f9a in p11_dict_next () #2 0x000000010000313c in free_modules_when_no_refs_unlocked () #3 0x00000001000030ff in finalize_module_unlocked_reentrant () #4 0x000000010000371b in p11_kit_finalize_module () #5 0x0000000100001ae3 in finalization_thread () #6 0x00007fff9276a742 in _pthread_start () #7 0x00007fff92757181 in thread_start () Greetinga all, I'm attempting to install using homebrew on MacOS 10.8.3. I understand this is not using a stock install, but there is an open homebrew github issue suggesting that commenting on this bug within the freedesktop bugzilla may help resolve the matter. Please let me know if I can provide any further information to help fix. Thanks. The build output is given below. lis-MacBook-Pro:grepcounts aliasad$ brew upgrade -v ==> Upgrading 1 outdated package, with result: p11-kit 0.18.0 ==> Upgrading p11-kit rm /usr/local/bin/p11-kit rm /usr/local/etc/pkcs11/pkcs11.conf.example rm /usr/local/include/p11-kit-1 rm /usr/local/lib/pkgconfig/p11-kit-1.pc rm /usr/local/lib/libp11-kit.dylib rm /usr/local/lib/libp11-kit.0.dylib rm /usr/local/share/gtk-doc ==> Downloading http://p11-glue.freedesktop.org/releases/p11-kit-0.18.0.tar.gz Already downloaded: /Library/Caches/Homebrew/p11-kit-0.18.0.tar.gz tar xf /Library/Caches/Homebrew/p11-kit-0.18.0.tar.gz ==> Patching /usr/bin/patch -f -p1 -i 000-homebrew.diff patching file p11-kit/tests/test-init.c patching file common/library.c ==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/p11-kit/0.18.0 --without-trust-paths ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/p11-kit/0.18.0 --without-trust-paths checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of cc... none checking whether build environment is sane... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... yes checking build system type... x86_64-apple-darwin12.3.0 checking host system type... x86_64-apple-darwin12.3.0 checking how to print strings... printf checking for a sed that does not truncate output... /usr/local/Library/ENV/4.3/sed checking for fgrep... /usr/bin/grep -F checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-apple-darwin12.3.0 file names to x86_64-apple-darwin12.3.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin12.3.0 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... no checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm output from cc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fno-common -DPIC checking if cc PIC flag -fno-common -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin12.3.0 dyld checking how to hardcode library paths into programs... immediate checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... yes checking for CFLocaleCopyCurrent... yes checking for GNU gettext in libc... no checking for iconv... yes checking for working iconv... yes checking how to link with libiconv... -liconv checking for GNU gettext in libintl... no checking whether to use NLS... no checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... (cached) none needed checking how to run the C preprocessor... cc -E checking whether cc understands -c and -o together... yes checking for CFPreferencesCopyAppValue... (cached) yes checking for CFLocaleCopyCurrent... (cached) yes checking whether to use NLS... no checking for win32... no checking whether byte ordering is bigendian... no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for pthread_mutex_lock in -lpthread... yes checking for library containing dlopen... none required checking for library containing nanosleep... none required checking for struct dirent.d_type... yes checking for getprogname... yes checking for getexecname... no checking for basename... yes checking for mkstemp... yes checking for mkdtemp... yes checking for strnstr... yes checking for memdup... no checking for strndup... yes checking for asprintf... yes checking for vasprintf... yes checking for vsnprintf... yes checking for timegm... yes checking for gmtime_r... yes checking whether program_invocation_short_name is declared... no checking whether program_invocation_short_name is available... no checking whether __progname is declared... no checking for dgettext in -lintl... no checking for pkg-config... /usr/local/opt/pkg-config/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBTASN1... yes checking if trust module is enabled... yes checking for trust module paths... disabled checking for gtkdoc-check... no checking for gtkdoc-rebase... no checking for gtkdoc-mkpdf... no checking for gtkdoc-scan... no checking for xsltproc... /usr/bin/xsltproc checking whether to build documentation... no checking for debug mode... no (no debug output, NDEBUG) checking for more warnings... checking whether gcc understands -Wmissing-include-dirs... yes checking whether gcc understands -Wundef... yes checking build strict... no checking whether to build with gcov testing... no checking that generated files are newer than configure... done checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating build/Makefile config.status: creating build/certs/Makefile config.status: creating common/Makefile config.status: creating common/tests/Makefile config.status: creating doc/Makefile config.status: creating doc/manual/Makefile config.status: creating doc/manual/version.xml config.status: creating po/Makefile.in config.status: creating p11-kit/Makefile config.status: creating p11-kit/tests/Makefile config.status: creating p11-kit/p11-kit-1.pc config.status: creating p11-kit/pkcs11.conf.example config.status: creating tools/Makefile config.status: creating tools/p11-kit-extract-trust config.status: creating tools/tests/Makefile config.status: creating trust/Makefile config.status: creating trust/tests/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile configure: build options: Host: x86_64-apple-darwin12.3.0 Debug build: no (no debug output, NDEBUG) Strict build: no Build documentation: no (no manual or reference) System global config: ${prefix}/etc/pkcs11/pkcs11.conf System module config directory: ${prefix}/etc/pkcs11/modules Package module config directory: ${pkgdatadir}/modules User global config: ~/.pkcs11/pkcs11.conf User module config directory: ~/.pkcs11/modules Load relative module paths from: ${exec_prefix}/lib/pkcs11 With libtasn1 dependency: yes Build trust module: yes Trust module paths: ==> make make /usr/bin/make all-recursive Making all in build Making all in certs make[3]: Nothing to be done for `all'. CC CuTest.lo brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CCLD libcutest.la Making all in common Making all in . CC attrs.lo CC array.lo CC buffer.lo CC compat.lo CC constants.lo CC dict.lo CC debug.lo CC hash.lo brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CC lexer.lo CC message.lo CC path.lo CC url.lo CC library.lo CC mock.lo brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CC libp11_data_la-asn1.lo CC libp11_data_la-base64.lo CC libp11_data_la-oid.lo CC libp11_data_la-pem.lo CC libp11_data_la-utf8.lo CC libp11_data_la-x509.lo brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CCLD libp11-library.la CCLD libp11-data.la CCLD libp11-mock.la CCLD libp11-common.la Making all in tests CC test-compat.o CC test-hash.o CC test-array.o CC test-dict.o CC test-constants.o CC test-attrs.o CC test-buffer.o CC test-lexer.o brew: superenv removed: -I../../common -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -I../../common -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -I../../common -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -I../../common -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -I../../common -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -I../../common -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -I../../common -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -I../../common -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CC test-url.o CC test-path.o CC test-asn1.o CC test-base64.o brew: superenv removed: -I../../common -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CC test-pem.o CC test-oid.o brew: superenv removed: -I../../common -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -I../../common -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -I../../common -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -I../../common -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -I../../common -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CC test-utf8.o brew: superenv removed: -I../../common -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CC test-x509.o CC frob-cert.o CC frob-ku.o CC frob-eku.o brew: superenv removed: -I../../common -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -I../../common -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CC frob-oid.o brew: superenv removed: -I../../common -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -I../../common -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CCLD test-compat CCLD test-hash brew: superenv removed: -I../../common -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CCLD test-dict CCLD test-constants CCLD test-array CCLD test-attrs CCLD test-buffer CCLD test-lexer brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CCLD test-url CCLD test-path CCLD test-asn1 brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CCLD test-base64 CCLD test-pem CCLD test-oid CCLD test-utf8 CCLD test-x509 brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CCLD frob-cert CCLD frob-ku brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CCLD frob-eku brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CCLD frob-oid brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef Making all in p11-kit Making all in . CC libp11_kit_la-util.lo CC libp11_kit_la-conf.lo CC libp11_kit_la-modules.lo CC libp11_kit_la-iter.lo CC libp11_kit_la-pin.lo CC libp11_kit_la-proxy.lo CC libp11_kit_la-messages.lo CC libp11_kit_la-uri.lo brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CC libp11_kit_testable_la-util.lo CC libp11_kit_testable_la-conf.lo CC libp11_kit_testable_la-iter.lo CC libp11_kit_testable_la-modules.lo CC libp11_kit_testable_la-pin.lo CC libp11_kit_testable_la-proxy.lo brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CC libp11_kit_testable_la-messages.lo brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CC libp11_kit_testable_la-uri.lo brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CCLD libp11-kit.la brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CCLD libp11-kit-testable.la brew: superenv removed: -O2 Making all in tests CC mock_one_la-mock-module-ep.lo CC mock_two_la-mock-module-ep.lo CC mock-module-ep.lo CC mock_three_la-mock-module-ep.lo CC print-messages.o CC progname-test.o CC conf-test.o CC uri-test.o brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CC pin-test.o brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CC test-init.o brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CC test-modules.o CC test-iter.o CCLD mock-one.la CCLD mock-three.la brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CCLD mock-two.la brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CCLD mock-four.la CCLD print-messages CCLD progname-test CCLD conf-test CCLD uri-test brew: superenv removed: -O2 brew: superenv removed: -O2 brew: superenv removed: -O2 brew: superenv removed: -O2 CCLD pin-test CCLD test-init CCLD test-modules CCLD test-iter brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef Making all in trust Making all in . CC p11_kit_trust_la-builder.lo CC p11_kit_trust_la-index.lo CC p11_kit_trust_la-parser.lo CC p11_kit_trust_la-persist.lo CC p11_kit_trust_la-module.lo CC p11_kit_trust_la-session.lo CC p11_kit_trust_la-token.lo CC builder.lo brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundefbrew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CC index.lo CC parser.lo CC persist.lo brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CC module.lo CC session.lo brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CC token.lo brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CCLD p11-kit-trust.la brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CCLD libtrust-testable.la brew: superenv removed: -O2 Making all in tests CC test-data.lo CC frob-pow.o CC frob-token.o CC frob-nss-trust.o CC test-index.o CC test-persist.o CC test-parser.o CC test-builder.o brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CC test-token.o CC test-module.o brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CCLD frob-nss-trust brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CCLD libtestdata.la CCLD frob-pow CCLD frob-token brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CCLD test-persist CCLD test-parser CCLD test-builder CCLD test-index CCLD test-token CCLD test-module brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef Making all in tools Making all in . CC p11_kit-list.o CC p11_kit-tool.o CC p11_kit-extract.o CC p11_kit-extract-info.o CC p11_kit-extract-jks.o CC p11_kit-extract-openssl.o CC p11_kit-extract-x509.o CC p11_kit-extract-pem.o brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CC p11_kit-save.o brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CCLD p11-kit brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef Making all in tests CC test.lo CC test-save.o CC save.o CC test-extract.o CC test-x509.o CC extract-info.o CC extract-x509.o CC test-pem.o brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CC extract-pem.o brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CC test-openssl.o CC extract-openssl.o brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef CCLD libtestcommon.la CCLD test-save CCLD test-extract CCLD test-x509 CCLD test-pem CCLD test-openssl brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef brew: superenv removed: -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wno-missing-format-attribute -Wmissing-include-dirs -Wundef Making all in doc Making all in manual make[3]: Nothing to be done for `all'. make[3]: Nothing to be done for `all-am'. Making all in po make[2]: Nothing to be done for `all-am'. ==> make check make check Making check in build Making check in certs make[2]: Nothing to be done for `check'. make[2]: Nothing to be done for `check-am'. Making check in common Making check in . make[2]: Nothing to be done for `check-am'. Making check in tests /usr/bin/make check-TESTS . OK (1 test) PASS: test-compat ..... OK (5 tests) PASS: test-hash .............. OK (14 tests) PASS: test-dict ........ OK (8 tests) PASS: test-array . OK (1 test) PASS: test-constants ........................... OK (27 tests) PASS: test-attrs ...... OK (6 tests) PASS: test-buffer ...... OK (6 tests) PASS: test-lexer ..... OK (5 tests) PASS: test-url .... OK (4 tests) PASS: test-path .. OK (2 tests) PASS: test-asn1 .. OK (2 tests) PASS: test-base64 ... OK (3 tests) PASS: test-pem . OK (1 test) PASS: test-oid ...... OK (6 tests) PASS: test-utf8 ...... OK (6 tests) PASS: test-x509 =================== All 16 tests passed =================== Making check in p11-kit Making check in . make[2]: Nothing to be done for `check-am'. Making check in tests /usr/bin/make check-TESTS .. OK (2 tests) PASS: progname-test p11-kit: couldn't open config file: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/files/non-existant.conf: No such file or directory p11-kit: invalid mode for 'user-config': bad p11-kit: invalid mode for 'user-config': bad p11-kit: invalid config filename, will be ignored in the future: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/files/system-modules/two.badname p11-kit: invalid config filename, will be ignored in the future: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/files/system-modules/two.badname p11-kit: invalid config filename, will be ignored in the future: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/files/system-modules/two.badname ............... OK (15 tests) PASS: conf-test ........................................ OK (40 tests) PASS: uri-test ........ OK (8 tests) PASS: pin-test p11-kit: p11-kit initialization called recursively /bin/sh: line 1: 87151 Segmentation fault: 11 ${dir}$tst FAIL: test-init ..... OK (5 tests) PASS: test-modules (p11-kit:87162) message: invalid config filename, will be ignored in the future: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/files/system-modules/two.badname (p11-kit:87162) message: duplicate configured module: two-duplicate: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/.libs/mock-two.so (p11-kit:87162) message: invalid config filename, will be ignored in the future: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/files/system-modules/two.badname (p11-kit:87162) message: duplicate configured module: two-duplicate: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/.libs/mock-two.so (p11-kit:87162) message: invalid config filename, will be ignored in the future: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/files/system-modules/two.badname (p11-kit:87162) message: duplicate configured module: two-duplicate: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/.libs/mock-two.so (p11-kit:87162) message: invalid config filename, will be ignored in the future: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/files/system-modules/two.badname (p11-kit:87162) message: duplicate configured module: two-duplicate: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/.libs/mock-two.so (p11-kit:87162) message: invalid config filename, will be ignored in the future: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/files/system-modules/two.badname (p11-kit:87162) message: duplicate configured module: two-duplicate: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/.libs/mock-two.so (p11-kit:87162) message: invalid config filename, will be ignored in the future: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/files/system-modules/two.badname (p11-kit:87162) message: duplicate configured module: two-duplicate: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/.libs/mock-two.so (p11-kit:87162) message: invalid config filename, will be ignored in the future: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/files/system-modules/two.badname (p11-kit:87162) message: duplicate configured module: two-duplicate: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/.libs/mock-two.so (p11-kit:87162) message: invalid config filename, will be ignored in the future: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/files/system-modules/two.badname (p11-kit:87162) message: duplicate configured module: two-duplicate: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/.libs/mock-two.so (p11-kit:87162) message: invalid config filename, will be ignored in the future: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/files/system-modules/two.badname (p11-kit:87162) message: duplicate configured module: two-duplicate: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/.libs/mock-two.so (p11-kit:87162) message: invalid config filename, will be ignored in the future: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/files/system-modules/two.badname (p11-kit:87162) message: duplicate configured module: two-duplicate: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/.libs/mock-two.so (p11-kit:87162) message: invalid config filename, will be ignored in the future: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/files/system-modules/two.badname (p11-kit:87162) message: duplicate configured module: two-duplicate: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/.libs/mock-two.so (p11-kit:87162) message: invalid config filename, will be ignored in the future: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/files/system-modules/two.badname (p11-kit:87162) message: duplicate configured module: two-duplicate: /private/tmp/p11-kit-TsCN/p11-kit-0.18.0/p11-kit/tests/.libs/mock-two.so ......................... OK (25 tests) PASS: test-iter ============================================================================ 1 of 7 tests failed Please report to https://bugs.freedesktop.org/enter_bug.cgi?product=p11-glue ============================================================================ make[3]: *** [check-TESTS] Error 1 make[2]: *** [check-am] Error 2 make[1]: *** [check-recursive] Error 1 make: *** [check-recursive] Error 1 ==> Configuration HOMEBREW_VERSION: 0.9.4 HEAD: 438d334a2a28794409679b269263957c14c56131 CPU: 8-core 64-bit sandybridge OS X: 10.8.3-x86_64 Xcode: 4.6.1 CLT: 4.6.0.0.1.1362189000 X11: N/A ==> ENV CC: cc CXX: c++ MAKEFLAGS: -j8 CMAKE_PREFIX_PATH: /usr/local CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/ CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries PKG_CONFIG_PATH: /usr/local/opt/libtasn1/lib/pkgconfig PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.8 ACLOCAL_PATH: /usr/local/share/aclocal OBJC: cc PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/pkg-config/bin:/usr/local/opt/libtasn1/bin:/usr/local/opt/python/bin:/usr/bin:/bin:/usr/sbin:/sbin Error: p11-kit did not build Logs: /Users/aliasad/Library/Logs/Homebrew/p11-kit/config.log These open issues may also help: https://github.com/mxcl/homebrew/issues/18979 ln -s ../../Cellar/p11-kit/0.14/etc/pkcs11/pkcs11.conf.example pkcs11.conf.example ln -s ../Cellar/p11-kit/0.14/bin/p11-kit p11-kit ln -s ../Cellar/p11-kit/0.14/include/p11-kit-1 p11-kit-1 ln -s ../Cellar/p11-kit/0.14/share/gtk-doc gtk-doc ln -s ../../Cellar/p11-kit/0.14/lib/pkgconfig/p11-kit-1.pc p11-kit-1.pc ln -s ../Cellar/p11-kit/0.14/lib/libp11-kit.dylib libp11-kit.dylib ln -s ../Cellar/p11-kit/0.14/lib/libp11-kit.0.dylib libp11-kit.0.dylib ln -s ../../Cellar/p11-kit/0.14 p11-kit ln -s ../Cellar/p11-kit/0.14 p11-kit When I ran `brew upgrade p11-kit --use-gcc` everything went smoothly. I had been getting the error described in the previous comment when I left off `--use-gcc`. ADDITIONAL SYSTEM INFORMATION: ============================= The good doctor has no complaints. OUTPUT OF `brew --env`: ---------------------- export CC="cc" export CXX="c++" export MAKEFLAGS="-j8" export CMAKE_PREFIX_PATH="/usr/local" export CMAKE_INCLUDE_PATH="/usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/" export CMAKE_LIBRARY_PATH="/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries" export PKG_CONFIG_LIBDIR="/usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.8" export ACLOCAL_PATH="/usr/local/share/aclocal" export OBJC="cc" export PATH="/usr/local/Library/ENV/4.3:/usr/local/opt/python/bin:/usr/bin:/bin:/usr/sbin:/sbin" export HOMEBREW_BREW_FILE="/usr/local/bin/brew" export HOMEBREW_SDKROOT="" OUTPUT OF `brew --config`: ------------------------- HOMEBREW_VERSION: 0.9.4 ORIGIN: https://github.com/mxcl/homebrew HEAD: 2978099d0cf0757f5a3e18cbb5bc9b1b0ceb7bfe HOMEBREW_PREFIX: /usr/local HOMEBREW_CELLAR: /usr/local/Cellar CPU: 8-core 64-bit sandybridge OS X: 10.8.3-x86_64 Xcode: 4.6.1 CLT: 4.6.0.0.1.1362189000 LLVM-GCC: build 2336 Clang: 4.2 build 425 X11: 2.7.4 => /opt/X11 System Ruby: 1.8.7-358 Perl: /usr/bin/perl Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/bin/python2.7 Ruby: /usr/local/var/rbenv/shims/ruby Created attachment 78404 [details]
Patch to fix free uninitialized memory
Comment out the free call in p11_library_uninit seems to fix the double free problem on Mac OS X, which should be redundant given that pthread_key_create call already set free as destructor.
Created attachment 78405 [details] [review] Fix uninitialized p11_library_once OK, the problem is actually that p11_library_once is uninitialized, which seems still to work under Linux but result in undefined behavior under Mac OS X. The proposed patch is attached, obsoleting my previous patch. Also note that the patch that fixes Mac OS shared library extension should be committed together with this one. It is a bit sad that this bug was not fixed in 0.18.2 given all needed patches are already there. Please consider including the patches in next release. Thanks. Attachment 77495 [details] pushed as f358242 - Force Mac OS shared library extension to .so Attachment 78405 [details] pushed as cf91dc6 - Fix uninitialized p11_library_once Pushed to stable branch, will push to master, so this will be included in the next release. Missed this because the bug was marked as NEEDINFO, and the patch wasn't marked as a patch (this is a checkbox when you upload). (In reply to comment #19) > Attachment 77495 [details] pushed as f358242 - Force Mac OS shared library > extension to .so > Attachment 78405 [details] pushed as cf91dc6 - Fix uninitialized > p11_library_once > > Pushed to stable branch, will push to master, so this will be included in > the next release. > Thanks. > Missed this because the bug was marked as NEEDINFO, and the patch wasn't > marked as a patch (this is a checkbox when you upload). Gotcha. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.