Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712688 - net-libs/libnet-1.2 : ../.../libnet-structures.h: error: unknown type name _int64_t
Summary: net-libs/libnet-1.2 : ../.../libnet-structures.h: error: unknown type name _i...
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:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-15 12:21 UTC by Toralf Förster
Modified: 2022-02-06 08:32 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.54 KB, text/plain)
2020-03-15 12:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,128.55 KB, text/plain)
2020-03-15 12:21 UTC, Toralf Förster
Details
environment (environment,19.25 KB, text/plain)
2020-03-15 12:21 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.51 KB, application/x-bzip)
2020-03-15 12:21 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.52 KB, application/x-bzip)
2020-03-15 12:21 UTC, Toralf Förster
Details
net-libs:libnet-1.2:20200315-115104.log (net-libs:libnet-1.2:20200315-115104.log,11.36 KB, text/plain)
2020-03-15 12:21 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,9.16 KB, application/x-bzip)
2020-03-15 12:21 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 12:21:25 UTC
                 from common.h:63,
                 from libnet_asn1.c:56:
../include/./libnet/libnet-structures.h:52:5: error: unknown type name __int64_t
   52 |     __int64_t packets_sent;               /* packets sent */
      |     ^~~~~~~~~
../include/./libnet/libnet-structures.h:53:5: error: unknown type name __int64_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 10:38:48 +0000
emerge -qpvO net-libs/libnet
[ebuild  N    ] net-libs/libnet-1.2  USE="-static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-03-15 12:21:28 UTC
Created attachment 619736 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-15 12:21:31 UTC
Created attachment 619738 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-15 12:21:34 UTC
Created attachment 619740 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-15 12:21:36 UTC
Created attachment 619742 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-15 12:21:39 UTC
Created attachment 619744 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-15 12:21:43 UTC
Created attachment 619746 [details]
net-libs:libnet-1.2:20200315-115104.log
Comment 7 Toralf Förster gentoo-dev 2020-03-15 12:21:46 UTC
Created attachment 619748 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-03-16 16:12:49 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 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-03 11:53:09 UTC
(In reply to Sam James from comment #11)
> (In reply to Sam James from comment #10)
> > (In reply to Sam James from comment #9)
> > > Alpine patch:
> > > https://git.alpinelinux.org/aports/tree/main/libnet/fix-includes.patch
> > 
> > https://git.alpinelinux.org/aports/tree/main/libnet/fix-types.patch
> 
> ...
> https://github.com/libnet/libnet/commit/
> a1659e261888bdbed51803132d52d9a6c6803c8a

May want https://github.com/libnet/libnet/commit/4403abd07bd7177540a4c203310c79bb4a95fff6 too.
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-06 08:31:28 UTC
commit ebdc3396c4d25c2adbb919152b2712160427535a
Author: Petr Vaněk <arkamar@atlas.cz>
Date:   Thu Jan 2 18:49:16 2020 +0100

    net-libs/libnet: add patch to support musl
    
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Closes: https://github.com/gentoo/gentoo/pull/14219
    Signed-off-by: Sam James <sam@gentoo.org>