Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 694466

Summary: dev-perl/WWW-Curl-4.170.0-r1 : Curl.xs:76:12: error: expected { before void
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal CC: axiator, mihai.dontu
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-perl:WWW-Curl-4.170.0-r1:20190915-092029.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2
patch that fixes the syntax error

Description Toralf Förster gentoo-dev 2019-09-15 10:03:11 UTC
mv Curl.xsc Curl.c
x86_64-pc-linux-gnu-gcc -c  -I/usr/include -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native   -DVERSION=\"4.17\" -DXS_VERSION=\"4.17\" -fPIC "-I/usr/lib64/perl5/5.30.0/x86_64-linux/CORE"   Curl.c
Curl.xs:76:12: error: expected ‘{’ before ‘void’
   76 |     struct void *curlm;
      |            ^~~~
Curl.xs:76:12: error: two or more data types in declaration specifiers

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-libressl-20190913-191403

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository timestamp:

==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 15 Sep 2019 09:05:52 +0000

emerge -qpvO dev-perl/WWW-Curl
[ebuild  N    ] dev-perl/WWW-Curl-4.170.0-r1
Comment 1 Toralf Förster gentoo-dev 2019-09-15 10:03:14 UTC
Created attachment 589874 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-09-15 10:03:16 UTC
Created attachment 589876 [details]
dev-perl:WWW-Curl-4.170.0-r1:20190915-092029.log
Comment 3 Toralf Förster gentoo-dev 2019-09-15 10:03:19 UTC
Created attachment 589878 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-09-15 10:03:22 UTC
Created attachment 589880 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-09-15 10:03:25 UTC
Created attachment 589882 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-09-15 10:03:27 UTC
Created attachment 589884 [details]
temp.tbz2
Comment 7 Opportunist 2019-10-31 17:22:07 UTC
Confirm on amd64
Comment 8 Mihai Donțu 2019-11-05 20:03:09 UTC
Created attachment 595098 [details, diff]
patch that fixes the syntax error

This patch fixes the build for me. I have not tested that the module still works correctly.
Comment 9 Larry the Git Cow gentoo-dev 2019-11-07 21:11:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29c5c5c901eba0bd11a86c9f0c7174ae43b4c189

commit 29c5c5c901eba0bd11a86c9f0c7174ae43b4c189
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2019-11-07 21:10:28 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2019-11-07 21:11:04 +0000

    dev-perl/WWW-Curl: Add patches by Slaven Rezic, bug 694466
    
    Closes: https://bugs.gentoo.org/694466
    Package-Manager: Portage-2.3.78, Repoman-2.3.17
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 dev-perl/WWW-Curl/WWW-Curl-4.170.0-r1.ebuild       |  4 ++-
 .../WWW-Curl/files/WWW-Curl-4.17-RT117793.patch    | 25 +++++++++++++
 .../WWW-Curl/files/WWW-Curl-4.17-RT130591.patch    | 41 ++++++++++++++++++++++
 3 files changed, 69 insertions(+), 1 deletion(-)