https://bugzilla.redhat.com/show_bug.cgi?id=1812910
Bug ID: 1812910 Summary: perl-WWW-Curl-4.17-22.fc33 FTBFS: curlopt-constants.c:185:46: error: 'CURL_WIN32' undeclared Product: Fedora Version: rawhide URL: https://koschei.fedoraproject.org/package/perl-WWW-Cur l Status: NEW Component: perl-WWW-Curl Assignee: emmanuel@seyman.fr Reporter: ppisar@redhat.com QA Contact: extras-qa@fedoraproject.org CC: emmanuel@seyman.fr, perl-devel@lists.fedoraproject.org, xavier@bachelot.org Target Milestone: --- Classification: Fedora
perl-WWW-Curl-4.17-22.fc33 fails to build in Fedora 33:
gcc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION="4.17" -DXS_VERSION="4.17" -fPIC "-I/usr/lib64/perl5/CORE" Curl.c [...] curlopt-constants.c:185:46: error: 'CURL_WIN32' undeclared (first use in this function); did you mean 'CURLINFO'? 185 | if (strEQ(name, "WIN32")) return CURL_WIN32; | ^~~~~~~~~~ | CURLINFO
A difference between passing and failing build root is at https://koschei.fedoraproject.org/build/8051059. A libcurl-devel upgrade from 7.68.0-2.fc32 to 7.69.0-1.fc33 seems to be the trigger.