Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875446 - dev-util/tinlink-1.0.0-r1 - unsigned long (const char ); ISO C99 and later do not support implicit
Summary: dev-util/tinlink-1.0.0-r1 - unsigned long (const char ); ISO C99 and later do...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew Savchenko
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-05 18:12 UTC by Toralf Förster
Modified: 2022-10-18 23:46 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.48 KB, text/plain)
2022-10-05 18:12 UTC, Toralf Förster
Details
dev-util:tinlink-1.0.0-r1:20221005-135840.log (dev-util:tinlink-1.0.0-r1:20221005-135840.log,4.59 KB, text/plain)
2022-10-05 18:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,28.98 KB, text/plain)
2022-10-05 18:12 UTC, Toralf Förster
Details
environment (environment,59.73 KB, text/plain)
2022-10-05 18:12 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.19 KB, application/x-bzip)
2022-10-05 18:12 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,16.39 KB, application/x-bzip)
2022-10-05 18:12 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-05 18:12:13 UTC
      type and the other is not [-Wpointer-sign]
        output=v[i];
              ^~~~~
tinlink.c:222:23: error: call to undeclared library function 'strlen' with type
      'unsigned long (const char *)'; ISO C99 and later do not support implicit
      function declarations [-Werror,-Wimplicit-function-declaration]
        if (errno==ERANGE || strlen(v[i])==0 || *res!='\0') {

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20221005-090901

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

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]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit ca8c7cbebeb4c62522c12f7ef4e88fd9eb82fbc5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Oct 5 13:03:21 2022 +0000

    2022-10-05 13:03:21 UTC

emerge -qpvO dev-util/tinlink
[ebuild  N    ] dev-util/tinlink-1.0.0-r1
Comment 1 Toralf Förster gentoo-dev 2022-10-05 18:12:14 UTC
Created attachment 821152 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-05 18:12:15 UTC
Created attachment 821155 [details]
dev-util:tinlink-1.0.0-r1:20221005-135840.log
Comment 3 Toralf Förster gentoo-dev 2022-10-05 18:12:16 UTC
Created attachment 821158 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-05 18:12:18 UTC
Created attachment 821161 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-05 18:12:19 UTC
Created attachment 821164 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-05 18:12:20 UTC
Created attachment 821167 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-10-18 23:46:19 UTC
The bug has been closed via the following commit(s):

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

commit 218bdc5f36d2a1408317ff7c61c5bbec48c60898
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-18 20:27:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-18 23:46:09 +0000

    dev-util/tinlink: fix build w/ Clang 16
    
    Closes: https://bugs.gentoo.org/875446
    Signed-off-by: Sam James <sam@gentoo.org>

 .../tinlink-1.0.0-Add-missing-include-for-strlen.patch    | 15 +++++++++++++++
 .../{tinlink-1.0.0-r1.ebuild => tinlink-1.0.0-r2.ebuild}  |  8 ++++++--
 2 files changed, 21 insertions(+), 2 deletions(-)