Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

fluidsynth 1.1.1 type conflicting with Apple Security framework headers (on Lion) #6464

Closed
iXo opened this issue Jul 18, 2011 · 2 comments
Closed

Comments

@iXo
Copy link

iXo commented Jul 18, 2011

I would like to install mpd, but fluidsynth failed to do so, with a type conflict for sint64 and uint64 between FS headers and Apple Security framework.

I am using OSX Lion :

$uname -a
Darwin iMac-24.local 11.0.0 Darwin Kernel Version 11.0.0: Fri May 6 22:16:19 PDT 2011; root:xnu-1699.22.53~1/RELEASE_X86_64 x86_64

Also installing dependencies: fluid-synth, libcue, libmms, libzzip
==> Downloading http://mirrors.zerg.biz/nongnu/fluid/fluidsynth-1.1.1.tar.gz
File already downloaded in /Users/ixo/Library/Caches/Homebrew
/usr/bin/tar xf /Users/ixo/Library/Caches/Homebrew/fluid-synth-1.1.1.tar.gz
==> ./configure --prefix=/usr/local/Cellar/fluid-synth/1.1.1 --disable-debug --disable-dependency-tracking
./configure --prefix=/usr/local/Cellar/fluid-synth/1.1.1 --disable-debug --disable-dependency-tracking
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 gcc... /usr/bin/cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/cc accepts -g... yes
checking for /usr/bin/cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/cc... none
checking whether /usr/bin/cc and cc understand -c and -o together... yes
checking build system type... i386-apple-darwin11.0.0
checking host system type... i386-apple-darwin11.0.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/cc... /usr/bin/cc
checking if the linker (/usr/bin/cc) 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 for /usr/bin/cc option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from /usr/bin/cc object... ok
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 how to run the C preprocessor... /usr/bin/cc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/cc supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/cc option to produce PIC... -fno-common -DPIC
checking if /usr/bin/cc PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/cc static flag -static works... no
checking if /usr/bin/cc supports -c -o file.o... yes
checking if /usr/bin/cc supports -c -o file.o... (cached) yes
checking whether the /usr/bin/cc linker (/usr/bin/cc) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.0.0 dyld
checking how to hardcode library paths into programs... immediate
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... yes
checking whether make sets $(MAKE)... (cached) yes
checking for pthread_create in -lpthread... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for unistd.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/stat.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for inline... inline
checking whether byte ordering is bigendian... no
checking if the linker (/usr/bin/cc) is GNU ld... no
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for LIBSNDFILE... yes
checking for LIBSNDFILE_VORBIS... yes
checking for PULSE... no
checking for ALSA... no
checking for PORTAUDIO... no
checking for fcntl.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/soundcard.h usability... no
checking sys/soundcard.h presence... no
checking for sys/soundcard.h... no
checking machine/soundcard.h usability... no
checking machine/soundcard.h presence... no
checking for machine/soundcard.h... no
configure: WARNING: *** Could not find soundcard.h, disabling OSS driver
checking MidiShare.h usability... no
checking MidiShare.h presence... no
checking for MidiShare.h... no
configure: WARNING: *** Could not find MidiShare.h, disabling MidiShare driver
checking for JACK... no
checking CoreAudio/AudioHardware.h usability... yes
checking CoreAudio/AudioHardware.h presence... yes
checking for CoreAudio/AudioHardware.h... yes
checking CoreMIDI/MIDIServices.h usability... yes
checking CoreMIDI/MIDIServices.h presence... yes
checking for CoreMIDI/MIDIServices.h... yes
checking os2me.h usability... no
checking os2me.h presence... no
checking for os2me.h... no
checking for readline... found.
checking for tgetent in -lmytinfo... no
checking for tgetent in -lncurses... yes
checking for LASH... no
checking for LADCCA... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating macbuild/Makefile
config.status: creating winbuild/Makefile
config.status: creating winbuild/fluidsynth/Makefile
config.status: creating winbuild/fluidsynth_dll/Makefile
config.status: creating winbuild/fluidsynth_lib/Makefile
config.status: creating src/Makefile
config.status: creating src/config_win32.h
config.status: creating doc/Makefile
config.status: creating include/Makefile
config.status: creating include/fluidsynth/Makefile
config.status: creating include/fluidsynth/version.h
config.status: creating fluidsynth.pc
config.status: creating fluidsynth.spec
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands


Summary:
libsndfile: yes (with ogg vorbis support)
PulseAudio: no
JACK: no
ALSA: no
PortAudio: no
OSS: no
MidiShare: no
CoreAudio: yes
CoreMIDI: yes
LADSPA support: no
LASH support: no
LADCCA support: no
OS/2 DART support: no
Audio to file driver: yes
Readline: yes (NOTE: GPL library)
Profiling: no
Debug: no
Trap on FPE (debug): no
Check FPE (debug): no


