Bug 2160057 - perl-WWW-Curl-4.17-31.fc38 FTBFS: curlopt-constants.c:19:51: error: 'CURL_DEPRECATED' undeclared
Summary: perl-WWW-Curl-4.17-31.fc38 FTBFS: curlopt-constants.c:19:51: error: 'CURL_DEP...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-WWW-Curl
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F38FTBFS
TreeView+ depends on / blocked
 
Reported: 2023-01-11 12:44 UTC by Petr Pisar
Modified: 2023-01-24 09:31 UTC (History)
4 users (show)

Fixed In Version: perl-WWW-Curl-4.17-33.fc38
Clone Of:
Environment:
Last Closed: 2023-01-24 09:31:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CPAN 145992 0 None None None 2023-01-20 14:21:51 UTC

Description Petr Pisar 2023-01-11 12:44:56 UTC
perl-WWW-Curl-4.17-31.fc38 fails to build in Fedora 38:

gcc -c  -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -U_FORTIFY_SOURCE -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -DVERSION=\"4.17\" -DXS_VERSION=\"4.17\" -fPIC "-I/usr/lib64/perl5/CORE"   Curl.c
[...]
In file included from Curl.xs:574:
curlopt-constants.c: In function 'constant':
curlopt-constants.c:19:51: error: 'CURL_DEPRECATED' undeclared (first use in this function)
   19 |             if (strEQ(name, "DEPRECATED")) return CURL_DEPRECATED;
      |                                                   ^~~~~~~~~~~~~~~

A difference between passing and failing buildroots is at <https://koschei.fedoraproject.org/build/14526081>. An upgrade of libcurl-devel from 7.86.0-4.fc38 to 7.87.0-1.fc38 looks suspicious.

Comment 1 Petr Pisar 2023-01-20 16:15:20 UTC
Built into f38-rebuild tag. This package will appear in F38 once the tag is merged into f38-candidate.


Note You need to log in before you can comment on or make changes to this bug.