Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874102 - app-text/multitail-6.4.2-r1 - mt.c: error: call to undeclared function waddnwstr; ISO C99 and later do
Summary: app-text/multitail-6.4.2-r1 - mt.c: error: call to undeclared function waddnw...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords: PullRequest
: 882259 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-02 17:00 UTC by Toralf Förster
Modified: 2022-11-22 07:05 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.47 KB, text/plain)
2022-10-02 17:00 UTC, Toralf Förster
Details
app-text:multitail-6.4.2-r1:20221002-165842.log (app-text:multitail-6.4.2-r1:20221002-165842.log,5.46 KB, text/plain)
2022-10-02 17:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,109.94 KB, text/plain)
2022-10-02 17:00 UTC, Toralf Förster
Details
environment (environment,82.30 KB, text/plain)
2022-10-02 17:00 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,17.83 KB, application/x-bzip)
2022-10-02 17:00 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,21.65 KB, application/x-bzip)
2022-10-02 17:01 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-02 17:00:53 UTC
too long lines were shrinked:

clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -funsigned-char -D`uname` -DVERSION=\"6.4.2\" -DCONFIG_FILE=\"/etc/multitail.conf\" -DUTF8_SUPPORT   -c -o error.o error.c
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -funsigned-char -D`uname` -DVERSION=\"6.4.2\" -DCONFIG_FILE=\"/etc/multitail.conf\" -DUTF8_SUPPORT   -c -o my_pty.o my_pty.c
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -funsigned-char -D`uname` -DVERSION=\"6.4.2\" -DCONFIG_FILE=\"/etc/multitail.conf\" -DUTF8_SUPPORT   -c -o term.o term.c
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -funsigned-char -D`uname` -DVERSION=\"6.4.2\" -DCONFIG_FILE=\"/etc/multitail.conf\" -DUTF8_SUPPORT   -c -o scrollback.o scrollback.c
mt.c:696:4: error: call to undeclared function 'waddnwstr'; 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_plasma_systemd-j4-20221001-190003

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

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]   ruby30 *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.5_p5 [openjdk-17]
*)	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-17 
  [2]   openjdk-bin-8 
  [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 bf31bd1510c88fb7cc62274835494537f14c97f8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 2 15:48:43 2022 +0000

    2022-10-02 15:48:43 UTC

emerge -qpvO app-text/multitail
[ebuild  N    ] app-text/multitail-6.4.2-r1  USE="unicode -debug -examples"
Comment 1 Toralf Förster gentoo-dev 2022-10-02 17:00:54 UTC
Created attachment 815752 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-02 17:00:54 UTC
Created attachment 815755 [details]
app-text:multitail-6.4.2-r1:20221002-165842.log
Comment 3 Toralf Förster gentoo-dev 2022-10-02 17:00:56 UTC
Created attachment 815758 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-02 17:00:57 UTC
Created attachment 815761 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-02 17:00:58 UTC
Created attachment 815764 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-02 17:01:00 UTC
Created attachment 815767 [details]
temp.tar.bz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-20 21:24:02 UTC
*** Bug 882259 has been marked as a duplicate of this bug. ***
Comment 8 Larry the Git Cow gentoo-dev 2022-11-22 07:05:45 UTC
The bug has been closed via the following commit(s):

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

commit 0bf5477633a6a83e1d90666fad2187a1dc608eea
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2022-11-01 15:36:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-22 06:49:03 +0000

    app-text/multitail: version bump to 7.0.0
    
    - fix build for clang16
    - fix build for LTO's -Werror=lto-type-mismatch
    
    Closes: https://bugs.gentoo.org/874102
    Closes: https://bugs.gentoo.org/855017
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Closes: https://github.com/gentoo/gentoo/pull/28089
    Signed-off-by: Sam James <sam@gentoo.org>

 app-text/multitail/Manifest                        |  1 +
 .../files/multitail-7.0.0-fix-clang16-build.patch  | 34 ++++++++++++
 .../multitail-7.0.0-fix-lto-type-mismatch.patch    | 29 ++++++++++
 .../multitail/files/multitail-7.0.0-gentoo.patch   | 32 +++++++++++
 app-text/multitail/multitail-7.0.0.ebuild          | 63 ++++++++++++++++++++++
 5 files changed, 159 insertions(+)