Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 719920 - net-nds/gssproxy-0.8.3 : src/gp_socket.c: error: implicit declaration of function strcmp [-Werror=implicit-function-declaration]
Summary: net-nds/gssproxy-0.8.3 : src/gp_socket.c: error: implicit declaration of func...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard: string.h
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-04-28 12:32 UTC by Toralf Förster
Modified: 2022-01-23 18:16 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.76 KB, text/plain)
2020-04-28 12:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,125.36 KB, text/plain)
2020-04-28 12:32 UTC, Toralf Förster
Details
environment (environment,20.34 KB, text/plain)
2020-04-28 12:32 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.88 KB, application/x-bzip)
2020-04-28 12:32 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,12.92 KB, application/x-bzip)
2020-04-28 12:32 UTC, Toralf Förster
Details
net-nds:gssproxy-0.8.3:20200428-085547.log (net-nds:gssproxy-0.8.3:20200428-085547.log,38.70 KB, text/plain)
2020-04-28 12:32 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,12.17 KB, application/x-bzip)
2020-04-28 12:32 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 2020-04-28 12:32:08 UTC
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I.  -D_FORTIFY_SOURCE=2 -Wdate-time -Wall -Iinclude -I./include -I. -Iinclude -I.    -DLIBDIR=\/usr/lib\ -DVARDIR=\/var\ -DSHLIBEXT=\\ -DSYSCONFDIR=\/etc\ -DLOCALEDIR=\/usr/share/locale\   -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fstrict-aliasing -Wstrict-aliasing -Werror=strict-aliasing -Werror-implicit-function-declaration -Werror=format-security -Wextra -fPIE -fstack-protector-strong -O2 -pipe -march=native -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o src/gp_socket.o src/gp_socket.c
src/gp_socket.c: In function gp_selinux_ctx_equal:
src/gp_socket.c:57:9: error: implicit declaration of function strcmp [-Werror=implicit-function-declaration]
   57 |     if (strcmp(SELINUX_context_user_get(ctx1),
      |         ^~~~~~
src/gp_socket.c: In function init_unix_socket:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-20200425-233309

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7 (uninstalled)
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.43.0
  [2]   rust-1.43.0 *
The following VMs are available for generation-2:

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Apr 28 07:13:24 UTC 2020
/var/db/repos/musl	Mon Apr 27 18:53:47 UTC 2020

emerge -qpvO net-nds/gssproxy
[ebuild  N    ] net-nds/gssproxy-0.8.3  USE="hardened -debug (-selinux) (-systemd)"
Comment 1 Toralf Förster gentoo-dev 2020-04-28 12:32:12 UTC
Created attachment 635046 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-28 12:32:15 UTC
Created attachment 635048 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-28 12:32:18 UTC
Created attachment 635050 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-28 12:32:21 UTC
Created attachment 635052 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-28 12:32:24 UTC
Created attachment 635054 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-28 12:32:27 UTC
Created attachment 635056 [details]
net-nds:gssproxy-0.8.3:20200428-085547.log
Comment 7 Toralf Förster gentoo-dev 2020-04-28 12:32:30 UTC
Created attachment 635058 [details]
temp.tbz2
Comment 8 Michael 'veremitz' Everitt 2020-04-28 13:14:13 UTC
Likely missing #include <string.h> .
Comment 9 Larry the Git Cow gentoo-dev 2022-01-23 18:16:12 UTC
The bug has been closed via the following commit(s):

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

commit f0fb22b3be9aee44894859fd4306bfa4256e7c0e
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-01-23 18:16:00 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-01-23 18:16:00 +0000

    net-nds/gssproxy: add missing #include <string.h>
    
    Closes: https://bugs.gentoo.org/719920
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../gssproxy/files/gssproxy-0.8.4-include.patch    | 24 ++++++++++++++++++++++
 net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild          |  2 ++
 2 files changed, 26 insertions(+)