Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 818628 - net-vpn/libreswan-4.5 - /.../fetch.c: error: too many arguments to function fetch_curl
Summary: net-vpn/libreswan-4.5 - /.../fetch.c: error: too many arguments to function f...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-17 08:40 UTC by Toralf Förster
Modified: 2022-01-12 06:55 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.64 KB, text/plain)
2021-10-17 08:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,394.44 KB, text/plain)
2021-10-17 08:40 UTC, Toralf Förster
Details
environment (environment,64.96 KB, text/plain)
2021-10-17 08:40 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,45.07 KB, application/x-bzip)
2021-10-17 08:40 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,16.81 KB, application/x-bzip)
2021-10-17 08:40 UTC, Toralf Förster
Details
net-vpn:libreswan-4.5:20211017-050902.log (net-vpn:libreswan-4.5:20211017-050902.log,259.14 KB, text/plain)
2021-10-17 08:40 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.81 KB, application/x-bzip)
2021-10-17 08:40 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-10-17 08:40:37 UTC
	-c /var/tmp/portage/net-vpn/libreswan-4.5/work/libreswan-4.5/programs/pluto/fetch.c
/var/tmp/portage/net-vpn/libreswan-4.5/work/libreswan-4.5/programs/pluto/fetch.c: In function 'fetch_asn1_blob':
/var/tmp/portage/net-vpn/libreswan-4.5/work/libreswan-4.5/programs/pluto/fetch.c:316:23: error: too many arguments to function 'fetch_curl'
  316 |                 ugh = fetch_curl(url, blob, logger);
      |                       ^~~~~~~~~~
/var/tmp/portage/net-vpn/libreswan-4.5/work/libreswan-4.5/programs/pluto/fetch.c:151:14: note: declared here
  151 | static err_t fetch_curl(const char *url UNUSED,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20211011-200208

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
/usr/lib/llvm/13
13.0.0
Python 3.9.7
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.55.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 34df9a2b915917a25e566f129b296f9972022934
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 17 03:36:26 2021 +0000

    2021-10-17 03:36:25 UTC

emerge -qpvO net-vpn/libreswan
[ebuild  N    ] net-vpn/libreswan-4.5  USE="ldap pam seccomp systemd -caps -curl -dnssec -networkmanager (-selinux) -test"
Comment 1 Toralf Förster gentoo-dev 2021-10-17 08:40:38 UTC
Created attachment 745410 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-10-17 08:40:40 UTC
Created attachment 745413 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-10-17 08:40:41 UTC
Created attachment 745416 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-10-17 08:40:42 UTC
Created attachment 745419 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-10-17 08:40:43 UTC
Created attachment 745422 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-10-17 08:40:45 UTC
Created attachment 745425 [details]
net-vpn:libreswan-4.5:20211017-050902.log
Comment 7 Toralf Förster gentoo-dev 2021-10-17 08:40:46 UTC
Created attachment 745428 [details]
temp.tar.bz2
Comment 8 Hans de Graaff gentoo-dev Security 2022-01-12 06:55:28 UTC
This seems to happen because the fallback code when not using libcurl is incorrect, but it doesn't trigger with USE=-curl, so looks like there is an automagic dependency as well. I'll have a look at it later.