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

Bug#1065981: marked as done (snacc: FTBFS on arm{el,hf}: parse-asn1.c:2716:16: error: implicit declaration of function ‘yylex’ [-Werror=implicit-function-declaration])



Your message dated Thu, 04 Apr 2024 14:37:21 +0000
with message-id <E1rsODR-00AHy6-Hv@fasolo.debian.org>
and subject line Bug#1065981: fixed in snacc 1.3.1-10
has caused the Debian Bug report #1065981,
regarding snacc: FTBFS on arm{el,hf}: parse-asn1.c:2716:16: error: implicit declaration of function ‘yylex’ [-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.)


-- 
1065981: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065981
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: snacc
Version: 1.3.1-9.1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher@debian.org

https://buildd.debian.org/status/fetch.php?pkg=snacc&arch=armhf&ver=1.3.1-9.1&stamp=1709536993&raw=0

cc -DHAVE_CONFIG_H -I. -I../.. -DCOMPILER -DUSE_NIBBLE_MEMORY=0 -DUSE_EXP_BUF -I../../c-lib/inc -I../../c-lib/boot -I../../compiler/back-ends  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -O0 -DFLEX_IN_USE -c -o parse-asn1.o parse-asn1.c
parse-asn1.c: In function ‘yyparse’:
parse-asn1.c:2716:16: error: implicit declaration of function ‘yylex’ [-Werror=implicit-function-declaration]
 2716 |       yychar = yylex ();
      |                ^~~~~
parse-asn1.y:712:9: error: implicit declaration of function ‘LexBeginInitialContext’; did you mean ‘LexBeginIntialContext’? [-Werror=implicit-function-declaration]
  712 |         LexBeginInitialContext();
      |         ^~~~~~~~~~~~~~~~~~~~~~
      |         LexBeginIntialContext
parse-asn1.y:927:13: error: implicit declaration of function ‘yyerror’; did you mean ‘yyerrok’? [-Werror=implicit-function-declaration]
  927 |             yyerror("Warning: positive signed number out of range");
      |             ^~~~~~~
      |             yyerrok
parse-asn1.y:1872:34: error: implicit declaration of function ‘OidArcNameToNum’ [-Werror=implicit-function-declaration]
 1872 |         $$->arcNum = OidArcNameToNum ($1);
      |                                  ^~~~~~~~~      
parse-asn1.y:1911:9: error: implicit declaration of function ‘AddNewValueDef’ [-Werror=implicit-function-declaration]
 1911 |         AddNewValueDef (oidElmtValDefsG, $1, newVal);
      |         ^~~~~~~~~~~~~~
parse-asn1.y: At top level:
parse-asn1.y:3065:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
 3065 | yyerror (s)
      | ^~~~~~~
parse-asn1.y: In function ‘yyerror’:
parse-asn1.y:3068:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
 3068 |         fprintf (stderr,"file \"%s\", line %d: %s at symbol \"%s\"\n\n", modulePtrG->asn1SrcFileName, myLineNoG, s, yytext);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                               ~~~~~~~~~
      |                                                                                                       |
      |                                                                                                       long unsigned int
parse-asn1.y: In function ‘InitAsn1Parser’:
parse-asn1.y:3092:9: error: implicit declaration of function ‘yyrestart’ [-Werror=implicit-function-declaration]
 3092 |         yyrestart (fPtr);
      |         ^~~~~~~~~
In file included from parse-asn1.y:78:
parse-asn1.y: In function ‘PushApplTag’:
snacc-util.h:25:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
   25 |                         fprintf (stderr, "file \"%s\", line %d: ", fileName, lineNo)
      |                                          ^~~~~~~~~~~~~~~~~~~~~~~~
parse-asn1.y:3159:13: note: in expansion of macro ‘PrintErrLoc’
 3159 |             PrintErrLoc (modulePtrG->asn1SrcFileName, lineNo);
      |             ^~~~~~~~~~~
parse-asn1.y:3160:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
 3160 |             fprintf (stderr,"ERROR - APPLICATION tags can be used only once per ASN.1 module.  The tag \"[APPLICATION %d]\" was previously used on line %d.\n", tagCode, l->lineNo);
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~
      |                                                                                                                                                                 |
      |                                                                                                                                                                 long unsigned int
parse-asn1.y:3160:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
 3160 |             fprintf (stderr,"ERROR - APPLICATION tags can be used only once per ASN.1 module.  The tag \"[APPLICATION %d]\" was previously used on line %d.\n", tagCode, l->lineNo);
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~           ~~~~~~~~~
      |                                                                                                                                                                           |
      |                                                                                                                                                                           long unsigned int
