Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 720146 - net-misc/casync-2_p20190407 : ../.../caencoder.c: error: implicit declaration of function scandirat
Summary: net-misc/casync-2_p20190407 : ../.../caencoder.c: error: implicit declaration...
Status: RESOLVED DUPLICATE of bug 713542
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:
Depends on:
Blocks:
 
Reported: 2020-04-30 17:33 UTC by Toralf Förster
Modified: 2022-03-01 09:10 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.67 KB, text/plain)
2020-04-30 17:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,212.56 KB, text/plain)
2020-04-30 17:33 UTC, Toralf Förster
Details
environment (environment,88.28 KB, text/plain)
2020-04-30 17:33 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,20.33 KB, application/x-bzip)
2020-04-30 17:33 UTC, Toralf Förster
Details
net-misc:casync-2_p20190407:20200430-170832.log (net-misc:casync-2_p20190407:20200430-170832.log,19.00 KB, text/plain)
2020-04-30 17:33 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.33 KB, application/x-bzip)
2020-04-30 17:33 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-30 17:33:25 UTC
../casync-6d185a540c54195a919d4b44f9bf28c341da3bf1/src/caencoder.c: In function ca_encoder_node_read_dirents:
../casync-6d185a540c54195a919d4b44f9bf28c341da3bf1/src/caencoder.c:513:13: error: implicit declaration of function scandirat; did you mean scandir? [-Werror=implicit-function-declaration]
  513 |         r = scandirat(n->fd, ., &n->dirents, scandir_filter, scandir_compare);
      |             ^~~~~~~~~
      |             scandir

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

  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
  [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	Thu Apr 30 15:38:44 UTC 2020
/var/db/repos/musl	Mon Apr 27 18:53:47 UTC 2020

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-04-30 17:33:28 UTC
Created attachment 635362 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-30 17:33:31 UTC
Created attachment 635364 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-30 17:33:34 UTC
Created attachment 635366 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-30 17:33:36 UTC
Created attachment 635368 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-30 17:33:39 UTC
Created attachment 635370 [details]
net-misc:casync-2_p20190407:20200430-170832.log
Comment 6 Toralf Förster gentoo-dev 2020-04-30 17:33:42 UTC
Created attachment 635372 [details]
temp.tbz2
Comment 7 Kai Krakow 2020-05-03 08:02:02 UTC
musl is missing a scandirat implementation, and casync upstream has a lot of open pull requests since months or almost years tho it still receives occasional commits specific to Fedora. I'm not sure if it's worth an effort to add support patches for musl in this package.

A lot of other packages have similar problems so it may be preferable to implement support for missing functions directly in the musl package.

Maybe assign to the musl team?
Comment 8 Toralf Förster gentoo-dev 2022-03-01 09:10:38 UTC

*** This bug has been marked as a duplicate of bug 713542 ***