Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828721 - net-libs/netwib-5.39.0 - netwib/.../pause.c: warning: pthread_yield is deprecated: pthread_yield is deprecated, use sched_yi
Summary: net-libs/netwib-5.39.0 - netwib/.../pause.c: warning: pthread_yield is deprec...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-10 10:30 UTC by Toralf Förster
Modified: 2023-03-18 21:23 UTC (History)
1 user (show)

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


Attachments
emerge-history.txt (emerge-history.txt,203.87 KB, text/plain)
2021-12-10 10:30 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,15.82 KB, application/x-bzip)
2021-12-10 10:30 UTC, Toralf Förster
Details
net-libs:netwib-5.39.0:20211210-011950.log (net-libs:netwib-5.39.0:20211210-011950.log,135.55 KB, text/plain)
2021-12-10 10:30 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 2021-12-10 10:30:08 UTC
x86_64-pc-linux-gnu-gcc -Wall -pipe -march=native -fno-diagnostics-color -O2  -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -fno-strict-aliasing -c netwib/sys/time.c -I. -I/usr/include/pcap/  -o netwib/sys/time.o
x86_64-pc-linux-gnu-gcc -Wall -pipe -march=native -fno-diagnostics-color -O2  -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -fno-strict-aliasing -c netwib/sys/rand.c -I. -I/usr/include/pcap/  -o netwib/sys/rand.o
In file included from netwib/sys/priv.c:39:
netwib/sys/priv/pause.c: In function ‘netwib_priv_pause_yield’:
netwib/sys/priv/pause.c:10:3: warning: ‘pthread_yield’ is deprecated: pthread_yield is deprecated, use sched_yield instead [-Wdeprecated-declarations]
   10 |   pthread_yield();
      |   ^~~~~~~~~~~~~
In file included from /usr/include/features.h:488,
                 from /usr/include/bits/libc-header-start.h:33,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20211207-222955

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

  The emerge log matches a common QA pattern or a pattern requested by a Gentoo dev.
Comment 1 Toralf Förster gentoo-dev 2021-12-10 10:30:10 UTC
Created attachment 758030 [details]
emerge-history.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-10 10:30:11 UTC
Created attachment 758031 [details]
etc.portage.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2021-12-10 10:30:12 UTC
Created attachment 758032 [details]
net-libs:netwib-5.39.0:20211210-011950.log
Comment 4 Larry the Git Cow gentoo-dev 2023-03-18 21:23:04 UTC
The bug has been closed via the following commit(s):

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

commit 686d9515136b4e06bcd234438ec28aa2ffafc866
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-03-18 21:22:44 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-03-18 21:22:44 +0000

    net-libs/netwib: fix build with clang 16
    
    Closes: https://bugs.gentoo.org/710626
    Closes: https://bugs.gentoo.org/828721
    Closes: https://bugs.gentoo.org/879735
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../netwib/files/netwib-5.39.0-C99-decls.patch     | 19 +++++
 net-libs/netwib/files/netwib-5.39.0-config.patch   | 35 +++++++++
 .../netwib/files/netwib-5.39.0-sched_yield.patch   | 85 ++++++++++++++++++++++
 net-libs/netwib/netwib-5.39.0-r1.ebuild            | 56 ++++++++++++++
 net-libs/netwib/netwib-5.39.0.ebuild               | 61 ----------------
 5 files changed, 195 insertions(+), 61 deletions(-)