• Bug#1066348: hplip: FTBFS: scan/sane/hpaio.c:364:12: error: implicit de

    From Lucas Nussbaum@21:1/5 to All on Wed Mar 13 13:00:09 2024
    Source: hplip
    Version: 3.22.10+dfsg0-4
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

    Hi,

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

    This is most likely caused by a change in dpkg 1.22.6, that enabled -Werror=implicit-function-declaration. For more information, see https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

    Relevant part (hopefully):
    /bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.22.10\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.22.10\" -DPACKAGE_BUGREPORT=\"3.22.
    10\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.22.10\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -
    DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_
    LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_CUPS_PPD_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/
    sane -Iprnt/hpijs -Icommon/ -Iprotocol -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Iprotocol -Iprotocol/discovery -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
    -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/python3.11 -I/usr/include/python3.11 -DCONFDIR=\"/etc/hp\" -c -o libsane_hpaio_la-pml.lo `test -f 'scan/sane/pml.c' || echo './'`scan/sane/
    pml.c
    In file included from scan/sane/mfpdtf.c:28:
    scan/sane/common.h:191:1: warning: ‘visibility’ attribute ignored on non-class types [-Wattributes]
    191 | char* __attribute__ ((visibility ("hidden"))) itoa(int value, char* str, int radix);
    | ^~~~
    scan/sane/mfpdtf.c: In function ‘MfpdtfReadInnerBlock’: scan/sane/mfpdtf.c:476:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    476 | write( mfpdtf->fdLog, buffer, r ); /* log raw rgb data, use imagemagick to display */
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from scan/sane/hpaio.h:32,
    from scan/sane/hpaio.c:48:
    scan/sane/common.h:191:1: warning: ‘visibility’ attribute ignored on non-class types [-Wattributes]
    191 | char* __attribute__ ((visibility ("hidden"))) itoa(int value, char* str, int radix);
    | ^~~~
    In file included from scan/sane/hpaio.c:57:
    scan/sane/sanei_debug.h:167: warning: "DBG" redefined
    167 | # define DBG DBG_LOCAL
    |
    In file included from scan/sane/hpaio.c:41: protocol/discovery/avahiDiscovery.h:79: note: this is the location of the previous definition
    79 | #define DBG(args...)
    |
    scan/sane/hpaio.c: In function ‘GetCupsPrinters’: scan/sane/hpaio.c:202:4: warning: ‘httpConnectEncrypt’ is deprecated: Use httpConnect2 instead. [-Wdeprecated-declarations]
    202 | if ((http = httpConnectEncrypt(cupsServer(), ippPort(), cupsEncryption())) == NULL)
    | ^~
    In file included from /usr/include/cups/ipp.h:18,
    from /usr/include/cups/cups.h:28,
    from scan/sane/hpaio.c:37:
    /usr/include/cups/http.h:477:26: note: declared here
    477 | extern http_t *httpConnectEncrypt(const char *host, int port, http_encryption_t encryption) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead.");
    | ^~~~~~~~~~~~~~~~~~ scan/sane/hpaio.c:230:116: warning: passing argument 1 of ‘AddCupsList’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    230 | if (strcmp(ippGetName( attr ), "device-uri") == 0 && ippGetValueTag( attr ) == IPP_TAG_URI && AddCupsList(ippGetString( attr, 0, NULL ), printer) == 0)
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    scan/sane/hpaio.c:153:30: note: expected ‘char *’ but argument is of type ‘const char *’
    153 | static int AddCupsList(char *uri, char ***printer)
    | ~~~~~~^~~
    prnt/hpcups/genPCLm.cpp: In member function ‘void PCLmGenerator::writeJobTicket()’:
    prnt/hpcups/genPCLm.cpp:1258:64: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 233 [-Wformat-truncation=]
    1258 | snprintf(pOutStr,OUT_STR_SIZE,"%% job-start-time: %s\n",m_pPCLmSSettings->datetime); writeStr2OutBuff(pOutStr);
    | ^~
    In function ‘int snprintf(char*, size_t, const char*, ...)’,
    inlined from ‘void PCLmGenerator::writeJobTicket()’ at prnt/hpcups/genPCLm.cpp:1258:10:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 25 and 280 bytes into a destination of size 256
    54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
    | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    55 | __glibc_objsize (__s), __fmt,
    | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    56 | __va_arg_pack ());
    | ~~~~~~~~~~~~~~~~~ prnt/hpcups/genPCLm.cpp: In member function ‘void PCLmGenerator::writeJobTicket()’:
    prnt/hpcups/genPCLm.cpp:1260:65: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 232 [-Wformat-truncation=]
    1260 | snprintf(pOutStr,OUT_STR_SIZE,"%% media-size-name: %s\n",currMediaName); writeStr2OutBuff(pOutStr);
    | ^~
    In function ‘int snprintf(char*, size_t, const char*, ...)’,
    inlined from ‘void PCLmGenerator::writeJobTicket()’ at prnt/hpcups/genPCLm.cpp:1260:10:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 26 and 281 bytes into a destination of size 256
    54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
    | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    55 | __glibc_objsize (__s), __fmt,
    | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    56 | __va_arg_pack ());
    | ~~~~~~~~~~~~~~~~~ prnt/hpcups/genPCLm.cpp: In member function ‘void PCLmGenerator::writeJobTicket()’:
    prnt/hpcups/genPCLm.cpp:1261:60: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 237 [-Wformat-truncation=]
    1261 | snprintf(pOutStr,OUT_STR_SIZE,"%% media-type: %s\n",m_pPCLmSSettings->userMediaType); writeStr2OutBuff(pOutStr);
    | ^~
    In function ‘int snprintf(char*, size_t, const char*, ...)’,
    inlined from ‘void PCLmGenerator::writeJobTicket()’ at prnt/hpcups/genPCLm.cpp:1261:10:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 21 and 276 bytes into a destination of size 256
    54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
    | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    55 | __glibc_objsize (__s), __fmt,
    | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    56 | __va_arg_pack ());
    | ~~~~~~~~~~~~~~~~~ prnt/hpcups/genPCLm.cpp: In member function ‘void PCLmGenerator::writeJobTicket()’:
    prnt/hpcups/genPCLm.cpp:1262:62: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 235 [-Wformat-truncation=]
    1262 | snprintf(pOutStr,OUT_STR_SIZE,"%% media-source: %s\n",inputBin); writeStr2OutBuff(pOutStr);
    | ^~ ~~~~~~~~
    In function ‘int snprintf(char*, size_t, const char*, ...)’,
    inlined from ‘void PCLmGenerator::writeJobTicket()’ at prnt/hpcups/genPCLm.cpp:1262:10:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 23 and 278 bytes into a destination of size 256
    54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
    | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    55 | __glibc_objsize (__s), __fmt,
    | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    56 | __va_arg_pack ());
    | ~~~~~~~~~~~~~~~~~ prnt/hpcups/genPCLm.cpp: In member function ‘void PCLmGenerator::writeJobTicket()’:
    prnt/hpcups/genPCLm.cpp:1263:55: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 242 [-Wformat-truncation=]
    1263 | snprintf(pOutStr,OUT_STR_SIZE,"%% sides: %s\n",duplex); writeStr2OutBuff(pOutStr);
    | ^~ ~~~~~~
    In function ‘int snprintf(char*, size_t, const char*, ...)’,
    inlined from ‘void PCLmGenerator::writeJobTicket()’ at prnt/hpcups/genPCLm.cpp:1263:10:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 16 and 271 bytes into a destination of size 256
    54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
    | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    55 | __glibc_objsize (__s), __fmt,
    | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    56 | __va_arg_pack ());
    | ~~~~~~~~~~~~~~~~~ prnt/hpcups/genPCLm.cpp: In member function ‘void PCLmGenerator::writeJobTicket()’:
    prnt/hpcups/genPCLm.cpp:1265:60: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 237 [-Wformat-truncation=]
    1265 | snprintf(pOutStr,OUT_STR_SIZE,"%% output-bin: %s\n",outputBin); writeStr2OutBuff(pOutStr);
    | ^~ ~~~~~~~~~
    In function ‘int snprintf(char*, size_t, const char*, ...)’,
    inlined from ‘void PCLmGenerator::writeJobTicket()’ at prnt/hpcups/genPCLm.cpp:1265:10:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 21 and 276 bytes into a destination of size 256
    54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
    | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    55 | __glibc_objsize (__s), __fmt,
    | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    56 | __va_arg_pack ());
    | ~~~~~~~~~~~~~~~~~ prnt/hpcups/genPCLm.cpp: In member function ‘void PCLmGenerator::writeJobTicket()’:
    prnt/hpcups/genPCLm.cpp:1297:72: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 225 [-Wformat-truncation=]
    1297 | snprintf(pOutStr,OUT_STR_SIZE,"%% print-rendering-intent: %s\n",colorthemes); writeStr2OutBuff(pOutStr);
    | ^~ ~~~~~~~~~~~
    In function ‘int snprintf(char*, size_t, const char*, ...)’,
    inlined from ‘void PCLmGenerator::writeJobTicket()’ at prnt/hpcups/genPCLm.cpp:1297:10:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 33 and 288 bytes into a destination of size 256
    54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
    | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    55 | __glibc_objsize (__s), __fmt,
    | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    56 | __va_arg_pack ());
    | ~~~~~~~~~~~~~~~~~ scan/sane/hpaio.c: In function ‘sane_hpaio_init’: scan/sane/hpaio.c:364:12: error: implicit declaration of function ‘orblite_init’ [-Werror=implicit-function-declaration]
    364 | stat = orblite_init(pVersionCode, authorize);
    | ^~~~~~~~~~~~
    scan/sane/hpaio.c: In function ‘sane_hpaio_get_devices’: scan/sane/hpaio.c:382:4: error: implicit declaration of function ‘orblite_get_devices’; did you mean ‘sane_get_devices’? [-Werror=implicit-function-declaration]
    382 | orblite_get_devices(devList, localOnly);
    | ^~~~~~~~~~~~~~~~~~~
    | sane_get_devices
    scan/sane/hpaio.c: In function ‘sane_hpaio_open’: scan/sane/hpaio.c:410:15: error: implicit declaration of function ‘orblite_open’ [-Werror=implicit-function-declaration]
    410 | return orblite_open(devicename, pHandle);
    | ^~~~~~~~~~~~
    scan/sane/hpaio.c: In function ‘sane_hpaio_close’:
    libtool: compile: gcc "-DPACKAGE_NAME=\"HP Linux Imaging and Printing\"" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.22.10\" "-DPACKAGE_STRING=\"HP Linux Imaging and Printing 3.22.10\"" -DPACKAGE_BUGREPORT=\"3.22.10\" -DPACKAGE_URL=\"\" -
    DPACKAGE=\"hplip\" -DVERSION=\"3.22.10\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_
    OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_
    LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_CUPS_PPD_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -
    Icommon/ -Iprotocol -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Iprotocol -Iprotocol/discovery -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-
    strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/python3.11 -I/usr/include/python3.11 -DCONFDIR=\"/etc/hp\" -c scan/sane/pml.c -fPIC -DPIC -o .libs/libsane_hpaio_la-pml.o
    scan/sane/hpaio.c:430:15: error: implicit declaration of function ‘orblite_close’ [-Werror=implicit-function-declaration]
    430 | return orblite_close(handle);
    | ^~~~~~~~~~~~~
    scan/sane/hpaio.c:430:15: warning: ‘return’ with a value, in function returning void
    430 | return orblite_close(handle);
    | ^~~~~~~~~~~~~~~~~~~~~
    scan/sane/hpaio.c:415:13: note: declared here
    415 | extern void sane_hpaio_close(SANE_Handle handle)
    | ^~~~~~~~~~~~~~~~
    scan/sane/hpaio.c: In function ‘sane_hpaio_control_option’: scan/sane/hpaio.c:480:15: error: implicit declaration of function ‘orblite_control_option’; did you mean ‘escl_control_option’? [-Werror=implicit-function-declaration]
    480 | return orblite_control_option(handle, option, action, pValue, pInfo);
    | ^~~~~~~~~~~~~~~~~~~~~~
    | escl_control_option
    scan/sane/hpaio.c: In function ‘sane_hpaio_get_parameters’: scan/sane/hpaio.c:500:15: error: implicit declaration of function ‘orblite_get_parameters’; did you mean ‘escl_get_parameters’? [-Werror=implicit-function-declaration]
    500 | return orblite_get_parameters(handle, pParams);
    | ^~~~~~~~~~~~~~~~~~~~~~
    | escl_get_parameters
    /bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.22.10\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.22.10\" -DPACKAGE_BUGREPORT=\"3.22.
    10\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.22.10\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -
    DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_
    LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_CUPS_PPD_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/
    sane -Iprnt/hpijs -Icommon/ -Iprotocol -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Iprotocol -Iprotocol/discovery -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
    -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/python3.11 -I/usr/include/python3.11 -DCONFDIR=\"/etc/hp\" -c -o libsane_hpaio_la-scl.lo `test -f 'scan/sane/scl.c' || echo './'`scan/sane/
    scl.c
    scan/sane/hpaio.c: In function ‘sane_hpaio_start’: scan/sane/hpaio.c:520:15: error: implicit declaration of function ‘orblite_start’ [-Werror=implicit-function-declaration]
    520 | return orblite_start(handle);
    | ^~~~~~~~~~~~~
    scan/sane/hpaio.c: In function ‘sane_hpaio_read’: scan/sane/hpaio.c:541:15: error: implicit declaration of function ‘orblite_read’ [-Werror=implicit-function-declaration]
    541 | return orblite_read(handle, data, maxLength, pLength);
    | ^~~~~~~~~~~~
    /bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.22.10\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.22.10\" -DPACKAGE_BUGREPORT=\"3.22.
    10\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.22.10\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -
    DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_
    LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_CUPS_PPD_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/
    sane -Iprnt/hpijs -Icommon/ -Iprotocol -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Iprotocol -Iprotocol/discovery -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
    -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/python3.11 -I/usr/include/python3.11 -DCONFDIR=\"/etc/hp\" -c -o libsane_hpaio_la-io.lo `test -f 'scan/sane/io.c' || echo './'`scan/sane/io.
    c
    scan/sane/hpaio.c: In function ‘sane_hpaio_cancel’: scan/sane/hpaio.c:563:15: error: implicit declaration of function ‘orblite_cancel’ [-Werror=implicit-function-declaration]
    563 | return orblite_cancel(handle);
    | ^~~~~~~~~~~~~~
    scan/sane/hpaio.c:563:15: warning: ‘return’ with a value, in function returning void
    563 | return orblite_cancel(handle);
    | ^~~~~~~~~~~~~~~~~~~~~~
    scan/sane/hpaio.c:548:13: note: declared here
    548 | extern void sane_hpaio_cancel( SANE_Handle handle )
    | ^~~~~~~~~~~~~~~~~
    In file included from scan/sane/pml.c:33:
    scan/sane/common.h:191:1: warning: ‘visibility’ attribute ignored on non-class types [-Wattributes]
    191 | char* __attribute__ ((visibility ("hidden"))) itoa(int value, char* str, int radix);
    | ^~~~
    /bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.22.10\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.22.10\" -DPACKAGE_BUGREPORT=\"3.22.
    10\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.22.10\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -
    DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_
    LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_CUPS_PPD_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/
    sane -Iprnt/hpijs -Icommon/ -Iprotocol -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Iprotocol -Iprotocol/discovery -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
    -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/python3.11 -I/usr/include/python3.11 -DCONFDIR=\"/etc/hp\" -c -o libsane_hpaio_la-common.lo `test -f 'scan/sane/common.c' || echo './'`scan/
    sane/common.c
    /bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.22.10\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.22.10\" -DPACKAGE_BUGREPORT=\"3.22.
    10\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.22.10\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -
    DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_
    LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_CUPS_PPD_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/
    sane -Iprnt/hpijs -Icommon/ -Iprotocol -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Iprotocol -Iprotocol/discovery -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
    -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/python3.11 -I/usr/include/python3.11 -DCONFDIR=\"/etc/hp\" -c -o libsane_hpaio_la-sanei_init_debug.lo `test -f 'scan/sane/sanei_init_debug.
    c' || echo './'`scan/sane/sanei_init_debug.c
    libtool: compile: gcc "-DPACKAGE_NAME=\"HP Linux Imaging and Printing\"" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.22.10\" "-DPACKAGE_STRING=\"HP Linux Imaging and Printing 3.22.10\"" -DPACKAGE_BUGREPORT=\"3.22.10\" -DPACKAGE_URL=\"\" -
    DPACKAGE=\"hplip\" -DVERSION=\"3.22.10\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_
    OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_
    LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_CUPS_PPD_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -
    Icommon/ -Iprotocol -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Iprotocol -Iprotocol/discovery -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-
    strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/python3.11 -I/usr/include/python3.11 -DCONFDIR=\"/etc/hp\" -c scan/sane/io.c -fPIC -DPIC -o .libs/libsane_hpaio_la-io.o
    libtool: compile: gcc "-DPACKAGE_NAME=\"HP Linux Imaging and Printing\"" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.22.10\" "-DPACKAGE_STRING=\"HP Linux Imaging and Printing 3.22.10\"" -DPACKAGE_BUGREPORT=\"3.22.10\" -DPACKAGE_URL=\"\" -
    DPACKAGE=\"hplip\" -DVERSION=\"3.22.10\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_
    OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_
    LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_CUPS_PPD_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -
    Icommon/ -Iprotocol -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Iprotocol -Iprotocol/discovery -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-
    strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/python3.11 -I/usr/include/python3.11 -DCONFDIR=\"/etc/hp\" -c scan/sane/scl.c -fPIC -DPIC -o .libs/libsane_hpaio_la-scl.o
    /bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.22.10\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.22.10\" -DPACKAGE_BUGREPORT=\"3.22.
    10\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.22.10\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -
    DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_
    LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_CUPS_PPD_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/
    sane -Iprnt/hpijs -Icommon/ -Iprotocol -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Iprotocol -Iprotocol/discovery -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
    -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/python3.11 -I/usr/include/python3.11 -DCONFDIR=\"/etc/hp\" -c -o libsane_hpaio_la-marvell.lo `test -f 'scan/sane/marvell.c' || echo './'`
    scan/sane/marvell.c
    libtool: compile: gcc "-DPACKAGE_NAME=\"HP Linux Imaging and Printing\"" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.22.10\" "-DPACKAGE_STRING=\"HP Linux Imaging and Printing 3.22.10\"" -DPACKAGE_BUGREPORT=\"3.22.10\" -DPACKAGE_URL=\"\" -
    DPACKAGE=\"hplip\" -DVERSION=\"3.22.10\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_
    OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_
    LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_CUPS_PPD_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -
    Icommon/ -Iprotocol -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -Iprotocol -Iprotocol/discovery -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-
    strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/python3.11 -I/usr/include/python3.11 -DCONFDIR=\"/etc/hp\" -c scan/sane/common.c -fPIC -DPIC -o .libs/libsane_hpaio_la-common.o
    In file included from scan/sane/io.c:33:
    scan/sane/common.h:191:1: warning: ‘visibility’ attribute ignored on non-class types [-Wattributes]
    191 | char* __attribute__ ((visibility ("hidden"))) itoa(int value, char* str, int radix);
    | ^~~~
    In file included from scan/sane/scl.c:33:
    scan/sane/common.h:191:1: warning: ‘visibility’ attribute ignored on non-class types [-Wattributes]
    191 | char* __attribute__ ((visibility ("hidden"))) itoa(int value, char* str, int radix);
    | ^~~~

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sat Apr 27 01:40:01 2024
    This is a multi-part message in MIME format...

    Your message dated Fri, 26 Apr 2024 23:35:05 +0000
    with message-id <E1s0V5t-00960W-Ad@fasolo.debian.org>
    and subject line Bug#1066348: fixed in hplip 3.22.10+dfsg0-5
    has caused the Debian Bug report #1066348,
    regarding hplip: FTBFS: scan/sane/hpaio.c:364:12: error: implicit declaration of function ‘orblite_init’ [-Werror=implicit-function-declaration]
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1066348: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066348
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 13 Mar 2024 11:49:40 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-105.1 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
    FROMDEVELOPER,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,
    UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,
    WORD_WITHOUT_VOWELS autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 176; hammy, 150; neutral, 414; spammy,
    0. spammytokens:
    hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
    0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
    0.000-+--H*RT:311, 0.000-+--H*RT:108
    Return-path: <lucas@debian.org>
    Received: from stra