Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713758 - net-proxy/pingtunnel-0.72 : ptunnel.h: fatal error: sys/unistd.h: No such file or directory
Summary: net-proxy/pingtunnel-0.72 : ptunnel.h: fatal error: sys/unistd.h: No such fil...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-21 11:08 UTC by Toralf Förster
Modified: 2020-03-21 14:27 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.04 KB, text/plain)
2020-03-21 11:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,223.26 KB, text/plain)
2020-03-21 11:08 UTC, Toralf Förster
Details
environment (environment,74.82 KB, text/plain)
2020-03-21 11:08 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.71 KB, application/x-bzip)
2020-03-21 11:08 UTC, Toralf Förster
Details
net-proxy:pingtunnel-0.72:20200321-053025.log (net-proxy:pingtunnel-0.72:20200321-053025.log,2.01 KB, text/plain)
2020-03-21 11:08 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,18.23 KB, application/x-bzip)
2020-03-21 11:08 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-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(-)