Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871225 - app-misc/cstream-3.2.1 - cstream.c: error: call to undeclared function ioctl; ISO C99 and later
Summary: app-misc/cstream-3.2.1 - cstream.c: error: call to undeclared function ioctl;...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: fixed in 3.2.1-r1
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-18 10:00 UTC by Toralf Förster
Modified: 2024-10-27 11:16 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.39 KB, text/plain)
2022-09-18 10:00 UTC, Toralf Förster
Details
app-misc:cstream-3.2.1:20220918-094458.log (app-misc:cstream-3.2.1:20220918-094458.log,7.95 KB, text/plain)
2022-09-18 10:00 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,1.44 KB, application/x-bzip)
2022-09-18 10:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,211.14 KB, text/plain)
2022-09-18 10:00 UTC, Toralf Förster
Details
environment (environment,75.64 KB, text/plain)
2022-09-18 10:00 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.11 KB, application/x-bzip)
2022-09-18 10:00 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.56 KB, application/x-bzip)
2022-09-18 10:00 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.09 KB, application/x-bzip)
2022-09-18 10:00 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-09-18 10:00:27 UTC
too long lines were shrinked:

make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/var/tmp/portage/app-misc/cstream-3.2.1/work/cstream-3.2.1/tests'
make[1]: Entering directory '/var/tmp/portage/app-misc/cstream-3.2.1/work/cstream-3.2.1'
clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cstream\" -DVERSION=\"3.2.1\" -DHAVE_LIBM=1 -DHAVE_LIBJACK=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=
cstream.c:417:7: error: call to undeclared function 'ioctl'; 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-j4-20220915-203738

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit 4737e48d935a07ae10cdeb0bcba4f17c85f93223
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 08:46:57 2022 +0000

    2022-09-18 08:46:56 UTC

emerge -qpvO app-misc/cstream
[ebuild  N    ] app-misc/cstream-3.2.1
Comment 1 Toralf Förster gentoo-dev 2022-09-18 10:00:28 UTC
Created attachment 810571 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 10:00:29 UTC
Created attachment 810574 [details]
app-misc:cstream-3.2.1:20220918-094458.log
Comment 3 Toralf Förster gentoo-dev 2022-09-18 10:00:30 UTC
Created attachment 810577 [details]
clang.tar.bz2
Comment 4 Toralf Förster gentoo-dev 2022-09-18 10:00:32 UTC
Created attachment 810580 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-09-18 10:00:33 UTC
Created attachment 810583 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-09-18 10:00:34 UTC
Created attachment 810586 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-18 10:00:35 UTC
Created attachment 810589 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-18 10:00:36 UTC
Created attachment 810592 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-10-25 12:49:56 UTC
The bug has been closed via the following commit(s):

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

commit 99693f92524909539b83cffd9c2fdb4a21158150
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-25 12:35:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-25 12:47:47 +0000

    app-misc/cstream: fix build w/ Clang 16
    
    Closes: https://bugs.gentoo.org/871225
    Signed-off-by: Sam James <sam@gentoo.org>

 ...stream-3.2.1.ebuild => cstream-3.2.1-r1.ebuild} |  4 ++++
 ...m-3.2.1-Fix-implicit-function-declaration.patch | 25 ++++++++++++++++++++++
 2 files changed, 29 insertions(+)