Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2014 21:05:50 -0400
From:      Henry Hu <henry.hu.sh@gmail.com>
To:        Torfinn Ingolfsen <tingox@gmail.com>
Cc:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: audio/openal-soft fails to install on FreeBSD 8.4-stable
Message-ID:  <CAEJt7hZrbh%2Bawr0Snao%2Brbg9y0Pu83AZdBx0JErd1SNb6PpJzw@mail.gmail.com>
In-Reply-To: <CAJ_iqtaBvqWG96%2B3A48Yt7QZGYQXzfbe1wHoqxw4Ac4QJz%2BREA@mail.gmail.com>
References:  <CAJ_iqtZJH5fY%2BavaRyisASVnR63XskJpQ%2BPStKckDV36emknSw@mail.gmail.com> <CAJ_iqtaBvqWG96%2B3A48Yt7QZGYQXzfbe1wHoqxw4Ac4QJz%2BREA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 23, 2014 at 4:31 PM, Torfinn Ingolfsen <tingox@gmail.com> wrote:

> Also, MAKE_JOBS_UNSAFE=yes doesn't help:
> root@kg-core1# MAKE_JOBS_UNSAFE=yes make
> ===> License LGPL20 accepted by the user
> ===> Found saved configuration for openal-soft-1.16.0
> ===> openal-soft-1.16.0 depends on file: /usr/local/sbin/pkg - found
> ===> Fetching all distfiles required by openal-soft-1.16.0 for building
> ===> Extracting for openal-soft-1.16.0
> => SHA256 Checksum OK for openal-soft-1.16.0.tar.bz2.
> ===> Patching for openal-soft-1.16.0
> ===> Applying FreeBSD patches for openal-soft-1.16.0
> ===> openal-soft-1.16.0 depends on file: /usr/local/bin/cmake - found
> ===> Configuring for openal-soft-1.16.0
> ===> Performing in-source build
> /bin/mkdir -p /usr/ports/audio/openal-soft/work/openal-soft-1.16.0
> -- The C compiler identification is GNU 4.2.1
> -- The CXX compiler identification is GNU 4.2.1
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Checking _FILE_OFFSET_BITS for large files
> -- Checking _FILE_OFFSET_BITS for large files - not needed
> -- Looking for sys/types.h
> -- Looking for sys/types.h - found
> -- Looking for stdint.h
> -- Looking for stdint.h - found
> -- Looking for stddef.h
> -- Looking for stddef.h - found
> -- Check size of long
> -- Check size of long - done
> -- Check size of long long
> -- Check size of long long - done
> -- Performing Test HAVE_STD_C99
> -- Performing Test HAVE_STD_C99 - Success
> -- Performing Test INLINE_IS_C99
> -- Performing Test INLINE_IS_C99 - Success
> -- Performing Test HAVE_C99_VLA
> -- Performing Test HAVE_C99_VLA - Success
> -- Performing Test HAVE_C99_BOOL
> -- Performing Test HAVE_C99_BOOL - Success
> -- Performing Test HAVE_C11_STATIC_ASSERT
> -- Performing Test HAVE_C11_STATIC_ASSERT - Failed
> -- Performing Test HAVE_C11_ALIGNAS
> -- Performing Test HAVE_C11_ALIGNAS - Failed
> -- Performing Test HAVE_C11_ATOMIC
> -- Performing Test HAVE_C11_ATOMIC - Failed
> -- Performing Test HAVE_W_EXTRA
> -- Performing Test HAVE_W_EXTRA - Success
> -- Performing Test HAVE_FPIC_SWITCH
> -- Performing Test HAVE_FPIC_SWITCH - Success
> -- Performing Test HAVE_GCC_DESTRUCTOR
> -- Performing Test HAVE_GCC_DESTRUCTOR - Success
> -- Performing Test HAVE_GCC_PROTECTED_VISIBILITY
> -- Performing Test HAVE_GCC_PROTECTED_VISIBILITY - Success
> -- Performing Test HAVE_VISIBILITY_HIDDEN_SWITCH
> -- Performing Test HAVE_VISIBILITY_HIDDEN_SWITCH - Success
> -- Performing Test HAVE_ATTRIBUTE_ALIGNED
> -- Performing Test HAVE_ATTRIBUTE_ALIGNED - Success
> -- Performing Test HAVE_MSSE_SWITCH
> -- Performing Test HAVE_MSSE_SWITCH - Success
> -- Performing Test HAVE_MSSE2_SWITCH
> -- Performing Test HAVE_MSSE2_SWITCH - Success
> -- Performing Test HAVE_MSSE4_1_SWITCH
> -- Performing Test HAVE_MSSE4_1_SWITCH - Failed
> -- Performing Test HAVE_GCC_FORMAT
> -- Performing Test HAVE_GCC_FORMAT - Success
> -- Looking for stdbool.h
> -- Looking for stdbool.h - found
> -- Looking for stdalign.h
> -- Looking for stdalign.h - not found
> -- Looking for malloc.h
> -- Looking for malloc.h - not found
> -- Looking for ftw.h
> -- Looking for ftw.h - found
> -- Looking for io.h
> -- Looking for io.h - not found
> -- Looking for strings.h
> -- Looking for strings.h - found
> -- Looking for cpuid.h
> -- Looking for cpuid.h - not found
> -- Looking for intrin.h
> -- Looking for intrin.h - not found
> -- Looking for sys/sysconf.h
> -- Looking for sys/sysconf.h - not found
> -- Looking for fenv.h
> -- Looking for fenv.h - found
> -- Looking for float.h
> -- Looking for float.h - found
> -- Looking for ieeefp.h
> -- Looking for ieeefp.h - found
> -- Looking for guiddef.h
> -- Looking for guiddef.h - not found
> -- Looking for initguid.h
> -- Looking for initguid.h - not found
> -- Looking for pow in m
> -- Looking for pow in m - found
> -- Looking for aligned_alloc
> -- Looking for aligned_alloc - not found
> -- Looking for posix_memalign
> -- Looking for posix_memalign - found
> -- Looking for _aligned_malloc
> -- Looking for _aligned_malloc - not found
> -- Looking for lrintf
> -- Looking for lrintf - found
> -- Looking for _controlfp
> -- Looking for _controlfp - not found
> -- Looking for __control87_2
> -- Looking for __control87_2 - not found
> -- Looking for ftw
> -- Looking for ftw - found
> -- Looking for strtof
> -- Looking for strtof - found
> -- Looking for stat
> -- Looking for stat - found
> -- Looking for strcasecmp
> -- Looking for strcasecmp - found
> -- Looking for strncasecmp
> -- Looking for strncasecmp - found
> -- Looking for snprintf
> -- Looking for snprintf - found
> -- Looking for isfinite
> -- Looking for isfinite - found
> -- Looking for isnan
> -- Looking for isnan - found
> -- Looking for dlfcn.h
> -- Looking for dlfcn.h - found
> -- Looking for dlopen in dl
> -- Looking for dlopen in dl - not found
> -- Looking for windows.h
> -- Looking for windows.h - not found
> -- Looking for gettimeofday
> -- Looking for gettimeofday - found
> -- Looking for nanosleep
> -- Looking for nanosleep - found
> -- Looking for pthread.h
> -- Looking for pthread.h - found
> -- Looking for include files pthread.h, pthread_np.h
> -- Looking for include files pthread.h, pthread_np.h - found
> -- Performing Test HAVE_PTHREAD
> -- Performing Test HAVE_PTHREAD - Success
> -- Looking for pthread_create in pthread
> -- Looking for pthread_create in pthread - found
> -- Looking for pthread_setschedparam
> -- Looking for pthread_setschedparam - found
> -- Looking for pthread_setname_np
> -- Looking for pthread_setname_np - not found
> -- Looking for pthread_set_name_np
> -- Looking for pthread_set_name_np - not found
> -- Looking for pthread_mutexattr_setkind_np
> -- Looking for pthread_mutexattr_setkind_np - found
> -- Looking for pthread_mutex_timedlock
> -- Looking for pthread_mutex_timedlock - found
> -- Looking for xmmintrin.h
> -- Looking for xmmintrin.h - found
> -- Looking for emmintrin.h
> -- Looking for emmintrin.h - found
> -- Looking for smmintrin.h
> -- Looking for smmintrin.h - not found
> -- Looking for arm_neon.h
> -- Looking for arm_neon.h - not found
> -- Could NOT find FluidSynth (missing: FLUIDSYNTH_LIBRARIES
> FLUIDSYNTH_INCLUDE_DIR)
> -- Found ALSA: /usr/local/lib/libasound.so (found version "1.0.28")
> -- Found OSS: /usr/include
> -- Could NOT find AudioIO (missing: AUDIOIO_INCLUDE_DIR)
> -- Could NOT find SoundIO (missing: SOUNDIO_LIBRARY SOUNDIO_INCLUDE_DIR)
> -- Could NOT find QSA (missing: QSA_LIBRARY QSA_INCLUDE_DIR)
> -- Found PortAudio: /usr/local/lib/libportaudio.so
> -- Found PulseAudio: /usr/local/lib/libpulse.so (found version "0.9.23")
> -- Looking for include files SLES/OpenSLES.h, SLES/OpenSLES_Android.h
> -- Looking for include files SLES/OpenSLES.h, SLES/OpenSLES_Android.h
> - not found
> --
> -- Building OpenAL with support for the following backends:
> -- OSS, WaveFile, Null
> --
> -- Building with support for CPU extensions:
> -- Default, SSE, SSE2
> --
> -- Installing sample configuration
> --
> -- Installing HRTF definitions
> --
> -- Building utility programs
> --
> -- Configuring done
> -- Generating done
> CMake Warning:
> Manually-specified variables were not used by the project:
>
> ALSOFT_MIDI_FLUIDSYNTH
> CMAKE_CXX_FLAGS_DEBUG
> CMAKE_CXX_FLAGS_RELEASE
> CMAKE_MODULE_LINKER_FLAGS
> THREADS_HAVE_PTHREAD_ARG
>
>
> -- Build files have been written to:
> /usr/ports/audio/openal-soft/work/openal-soft-1.16.0
> ===> Building for openal-soft-1.16.0
> Scanning dependencies of target common
> [ 1%] Building C object CMakeFiles/common.dir/common/atomic.c.o
> [ 3%] Building C object CMakeFiles/common.dir/common/rwlock.c.o
> [ 5%] Building C object CMakeFiles/common.dir/common/threads.c.o
> [ 7%] Building C object CMakeFiles/common.dir/common/uintmap.c.o
> Linking C static library libcommon.a
> [ 7%] Built target common
> Scanning dependencies of target makehrtf
> [ 9%] Building C object CMakeFiles/makehrtf.dir/utils/makehrtf.c.o
> Linking C executable makehrtf
> [ 9%] Built target makehrtf
> Scanning dependencies of target openal
> [ 11%] Building C object CMakeFiles/openal.dir/OpenAL32/alAuxEffectSlot.c.o
>
> /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/OpenAL32/alAuxEffectSlot.c:
> In function 'AddEffectSlotArray':
>
> /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/OpenAL32/alAuxEffectSlot.c:393:
> error: conflicting types for 'static_assertion___COUNTER__'
>
> /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/OpenAL32/alAuxEffectSlot.c:393:
> error: previous declaration of 'static_assertion___COUNTER__' was here
>
> /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/OpenAL32/alAuxEffectSlot.c:393:
> error: conflicting types for 'static_assertion___COUNTER__'
>
> /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/OpenAL32/alAuxEffectSlot.c:393:
> error: previous declaration of 'static_assertion___COUNTER__' was here
> *** Error code 1
>
> Stop in /usr/ports/audio/openal-soft/work/openal-soft-1.16.0.
> *** Error code 1
>
> Stop in /usr/ports/audio/openal-soft/work/openal-soft-1.16.0.
> *** Error code 1
>
> Stop in /usr/ports/audio/openal-soft/work/openal-soft-1.16.0.
> *** Error code 1
>
> Stop in /usr/ports/audio/openal-soft.
> *** Error code 1
>
> Stop in /usr/ports/audio/openal-soft.
>
> On Thu, Oct 23, 2014 at 10:29 PM, Torfinn Ingolfsen <tingox@gmail.com>
> wrote:
> > portinstall fails:
> > root@kg-core1# portinstall -R openal-soft
> > [Reading data from pkg(8) ... - 1005 packages found - done]
> > [Gathering depends for audio/openal-soft
> ................................. done]
> > ---> Installing 'openal-soft-1.16.0' from a port (audio/openal-soft)
> > ---> Building '/usr/ports/audio/openal-soft'
> > ===> Cleaning for openal-soft-1.16.0
> > ===> License LGPL20 accepted by the user
> > ===> Found saved configuration for openal-soft-1.16.0
> > ===> openal-soft-1.16.0 depends on file: /usr/local/sbin/pkg - found
> > ===> Fetching all distfiles required by openal-soft-1.16.0 for building
> > ===> Extracting for openal-soft-1.16.0
> > => SHA256 Checksum OK for openal-soft-1.16.0.tar.bz2.
> > ===> Patching for openal-soft-1.16.0
> > ===> Applying FreeBSD patches for openal-soft-1.16.0
> > ===> openal-soft-1.16.0 depends on file: /usr/local/bin/cmake - found
> > ===> Configuring for openal-soft-1.16.0
> > ===> Performing in-source build
> > /bin/mkdir -p /usr/ports/audio/openal-soft/work/openal-soft-1.16.0
> > -- The C compiler identification is GNU 4.2.1
> > -- The CXX compiler identification is GNU 4.2.1
> > -- Check for working C compiler: /usr/bin/cc
> > -- Check for working C compiler: /usr/bin/cc -- works
> > -- Detecting C compiler ABI info
> > -- Detecting C compiler ABI info - done
> > -- Check for working CXX compiler: /usr/bin/c++
> > -- Check for working CXX compiler: /usr/bin/c++ -- works
> > -- Detecting CXX compiler ABI info
> > -- Detecting CXX compiler ABI info - done
> > -- Checking _FILE_OFFSET_BITS for large files
> > -- Checking _FILE_OFFSET_BITS for large files - not needed
> > -- Looking for sys/types.h
> > -- Looking for sys/types.h - found
> > -- Looking for stdint.h
> > -- Looking for stdint.h - found
> > -- Looking for stddef.h
> > -- Looking for stddef.h - found
> > -- Check size of long
> > -- Check size of long - done
> > -- Check size of long long
> > -- Check size of long long - done
> > -- Performing Test HAVE_STD_C99
> > -- Performing Test HAVE_STD_C99 - Success
> > -- Performing Test INLINE_IS_C99
> > -- Performing Test INLINE_IS_C99 - Success
> > -- Performing Test HAVE_C99_VLA
> > -- Performing Test HAVE_C99_VLA - Success
> > -- Performing Test HAVE_C99_BOOL
> > -- Performing Test HAVE_C99_BOOL - Success
> > -- Performing Test HAVE_C11_STATIC_ASSERT
> > -- Performing Test HAVE_C11_STATIC_ASSERT - Failed
> > -- Performing Test HAVE_C11_ALIGNAS
> > -- Performing Test HAVE_C11_ALIGNAS - Failed
> > -- Performing Test HAVE_C11_ATOMIC
> > -- Performing Test HAVE_C11_ATOMIC - Failed
> > -- Performing Test HAVE_W_EXTRA
> > -- Performing Test HAVE_W_EXTRA - Success
> > -- Performing Test HAVE_FPIC_SWITCH
> > -- Performing Test HAVE_FPIC_SWITCH - Success
> > -- Performing Test HAVE_GCC_DESTRUCTOR
> > -- Performing Test HAVE_GCC_DESTRUCTOR - Success
> > -- Performing Test HAVE_GCC_PROTECTED_VISIBILITY
> > -- Performing Test HAVE_GCC_PROTECTED_VISIBILITY - Success
> > -- Performing Test HAVE_VISIBILITY_HIDDEN_SWITCH
> > -- Performing Test HAVE_VISIBILITY_HIDDEN_SWITCH - Success
> > -- Performing Test HAVE_ATTRIBUTE_ALIGNED
> > -- Performing Test HAVE_ATTRIBUTE_ALIGNED - Success
> > -- Performing Test HAVE_MSSE_SWITCH
> > -- Performing Test HAVE_MSSE_SWITCH - Success
> > -- Performing Test HAVE_MSSE2_SWITCH
> > -- Performing Test HAVE_MSSE2_SWITCH - Success
> > -- Performing Test HAVE_MSSE4_1_SWITCH
> > -- Performing Test HAVE_MSSE4_1_SWITCH - Failed
> > -- Performing Test HAVE_GCC_FORMAT
> > -- Performing Test HAVE_GCC_FORMAT - Success
> > -- Looking for stdbool.h
> > -- Looking for stdbool.h - found
> > -- Looking for stdalign.h
> > -- Looking for stdalign.h - not found
> > -- Looking for malloc.h
> > -- Looking for malloc.h - not found
> > -- Looking for ftw.h
> > -- Looking for ftw.h - found
> > -- Looking for io.h
> > -- Looking for io.h - not found
> > -- Looking for strings.h
> > -- Looking for strings.h - found
> > -- Looking for cpuid.h
> > -- Looking for cpuid.h - not found
> > -- Looking for intrin.h
> > -- Looking for intrin.h - not found
> > -- Looking for sys/sysconf.h
> > -- Looking for sys/sysconf.h - not found
> > -- Looking for fenv.h
> > -- Looking for fenv.h - found
> > -- Looking for float.h
> > -- Looking for float.h - found
> > -- Looking for ieeefp.h
> > -- Looking for ieeefp.h - found
> > -- Looking for guiddef.h
> > -- Looking for guiddef.h - not found
> > -- Looking for initguid.h
> > -- Looking for initguid.h - not found
> > -- Looking for pow in m
> > -- Looking for pow in m - found
> > -- Looking for aligned_alloc
> > -- Looking for aligned_alloc - not found
> > -- Looking for posix_memalign
> > -- Looking for posix_memalign - found
> > -- Looking for _aligned_malloc
> > -- Looking for _aligned_malloc - not found
> > -- Looking for lrintf
> > -- Looking for lrintf - found
> > -- Looking for _controlfp
> > -- Looking for _controlfp - not found
> > -- Looking for __control87_2
> > -- Looking for __control87_2 - not found
> > -- Looking for ftw
> > -- Looking for ftw - found
> > -- Looking for strtof
> > -- Looking for strtof - found
> > -- Looking for stat
> > -- Looking for stat - found
> > -- Looking for strcasecmp
> > -- Looking for strcasecmp - found
> > -- Looking for strncasecmp
> > -- Looking for strncasecmp - found
> > -- Looking for snprintf
> > -- Looking for snprintf - found
> > -- Looking for isfinite
> > -- Looking for isfinite - found
> > -- Looking for isnan
> > -- Looking for isnan - found
> > -- Looking for dlfcn.h
> > -- Looking for dlfcn.h - found
> > -- Looking for dlopen in dl
> > -- Looking for dlopen in dl - not found
> > -- Looking for windows.h
> > -- Looking for windows.h - not found
> > -- Looking for gettimeofday
> > -- Looking for gettimeofday - found
> > -- Looking for nanosleep
> > -- Looking for nanosleep - found
> > -- Looking for pthread.h
> > -- Looking for pthread.h - found
> > -- Looking for include files pthread.h, pthread_np.h
> > -- Looking for include files pthread.h, pthread_np.h - found
> > -- Performing Test HAVE_PTHREAD
> > -- Performing Test HAVE_PTHREAD - Success
> > -- Looking for pthread_create in pthread
> > -- Looking for pthread_create in pthread - found
> > -- Looking for pthread_setschedparam
> > -- Looking for pthread_setschedparam - found
> > -- Looking for pthread_setname_np
> > -- Looking for pthread_setname_np - not found
> > -- Looking for pthread_set_name_np
> > -- Looking for pthread_set_name_np - not found
> > -- Looking for pthread_mutexattr_setkind_np
> > -- Looking for pthread_mutexattr_setkind_np - found
> > -- Looking for pthread_mutex_timedlock
> > -- Looking for pthread_mutex_timedlock - found
> > -- Looking for xmmintrin.h
> > -- Looking for xmmintrin.h - found
> > -- Looking for emmintrin.h
> > -- Looking for emmintrin.h - found
> > -- Looking for smmintrin.h
> > -- Looking for smmintrin.h - not found
> > -- Looking for arm_neon.h
> > -- Looking for arm_neon.h - not found
> > -- Could NOT find FluidSynth (missing: FLUIDSYNTH_LIBRARIES
> > FLUIDSYNTH_INCLUDE_DIR)
> > -- Found ALSA: /usr/local/lib/libasound.so (found version "1.0.28")
> > -- Found OSS: /usr/include
> > -- Could NOT find AudioIO (missing: AUDIOIO_INCLUDE_DIR)
> > -- Could NOT find SoundIO (missing: SOUNDIO_LIBRARY SOUNDIO_INCLUDE_DIR)
> > -- Could NOT find QSA (missing: QSA_LIBRARY QSA_INCLUDE_DIR)
> > -- Found PortAudio: /usr/local/lib/libportaudio.so
> > -- Found PulseAudio: /usr/local/lib/libpulse.so (found version "0.9.23")
> > -- Looking for include files SLES/OpenSLES.h, SLES/OpenSLES_Android.h
> > -- Looking for include files SLES/OpenSLES.h, SLES/OpenSLES_Android.h
> > - not found
> > --
> > -- Building OpenAL with support for the following backends:
> > -- OSS, WaveFile, Null
> > --
> > -- Building with support for CPU extensions:
> > -- Default, SSE, SSE2
> > --
> > -- Installing sample configuration
> > --
> > -- Installing HRTF definitions
> > --
> > -- Building utility programs
> > --
> > -- Configuring done
> > -- Generating done
> > CMake Warning:
> > Manually-specified variables were not used by the project:
> >
> > ALSOFT_MIDI_FLUIDSYNTH
> > CMAKE_CXX_FLAGS_DEBUG
> > CMAKE_CXX_FLAGS_RELEASE
> > CMAKE_MODULE_LINKER_FLAGS
> > THREADS_HAVE_PTHREAD_ARG
> >
> >
> > -- Build files have been written to:
> > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0
> > ===> Building for openal-soft-1.16.0
> > Scanning dependencies of target common
> > Scanning dependencies of target makehrtf
> > [ 5%] Building C object CMakeFiles/common.dir/common/rwlock.c.o
> > [ 1%] Building C object CMakeFiles/makehrtf.dir/utils/makehrtf.c.o
> > [ 5%] Building C object CMakeFiles/common.dir/common/atomic.c.o
> > [ 7%] Building C object CMakeFiles/common.dir/common/threads.c.o
> > [ 9%] Building C object CMakeFiles/common.dir/common/uintmap.c.o
> > Linking C static library libcommon.a
> > [ 9%] Built target common
> > Scanning dependencies of target openal
> > [ 11%] Building C object
> CMakeFiles/openal.dir/OpenAL32/alAuxEffectSlot.c.o
> > [ 12%] Building C object CMakeFiles/openal.dir/OpenAL32/alEffect.c.o
> >
> /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/OpenAL32/alAuxEffectSlot.c:
> > In function 'AddEffectSlotArray':
> >
> /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/OpenAL32/alAuxEffectSlot.c:393:
> > error: conflicting types for 'static_assertion___COUNTER__'
> >
> /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/OpenAL32/alAuxEffectSlot.c:393:
> > error: previous declaration of 'static_assertion___COUNTER__' was here
> >
> /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/OpenAL32/alAuxEffectSlot.c:393:
> > error: conflicting types for 'static_assertion___COUNTER__'
> >
> /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/OpenAL32/alAuxEffectSlot.c:393:
> > error: previous declaration of 'static_assertion___COUNTER__' was here
> > [ 14%] Building C object CMakeFiles/openal.dir/OpenAL32/alBuffer.c.o
>

