Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 871030

Summary: dev-ruby/rdiscount-2.2.0.2-r2 - mktags.c: error: return type defaults to int [-Werror=implicit-int]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/davidfstr/rdiscount/pull/152
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-ruby:rdiscount-2.2.0.2-r2:20220917-184932.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2

Description Toralf Förster gentoo-dev 2022-09-17 19:44:10 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/ruby-2.7.0/ruby/backward -I/usr/include/ruby-2.7.0 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=
x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/ruby-2.7.0/ruby/backward -I/usr/include/ruby-2.7.0 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=
x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/ruby-2.7.0/ruby/backward -I/usr/include/ruby-2.7.0 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=
x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.7.0/x86_64-linux -I/usr/include/ruby-2.7.0/ruby/backward -I/usr/include/ruby-2.7.0 -I. -DHAVE_RANDOM -DHAVE_SRANDOM -DHAVE_RAND -DHAVE_SRAND -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_SHORT=2 -DVERSION=
mktags.c:44:1: error: return type defaults to int [-Werror=implicit-int]
   44 | main()
      | ^~~~

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

  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 b52426ab59140c6df4176918b769845ddbc714c4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 17:46:47 2022 +0000

    2022-09-17 17:46:47 UTC

emerge -qpvO dev-ruby/rdiscount
[ebuild  N    ] dev-ruby/rdiscount-2.2.0.2-r2  USE="-doc -test" RUBY_TARGETS="ruby27 ruby31 -ruby30"
Comment 1 Toralf Förster gentoo-dev 2022-09-17 19:44:11 UTC
Created attachment 809335 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 19:44:12 UTC
Created attachment 809338 [details]
dev-ruby:rdiscount-2.2.0.2-r2:20220917-184932.log
Comment 3 Toralf Förster gentoo-dev 2022-09-17 19:44:14 UTC
Created attachment 809341 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-17 19:44:15 UTC
Created attachment 809344 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-17 19:44:16 UTC
Created attachment 809347 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-17 19:44:17 UTC
Created attachment 809350 [details]
logs.tar.bz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-19 18:39:16 UTC
There's an upstream PR which will fix it: https://github.com/davidfstr/rdiscount/pull/152.
Comment 8 Larry the Git Cow gentoo-dev 2022-10-26 05:37:58 UTC
The bug has been closed via the following commit(s):

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

commit 414f57b5b66473ba0b8b0b31da94dd1113880fcb
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2022-10-26 05:34:13 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2022-10-26 05:37:29 +0000

    dev-ruby/rdiscount: add 2.2.7
    
    Closes: https://bugs.gentoo.org/871030
    Closes: https://bugs.gentoo.org/874504
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/rdiscount/Manifest               |  1 +
 dev-ruby/rdiscount/rdiscount-2.2.7.ebuild | 43 +++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)