Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874558 - media-video/asfrecorder-1.1-r1 - asfrecorder.c: error: call to undeclared function close; ISO C99 and
Summary: media-video/asfrecorder-1.1-r1 - asfrecorder.c: error: call to undeclared fun...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
Depends on:
Blocks: clang-16-porting
  Show dependency tree
Reported: 2022-10-03 08:14 UTC by Toralf Förster
Modified: 2022-11-04 01:46 UTC (History)
0 users

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

emerge-info.txt (emerge-info.txt,17.88 KB, text/plain)
2022-10-03 08:14 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,47.60 KB, text/plain)
2022-10-03 08:14 UTC, Toralf Förster
environment (environment,60.22 KB, text/plain)
2022-10-03 08:14 UTC, Toralf Förster
etc.portage.tar.bz2 (etc.portage.tar.bz2,26.10 KB, application/x-bzip)
2022-10-03 08:14 UTC, Toralf Förster
media-video:asfrecorder-1.1-r1:20221003-062836.log (media-video:asfrecorder-1.1-r1:20221003-062836.log,61.16 KB, text/plain)
2022-10-03 08:14 UTC, Toralf Förster

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-10-03 08:14:44 UTC
asfrecorder.c:684:60: warning: multiple unsequenced modifications to 'v10'
                                       ~                   ^
asfrecorder.c:843:12: error: call to undeclared function 'close'; ISO C99 and
      later do not support implicit function declarations


  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4-20221002-133630


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

php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit af50553c502d12d3163e7ed114fc3646f1d1afd7
Author: Repository mirror & CI <>
Date:   Mon Oct 3 05:33:59 2022 +0000

    2022-10-03 05:33:58 UTC

emerge -qpvO media-video/asfrecorder
[ebuild  N    ] media-video/asfrecorder-1.1-r1
Comment 1 Toralf Förster gentoo-dev 2022-10-03 08:14:45 UTC
Created attachment 817339 [details]
Comment 2 Toralf Förster gentoo-dev 2022-10-03 08:14:46 UTC
Created attachment 817342 [details]
Comment 3 Toralf Förster gentoo-dev 2022-10-03 08:14:48 UTC
Created attachment 817345 [details]
Comment 4 Toralf Förster gentoo-dev 2022-10-03 08:14:49 UTC
Created attachment 817348 [details]
Comment 5 Toralf Förster gentoo-dev 2022-10-03 08:14:50 UTC
Created attachment 817351 [details]
Comment 6 Larry the Git Cow gentoo-dev 2022-11-04 01:46:44 UTC
The bug has been closed via the following commit(s):

commit 284d4db2fc480021105e021205fa2e5be58f6d2a
Author:     Ionen Wolkens <>
AuthorDate: 2022-11-03 23:21:58 +0000
Commit:     Ionen Wolkens <>
CommitDate: 2022-11-04 01:45:59 +0000

    media-video/asfrecorder: EAPI7->8, fix build w/ upcoming clang16
    Also simplify with implicit make rules, and drop dead SRC_URI
    (sourceforge project page is technically still there but marked
    abandoned and downloads are gone).
    Signed-off-by: Ionen Wolkens <>

 ...rder-1.1-r1.ebuild => asfrecorder-1.1-r2.ebuild} | 21 +++++++++++----------
 .../asfrecorder/files/asfrecorder-1.1-headers.patch | 11 +++++++++++
 2 files changed, 22 insertions(+), 10 deletions(-)