Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 876358 - net-irc/emech-3.0.99_p3-r1 - function.c: error: call to undeclared function path_token_check; ISO
Summary: net-irc/emech-3.0.99_p3-r1 - function.c: error: call to undeclared function p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-09 20:35 UTC by Toralf Förster
Modified: 2022-12-11 08:40 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.99 KB, text/plain)
2022-10-09 20:35 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,1.23 KB, application/x-bzip)
2022-10-09 20:35 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,104.04 KB, text/plain)
2022-10-09 20:35 UTC, Toralf Förster
Details
environment (environment,59.59 KB, text/plain)
2022-10-09 20:35 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,11.14 KB, application/x-bzip)
2022-10-09 20:35 UTC, Toralf Förster
Details
net-irc:emech-3.0.99_p3-r1:20221009-135304.log (net-irc:emech-3.0.99_p3-r1:20221009-135304.log,10.24 KB, text/plain)
2022-10-09 20:35 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,18.12 KB, application/x-bzip)
2022-10-09 20:35 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-09 20:35:28 UTC
clang    -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c greet.c 
function.c:1074:2: error: function definition is not allowed here
        {
        ^
function.c:1090:23: error: call to undeclared function 'path_token_check'; 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_systemd-j4-20221008-230744

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.2
Python 3.10.7
Available Ruby profiles:
  [1]   ruby30 *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

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 ebdb9ec3b3dac48e1240956948a5630a63650cc8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 9 13:03:28 2022 +0000

    2022-10-09 13:03:28 UTC

emerge -qpvO net-irc/emech
[ebuild  N    ] net-irc/emech-3.0.99_p3-r1  USE="-debug -session -tcl"
Comment 1 Toralf Förster gentoo-dev 2022-10-09 20:35:29 UTC
Created attachment 823111 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-09 20:35:30 UTC
Created attachment 823114 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-09 20:35:32 UTC
Created attachment 823117 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-09 20:35:33 UTC
Created attachment 823120 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-09 20:35:34 UTC
Created attachment 823123 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-09 20:35:35 UTC
Created attachment 823126 [details]
net-irc:emech-3.0.99_p3-r1:20221009-135304.log
Comment 7 Toralf Förster gentoo-dev 2022-10-09 20:35:36 UTC
Created attachment 823129 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-12-11 08:40:17 UTC
The bug has been closed via the following commit(s):

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

commit 0c432c6e270bf46229bb9b8b965b1f1b3b8cd548
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2022-11-23 07:10:52 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-12-11 08:39:32 +0000

    net-irc/emech: fix build for clang16
    
    Closes: https://bugs.gentoo.org/876358
    Closes: https://bugs.gentoo.org/731210
    
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Closes: https://github.com/gentoo/gentoo/pull/28393
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-irc/emech/Manifest                             |  1 +
 net-irc/emech/emech-3.0.99_p20221123.ebuild        | 90 ++++++++++++++++++++++
 .../emech-3.0.99_p20221123-fix-Wreturn-type.patch  | 34 ++++++++
 3 files changed, 125 insertions(+)