Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874996 - games-emulation/desmume-0.9.13 - ../.../file_path.c: error: implicit declaration of function strdup
Summary: games-emulation/desmume-0.9.13 - ../.../file_path.c: error: implicit declarat...
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:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-04 16:30 UTC by Toralf Förster
Modified: 2022-11-21 04:59 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.51 KB, text/plain)
2022-10-04 16:30 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,173.75 KB, text/plain)
2022-10-04 16:30 UTC, Toralf Förster
Details
environment (environment,103.85 KB, text/plain)
2022-10-04 16:30 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.86 KB, application/x-bzip)
2022-10-04 16:30 UTC, Toralf Förster
Details
games-emulation:desmume-0.9.13:20221004-073309.log.bz2 (games-emulation:desmume-0.9.13:20221004-073309.log.bz2,21.87 KB, application/x-bzip)
2022-10-04 16:30 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.25 KB, application/x-bzip)
2022-10-04 16:30 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,46.42 KB, application/x-bzip)
2022-10-04 16: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 2022-10-04 16:30:30 UTC
too long lines were shrinked:

[96/167] x86_64-pc-linux-gnu-gcc -Ilibdesmume.a.p -I. -I../desmume-0.9.13/desmume/src/frontend/posix -I../desmume-0.9.13/desmume/src -I../desmume-0.9.13/desmume/src/libretro-common/include -I../desmume-0.9.13/desmume/src/frontend -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/S
FAILED: libdesmume.a.p/.._.._libretro-common_file_file_path.c.o 
x86_64-pc-linux-gnu-gcc -Ilibdesmume.a.p -I. -I../desmume-0.9.13/desmume/src/frontend/posix -I../desmume-0.9.13/desmume/src -I../desmume-0.9.13/desmume/src/libretro-common/include -I../desmume-0.9.13/desmume/src/frontend -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/SDL2 -I/us
../desmume-0.9.13/desmume/src/libretro-common/file/file_path.c: In function path_mkdir:
../desmume-0.9.13/desmume/src/libretro-common/file/file_path.c:53:24: error: implicit declaration of function strdup; did you mean strcmp? [-Werror=implicit-function-declaration]
   53 |    char     *basedir = strdup(dir);
      |                        ^~~~~~

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

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

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

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 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 56a593f1187ec37e109b50f1facc4f5784646562
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 4 07:02:41 2022 +0000

    2022-10-04 07:02:41 UTC

emerge -qpvO games-emulation/desmume
[ebuild  N    ] games-emulation/desmume-0.9.13  USE="gui -gdb -openal -wifi"
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:30:31 UTC
Created attachment 819187 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:30:33 UTC
Created attachment 819190 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:30:34 UTC
Created attachment 819193 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:30:35 UTC
Created attachment 819196 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:30:36 UTC
Created attachment 819199 [details]
games-emulation:desmume-0.9.13:20221004-073309.log.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-04 16:30:37 UTC
Created attachment 819202 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-04 16:30:38 UTC
Created attachment 819205 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-11-21 04:59:34 UTC
The bug has been closed via the following commit(s):

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

commit 1cdd5937af974cd53b9ee5b138031a310d5ab265
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-11-21 01:52:57 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-11-21 04:55:31 +0000

    games-emulation/desmume: fix w/ clang16, filter-lto + -fno-strict
    
    Looking a bit fragile for LTO overall, so haven't looked
    into doing proper fixes.
    
    Also GPL-2 -> GPL-2+
    
    Closes: https://bugs.gentoo.org/858629
    Closes: https://bugs.gentoo.org/874996
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../desmume/{desmume-0.9.13.ebuild => desmume-0.9.13-r1.ebuild}  | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)