[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1020057: libambix: FTBFS: sndfile.c:335:9: error: conflicting types for ‘_ambix_get_sndfile’; have ‘SNDFILE *(ambix_t *)’ {aka ‘struct sf_private_tag *(struct ambix_t_struct *)’}



Source: libambix
Version: 0.1.1-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20220917 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> /bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../../libambix -DAMBIX_INTERNAL  -Wdate-time -D_FORTIFY_SOURCE=2  -fvisibility=hidden -I/usr/include/opus -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libambix_la-sndfile.lo `test -f 'sndfile.c' || echo './'`sndfile.c
> marker_region_chunk.c: In function ‘_ambix_read_markersregions’:
> marker_region_chunk.c:234:50: warning: dereferencing ‘void *’ pointer
>   234 |       caf_stringid = (CAFStringID*)(&strings_data[4]);
>       |                                                  ^
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libambix -DAMBIX_INTERNAL -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -I/usr/include/opus -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c matrix_invert.c -o libambix_la-matrix_invert.o >/dev/null 2>&1
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libambix -DAMBIX_INTERNAL -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -I/usr/include/opus -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c sndfile.c  -fPIC -DPIC -o .libs/libambix_la-sndfile.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libambix -DAMBIX_INTERNAL -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -I/usr/include/opus -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c libambix.c -o libambix_la-libambix.o >/dev/null 2>&1
> sndfile.c:335:9: error: conflicting types for ‘_ambix_get_sndfile’; have ‘SNDFILE *(ambix_t *)’ {aka ‘struct sf_private_tag *(struct ambix_t_struct *)’}
>   335 | SNDFILE*_ambix_get_sndfile      (ambix_t*ambix) {
>       |         ^~~~~~~~~~~~~~~~~~
> In file included from sndfile.c:30:
> private.h:146:20: note: previous declaration of ‘_ambix_get_sndfile’ with type ‘struct SNDFILE_tag *(ambix_t *)’ {aka ‘struct SNDFILE_tag *(struct ambix_t_struct *)’}
>   146 | struct SNDFILE_tag*_ambix_get_sndfile   (ambix_t*ambix);
>       |                    ^~~~~~~~~~~~~~~~~~
> make[4]: *** [Makefile:633: libambix_la-sndfile.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/libambix_0.1.1-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.


Reply to: