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

Bug#1066486: marked as done (icom: FTBFS: icom.c:108:24: error: implicit declaration of function ‘getopt’ [-Werror=implicit-function-declaration])



Your message dated Wed, 20 Mar 2024 05:47:47 +0000
with message-id <E1rmonj-005Tin-Oc@fasolo.debian.org>
and subject line Bug#1066486: fixed in icom 20120228-5
has caused the Debian Bug report #1066486,
regarding icom: FTBFS: icom.c:108:24: error: implicit declaration of function ‘getopt’ [-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.)


-- 
1066486: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066486
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: icom
Version: 20120228-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):
> gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O   -I../include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o tables.o tables.c
> packet.c: In function ‘sndoctet’:
> packet.c:339:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
>   339 |         write(fd_icom, &x, 1);
>       |         ^~~~~~~~~~~~~~~~~~~~~
> icom.c: In function ‘main’:
> icom.c:108:24: error: implicit declaration of function ‘getopt’ [-Werror=implicit-function-declaration]
>   108 |         while ((temp = getopt(argc, argcv, "c:df:g:km:o:r:")) != -1) {
>       |                        ^~~~~~
> icom.c:314:32: error: implicit declaration of function ‘command’ [-Werror=implicit-function-declaration]
>   314 |                         temp = command(rptr, key);
>       |                                ^~~~~~~
> icom.c:326:41: error: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Werror=implicit-function-declaration]
>   326 |                                         close(fp_cmd[fp]);
>       |                                         ^~~~~
>       |                                         pclose
> icom.c:335:37: error: implicit declaration of function ‘gets’; did you mean ‘fgets’? [-Werror=implicit-function-declaration]
>   335 |                                 if (gets(args) == NULL)
>       |                                     ^~~~
>       |                                     fgets
> icom.c:335:48: warning: comparison between pointer and integer
>   335 |                                 if (gets(args) == NULL)
>       |                                                ^~
> icom.c: In function ‘qqsv’:
> icom.c:628:17: error: implicit declaration of function ‘gettimeofday’ [-Werror=implicit-function-declaration]
>   628 |                 gettimeofday(&tv, NULL);
>       |                 ^~~~~~~~~~~~
> radio.c: In function ‘select_radio’:
> radio.c:168:17: error: implicit declaration of function ‘capkey’ [-Werror=implicit-function-declaration]
>   168 |         temp1 = capkey("lsb", rp->modetab);
>       |                 ^~~~~~
> icom.c:637:33: error: implicit declaration of function ‘dtohex’ [-Werror=implicit-function-declaration]
>   637 |                                 dtohex(tm->tm_year + 1900,
>       |                                 ^~~~~~
> radio.c: In function ‘readchan’:
> radio.c:329:17: error: implicit declaration of function ‘readvfo’ [-Werror=implicit-function-declaration]
>   329 |         return (readvfo(rp));
>       |                 ^~~~~~~
> icom.c:886:25: error: implicit declaration of function ‘emptyvfo’ [-Werror=implicit-function-declaration]
>   886 |                         emptyvfo(cp);
>       |                         ^~~~~~~~
> icom.c:1002:32: error: implicit declaration of function ‘emptychan’; did you mean ‘empty_chan’? [-Werror=implicit-function-declaration]
>  1002 |                         rval = emptychan(rp->ident, cp);
>       |                                ^~~~~~~~~
>       |                                empty_chan
> icom.c:1171:33: error: implicit declaration of function ‘readvfo’ [-Werror=implicit-function-declaration]
>  1171 |                                 readvfo(rp);
>       |                                 ^~~~~~~
> icom.c:1247:32: error: implicit declaration of function ‘readoffset’; did you mean ‘loadoffset’? [-Werror=implicit-function-declaration]
>  1247 |                         rval = readoffset(rp->ident, &freq);
>       |                                ^~~~~~~~~~
>       |                                loadoffset
> icom.c:1627:17: error: implicit declaration of function ‘doublefreq’ [-Werror=implicit-function-declaration]
>  1627 |                 doublefreq(dtemp * 10, s1, 2);
>       |                 ^~~~~~~~~~
> cc1: some warnings being treated as errors
> make[1]: *** [<builtin>: radio.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/icom_20120228-4_unstable.log

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

We believe that the bug you reported is fixed in the latest version of
icom, 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 1066486@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
tony mancill <tmancill@debian.org> (supplier of updated icom 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Tue, 19 Mar 2024 21:58:58 -0700
Source: icom
Architecture: source
Version: 20120228-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: tony mancill <tmancill@debian.org>
Closes: 1066486
Changes:
 icom (20120228-5) unstable; urgency=medium
 .
   [ Debian Janitor ]
   * Remove constraints unnecessary since buster (oldstable):
     + Build-Depends: Drop versioned constraint on dpkg-dev.
 .
   [ tony mancill ]
   * Clean-up compiler warnings (Closes: #1066486)
   * Add lintian-overrides
Checksums-Sha1:
 4ee77a7f1ec0a67f088bb7e836fedc62c8cbc56b 1961 icom_20120228-5.dsc
 a6c2122a7275fe8468aed1d4ef814df1ac325c41 12104 icom_20120228-5.debian.tar.xz
 2b2a30eebc1d8b8535ef025c644b21d9b43e0d90 6179 icom_20120228-5_amd64.buildinfo
Checksums-Sha256:
 34912fe4edbcce9e6dcfae5eee4322212f6a6348f873c5a385a3d61004758de7 1961 icom_20120228-5.dsc
 ee38fcf381db7a14f7b2f892d965af32fbe90e71bf807648555dcd2b2bb58263 12104 icom_20120228-5.debian.tar.xz
 fcbd29ce3f145b32a55eee44dd66d6f2125e9bb8c102acbead3f0be37bd621e7 6179 icom_20120228-5_amd64.buildinfo
Files:
 71f912adadbf95dec5cba1803dd74ebf 1961 hamradio optional icom_20120228-5.dsc
 8c817f2ba0fd88527bed6c4d1afa8d35 12104 hamradio optional icom_20120228-5.debian.tar.xz
 9d6bf46ba104689dcaa42d714e4ceee5 6179 hamradio optional icom_20120228-5_amd64.buildinfo

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

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmX6brEUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpYmdw/9Fy+ps0nwTZTVeHXDsUAzi/7/g13s
zjplK9YzcQh8y/0Qzgt1Zn8fRfXwY8jecqigJugyPbDIbAp2I6eH6ziVoj5inM+/
d65MP3GMr/k1/VqID0mN/EtqMGw909czxQhj8wTapT8oRmZfhhegyO40v4Mb+Nvx
mfkoO3DYTIQkW/EP+iVCPi1H02gZg30yfyVGwYOQDtSxN5cBGW9oiJPs3AA/IJy0
CNBp/zHlq5z2fQNNI5D8w0H5xCVQlMVLUdWgtg4KT7WhR6PvsT4BkKwMx9ztZ7jK
JEjdHn8d1YrdMjFKBNKfbOVjWZsHCU84WJ3ZGYJXEo9sWuZX24zINr5E2IT6zmyf
s6kMZkuobwZB1hrNQNneeaxZiK4EANSFLcHPmsS655uqqG4322GJmia1j1jlyVSh
i8Dis5I4M4N4wuc7iBi5e2Gc6eMJfsvwSFgaWbNV3sua2GclxoZyRGnKedB/SItL
qCauTA8SThllEpqbXcmkzP2BdJwxYdOSLAkeQb9FHkQ2mZ0IZFul7zkg4JdMjwMQ
cvBeudiSS9HNic7SFR2tqFqF+35hMD67rhPJzGWiWA0Ja4cbOXaCdMNrMogxihjp
ZsHvo90YNghYvgJ2zXgxdTtLhzgYn2voi3cXNp8XIZAVtIsunDkWtvTIF/rSuwha
Y+OOAp2JYuZv7bk=
=uvSn
-----END PGP SIGNATURE-----

Attachment: pgpMWu7lsLk4w.pgp
Description: PGP signature


--- End Message ---

Reply to: