Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712506 - sci-libs/indilib-1.8.3 : .../work/indi-1.8.3/libs/stream/streammanager.h:199:35: error: ‘mode_t’ has not been declared
Summary: sci-libs/indilib-1.8.3 : .../work/indi-1.8.3/libs/stream/streammanager.h:199:...
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: missing sys/stat.h
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-14 15:12 UTC by Toralf Förster
Modified: 2021-02-12 23:02 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.28 KB, text/plain)
2020-03-14 15:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,72.52 KB, text/plain)
2020-03-14 15:12 UTC, Toralf Förster
Details
environment (environment,85.62 KB, text/plain)
2020-03-14 15:12 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.38 KB, application/x-bzip)
2020-03-14 15:12 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.77 KB, application/x-bzip)
2020-03-14 15:12 UTC, Toralf Förster
Details
sci-libs:indilib-1.8.3:20200314-145617.log (sci-libs:indilib-1.8.3:20200314-145617.log,106.99 KB, text/plain)
2020-03-14 15:12 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.97 KB, application/x-bzip)
2020-03-14 15: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 2020-03-14 15:12:24 UTC
In file included from /var/tmp/portage/sci-libs/indilib-1.8.3/work/indi-1.8.3/libs/webcam/v4l2_base.h:35,
                 from /var/tmp/portage/sci-libs/indilib-1.8.3/work/indi-1.8.3/libs/webcam/v4l2_base.cpp:23:
/var/tmp/portage/sci-libs/indilib-1.8.3/work/indi-1.8.3/libs/stream/streammanager.h:199:35: error: mode_t has not been declared
  199 |         int mkpath(std::string s, mode_t mode);
      |                                   ^~~~~~
ninja: build stopped: subcommand failed.

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.2.0 *
 [2] 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 <==
Sat, 14 Mar 2020 12:39:55 +0000
emerge -qpvO sci-libs/indilib
[ebuild  N    ] sci-libs/indilib-1.8.3  USE="-ogg -test -websocket"
Comment 1 Toralf Förster gentoo-dev 2020-03-14 15:12:27 UTC
Created attachment 618976 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-14 15:12:30 UTC
Created attachment 618978 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-14 15:12:32 UTC
Created attachment 618980 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-14 15:12:35 UTC
Created attachment 618982 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-14 15:12:38 UTC
Created attachment 618984 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-14 15:12:41 UTC
Created attachment 618986 [details]
sci-libs:indilib-1.8.3:20200314-145617.log
Comment 7 Toralf Förster gentoo-dev 2020-03-14 15:12:44 UTC
Created attachment 618988 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-03-16 16:12:35 UTC
The first attempt to tinderbox a musl image failed at all.

I'll mass close therefore all filed bug reports of the last days related to this tinderbox image.

Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2020-03-27 12:54:18 UTC
I guess there is a musl tracker bug report that this one should block?
Comment 10 Michael 'veremitz' Everitt 2020-03-27 13:15:26 UTC
Looks like a case similar to first part of eg. https://www.spinics.net/lists/linux-bluetooth/msg43071.html so I suspect you need to #include <sys/stat.h> in the appropriate place(s).
Comment 11 Andreas Sturmlechner gentoo-dev 2021-02-12 22:19:57 UTC
Please test 1.8.8.