Bug#1101234: libwww-curl-perl: FTBFS: curlopt-constants.c:44:63: error: 'CURL_HAS_DECLSPEC_ATTRIBUTE' undeclared
gregor herrmann
gregoa at debian.org
Tue Mar 25 16:13:30 GMT 2025
Control: tag -1 + confirmed
On Tue, 25 Mar 2025 00:11:01 +0000, Santiago Vila wrote:
>Package: src:libwww-curl-perl
>Version: 4.17-11
>Severity: serious
>Tags: ftbfs trixie sid
>
>Dear maintainer:
>
>During a rebuild of all packages in unstable, your package failed to build:
>curlopt-constants.c:44:63: error: ???CURL_HAS_DECLSPEC_ATTRIBUTE??? undeclared (first use in this function)
> 44 | if (strEQ(name, "HAS_DECLSPEC_ATTRIBUTE")) return CURL_HAS_DECLSPEC_ATTRIBUTE;
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
That's probably https://github.com/curl/curl/commit/dbbbf717f3a39ab8fc0c996450e699a3a8d46fe5
and might need another patch to update the list of ignored symbols in
Makefile.PL:
for my $e (sort @syms) {
- if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z)/) {
+ if($e =~ /(OBSOLETE|^CURL_EXTERN|^CURL_WIN32\z|^CURLOPT\z|^CURL_STRICTER\z|^CURL_DID_MEMORY_FUNC_TYPEDEFS\z|_LAST\z|_LASTENTRY\z|^CURLINC_|DEPRECAT)/) {
next;
}
Cheers,
gregor
--
.''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20250325/0f15f0d5/attachment.sig>
More information about the pkg-perl-maintainers
mailing list