Source: libftdi1
Version: 1.5-7
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20241222 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/build-python3.13/ftdipp && /usr/bin/c++ -Dftdipp1_EXPORTS 
> -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/ftdipp 
> -I/<<PKGBUILDDIR>>/build-python3.13/ftdipp -I/usr/include/libusb-1.0 -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC   -Wall -MD -MT 
> ftdipp/CMakeFiles/ftdipp1.dir/ftdi.cpp.o -MF 
> CMakeFiles/ftdipp1.dir/ftdi.cpp.o.d -o CMakeFiles/ftdipp1.dir/ftdi.cpp.o -c 
> /<<PKGBUILDDIR>>/ftdipp/ftdi.cpp
> /<<PKGBUILDDIR>>/build-python3.13/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:
>  In function ‘_wrap_usb_find_all’:
> /<<PKGBUILDDIR>>/build-python3.13/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:3756:15:
>  error: too few arguments to function ‘SWIG_Python_AppendOutput’
>  3756 |   resultobj = SWIG_Python_AppendOutput(resultobj, 
> SWIG_NewPointerObj((void*)*arg2,SWIGTYPE_p_ftdi_device_list,0));
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/build-python3.13/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:1259:1:
>  note: declared here
>  1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int 
> is_void) {
>       | ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/build-python3.13/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:
>  In function ‘_wrap_read_data’:
> /<<PKGBUILDDIR>>/build-python3.13/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:4015:15:
>  error: too few arguments to function ‘SWIG_Python_AppendOutput’
>  4015 |   resultobj = SWIG_Python_AppendOutput(resultobj, 
> charp2str((char*)arg2, arg3));
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/build-python3.13/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:1259:1:
>  note: declared here
>  1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int 
> is_void) {
>       | ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/build-python3.13/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:
>  In function ‘_wrap_read_pins’:
> /<<PKGBUILDDIR>>/build-python3.13/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:4139:15:
>  error: too few arguments to function ‘SWIG_Python_AppendOutput’
>  4139 |   resultobj = SWIG_Python_AppendOutput(resultobj, 
> charp2str((char*)arg2, 1));
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/build-python3.13/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:1259:1:
>  note: declared here
>  1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int 
> is_void) {
>       | ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/build-python3.13/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:
>  In function ‘_wrap_get_latency_timer’:
> /<<PKGBUILDDIR>>/build-python3.13/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:4167:15:
>  error: too few arguments to function ‘SWIG_Python_AppendOutput’
>  4167 |   resultobj = SWIG_Python_AppendOutput(resultobj, 
> charp2str((char*)arg2, 1));
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/build-python3.13/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:1259:1:
>  note: declared here
>  1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int 
> is_void) {
>       | ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/build-python3.13/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:
>  In function ‘_wrap_get_eeprom_buf’:
> /<<PKGBUILDDIR>>/build-python3.13/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:4272:15:
>  error: too few arguments to function ‘SWIG_Python_AppendOutput’
>  4272 |   resultobj = SWIG_Python_AppendOutput(resultobj, 
> charp2str((char*)arg2, arg3));
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/build-python3.13/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:1259:1:
>  note: declared here
>  1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int 
> is_void) {
>       | ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/build-python3.13/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:
>  In function ‘_wrap_usb_purge_rx_buffer’:
> /<<PKGBUILDDIR>>/build-python3.13/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:7556:3:
>  warning: ‘ftdi_usb_purge_rx_buffer’ is deprecated [-Wdeprecated-declarations]
>  7556 |   result = (int)ftdi_usb_purge_rx_buffer(arg1);
>       |   ^~~~~~
> In file included from 
> /<<PKGBUILDDIR>>/build-python3.13/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:3712:
> /<<PKGBUILDDIR>>/src/ftdi.h:564:20: note: declared here
>   564 |     int DEPRECATED(ftdi_usb_purge_rx_buffer(struct ftdi_context 
> *ftdi));
>       |                    ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/ftdi.h:247:55: note: in definition of macro ‘DEPRECATED’
>   247 | #define DEPRECATED(func) __attribute__ ((deprecated)) func
>       |                                                       ^~~~
> /<<PKGBUILDDIR>>/build-python3.13/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:
>  In function ‘_wrap_usb_purge_tx_buffer’:
> /<<PKGBUILDDIR>>/build-python3.13/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:7580:3:
>  warning: ‘ftdi_usb_purge_tx_buffer’ is deprecated [-Wdeprecated-declarations]
>  7580 |   result = (int)ftdi_usb_purge_tx_buffer(arg1);
>       |   ^~~~~~
> /<<PKGBUILDDIR>>/src/ftdi.h:565:20: note: declared here
>   565 |     int DEPRECATED(ftdi_usb_purge_tx_buffer(struct ftdi_context 
> *ftdi));
>       |                    ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/ftdi.h:247:55: note: in definition of macro ‘DEPRECATED’
>   247 | #define DEPRECATED(func) __attribute__ ((deprecated)) func
>       |                                                       ^~~~
> /<<PKGBUILDDIR>>/build-python3.13/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:
>  In function ‘_wrap_usb_purge_buffers’:
> /<<PKGBUILDDIR>>/build-python3.13/python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c:7604:3:
>  warning: ‘ftdi_usb_purge_buffers’ is deprecated [-Wdeprecated-declarations]
>  7604 |   result = (int)ftdi_usb_purge_buffers(arg1);
>       |   ^~~~~~
> /<<PKGBUILDDIR>>/src/ftdi.h:566:20: note: declared here
>   566 |     int DEPRECATED(ftdi_usb_purge_buffers(struct ftdi_context *ftdi));
>       |                    ^~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/ftdi.h:247:55: note: in definition of macro ‘DEPRECATED’
>   247 | #define DEPRECATED(func) __attribute__ ((deprecated)) func
>       |                                                       ^~~~
> [ 84%] Linking CXX static library libftdipp1.a
> cd /<<PKGBUILDDIR>>/build-python3.13/ftdipp && /usr/bin/cmake -P 
> CMakeFiles/ftdipp1-static.dir/cmake_clean_target.cmake
> cd /<<PKGBUILDDIR>>/build-python3.13/ftdipp && /usr/bin/cmake -E 
> cmake_link_script CMakeFiles/ftdipp1-static.dir/link.txt --verbose=1
> /usr/bin/ar qc libftdipp1.a "CMakeFiles/ftdipp1-static.dir/ftdi.cpp.o"
> /usr/bin/ranlib libftdipp1.a
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-python3.13'
> [ 84%] Built target ftdipp1-static
> make[4]: *** [python/CMakeFiles/_ftdi1.dir/build.make:82: 
> python/CMakeFiles/_ftdi1.dir/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c.o] 
> Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/12/22/libftdi1_1.5-7_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20241222;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20241222&fusertaguser=lu...@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 mark 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 via email to