==> make install
make install
Making install in macbuild
make[2]: Nothing to be done for install-exec-am'. make[2]: Nothing to be done forinstall-data-am'.
Making install in winbuild
Making install in fluidsynth
make[3]: Nothing to be done for install-exec-am'. make[3]: Nothing to be done forinstall-data-am'.
Making install in fluidsynth_dll
make[3]: Nothing to be done for install-exec-am'. make[3]: Nothing to be done forinstall-data-am'.
Making install in fluidsynth_lib
make[3]: Nothing to be done for install-exec-am'. make[3]: Nothing to be done forinstall-data-am'.
make[3]: Nothing to be done for install-exec-am'. make[3]: Nothing to be done forinstall-data-am'.
Making install in src
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -D_REENTRANT -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -I/usr/local/Cellar/libsndfile/1.0.23/include -O3 -march=core2 -w -pipe -Wall -O2 -fomit-frame-pointer -funroll-all-loops -finline-functions -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Winline -Wno-unused-parameter -Wno-cast-qual -c -o libfluidsynth_la-fluid_coreaudio.lo test -f 'fluid_coreaudio.c' || echo './'fluid_coreaudio.c
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -D_REENTRANT -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -I/usr/local/Cellar/libsndfile/1.0.23/include -O3 -march=core2 -w -pipe -Wall -O2 -fomit-frame-pointer -funroll-all-loops -finline-functions -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Winline -Wno-unused-parameter -Wno-cast-qual -c -o libfluidsynth_la-fluid_coremidi.lo test -f 'fluid_coremidi.c' || echo './'fluid_coremidi.c
libtool: compile: /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -D_REENTRANT -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -I/usr/local/Cellar/libsndfile/1.0.23/include -O3 -march=core2 -w -pipe -Wall -O2 -fomit-frame-pointer -funroll-all-loops -finline-functions -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Winline -Wno-unused-parameter -Wno-cast-qual -c fluid_coremidi.c -fno-common -DPIC -o .libs/libfluidsynth_la-fluid_coremidi.o
libtool: compile: /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -D_REENTRANT -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -I/usr/local/Cellar/libsndfile/1.0.23/include -O3 -march=core2 -w -pipe -Wall -O2 -fomit-frame-pointer -funroll-all-loops -finline-functions -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Winline -Wno-unused-parameter -Wno-cast-qual -c fluid_coreaudio.c -fno-common -DPIC -o .libs/libfluidsynth_la-fluid_coreaudio.o
libtool: compile: /usr/bin/cc -DHAVE_CONFIG_H -I. -I../include -D_REENTRANT -I/usr/local/Cellar/glib/2.28.7/include/glib-2.0 -I/usr/local/Cellar/glib/2.28.7/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/glib/2.28.7/include -I/usr/local/Cellar/libsndfile/1.0.23/include -O3 -march=core2 -w -pipe -Wall -O2 -fomit-frame-pointer -funroll-all-loops -finline-functions -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Winline -Wno-unused-parameter -Wno-cast-qual -c fluid_coreaudio.c -o libfluidsynth_la-fluid_coreaudio.o >/dev/null 2>&1
In file included from /System/Library/Frameworks/Security.framework/Headers/Security.h:24,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h:35,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h:34,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:29,
from fluid_coremidi.c:52:
/System/Library/Frameworks/Security.framework/Headers/cssmconfig.h:49: error: conflicting types for ‘sint64’
fluidsynth_priv.h:174: error: previous declaration of ‘sint64’ was here
/System/Library/Frameworks/Security.framework/Headers/cssmconfig.h:53: error: conflicting types for ‘uint64’
fluidsynth_priv.h:175: error: previous declaration of ‘uint64’ was here
make[1]: *** [libfluidsynth_la-fluid_coremidi.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [install-recursive] Error 1
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/fluid-synth.rb#L14
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: 6d15547
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: dual-core 64-bit core2
OS X: 10.7
Kernel Architecture: x86_64
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.1
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2335
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/cc => /Developer/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/c++ => /Developer/usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/cc => /Developer/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -O3 -march=core2 -w -pipe
CXXFLAGS: -O3 -march=core2 -w -pipe
MAKEFLAGS: -j2

Error: Failed executing: make install
Please report this bug: https://github.com/mxcl/homebrew/wiki/Checklist-before-filing-a-new-issue

Also try:
brew doctor to check your setup for common problems.
brew missing to check installed packages for missing deps.

@telemachus
Copy link
Contributor

@iXo I had the same issue, but updating the fluidsynth formula to 1.1.3 fixed it. I've sent a patch, but if you want to do it yourself right away, see here: telemachus@5b8c47de

@adamv
Copy link
Contributor

adamv commented Jul 21, 2011

Fixed by #6497

@adamv adamv closed this as completed Jul 21, 2011
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants