Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870655 - dev-util/ftjam-2.5.3_rc2-r2 - make1.c: error: call to undeclared function unlink; ISO C99 and later do
Summary: dev-util/ftjam-2.5.3_rc2-r2 - make1.c: error: call to undeclared function unl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 11:22 UTC by Toralf Förster
Modified: 2022-09-29 04:27 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.48 KB, text/plain)
2022-09-17 11:22 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,1.77 KB, application/x-bzip)
2022-09-17 11:22 UTC, Toralf Förster
Details
dev-util:ftjam-2.5.3_rc2-r2:20220917-110507.log (dev-util:ftjam-2.5.3_rc2-r2:20220917-110507.log,7.50 KB, text/plain)
2022-09-17 11:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,40.28 KB, text/plain)
2022-09-17 11:22 UTC, Toralf Förster
Details
environment (environment,60.93 KB, text/plain)
2022-09-17 11:22 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.97 KB, application/x-bzip)
2022-09-17 11:22 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,2.99 KB, application/x-bzip)
2022-09-17 11:22 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,18.27 KB, application/x-bzip)
2022-09-17 11:22 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-17 11:22:12 UTC
make.c:110:41: note: expanded from macro 'spaces'
# define spaces(x) ( "                " + 16 - ( x > 16 ? 16 : x ) )
                                        ^
5 warnings generated.
make1.c:389:8: error: call to undeclared function 'unlink'; 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_no_multilib_hardened-j4-20220916-220004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-12.2.1 *
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:
*)	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

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3.90

  HEAD of ::gentoo
commit f38006d84550ea73795e41f9b7abbc5418aa128e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 09:46:47 2022 +0000

    2022-09-17 09:46:46 UTC

emerge -qpvO dev-util/ftjam
[ebuild  N    ] dev-util/ftjam-2.5.3_rc2-r2
Comment 1 Toralf Förster gentoo-dev 2022-09-17 11:22:13 UTC
Created attachment 806977 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 11:22:14 UTC
Created attachment 806980 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-17 11:22:15 UTC
Created attachment 806983 [details]
dev-util:ftjam-2.5.3_rc2-r2:20220917-110507.log
Comment 4 Toralf Förster gentoo-dev 2022-09-17 11:22:16 UTC
Created attachment 806986 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-09-17 11:22:18 UTC
Created attachment 806989 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-09-17 11:22:19 UTC
Created attachment 806992 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-17 11:22:20 UTC
Created attachment 806995 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-17 11:22:21 UTC
Created attachment 806998 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-09-29 04:27:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f43eaea7734cbbf7cdf2dd82a0b0f8c3b872440

commit 7f43eaea7734cbbf7cdf2dd82a0b0f8c3b872440
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-09-29 03:34:58 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-09-29 04:17:54 +0000

    dev-util/ftjam: fix build with clang16
    
    Revbump unlikely to matter for other compilers, but doesn't hurt.
    
    Closes: https://bugs.gentoo.org/870655
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-util/ftjam/files/ftjam-2.5.3-clang16.patch                     | 7 +++++++
 .../ftjam/{ftjam-2.5.3_rc2-r2.ebuild => ftjam-2.5.3_rc2-r3.ebuild} | 1 +
 2 files changed, 8 insertions(+)