Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885609 - dev-libs/argtable-2.13-r3 fails test - fntests.c: error: call to undeclared library function strcmp with type
Summary: dev-libs/argtable-2.13-r3 fails test - fntests.c: error: call to undeclared l...
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, TESTFAILURE
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-12-12 15:06 UTC by Toralf Förster
Modified: 2023-05-09 17:51 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.08 KB, text/plain)
2022-12-12 15:06 UTC, Toralf Förster
Details
dev-libs:argtable-2.13-r3:20221212-142328.log (dev-libs:argtable-2.13-r3:20221212-142328.log,15.74 KB, text/plain)
2022-12-12 15:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,111.56 KB, text/plain)
2022-12-12 15:06 UTC, Toralf Förster
Details
environment (environment,32.22 KB, text/plain)
2022-12-12 15:06 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,702 bytes, application/x-bzip)
2022-12-12 15:06 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,34.15 KB, application/x-bzip)
2022-12-12 15:06 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.51 KB, application/x-bzip)
2022-12-12 15:06 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,356.31 KB, application/x-bzip)
2022-12-12 15:06 UTC, Toralf Förster
Details
tests.tar.bz2 (tests.tar.bz2,13.71 KB, application/x-bzip)
2022-12-12 15:06 UTC, Toralf Förster
Details
var.tmp.clang.tar.bz2 (var.tmp.clang.tar.bz2,1.58 KB, application/x-bzip)
2022-12-12 15:06 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-12-12 15:06:46 UTC
too long lines were shrinked:

make  fntests test_lit test_int test_dbl test_rex test_file test_rex test_date
make[2]: Entering directory '/var/tmp/portage/dev-libs/argtable-2.13-r3/work/argtable2-13/tests'
clang -DHAVE_CONFIG_H -I. -I../src     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c fntests.c
clang -DHAVE_CONFIG_H -I. -I../src     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c test_lit.c
clang -DHAVE_CONFIG_H -I. -I../src     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c test_int.c
clang -DHAVE_CONFIG_H -I. -I../src     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c test_dbl.c
fntests.c:190:17: error: call to undeclared library function 'strcmp' with type
      'int (const char *, const char *)'; 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_test-20221211-060004

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
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.6
Python 3.10.9
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
Available Java Virtual Machines:
  [1]   openjdk-bin-11  system-vm

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

  HEAD of ::gentoo
commit f77faab7b3157a9b556ec8a3f02854b251b7a0e1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 12 13:31:48 2022 +0000

    2022-12-12 13:31:48 UTC

emerge -qpvO dev-libs/argtable
[ebuild  N    ] dev-libs/argtable-2.13-r3  USE="-debug -doc -examples -static-libs"
Comment 1 Toralf Förster gentoo-dev 2022-12-12 15:06:48 UTC
Created attachment 842039 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-12 15:06:49 UTC
Created attachment 842041 [details]
dev-libs:argtable-2.13-r3:20221212-142328.log
Comment 3 Toralf Förster gentoo-dev 2022-12-12 15:06:50 UTC
Created attachment 842043 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-12-12 15:06:51 UTC
Created attachment 842045 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-12-12 15:06:52 UTC
Created attachment 842047 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-12 15:06:54 UTC
Created attachment 842049 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-12 15:06:55 UTC
Created attachment 842051 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-12-12 15:06:56 UTC
Created attachment 842053 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-12-12 15:06:57 UTC
Created attachment 842055 [details]
tests.tar.bz2
Comment 10 Toralf Förster gentoo-dev 2022-12-12 15:06:58 UTC
Created attachment 842057 [details]
var.tmp.clang.tar.bz2
Comment 11 Larry the Git Cow gentoo-dev 2023-05-09 17:51:19 UTC
The bug has been closed via the following commit(s):

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

commit 2d23fccf8d1ffc5034d1bffefce1328476d38168
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-05-06 18:39:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-09 17:50:55 +0000

    dev-libs/argtable: fix call to undeclared library function strcmp
    
    Closes: https://bugs.gentoo.org/885609
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/30899
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/argtable/argtable-2.13-r4.ebuild          | 49 ++++++++++++++++++++++
 ...able-2.13-Fix-undeclared-library-function.patch | 28 +++++++++++++
 2 files changed, 77 insertions(+)