Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870415 - dev-games/KXL-1.1.7-r3:0 - KXLjoystick.c: error: implicit declaration of function close
Summary: dev-games/KXL-1.1.7-r3:0 - KXLjoystick.c: error: implicit declaration of func...
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:
: 870826 870922 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-16 17:47 UTC by Toralf Förster
Modified: 2022-09-26 12:10 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.20 KB, text/plain)
2022-09-16 17:47 UTC, Toralf Förster
Details
dev-games:KXL-1.1.7-r3:20220916-171514.log (dev-games:KXL-1.1.7-r3:20220916-171514.log,19.80 KB, text/plain)
2022-09-16 17:48 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,63.33 KB, application/x-bzip)
2022-09-16 17:48 UTC, Toralf Förster
Details
environment (environment,76.19 KB, text/plain)
2022-09-16 17:48 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,39.44 KB, application/x-bzip)
2022-09-16 17:48 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.10 KB, application/x-bzip)
2022-09-16 17:48 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,24.96 KB, application/x-bzip)
2022-09-16 17:48 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 2022-09-16 17:47:58 UTC
      |                                           |
      |                                           Sint32 {aka long int}

KXLjoystick.c: In function 'KXL_CloseJoystick':
KXLjoystick.c:39:5: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Werror=implicit-function-declaration]
   39 |     close(KXL_joydev);
      |     ^~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20220912-150005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-10.3.1
 [3] x86_64-pc-linux-gnu-12.2.1 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.5_p5 [openjdk-17]
2)	OpenJDK 8.345_p01 [openjdk-8]
3)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
5)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
6)	Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-8 
  [2]   openjdk-17 
  [3]   openjdk-bin-8 
  [4]   openjdk-bin-11 
  [5]   openjdk-bin-17  system-vm
  [6]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3

  HEAD of ::gentoo
commit cf2b335b975c83d55eec561b3f6e6014621cc9ec
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 16 17:02:01 2022 +0000

    2022-09-16 17:02:01 UTC

emerge -qpvO dev-games/KXL
[ebuild  N    ] dev-games/KXL-1.1.7-r3
Comment 1 Toralf Förster gentoo-dev 2022-09-16 17:47:59 UTC
Created attachment 805690 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-16 17:48:00 UTC
Created attachment 805693 [details]
dev-games:KXL-1.1.7-r3:20220916-171514.log
Comment 3 Toralf Förster gentoo-dev 2022-09-16 17:48:02 UTC
Created attachment 805696 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-09-16 17:48:03 UTC
Created attachment 805699 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-16 17:48:04 UTC
Created attachment 805702 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-16 17:48:05 UTC
Created attachment 805705 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-16 17:48:07 UTC
Created attachment 805708 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-26 02:27:35 UTC
*** Bug 870826 has been marked as a duplicate of this bug. ***
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-26 02:27:43 UTC
*** Bug 870922 has been marked as a duplicate of this bug. ***
Comment 10 Larry the Git Cow gentoo-dev 2022-09-26 12:10:54 UTC
The bug has been closed via the following commit(s):

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

commit 679bec0e2c20c8acc540503db3bc6e9b156dc2c0
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-26 01:46:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-26 01:46:09 +0000

    dev-games/KXL: add 1.1.7_p17 (switch to Debian patches)
    
    Indeed, most of our patches game from Debian (albeit without references ;))
    so this is far simpler.
    
    Dates back a long time!
    ```
    +*KXL-1.1.7-r1 (13 May 2007)
    +
    +  13 May 2007; Tupone Alfredo <tupone@gentoo.org>
    +  +files/KXL-1.1.7-amd64.patch, +KXL-1.1.7-r1.ebuild:
    +  Fixing bug #148332 by Pacho Ramos
    +  Patch are from debian. It regards 64bit, sound and autorepeat
    ```
    
    Bug: https://bugs.gentoo.org/148332
    Closes: https://bugs.gentoo.org/870415
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-games/KXL/KXL-1.1.7_p17.ebuild                 | 48 ++++++++++++++++++++++
 dev-games/KXL/Manifest                             |  1 +
 .../KXL-1.1.7-implicit-function-declarations.patch | 19 +++++++++
 3 files changed, 68 insertions(+)