Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717064 - net-dialup/openl2tp-1.8-r1 : usl_pid.c: error: WAIT_ANY undeclared (first use in this function)
Summary: net-dialup/openl2tp-1.8-r1 : usl_pid.c: error: WAIT_ANY undeclared (first use...
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:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-04-11 12:25 UTC by Toralf Förster
Modified: 2020-07-12 14:15 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.40 KB, text/plain)
2020-04-11 12:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,440.33 KB, text/plain)
2020-04-11 12:25 UTC, Toralf Förster
Details
environment (environment,77.02 KB, text/plain)
2020-04-11 12:25 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,30.67 KB, application/x-bzip)
2020-04-11 12:26 UTC, Toralf Förster
Details
net-dialup:openl2tp-1.8-r1:20200411-120846.log (net-dialup:openl2tp-1.8-r1:20200411-120846.log,4.61 KB, text/plain)
2020-04-11 12:26 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.93 KB, application/x-bzip)
2020-04-11 12:26 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-04-11 12:25:50 UTC
gcc -c -I. -MMD -Wall -Wno-strict-aliasing -O2 -pipe -march=native -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing   -DL2TP_ASYNC_RPC  -DSYS_LIBDIR=/usr/lib64  -isystem /usr/include/tirpc  -isystem /usr/include/tirpc -g  usl_pid.c -o usl_pid.o
usl_pid.c: In function usl_pid_reap_children:
usl_pid.c:81:25: error: WAIT_ANY undeclared (first use in this function)
   81 |  while (((pid = waitpid(WAIT_ANY, &status, (waitfor ? 0: WNOHANG))) != -1) && (pid != 0)) {
      |                         ^~~~~~~~
usl_pid.c:81:25: note: each undeclared identifier is reported only once for each function it appears in

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

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

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

  Please see the tracker bug for details.

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.42.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)


timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Apr 11 10:38:08 UTC 2020
/var/db/repos/musl	Wed Apr  8 18:15:58 UTC 2020

emerge -qpvO net-dialup/openl2tp
[ebuild  N    ] net-dialup/openl2tp-1.8-r1  USE="client examples -debug -dmalloc -doc -rpc -server -stats"
Comment 1 Toralf Förster gentoo-dev 2020-04-11 12:25:53 UTC
Created attachment 632200 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-11 12:25:55 UTC
Created attachment 632202 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-11 12:25:58 UTC
Created attachment 632204 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-11 12:26:01 UTC
Created attachment 632206 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-11 12:26:04 UTC
Created attachment 632208 [details]
net-dialup:openl2tp-1.8-r1:20200411-120846.log
Comment 6 Toralf Förster gentoo-dev 2020-04-11 12:26:07 UTC
Created attachment 632210 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-07-12 14:15:27 UTC
The bug has been closed via the following commit(s):

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

commit 7e2c66693ed08e55462f261140e9334398ea5c84
Author:     Andrew Savchenko <bircoph@gentoo.org>
AuthorDate: 2020-07-12 13:49:46 +0000
Commit:     Andrew Savchenko <bircoph@gentoo.org>
CommitDate: 2020-07-12 14:14:38 +0000

    net-dialup/openl2tp: fix build with musl
    
    Closes: https://bugs.gentoo.org/717064
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>

 net-dialup/openl2tp/files/openl2tp-1.8-musl.patch | 55 +++++++++++++++++++++++
 net-dialup/openl2tp/openl2tp-1.8-r1.ebuild        |  1 +
 2 files changed, 56 insertions(+)