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

Bug 902987

Summary: net-analyzer/ettercap-0.8.3.1 - /.../sslstrip.c: error: #error libcurl 7.26.0 or up is needed
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Rick Farina (Zero_Chaos) <zerochaos>
Status: RESOLVED FIXED    
Severity: normal CC: ago, netmon
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/Ettercap/ettercap/commit/40534662043b7d831d1f6c70448afa9d374a9b63
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
net-analyzer:ettercap-0.8.3.1:20230324-180643.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2023-03-24 19:37:51 UTC
too long lines were shrinked:

[165/262] /usr/bin/x86_64-pc-linux-gnu-gcc -Dec_interfaces_EXPORTS -I/var/tmp/portage/net-analyzer/ettercap-0.8.3.1/work/ettercap-0.8.3.1_build/include -I/var/tmp/portage/net-analyzer/ettercap-0.8.3.1/work/ettercap-0.8.3.1/include -I/usr/include/ncurses -I/var/tmp/portage/net-analyzer/ettercap-0.8.3
[166/262] /usr/bin/x86_64-pc-linux-gnu-gcc -Darp_cop_EXPORTS -I/var/tmp/portage/net-analyzer/ettercap-0.8.3.1/work/ettercap-0.8.3.1_build/include -I/var/tmp/portage/net-analyzer/ettercap-0.8.3.1/work/ettercap-0.8.3.1/include -I/usr/include/ncurses  -O2 -pipe -march=native -fno-diagnostics-color -fPI
[167/262] /usr/bin/x86_64-pc-linux-gnu-gcc -Dautoadd_EXPORTS -I/var/tmp/portage/net-analyzer/ettercap-0.8.3.1/work/ettercap-0.8.3.1_build/include -I/var/tmp/portage/net-analyzer/ettercap-0.8.3.1/work/ettercap-0.8.3.1/include -I/usr/include/ncurses  -O2 -pipe -march=native -fno-diagnostics-color -fPI
[168/262] /usr/bin/x86_64-pc-linux-gnu-gcc -Dsslstrip_EXPORTS -I/var/tmp/portage/net-analyzer/ettercap-0.8.3.1/work/ettercap-0.8.3.1_build/include -I/var/tmp/portage/net-analyzer/ettercap-0.8.3.1/work/ettercap-0.8.3.1/include -I/usr/include/ncurses  -O2 -pipe -march=native -fno-diagnostics-color -fP
FAILED: plug-ins/CMakeFiles/sslstrip.dir/sslstrip/sslstrip.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -Dsslstrip_EXPORTS -I/var/tmp/portage/net-analyzer/ettercap-0.8.3.1/work/ettercap-0.8.3.1_build/include -I/var/tmp/portage/net-analyzer/ettercap-0.8.3.1/work/ettercap-0.8.3.1/include -I/usr/include/ncurses  -O2 -pipe -march=native -fno-diagnostics-color -fPIC -fno-di
/var/tmp/portage/net-analyzer/ettercap-0.8.3.1/work/ettercap-0.8.3.1/plug-ins/sslstrip/sslstrip.c:57:2: error: #error libcurl 7.26.0 or up is needed
   57 | #error libcurl 7.26.0 or up is needed
      |  ^~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-j4-20230323-170005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.0
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.68.1
  [2]   rust-1.68.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JRE 17.0.6_p10 [openjdk-jre-bin-17]
2)	Eclipse Temurin JRE 8.362_p09 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-8 
  [2]   openjdk-jre-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit dcd8ff3803b8a936c9b5746404624cfe03d7ff89
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Mar 24 16:18:52 2023 +0000

    2023-03-24 16:18:52 UTC

emerge -qpvO net-analyzer/ettercap
[ebuild  N    ] net-analyzer/ettercap-0.8.3.1  USE="geoip ipv6 ncurses plugins -doc -gtk -test"
Comment 1 Toralf Förster gentoo-dev 2023-03-24 19:37:52 UTC
Created attachment 858839 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-03-24 19:37:53 UTC
Created attachment 858841 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-03-24 19:37:55 UTC
Created attachment 858843 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-03-24 19:37:55 UTC
Created attachment 858845 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-03-24 19:37:56 UTC
Created attachment 858847 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-03-24 19:37:57 UTC
Created attachment 858849 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-03-24 19:37:59 UTC
Created attachment 858851 [details]
net-analyzer:ettercap-0.8.3.1:20230324-180643.log
Comment 8 Toralf Förster gentoo-dev 2023-03-24 19:38:00 UTC
Created attachment 858853 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-03-25 05:52:04 UTC
The bug has been closed via the following commit(s):

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

commit db26ce81811d5556c2c3afc877fe42854835be7e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-03-25 05:48:56 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-03-25 05:51:54 +0000

    net-analyzer/ettercap: fix build w/ curl 8
    
    Closes: https://bugs.gentoo.org/902987
    Signed-off-by: Sam James <sam@gentoo.org>

 ...p-0.8.3.1.ebuild => ettercap-0.8.3.1-r1.ebuild} | 40 ++++++++++++++--------
 net-analyzer/ettercap/ettercap-9999.ebuild         | 38 ++++++++++++--------
 .../ettercap/files/ettercap-0.8.3.1-curl-8.patch   | 32 +++++++++++++++++
 3 files changed, 81 insertions(+), 29 deletions(-)