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...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard: fixed in 1.1-r2
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-03 08:14 UTC by Toralf Förster
Modified: 2024-10-27 20:35 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.88 KB, text/plain)
2022-10-03 08:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,47.60 KB, text/plain)
2022-10-03 08:14 UTC, Toralf Förster
Details
environment (environment,60.22 KB, text/plain)
2022-10-03 08:14 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,26.10 KB, application/x-bzip)
2022-10-03 08:14 UTC, Toralf Förster
Details
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
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-10-03 08:14:44 UTC
asfrecorder.c:684:60: warning: multiple unsequenced modifications to 'v10'
      [-Wunsequenced]
    if(v8==8){get_long(ptr1+4,&v10);v10=(deltatime<v10)?v10-=deltatime:0...
                                       ~                   ^
asfrecorder.c:843:12: error: call to undeclared function 'close'; 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_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
/usr/lib/llvm/15
15.0.1
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 17.0.4.1_p1 [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 <repomirrorci@gentoo.org>
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]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 08:14:46 UTC
Created attachment 817342 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-03 08:14:48 UTC
Created attachment 817345 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-03 08:14:49 UTC
Created attachment 817348 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-03 08:14:50 UTC
Created attachment 817351 [details]
media-video:asfrecorder-1.1-r1:20221003-062836.log
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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=284d4db2fc480021105e021205fa2e5be58f6d2a

commit 284d4db2fc480021105e021205fa2e5be58f6d2a
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-11-03 23:21:58 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
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).
    
    Closes: https://bugs.gentoo.org/874558
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 ...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(-)