Opened 22 months ago
Closed 22 months ago
#67227 closed defect (fixed)
xmlsec @1.3.0: error: a function declaration without a prototype is deprecated in all versions of C
Reported by: | kwolcott | Owned by: | Schamschula (Marius Schamschula) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | xmlsec |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
crypto.c:415:28: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] xmlSecNssGetInternalKeySlot() ^ void 1 error generated. make[3]: *** [libxmlsec1_nss_la-crypto.lo] Error 1
Attachments (1)
Change History (6)
Changed 22 months ago by kwolcott
Attachment: | xmlsec_main.log added |
---|
comment:1 Changed 22 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | Schamschula removed |
---|---|
Description: | modified (diff) |
Owner: | set to Schamschula |
Status: | new → assigned |
Summary: | xmlsec port fails to install from source, fails in crypto.c → xmlsec @1.3.0: error: a function declaration without a prototype is deprecated in all versions of C |
comment:2 Changed 22 months ago by ryandesign (Ryan Carsten Schmidt)
comment:3 Changed 22 months ago by ryandesign (Ryan Carsten Schmidt)
That said, this is an actual bug in xmlsec, and I've reported it to them here: https://github.com/lsh123/xmlsec/issues/627
comment:4 Changed 22 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign added |
---|
comment:5 Changed 22 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
This is a new error as of clang 15. We don't see the problem on our buildbot workers because we don't use the newest version of Xcode on the macOS 13 builder.
If
-Werror
had not been used, it would just be a warning, not an error; it's recommended not to use-Werror
in ports for reasons such as these (new compilers being stricter than older ones).I don't see any attempt in the log to fetch our binaries, so perhaps you forced a build from source? If you allow our binaries to be used, you won't encounter this error.