ports/180286: audio/chromaprint is failing to compile on current

Sean Bruno sbruno at FreeBSD.org
Thu Jul 4 21:10:00 UTC 2013


>Number:         180286
>Category:       ports
>Synopsis:       audio/chromaprint is failing to compile on current
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 04 21:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Sean Bruno
>Release:        10-current
>Organization:
FreeBSD Project
>Environment:
FreeBSD powernoodle 10.0-CURRENT FreeBSD 10.0-CURRENT #5 r252368: Fri Jun 28 23:39:03 PDT 2013     sbruno at powernoodle:/usr/obj/usr/src/sys/POWERNOODLE  amd64

>Description:
trying to rebuild audio/clementine-player and seeing a build failure from audio/chromaprint

===>>> clementine-player-1.1.1 >> chromaprint-0.7 (71/218)

===>  Building for chromaprint-0.7
-- Using FFmpeg for FFT calculations
-- Boost version: 1.52.0
-- Found the following Boost libraries:
--   system
--   filesystem
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/ports/audio/chromaprint/work/chromaprint-0.7
Scanning dependencies of target chromaprint
[  4%] Building CXX object src/CMakeFiles/chromaprint.dir/fft_lib_avfft.cpp.o
[  4%] Building CXX object src/CMakeFiles/chromaprint.dir/fft.cpp.o
Linking CXX shared library libchromaprint.so
[ 48%] Built target chromaprint
Scanning dependencies of target chromaprint_p
[ 53%] Building CXX object src/CMakeFiles/chromaprint_p.dir/fft.cpp.o
[ 53%] Building CXX object src/CMakeFiles/chromaprint_p.dir/fft_lib_avfft.cpp.o
Linking CXX static library libchromaprint_p.a
[ 97%] Built target chromaprint_p
Scanning dependencies of target fpcalc
[100%] Building C object examples/CMakeFiles/fpcalc.dir/fpcalc.c.o
/usr/ports/audio/chromaprint/work/chromaprint-0.7/examples/fpcalc.c:37:6: warning: 'av_open_input_file' is deprecated [-Wdeprecated-declarations]
        if (av_open_input_file(&format_ctx, file_name, NULL, 0, NULL) != 0) {
            ^
/usr/local/include/libavformat/avformat.h:1170:26: note: 'av_open_input_file' declared here
attribute_deprecated int av_open_input_file(AVFormatContext **ic_ptr, const char *filename,
                         ^
/usr/ports/audio/chromaprint/work/chromaprint-0.7/examples/fpcalc.c:142:24: warning: 'av_get_bits_per_sample_format' is deprecated [-Wdeprecated-declarations]
                                int istride[6] = { av_get_bits_per_sample_format(codec_ctx->sample_fmt) / 8 };
                                                   ^
/usr/local/include/libavcodec/avcodec.h:4106:5: note: 'av_get_bits_per_sample_format' declared here
int av_get_bits_per_sample_format(enum AVSampleFormat sample_fmt);
    ^
2 warnings generated.
Linking C executable fpcalc
/usr/bin/ld: ../src/libchromaprint.so.0.2.0: invalid string offset 4294952840 >= 8985 for section `.dynstr'
./src/libchromaprint.so.0.2.0: undefined reference to `no symbol'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
--- examples/fpcalc ---
*** [examples/fpcalc] Error code 1

make: stopped in /usr/ports/audio/chromaprint/work/chromaprint-0.7
1 error

make: stopped in /usr/ports/audio/chromaprint/work/chromaprint-0.7
*** Error code 2

Stop.
make: stopped in /usr/ports/audio/chromaprint/work/chromaprint-0.7
--- all ---
*** [all] Error code 1

make: stopped in /usr/ports/audio/chromaprint/work/chromaprint-0.7
1 error

make: stopped in /usr/ports/audio/chromaprint/work/chromaprint-0.7
*** Error code 1

Stop.
make: stopped in /usr/ports/audio/chromaprint

===>>> make failed for audio/chromaprint
===>>> Aborting update

===>>> Update for chromaprint-0.7 failed
===>>> Aborting update

===>>> Killing background jobs
Terminated

>How-To-Repeat:
build the port
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list