Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713542 - net-misc/casync-2_p20190407 : ../.../cacache.c: error: implicit declaration of function strndupa
Summary: net-misc/casync-2_p20190407 : ../.../cacache.c: error: implicit declaration o...
Status: RESOLVED CANTFIX
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:
Keywords:
: 716124 720146 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-03-19 21:31 UTC by Toralf Förster
Modified: 2022-04-22 00:52 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.48 KB, text/plain)
2020-03-19 21:31 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,166.06 KB, text/plain)
2020-03-19 21:31 UTC, Toralf Förster
Details
environment (environment,87.31 KB, text/plain)
2020-03-19 21:31 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.54 KB, application/x-bzip)
2020-03-19 21:31 UTC, Toralf Förster
Details
net-misc:casync-2_p20190407:20200319-212616.log (net-misc:casync-2_p20190407:20200319-212616.log,16.73 KB, text/plain)
2020-03-19 21:31 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.64 KB, application/x-bzip)
2020-03-19 21:31 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-03-19 21:31:27 UTC
../casync-6d185a540c54195a919d4b44f9bf28c341da3bf1/src/cacache.c: In function ca_cache_get:
../casync-6d185a540c54195a919d4b44f9bf28c341da3bf1/src/cacache.c:215:21: error: implicit declaration of function strndupa; did you mean strndup? [-Werror=implicit-function-declaration]
  215 |                 q = strndupa(p, CA_CHUNK_ID_SIZE*2);
      |                     ^~~~~~~~
      |                     strndup

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

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

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
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 13:38:27 +0000
emerge -qpvO net-misc/casync
[ebuild  N    ] net-misc/casync-2_p20190407  USE="fuse udev -man (-selinux) -test"
Comment 1 Toralf Förster gentoo-dev 2020-03-19 21:31:30 UTC
Created attachment 622900 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-19 21:31:33 UTC
Created attachment 622902 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-19 21:31:35 UTC
Created attachment 622904 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-19 21:31:38 UTC
Created attachment 622906 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-19 21:31:41 UTC
Created attachment 622908 [details]
net-misc:casync-2_p20190407:20200319-212616.log
Comment 6 Toralf Förster gentoo-dev 2020-03-19 21:31:43 UTC
Created attachment 622910 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2022-03-01 09:10:38 UTC
*** Bug 720146 has been marked as a duplicate of this bug. ***
Comment 8 Toralf Förster gentoo-dev 2022-03-01 09:11:08 UTC
*** Bug 716124 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2022-04-22 00:52:28 UTC
The bug has been referenced in the following commit(s):

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

commit 73cc0cc06d9b19de18ed92b80442490e6f4aa47d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-04-22 00:52:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-04-22 00:52:11 +0000

    profiles/features/musl: mask net-misc/casync
    
    Bug: https://bugs.gentoo.org/713542
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/features/musl/package.mask | 5 +++++
 1 file changed, 5 insertions(+)