Your message dated Wed, 01 May 2024 10:20:30 +0000
with message-id <e1s274g-00dgz2...@fasolo.debian.org>
and subject line Bug#1066703: fixed in rxtx 2.2.0+dfsg-3
has caused the Debian Bug report #1066703,
regarding rxtx: FTBFS: SerialImp.c:5453:23: error: implicit declaration of 
function ‘major’ [-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 ow...@bugs.debian.org
immediately.)


-- 
1066703: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066703
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: rxtx
Version: 2.2.0+dfsg-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@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 /<<PKGBUILDDIR>>/libtool --mode=link gcc -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -D_POSIX_SOURCE -D_BSD_SOURCE 
> -D__need_timespec -Wl,-z,relro -lpthread -release 2.1-7 -o librxtxSerial.la 
> -rpath /usr/lib/jni /<<PKGBUILDDIR>>/x86_64-pc-linux-gnu/SerialImp.lo;        
> \
> fi;                                                           \
> )
> libtool: compile:  gcc -I/<<PKGBUILDDIR>> -Ix86_64-pc-linux-gnu -I. 
> -I/usr/lib/jvm/java-17-openjdk-amd64/include 
> -I/usr/lib/jvm/java-17-openjdk-amd64/include/./linux/ -Wdate-time 
> -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -c 
> /<<PKGBUILDDIR>>/./src/SerialImp.c  -fPIC -DPIC -o 
> /<<PKGBUILDDIR>>/x86_64-pc-linux-gnu/.libs/SerialImp.o
> In file included from 
> /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
>                  from /usr/include/stdio.h:27,
>                  from /usr/lib/jvm/java-17-openjdk-amd64/include/jni.h:39,
>                  from ./gnu_io_RXTXPort.h:2,
>                  from /<<PKGBUILDDIR>>/./src/SerialImp.c:64:
> /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and 
> _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
>   195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use 
> _DEFAULT_SOURCE"
>       |   ^~~~~~~
> /<<PKGBUILDDIR>>/./src/SerialImp.c: In function ‘uucp_lock’:
> /<<PKGBUILDDIR>>/./src/SerialImp.c:5453:23: error: implicit declaration of 
> function ‘major’ [-Werror=implicit-function-declaration]
>  5453 |                 (int) major( buf.st_dev ),
>       |                       ^~~~~
> /<<PKGBUILDDIR>>/./src/SerialImp.c:5455:23: error: implicit declaration of 
> function ‘minor’ [-Werror=implicit-function-declaration]
>  5455 |                 (int) minor( buf.st_rdev )
>       |                       ^~~~~
> /<<PKGBUILDDIR>>/./src/SerialImp.c: In function ‘is_device_locked’:
> /<<PKGBUILDDIR>>/./src/SerialImp.c:5863:33: error: implicit declaration of 
> function ‘asprintf’; did you mean ‘vsprintf’? 
> [-Werror=implicit-function-declaration]
>  5863 |                                 asprintf( &file, "%s/%s%s", 
> lockdirs[i],
>       |                                 ^~~~~~~~
>       |                                 vsprintf
> /<<PKGBUILDDIR>>/./src/SerialImp.c: In function ‘fhs_lock’:
> /<<PKGBUILDDIR>>/./src/SerialImp.c:5377:9: warning: ignoring return value of 
> ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  5377 |         write( fd, lockinfo, 11 );
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/./src/SerialImp.c: In function ‘uucp_lock’:
> /<<PKGBUILDDIR>>/./src/SerialImp.c:5475:9: warning: ignoring return value of 
> ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  5475 |         write( fd, lockinfo,11 );
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/./src/SerialImp.c: In function ‘is_device_locked’:
> /<<PKGBUILDDIR>>/./src/SerialImp.c:5940:17: warning: ignoring return value of 
> ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>  5940 |                 read( fd, pid_buffer, 11 );
>       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/./src/SerialImp.c: In function 
> ‘Java_gnu_io_RXTXCommDriver_registerKnownPorts’:
> /<<PKGBUILDDIR>>/./src/SerialImp.c:4676:43: warning: ‘ handed to              
>                 native RXTXCo...’ directive writing 71 bytes into a region of 
> size between 52 and 62 [-Wformat-overflow=]
>  4676 |                         sprintf( message, "unknown portType %d handed 
> to \
>       |                                           
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  4677 |                                 native 
> RXTXCommDriver.registerKnownPorts() \
>       |                                 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  4678 |                                  method.\n",
>       |                                  ~~~~~~~~~~
> In file included from /usr/include/stdio.h:906:
> In function ‘sprintf’,
>     inlined from ‘Java_gnu_io_RXTXCommDriver_registerKnownPorts’ at 
> /<<PKGBUILDDIR>>/./src/SerialImp.c:4676:4:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 90 and 100 bytes into a destination 
> of size 80
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/./src/SerialImp.c: In function ‘uucp_unlock’:
> /<<PKGBUILDDIR>>/./src/SerialImp.c:5595:66: warning: ‘%s’ directive writing 
> up to 79 bytes into a region of size 50 [-Wformat-overflow=]
>  5595 |                 sprintf( message, "uucp_unlock: unlinking failed 
> %s\n", file );
>       |                                                                  ^~   
>   ~~~~
> In function ‘sprintf’,
>     inlined from ‘uucp_unlock’ at /<<PKGBUILDDIR>>/./src/SerialImp.c:5595:3:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 32 and 111 bytes into a destination 
> of size 80
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/./src/SerialImp.c: In function ‘uucp_unlock’:
> /<<PKGBUILDDIR>>/./src/SerialImp.c:5589:59: warning: ‘%s’ directive writing 
> up to 79 bytes into a region of size 57 [-Wformat-overflow=]
>  5589 |                 sprintf( message, "uucp_unlock: unlinking %s\n", file 
> );
>       |                                                           ^~     ~~~~
> In function ‘sprintf’,
>     inlined from ‘uucp_unlock’ at /<<PKGBUILDDIR>>/./src/SerialImp.c:5589:3:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 25 and 104 bytes into a destination 
> of size 80
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/./src/SerialImp.c: In function ‘fhs_lock’:
> /<<PKGBUILDDIR>>/./src/SerialImp.c:5369:69: warning: ‘%s’ directive output 
> may be truncated writing up to 79 bytes into a region of size 36 
> [-Wformat-truncation=]
>  5369 |                         "RXTX fhs_lock() Error: creating lock file: 
> %s: %s\n",
>       |                                                                     ^~
>  5370 |                         file, strerror(errno) );
>       |                         ~~~~                                         
> In function ‘snprintf’,
>     inlined from ‘fhs_lock’ at /<<PKGBUILDDIR>>/./src/SerialImp.c:5368:3:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: 
> ‘__builtin___snprintf_chk’ output 47 or more bytes (assuming 126) into a 
> destination of size 79
>    54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    55 |                                    __glibc_objsize (__s), __fmt,
>       |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    56 |                                    __va_arg_pack ());
>       |                                    ~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/./src/SerialImp.c: In function ‘uucp_lock’:
> /<<PKGBUILDDIR>>/./src/SerialImp.c:5470:70: warning: ‘%s’ directive writing 
> up to 79 bytes into a region of size 36 [-Wformat-overflow=]
>  5470 |                         "RXTX uucp_lock() Error: creating lock file: 
> %s\n",
>       |                                                                      
> ^~
>  5471 |                         lockfilename );
>       |                         ~~~~~~~~~~~~                                  
> In function ‘sprintf’,
>     inlined from ‘uucp_lock’ at /<<PKGBUILDDIR>>/./src/SerialImp.c:5469:3:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 46 and 125 bytes into a destination 
> of size 80
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/./src/SerialImp.c: In function ‘uucp_lock’:
> /<<PKGBUILDDIR>>/./src/SerialImp.c:5460:53: warning: ‘%s’ directive writing 
> up to 79 bytes into a region of size 63 [-Wformat-overflow=]
>  5460 |                 sprintf( message, "RXTX uucp_lock() %s is there\n",
>       |                                                     ^~
>  5461 |                         lockfilename );
>       |                         ~~~~~~~~~~~~                 
> In function ‘sprintf’,
>     inlined from ‘uucp_lock’ at /<<PKGBUILDDIR>>/./src/SerialImp.c:5460:3:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 28 and 107 bytes into a destination 
> of size 80
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/./src/SerialImp.c: In function ‘uucp_lock’:
> /<<PKGBUILDDIR>>/./src/SerialImp.c:5447:58: warning: ‘%s’ directive writing 
> up to 79 bytes into a region of size 58 [-Wformat-overflow=]
>  5447 |                 sprintf( message, "uucp_lock: device was %s\n", name 
> );
>       |                                                          ^~     ~~~~
> In function ‘sprintf’,
>     inlined from ‘uucp_lock’ at /<<PKGBUILDDIR>>/./src/SerialImp.c:5447:3:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 24 and 103 bytes into a destination 
> of size 80
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> libtool: compile:  gcc -I/<<PKGBUILDDIR>> -Ix86_64-pc-linux-gnu -I. 
> -I/usr/lib/jvm/java-17-openjdk-amd64/include 
> -I/usr/lib/jvm/java-17-openjdk-amd64/include/./linux/ -Wdate-time 
> -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -c 
> /<<PKGBUILDDIR>>/./src/fuserImp.c  -fPIC -DPIC -o 
> /<<PKGBUILDDIR>>/x86_64-pc-linux-gnu/.libs/fuserImp.o
> In file included from 
> /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
>                  from /usr/include/stdio.h:27,
>                  from /usr/lib/jvm/java-17-openjdk-amd64/include/jni.h:39,
>                  from ./gnu_io_CommPortIdentifier.h:2,
>                  from /<<PKGBUILDDIR>>/./src/fuserImp.c:4:
> /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and 
> _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
>   195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use 
> _DEFAULT_SOURCE"
>       |   ^~~~~~~
> /<<PKGBUILDDIR>>/./src/fuserImp.c: In function ‘show_user’:
> /<<PKGBUILDDIR>>/./src/fuserImp.c:206:16: warning: ignoring return value of 
> ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   206 |         (void) fscanf(f,"%d (%[^)]",&dummy,comm);
>       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> libtool:   error: '/<<PKGBUILDDIR>>/x86_64-pc-linux-gnu/SerialImp.lo' is not 
> a valid libtool object
> make[2]: *** [Makefile:825: x86_64-pc-linux-gnu/librxtxSerial.la] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/rxtx_2.2.0+dfsg-2_unstable.log

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

