Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870763 - app-text/a2ps-4.14-r7 - fonts.c: error: call to undeclared function rpl_malloc; ISO C99 and
Summary: app-text/a2ps-4.14-r7 - fonts.c: error: call to undeclared function rpl_mallo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 14:42 UTC by Toralf Förster
Modified: 2022-10-29 10:53 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.91 KB, text/plain)
2022-09-17 14:42 UTC, Toralf Förster
Details
app-text:a2ps-4.14-r7:20220917-142201.log (app-text:a2ps-4.14-r7:20220917-142201.log,41.64 KB, text/plain)
2022-09-17 14:42 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,8.35 KB, application/x-bzip)
2022-09-17 14:42 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,127.25 KB, text/plain)
2022-09-17 14:42 UTC, Toralf Förster
Details
environment (environment,130.01 KB, text/plain)
2022-09-17 14:42 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.70 KB, application/x-bzip)
2022-09-17 14:42 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,16.64 KB, application/x-bzip)
2022-09-17 14:42 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,48.76 KB, application/x-bzip)
2022-09-17 14:42 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 14:42:08 UTC
too long lines were shrinked:

/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFFILE=\"/etc/a2ps/a2ps.cfg\" -I. -I.. -I.. -I../intl -I.  -DPROTOTYPES  -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=imp
libtool: compile:  clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFFILE=\"/etc/a2ps/a2ps.cfg\" -I. -I.. -I.. -I../intl -I. -DPROTOTYPES -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c dsc.c  -fPIC -DP
/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFFILE=\"/etc/a2ps/a2ps.cfg\" -I. -I.. -I.. -I../intl -I.  -DPROTOTYPES  -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=imp
libtool: compile:  clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFFILE=\"/etc/a2ps/a2ps.cfg\" -I. -I.. -I.. -I../intl -I. -DPROTOTYPES -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c fonts.c  -fPIC -
fonts.c:2002:18: error: call to undeclared function 'rpl_malloc'; 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_hardened-j4-20220916-040004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] 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:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
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 a7abb04fd6c213f3bf85ff69b1fd07d64b30626c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 13:46:46 2022 +0000

    2022-09-17 13:46:46 UTC

emerge -qpvO app-text/a2ps
[ebuild  N    ] app-text/a2ps-4.14-r7  USE="nls -cjk -emacs -latex -static-libs -vanilla"
Comment 1 Toralf Förster gentoo-dev 2022-09-17 14:42:09 UTC
Created attachment 807589 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 14:42:11 UTC
Created attachment 807592 [details]
app-text:a2ps-4.14-r7:20220917-142201.log
Comment 3 Toralf Förster gentoo-dev 2022-09-17 14:42:12 UTC
Created attachment 807595 [details]
clang.tar.bz2
Comment 4 Toralf Förster gentoo-dev 2022-09-17 14:42:14 UTC
Created attachment 807598 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-09-17 14:42:15 UTC
Created attachment 807601 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-09-17 14:42:16 UTC
Created attachment 807604 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-17 14:42:17 UTC
Created attachment 807607 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-17 14:42:18 UTC
Created attachment 807610 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-10-20 09:02:09 UTC
The bug has been closed via the following commit(s):

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

commit a9b0b249a1ed19e6f3570d39353e9f783b5e861c
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2022-10-20 08:56:38 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2022-10-20 09:01:17 +0000

    app-text/a2ps: Fix function declaration
    
    Update to EAPI 8. Specify LICENSE more precisely.
    
    Closes: https://bugs.gentoo.org/870763
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-text/a2ps/a2ps-4.14-r8.ebuild                 | 146 ++++++++++++++++++++++
 app-text/a2ps/files/a2ps-4.14-configure.ac.patch  |  11 ++
 app-text/a2ps/files/a2ps-4.14-function-decl.patch |  12 ++
 3 files changed, 169 insertions(+)