Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737250 - games-action/supertuxkart-1.1 : /.../COSOperator.cpp: fatal error: sys/sysctl.h: No such file or directory
Summary: games-action/supertuxkart-1.1 : /.../COSOperator.cpp: fatal error: sys/sysctl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: glibc-2.32
  Show dependency tree
 
Reported: 2020-08-15 12:13 UTC by Toralf Förster
Modified: 2020-09-01 23:24 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.99 KB, text/plain)
2020-08-15 12:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,259.95 KB, text/plain)
2020-08-15 12:13 UTC, Toralf Förster
Details
environment (environment,100.86 KB, text/plain)
2020-08-15 12:13 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.33 KB, application/x-bzip)
2020-08-15 12:13 UTC, Toralf Förster
Details
games-action:supertuxkart-1.1:20200815-112451.log (games-action:supertuxkart-1.1:20200815-112451.log,828.68 KB, text/plain)
2020-08-15 12:13 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.11 KB, application/x-bzip)
2020-08-15 12:13 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,44.28 KB, application/x-bzip)
2020-08-15 12:13 UTC, Toralf Förster
Details
patch fixing the build (supertuxkart-1.1-glibc-2.32.patch,657 bytes, patch)
2020-08-18 16:57 UTC, Petr Zima
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-08-15 12:13:46 UTC
/var/tmp/portage/games-action/supertuxkart-1.1/work/supertuxkart-1.1-src/lib/irrlicht/source/Irrlicht/COSOperator.cpp:20:10: fatal error: sys/sysctl.h: No such file or directory
   20 | #include <sys/sysctl.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20200808-141819

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 10.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
  [6]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.45.2 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Aug 15 10:35:47 AM UTC 2020

emerge -qpvO games-action/supertuxkart
[ebuild  N    ] games-action/supertuxkart-1.1  USE="-debug -fribidi -libressl -nettle -recorder -wiimote"
Comment 1 Toralf Förster gentoo-dev 2020-08-15 12:13:48 UTC
Created attachment 654790 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-08-15 12:13:50 UTC
Created attachment 654792 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-08-15 12:13:52 UTC
Created attachment 654794 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-08-15 12:13:53 UTC
Created attachment 654796 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-08-15 12:13:56 UTC
Created attachment 654798 [details]
games-action:supertuxkart-1.1:20200815-112451.log
Comment 6 Toralf Förster gentoo-dev 2020-08-15 12:13:57 UTC
Created attachment 654800 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-08-15 12:13:59 UTC
Created attachment 654802 [details]
temp.tbz2
Comment 8 Petr Zima 2020-08-18 16:57:08 UTC
Created attachment 655370 [details, diff]
patch fixing the build

The header file sysctl.h was deprecated and removed from glibc-2.32, but it was unused here anyway, so simply removing the #include fixes it.
Comment 9 Larry the Git Cow gentoo-dev 2020-09-01 23:24:59 UTC
The bug has been closed via the following commit(s):

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

commit 05e8951e0fa0ad2c41db7ad94e242aef6bcad871
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-09-01 23:24:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-09-01 23:24:46 +0000

    games-action/supertuxkart: bump to 1.2
    
    Closes: https://bugs.gentoo.org/739480
    Closes: https://bugs.gentoo.org/737250
    Package-Manager: Portage-3.0.5, Repoman-3.0.1
    Signed-off-by: Sam James <sam@gentoo.org>

 games-action/supertuxkart/Manifest                 |  1 +
 .../supertuxkart-1.2-irrlicht-system-libs.patch    | 69 ++++++++++++++++
 games-action/supertuxkart/metadata.xml             |  2 +
 games-action/supertuxkart/supertuxkart-1.2.ebuild  | 92 ++++++++++++++++++++++
 4 files changed, 164 insertions(+)