--- End Message ---
--- Begin Message ---
Source: rxtx
Source-Version: 2.2.0+dfsg-3
Done: Emmanuel Bourg <ebo...@apache.org>

We believe that the bug you reported is fixed in the latest version of
rxtx, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1066...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Bourg <ebo...@apache.org> (supplier of updated rxtx package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 01 May 2024 11:53:26 +0200
Source: rxtx
Architecture: source
Version: 2.2.0+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Java maintainers 
<pkg-java-maintain...@lists.alioth.debian.org>
Changed-By: Emmanuel Bourg <ebo...@apache.org>
Closes: 1066703
Changes:
 rxtx (2.2.0+dfsg-3) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Emmanuel Bourg ]
   * Standards-Version updated to 4.7.0
 .
   [ Andreas Beckmann }
   * Fix building with -Werror=implicit-function-declaration (Closes: #1066703)
Checksums-Sha1:
 4a28866e133dc7e16009f4400c0ceb6251a3f1ed 2009 rxtx_2.2.0+dfsg-3.dsc
 6677772d54fac7154fbecfa2d90b655c34655f42 22176 rxtx_2.2.0+dfsg-3.debian.tar.xz
 4905fb22e25d365677943585de8144f8c5529590 13979 
rxtx_2.2.0+dfsg-3_source.buildinfo
Checksums-Sha256:
 37718a4fe8647bde0d1682cdde2a8e6bf92638e315576fb6f29eaf194ad2b4ee 2009 
rxtx_2.2.0+dfsg-3.dsc
 83f988054259e9435af33fca8728108b985a2e3ea23a9f93dd18f57da283165f 22176 
rxtx_2.2.0+dfsg-3.debian.tar.xz
 7bf10408ea80c04c04f2a33d04e1e072dc0b8a8620030638d11ad09525221158 13979 
rxtx_2.2.0+dfsg-3_source.buildinfo
Files:
 47b9414851c74b36992abc2552341d0a 2009 java optional rxtx_2.2.0+dfsg-3.dsc
 df1fd9a95c14e7067f86a14c2f1c7fc9 22176 java optional 
rxtx_2.2.0+dfsg-3.debian.tar.xz
 c918953fcd1ad7e537d3fa0ddadf8275 13979 java optional 
rxtx_2.2.0+dfsg-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAmYyEZESHGVib3VyZ0Bh
cGFjaGUub3JnAAoJEPUTxBnkudCs7zIP/0OgtA093KCM14Qy43V+nxwE3IbG/OMk
yl7LKSBc+dtdisBrIceXkw03S3V4S/xWmAHoRhcjkal9d9xyWHSpP3RdqgiBCGkm
NMy7N7PVaBp1vZ4rFSBLitIUCyGzu4QQxs7d8lI3knYnbZjQRxRgmKh7E85cPAY9
/H5tHZ+z5HKSfbHQuCoIY8gT1u87Ng0svjVkrLZryS6829Rlrl5yYpQQnrDZEGXt
BZriDIgsmBauZQyUZ2tVHnFQxZeDkMo/BKG+kfajQVt0RMz+p70xFC54UM1IrLAK
1oDgzM1I4x19wADpocp9Vf8GYPNOS6Yz3I9T2J/12nWIXaWHHLNckBmlI4GrMGk0
297TLO2iUCRI27DWGvADMSWTqSejfS6TiRuPMosbWmsiod1xR3lEqQEG1YtWr/9z
WJ2cKL/zFQ1cXKw17l/S7jONWsJ2QhCWjpPtIfseGnyNoNkUDYUH9QNMYQHDOUEu
x7yDqnogHs+/zvyuMFnskmJI0FaeuT2XnJslXGjoV6W96Y6bVzQM4vuHqKRWWzzV
Yp6a1TQOA0e1Rzdi/ABQYbQeSD5dUkmbvmwv3fNRB5XkZWup3ynMV2cpa4a86MPI
UH/9a0Ifo92MyORHPHYw4c3X+iRpMg+5Ys6aBJFK6teYxvafMlPCMwI1/zhhK3C1
AJjTKOLX/HkJ
=wgvE
-----END PGP SIGNATURE-----

Attachment: pgpfbuPE96ye6.pgp
Description: PGP signature


--- End Message ---
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to