Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 694466 - dev-perl/WWW-Curl-4.170.0-r1 : Curl.xs:76:12: error: expected { before void
Summary: dev-perl/WWW-Curl-4.170.0-r1 : Curl.xs:76:12: error: expected { before void
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-15 10:03 UTC by Toralf Förster
Modified: 2019-11-07 21:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.31 KB, text/plain)
2019-09-15 10:03 UTC, Toralf Förster
Details
dev-perl:WWW-Curl-4.170.0-r1:20190915-092029.log (dev-perl:WWW-Curl-4.170.0-r1:20190915-092029.log,9.45 KB, text/plain)
2019-09-15 10:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,76.56 KB, text/plain)
2019-09-15 10:03 UTC, Toralf Förster
Details
environment (environment,34.28 KB, text/plain)
2019-09-15 10:03 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.53 KB, application/x-bzip)
2019-09-15 10:03 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,12.34 KB, application/x-bzip)
2019-09-15 10:03 UTC, Toralf Förster
Details
patch that fixes the syntax error (WWW-Curl-syntax-fix.patch,292 bytes, patch)
2019-11-05 20:03 UTC, Mihai Donțu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)