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

Bug 713758

Summary: net-proxy/pingtunnel-0.72 : ptunnel.h: fatal error: sys/unistd.h: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: bircoph, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
net-proxy:pingtunnel-0.72:20200321-053025.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-21 11:08:17 UTC
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall  -c -o ptunnel.o ptunnel.c
In file included from ptunnel.c:43:
ptunnel.h:48:13: fatal error: sys/unistd.h: No such file or directory
   48 |    #include <sys/unistd.h>
      |             ^~~~~~~~~~~~~~
compilation terminated.

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

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

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

gcc-config -l:
 [1] 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-1.41.1 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Mar 21 01:38:36 UTC 2020
/var/db/repos/musl	Sat Mar 21 03:09:12 UTC 2020

emerge -qpvO net-proxy/pingtunnel
[ebuild  N    ] net-proxy/pingtunnel-0.72  USE="-doc (-selinux)"
Comment 1 Toralf Förster gentoo-dev 2020-03-21 11:08:19 UTC
Created attachment 623664 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-21 11:08:22 UTC
Created attachment 623666 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-21 11:08:25 UTC
Created attachment 623668 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-21 11:08:28 UTC
Created attachment 623670 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-21 11:08:30 UTC
Created attachment 623672 [details]
net-proxy:pingtunnel-0.72:20200321-053025.log
Comment 6 Toralf Förster gentoo-dev 2020-03-21 11:08:33 UTC
Created attachment 623674 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-03-21 14:27:08 UTC
The bug has been closed via the following commit(s):

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

commit e8b3bd1a44ebf294583e0d0f8073e7d6a193e354
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-03-21 14:26:50 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-03-21 14:26:50 +0000

    net-proxy/pingtunnel: Use proper POSIX #include's
    
    Closes: https://bugs.gentoo.org/713758
    Package-Manager: Portage-2.3.94, Repoman-2.3.21
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-proxy/pingtunnel/files/pingtunnel-0.72-musl.patch | 10 ++++++++++
 net-proxy/pingtunnel/pingtunnel-0.72.ebuild           |  5 ++++-
 2 files changed, 14 insertions(+), 1 deletion(-)