Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874957 - app-misc/mouseremote-0.90-r3 - main.c: error: implicit declaration of function MakeMeDaemon [-Werror=implicit-function-declaration
Summary: app-misc/mouseremote-0.90-r3 - main.c: error: implicit declaration of functio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: fixed in 0.90-r4
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-04 16:28 UTC by Toralf Förster
Modified: 2024-10-28 13:48 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.61 KB, text/plain)
2022-10-04 16:28 UTC, Toralf Förster
Details
app-misc:mouseremote-0.90-r3:20221004-123646.log (app-misc:mouseremote-0.90-r3:20221004-123646.log,5.59 KB, text/plain)
2022-10-04 16:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,249.22 KB, text/plain)
2022-10-04 16:28 UTC, Toralf Förster
Details
environment (environment,58.85 KB, text/plain)
2022-10-04 16:28 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,11.66 KB, application/x-bzip)
2022-10-04 16:28 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-10-04 16:28:17 UTC
mouse.c:186:9: warning: ignoring return value of write declared with attribute warn_unused_result [-Wunused-result]
  186 |         write(msFifo, packet, 5);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
main.c: In function SetupMouse:
main.c:151:22: error: implicit declaration of function MakeMeDaemon [-Werror=implicit-function-declaration]
  151 |     if (!nodaemon && MakeMeDaemon()) return(EOF);
      |                      ^~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4-20221002-183753

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.3.1
 [2] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
3)	Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-jre-bin-17 

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

  HEAD of ::gentoo
commit 675cdae09d9011d3ea4e4fa2906da6236389898c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 4 11:47:56 2022 +0000

    2022-10-04 11:47:55 UTC

emerge -qpvO app-misc/mouseremote
[ebuild  N    ] app-misc/mouseremote-0.90-r3
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:28:18 UTC
Created attachment 818941 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:28:19 UTC
Created attachment 818944 [details]
app-misc:mouseremote-0.90-r3:20221004-123646.log
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:28:21 UTC
Created attachment 818947 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:28:22 UTC
Created attachment 818950 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:28:23 UTC
Created attachment 818953 [details]
etc.portage.tar.bz2
Comment 6 Larry the Git Cow gentoo-dev 2022-10-24 19:26:48 UTC
The bug has been closed via the following commit(s):

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

commit ee51625a6652970c7e6fec02ab7ac65ab5403adf
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-24 16:35:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-24 19:21:04 +0000

    app-misc/mouseremote: fix build w/ Clang 16
    
    Closes: https://bugs.gentoo.org/874957
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/mouseremote-0.90-fix-clang-16.patch      | 29 ++++++++++++++++++
 .../files/mouseremote-0.90-fix-warnings.diff       | 23 ---------------
 .../files/mouseremote-0.90-fix-warnings.patch      | 21 +++++++++++++
 ...0-gentoo.diff => mouseremote-0.90-gentoo.patch} | 10 +++----
 ...kefile.diff => mouseremote-0.90-makefile.patch} |  4 +--
 app-misc/mouseremote/mouseremote-0.90-r3.ebuild    | 34 ++++++++++------------
 6 files changed, 72 insertions(+), 49 deletions(-)
Comment 7 Larry the Git Cow gentoo-dev 2022-10-25 11:22:45 UTC
The bug has been referenced in the following commit(s):

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

commit f1fb0a3300c51b9422d91132046a0078afc8a0b3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-25 11:22:05 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-25 11:22:05 +0000

    app-misc/mouseremote: revbump for Clang 16 fixes
    
    Bug: https://bugs.gentoo.org/874957
    Fixes: ee51625a6652970c7e6fec02ab7ac65ab5403adf
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{mouseremote-0.90-r3.ebuild => mouseremote-0.90-r4.ebuild}            | 0
 1 file changed, 0 insertions(+), 0 deletions(-)