That's strange. __COUNTER__ should become 0, 1, 2, ... so the type names
should be different.
Would you please try to compile this:

#include <stdio.h>

#define foo2(x,y) x##y
#define foo(x, y) foo2(x,y)

typedef int foo(bar, __COUNTER__);
typedef float foo(bar, __COUNTER__);

int main() {
    printf("%d %d %d\n", foo(0, __COUNTER__), foo(1, __COUNTER__), foo(2,
__COUNTER__));
}

and give the output of `make VERBOSE=1`?

On the other hand, it says "conflicting types" so some static assertions
may have failed.

> *** Error code 1
> > 1 error
> > *** Error code 2
> > Linking C executable makehrtf
> > [ 14%] Built target makehrtf
> > 1 error
> > *** Error code 2
> > 1 error
> > ===> Compilation failed unexpectedly.
> > Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure
> to
> > the maintainer.
> > *** Error code 1
> >
> > Stop in /usr/ports/audio/openal-soft.
> > *** Error code 1
> >
> > Stop in /usr/ports/audio/openal-soft.
> > ** Command failed [exit code 1]: /usr/bin/script -qa
> > /tmp/portinstall20141023-71200-1jz7gxa env make
> > ** Fix the problem and try again.
> > ** Listing the failed packages (-:ignored / *:skipped / !:failed)
> > ! audio/openal-soft (compiler error)
> >
> > This on
> > tingo@kg-core1$ uname -a
> > FreeBSD kg-core1.kg4.no 8.4-STABLE FreeBSD 8.4-STABLE #1 r266590: Fri
> > May 23 20:23:35 CEST 2014
> > root@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64
> >
> > ports tree updated yesterday.
> > HTH
> > --
> > Regards,
> > Torfinn Ingolfsen
>
>
>
> --
> mvh
> Torfinn
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>



-- 
Cheers,
Henry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEJt7hZrbh%2Bawr0Snao%2Brbg9y0Pu83AZdBx0JErd1SNb6PpJzw>