Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 874933

Summary: app-emulation/dlx-1.5.20 - mon.c: error: call to undeclared function DisMicrocode; ISO C99 and
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: ionen, treecleaner
Priority: Normal Keywords: PMASKED, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/28626
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
app-emulation:dlx-1.5.20:20221004-004839.log
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-04 16:26:52 UTC
                     ^~~
/usr/include/string.h:407:35: note: passing argument to parameter '__s' here
extern size_t strlen (const char *__s)
                                  ^
mon.c:873:21: error: call to undeclared function 'DisMicrocode'; ISO C99 and
      later do not support implicit function declarations
      [-Werror,-Wimplicit-function-declaration]

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

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

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

gcc-config -l:
 [1] 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:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   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 45199178c8273e968cb989d06dd6cc948dcb202e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 4 00:30:15 2022 +0000

    2022-10-04 00:30:14 UTC

emerge -qpvO app-emulation/dlx
[ebuild  N    ] app-emulation/dlx-1.5.20
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:26:53 UTC
Created attachment 818782 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:26:55 UTC
Created attachment 818785 [details]
app-emulation:dlx-1.5.20:20221004-004839.log
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:26:56 UTC
Created attachment 818788 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:26:57 UTC
Created attachment 818791 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:26:58 UTC
Created attachment 818794 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-04 16:26:59 UTC
Created attachment 818797 [details]
temp.tar.bz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-20 21:45:51 UTC
*** Bug 882107 has been marked as a duplicate of this bug. ***
Comment 8 Ionen Wolkens gentoo-dev 2022-11-21 01:01:40 UTC
Think this should be last rited, kind of messy and upstream notes they no longer offer help with it (timestamps no newer than 2006, and beside us only Nix seem to package it).
Comment 9 Larry the Git Cow gentoo-dev 2022-12-16 05:10:55 UTC
The bug has been closed via the following commit(s):

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

commit a1ddda5fc214f17bf6818cdb60ffcfc0789b46ea
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2022-12-10 12:30:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-16 05:10:24 +0000

    app-emulation/dlx: revbump, fix build for clang16, fix lto
    
    - fix implicit function declaration
    - fix lto type mismatch
    
    Closes: https://bugs.gentoo.org/874933
    Closes: https://bugs.gentoo.org/854513
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Closes: https://github.com/gentoo/gentoo/pull/28626
    Signed-off-by: Sam James <sam@gentoo.org>

 app-emulation/dlx/dlx-1.5.20-r1.ebuild             |  34 ++++
 ...1.5.20-fix-implicit-function-declarations.patch | 102 +++++++++++
 .../files/dlx-1.5.20-fix-lto-type-mismatch.patch   | 193 +++++++++++++++++++++
 3 files changed, 329 insertions(+)