cc1: some warnings being treated as errors
make[5]: *** [Makefile:538: parse-asn1.o] Error 1

Cheers
-- 
Sebastian Ramacher

--- End Message ---
--- Begin Message ---
Source: snacc
Source-Version: 1.3.1-10
Done: Andreas Beckmann <anbe@debian.org>

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

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated snacc 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: SHA256

Format: 1.8
Date: Thu, 04 Apr 2024 16:03:06 +0200
Source: snacc
Architecture: source
Version: 1.3.1-10
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 1015664 1046185 1065981 1066242
Changes:
 snacc (1.3.1-10) unstable; urgency=medium
 .
   * QA upload.
   * Fix building with -Werror=implicit-function-declaration.
     (Closes: #1065981, #1066242)
   * Mark some symbols as optional if LTO is used.  (Closes: #1015664)
   * Fix building twice in a row.  (Closes: #1046185)
   * Enable all hardening flags.
   * Add upstream metadata.
   * Update watch file.
   * Bump Standards-Version to 4.6.2, no changes needed.
Checksums-Sha1:
 4f881b4e2366f02df0cc83c26b3b1767cd07bdea 2075 snacc_1.3.1-10.dsc
 4a8d916be11438f02d39defcaf985c6c5d882ddf 20952 snacc_1.3.1-10.debian.tar.xz
 f170fd50946e36ac39f5c5e565659d255d87a650 5869 snacc_1.3.1-10_source.buildinfo
Checksums-Sha256:
 5c4c386c4eeb9b8c9bdb6b1272d806cc310911526aeb8b3213ad0f0aff9cc8e6 2075 snacc_1.3.1-10.dsc
 92c43b2fccb7bf93e8f6580380c259fa65e6c04a78d96936f92b282cfb06dbac 20952 snacc_1.3.1-10.debian.tar.xz
 f57858baeada8b9b511788b375f5e5435bb298af0a07868f1df1e6c9beb842e4 5869 snacc_1.3.1-10_source.buildinfo
Files:
 db99f17171797097e9abc205b4242ddd 2075 devel optional snacc_1.3.1-10.dsc
 37ee84bcc4c23d18bc8e4521606925a6 20952 devel optional snacc_1.3.1-10.debian.tar.xz
 59123adf3adb526cfba306e28b92a10c 5869 devel optional snacc_1.3.1-10_source.buildinfo

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

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmYOs8UQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCARhEACkCWPQQI8YVQqRqD4B+cnZsOFj5Lg1ryLM
uHlQT7OhDqvSHifM3OHzqNl/GaHR4hHFDJbk0+IJCUyQ6C6eYNEqbdHzWF0GJ0CQ
5XEocWf1Q+P3Ca0JUUnsApKUWzdFYYaK7O5UYHnGFSgUU1aIr/yl04dcMtQh6BQH
DyMZVZUTPtmlhIwPykjlpaswyviFQqIFIwnMUJCGLYMxNf8VZA264cRCBDB/BVYC
L/gzQGALJjjaxQ/SnWKCfBJRMbmvR4UnAT6V4UiAExDkLzIMDUnFShQgjL2Ra97i
IIwFllgB7mvSRrX+dr6fQCbv1eSvMJMuTGj/GKFJPlXvHuxpgGRa5E8ifT9N5YHB
MbnyJlPbQ2p6oPgRrz2BHFuAE/IHGdFpT0dhVE2eLGlA3oPgUCV8ZDnvtMk6WyAw
/8rRBJ/mZRhhDCWh+pRIz9TvHNL2g4DtXe/k0nqKQw5ncFfj6EvO5QTX1MuxGawN
ltMGzv3t0pvBTz+8yAqjwUFq/EWlgSSf7y0kSybl9Q+P/iq/fMkfuaO74JNPFPBZ
G6L/ai77h8YrjAac6RsuQY13MLlcLfSWel1qYAhWRBFZ7sNKTxcHe5BFtzsaZLhR
IcaWB2nh7rLWjfcc3JIdXqrYcGho26yfV2ytYQTIJWRLXVDntejNcOO/lhmzSYm7
dwDQRaKN/A==
=vFex
-----END PGP SIGNATURE-----

Attachment: pgpKbadslI1zc.pgp
Description: PGP signature


--- End Message ---

Reply to: