Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#53862 - [curl] Removal of curlbuild.h in 7.54.0-2 breaks multilib builds.

Attached to Project: Arch Linux
Opened by Llewelyn Trahaearn (llewelyn) - Thursday, 27 April 2017, 23:13 GMT
Last edited by Christian Hesse (eworm) - Wednesday, 29 November 2017, 20:57 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Dave Reisner (falconindy)
Christian Hesse (eworm)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: The removal of curlbuild.h causes issues to arise when compiling multilib packages.


Additional info:
* 7.54.0-2


Steps to reproduce:

One attempted to build lib32-systemd 233 with lib32-curl 7.54.0 using multilib-build; however, it appears to be reproducible via a multilib-build of lib32-systemd 232 as well. Either attempt fails with the same error in the output. Building curl 7.54.0 with curlbuild.h or reverting to 7.53.1 resolves the issue.

Fails with:

/usr/include/curl/curlrules.h:137:3: error: size of array ‘__curl_rule_01__’ is negative
__curl_rule_01__
^~~~~~~~~~~~~~~~
/usr/include/curl/curlrules.h:147:3: error: size of array ‘__curl_rule_02__’ is negative
__curl_rule_02__
^~~~~~~~~~~~~~~~
This task depends upon

Closed by  Christian Hesse (eworm)
Wednesday, 29 November 2017, 20:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed looong ago with curl-7.54.1-2
Comment by Dave Reisner (falconindy) - Friday, 28 April 2017, 00:07 GMT
Removal of our curlbuild.h doesn't do anything at all because the file is no longer referenced. My guess is your build would fail just the same with curl-7.54.0-1 installed. This is likely to be an upstream problem.

You can simplify this case down to:

echo 'int main(void){return 0;}' | gcc -m32 -include curl/curl.h -x c - -o t
Comment by Dave Reisner (falconindy) - Saturday, 29 April 2017, 15:20 GMT Comment by Laurent Carlier (lordheavy) - Thursday, 06 July 2017, 07:31 GMT
It should be fixed with curl-7.54.1-2 in testing

Loading...