Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919868 - dev-ruby/rbpdf-font-1.19.1-r2 - [clang] t1asm.c: error: call to undeclared function getopt; ISO C99 and later
Summary: dev-ruby/rbpdf-font-1.19.1-r2 - [clang] t1asm.c: error: call to undeclared fu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-14 09:01 UTC by Toralf Förster
Modified: 2023-12-28 13:53 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.42 KB, text/plain)
2023-12-14 09:01 UTC, Toralf Förster
Details
dev-ruby:rbpdf-font-1.19.1-r2:20231214-013154.log (dev-ruby:rbpdf-font-1.19.1-r2:20231214-013154.log,28.45 KB, text/plain)
2023-12-14 09:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,46.86 KB, text/plain)
2023-12-14 09:01 UTC, Toralf Förster
Details
environment (environment,96.56 KB, text/plain)
2023-12-14 09:01 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-14 09:01 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.14 KB, application/x-xz)
2023-12-14 09:01 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,96.49 KB, text/plain)
2023-12-14 09:01 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 2023-12-14 09:01:04 UTC
      |             ^~~~~~~~~~~~~~~~~~~~~~
t1asm.c:388:24: warning: format specifies type 'int' but the argument has type
      'long' [-Wformat]
  388 |   sprintf(line, "%d ", charstring_bp - charstring_buf);
      |                  ~~    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                  %ld
t1asm.c:501:15: error: call to undeclared function 'getopt'; ISO C99 and later
      do not support implicit function declarations
      [-Wimplicit-function-declaration]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd_clang-20231213-034020

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6+libcxx
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit ce399d0cb6b1a7bec5b34a3323acafa3f5f1b365
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 14 00:03:59 2023 +0000

    2023-12-14 00:03:59 UTC

emerge -qpvO dev-ruby/rbpdf-font
[ebuild  N    ] dev-ruby/rbpdf-font-1.19.1-r2  USE="-doc -test" RUBY_TARGETS="ruby31 -ruby32"
Comment 1 Toralf Förster gentoo-dev 2023-12-14 09:01:05 UTC
Created attachment 879310 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-14 09:01:06 UTC
Created attachment 879311 [details]
dev-ruby:rbpdf-font-1.19.1-r2:20231214-013154.log
Comment 3 Toralf Förster gentoo-dev 2023-12-14 09:01:08 UTC
Created attachment 879312 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-12-14 09:01:09 UTC
Created attachment 879313 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-14 09:01:09 UTC
Created attachment 879314 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-14 09:01:10 UTC
Created attachment 879315 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-14 09:01:12 UTC
Created attachment 879316 [details]
qlist-info.txt
Comment 8 Larry the Git Cow gentoo-dev 2023-12-28 13:53:19 UTC
The bug has been closed via the following commit(s):

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

commit 7c4c5cdd8086b4b0b4c86e785ae25c625272399f
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2023-12-28 13:52:12 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2023-12-28 13:53:15 +0000

    dev-ruby/rbpdf-font: fix c99 undeclared function getopt
    
    Closes: https://bugs.gentoo.org/919868
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/rbpdf-font/rbpdf-font-1.19.1-r2.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)