Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 661914 - net-wireless/horst-5.0 : capture-pcap.c:35:15: error: pcap_bufsize redeclared as different kind of symbol
Summary: net-wireless/horst-5.0 : capture-pcap.c:35:15: error: pcap_bufsize redeclared...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-23 18:35 UTC by Toralf Förster
Modified: 2019-02-17 15:06 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.53 KB, text/plain)
2018-07-23 18:35 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,171.45 KB, text/plain)
2018-07-23 18:35 UTC, Toralf Förster
Details
environment (environment,39.95 KB, text/plain)
2018-07-23 18:35 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.31 KB, application/x-bzip)
2018-07-23 18:35 UTC, Toralf Förster
Details
net-wireless:horst-5.0:20180723-183040.log (net-wireless:horst-5.0:20180723-183040.log,2.67 KB, text/plain)
2018-07-23 18:35 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,11.30 KB, application/x-bzip)
2018-07-23 18:35 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 2018-07-23 18:35:41 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -std=gnu99 -Wall -Wextra -g -I. -DPCAP -I/usr/include/libnl3   -c -o average.o average.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -std=gnu99 -Wall -Wextra -g -I. -DPCAP -I/usr/include/libnl3   -c -o capture-pcap.o capture-pcap.c
capture-pcap.c:35:15: error: ‘pcap_bufsize’ redeclared as different kind of symbol
 static size_t pcap_bufsize;
               ^~~~~~~~~~~~
In file included from /usr/include/pcap.h:43:0,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib-hardened_test_20180718-175402

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

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

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.7 (fallback)
  [3]   python2.7 (fallback)




emerge -qpv net-wireless/horst
[ebuild  N    ] net-wireless/horst-5.0  USE="pcap -debug {-test}"
Comment 1 Toralf Förster gentoo-dev 2018-07-23 18:35:44 UTC
Created attachment 540664 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-07-23 18:35:46 UTC
Created attachment 540666 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-07-23 18:35:49 UTC
Created attachment 540668 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-07-23 18:35:52 UTC
Created attachment 540670 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-07-23 18:35:55 UTC
Created attachment 540672 [details]
net-wireless:horst-5.0:20180723-183040.log
Comment 6 Toralf Förster gentoo-dev 2018-07-23 18:35:58 UTC
Created attachment 540674 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2019-02-17 15:06:56 UTC
The bug has been closed via the following commit(s):

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

commit 006674e4b3910de7f0a448627c146821e8cb0ed8
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2019-02-17 15:06:10 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2019-02-17 15:06:51 +0000

    net-wireless/horst: Version 5.1
    
    Package-Manager: Portage-2.3.60, Repoman-2.3.12
    
    Fixes: https://bugs.gentoo.org/show_bug.cgi?id=661914
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-wireless/horst/Manifest                        |  1 +
 net-wireless/horst/files/horst-5.1-CC.patch        | 14 +++++++
 .../horst/files/horst-5.1-pcap_bufsize.patch       | 32 ++++++++++++++++
 net-wireless/horst/files/horst-5.1-tinfo.patch     | 11 ++++++
 net-wireless/horst/files/horst-9999-tinfo.patch    | 11 ++++++
 net-wireless/horst/horst-5.1.ebuild                | 44 ++++++++++++++++++++++
 net-wireless/horst/horst-9999.ebuild               | 38 +++++++++++--------
 7 files changed, 136 insertions(+), 15 deletions(-)