Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712772 - net-misc/pcapfix-1.1.4 : pcap.h: error: unknown type name u_int32_t
Summary: net-misc/pcapfix-1.1.4 : pcap.h: error: unknown type name u_int32_t
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL: https://github.com/Rup0rt/pcapfix/pul...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-15 21:53 UTC by Toralf Förster
Modified: 2021-12-29 06:44 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.81 KB, text/plain)
2020-03-15 21:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,150.02 KB, text/plain)
2020-03-15 21:54 UTC, Toralf Förster
Details
environment (environment,19.29 KB, text/plain)
2020-03-15 21:54 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.46 KB, application/x-bzip)
2020-03-15 21:54 UTC, Toralf Förster
Details
net-misc:pcapfix-1.1.4:20200315-213315.log (net-misc:pcapfix-1.1.4:20200315-213315.log,4.21 KB, text/plain)
2020-03-15 21:54 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,7.47 KB, application/x-bzip)
2020-03-15 21:54 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 2020-03-15 21:53:55 UTC
getconf: LFS_CFLAGS: unknown variable
In file included from pcap.c:21:
pcap.h:31:3: error: unknown type name u_int32_t
   31 |   u_int32_t magic_number;   /* magic number */
      |   ^~~~~~~~~
pcap.h:32:3: error: unknown type name u_int16_t

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200311-204810

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.2.0 *
 [2] x86_64-gentoo-linux-musl-9.3.0
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.41.1
  [2]   rust-1.41.1 *
The following VMs are available for generation-2:

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 15 Mar 2020 20:12:19 +0000
emerge -qpvO net-misc/pcapfix
[ebuild  N    ] net-misc/pcapfix-1.1.4  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2020-03-15 21:53:58 UTC
Created attachment 620070 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-15 21:54:01 UTC
Created attachment 620072 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-15 21:54:04 UTC
Created attachment 620074 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-15 21:54:07 UTC
Created attachment 620076 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-15 21:54:10 UTC
Created attachment 620078 [details]
net-misc:pcapfix-1.1.4:20200315-213315.log
Comment 6 Toralf Förster gentoo-dev 2020-03-15 21:54:13 UTC
Created attachment 620080 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-16 16:12:26 UTC
The first attempt to tinderbox a musl image failed at all.

I'll mass close therefore all filed bug reports of the last days related to this tinderbox image.

Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.
Comment 8 Larry the Git Cow gentoo-dev 2021-12-29 06:27:20 UTC
The bug has been referenced in the following commit(s):

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

commit 2a99630400988afde2113fd13d22c3912c5cff41
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-29 06:26:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-29 06:27:11 +0000

    net-misc/pcapfix: add 1.1.7
    
    Tagged musl bug b/c (from 1.1.5 changelog):
    ```
    [...]
    * improved compiling on all platforms (thanks to mdeweerd)
    ```
    
    Bug: https://bugs.gentoo.org/712772
    Bug: https://bugs.gentoo.org/830205
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/pcapfix/Manifest             |  1 +
 net-misc/pcapfix/pcapfix-1.1.7.ebuild | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)
Comment 9 Larry the Git Cow gentoo-dev 2021-12-29 06:44:31 UTC
The bug has been closed via the following commit(s):

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

commit 3c0062d2b4ffa3f65a57cd06b99176555d5d50c8
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-29 06:44:04 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-29 06:44:24 +0000

    net-misc/pcapfix: fix build on musl
    
    Patch sent upstream.
    
    Bug: https://github.com/Rup0rt/pcapfix/pull/26
    Closes: https://bugs.gentoo.org/712772
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/pcapfix/Manifest             | 1 +
 net-misc/pcapfix/pcapfix-1.1.7.ebuild | 5 +++++
 2 files changed, 6 insertions(+)