Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 900921 - dev-ruby/ruby-glib2-3.5.1 - rbglib_bookmarkfile.c: error: static declaration of g_bookmark_file_get_type follows non-static declar
Summary: dev-ruby/ruby-glib2-3.5.1 - rbglib_bookmarkfile.c: error: static declaration ...
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: PATCH
Depends on:
Blocks: 901805
  Show dependency tree
 
Reported: 2023-03-12 08:42 UTC by Toralf Förster
Modified: 2023-03-18 01:22 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.28 KB, text/plain)
2023-03-12 08:42 UTC, Toralf Förster
Details
dev-ruby:ruby-glib2-3.5.1:20230312-031909.log (dev-ruby:ruby-glib2-3.5.1:20230312-031909.log,88.57 KB, text/plain)
2023-03-12 08:42 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,57.16 KB, application/x-bzip)
2023-03-12 08:43 UTC, Toralf Förster
Details
environment (environment,91.95 KB, text/plain)
2023-03-12 08:43 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,701 bytes, application/x-bzip)
2023-03-12 08:43 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,27.19 KB, application/x-bzip)
2023-03-12 08:43 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,3.21 KB, application/x-bzip)
2023-03-12 08:43 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-03-12 08:42:56 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/var/tmp/portage/dev-ruby/ruby-glib2-3.5.1/work/ruby27/ruby-gnome-3.5.1/glib2/ext/glib2 -I/usr/lib64/ruby/site_ruby/2.7.0/x86_64-linux  -I/usr/lib64/ruby/vendor_ruby
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/var/tmp/portage/dev-ruby/ruby-glib2-3.5.1/work/ruby27/ruby-gnome-3.5.1/glib2/ext/glib2 -I/usr/lib64/ruby/site_ruby/2.7.0/x86_64-linux  -I/usr/lib64/ruby/vendor_ruby
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/var/tmp/portage/dev-ruby/ruby-glib2-3.5.1/work/ruby27/ruby-gnome-3.5.1/glib2/ext/glib2 -I/usr/lib64/ruby/site_ruby/2.7.0/x86_64-linux  -I/usr/lib64/ruby/vendor_ruby
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/var/tmp/portage/dev-ruby/ruby-glib2-3.5.1/work/ruby27/ruby-gnome-3.5.1/glib2/ext/glib2 -I/usr/lib64/ruby/site_ruby/2.7.0/x86_64-linux  -I/usr/lib64/ruby/vendor_ruby
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/var/tmp/portage/dev-ruby/ruby-glib2-3.5.1/work/ruby27/ruby-gnome-3.5.1/glib2/ext/glib2 -I/usr/lib64/ruby/site_ruby/2.7.0/x86_64-linux  -I/usr/lib64/ruby/vendor_ruby
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/var/tmp/portage/dev-ruby/ruby-glib2-3.5.1/work/ruby27/ruby-gnome-3.5.1/glib2/ext/glib2 -I/usr/lib64/ruby/site_ruby/2.7.0/x86_64-linux  -I/usr/lib64/ruby/vendor_ruby
rbglib_bookmarkfile.c:39:1: error: static declaration of g_bookmark_file_get_type follows non-static declaration
   39 | g_bookmark_file_get_type(void)
      | ^~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j5_abi32+64-20230308-230047

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.67.1 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

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

  HEAD of ::gentoo
commit 5bf4f45afb2c5d8e4d4ed6629c91a6c4ac9fdba7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Mar 12 02:16:58 2023 +0000

    2023-03-12 02:16:57 UTC

emerge -qpvO dev-ruby/ruby-glib2
[ebuild     U ] dev-ruby/ruby-glib2-3.5.1 [3.4.3] USE="-test" RUBY_TARGETS="ruby27 ruby30 -ruby31 -ruby32%"
Comment 1 Toralf Förster gentoo-dev 2023-03-12 08:42:57 UTC
Created attachment 857363 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-03-12 08:42:59 UTC
Created attachment 857365 [details]
dev-ruby:ruby-glib2-3.5.1:20230312-031909.log
Comment 3 Toralf Förster gentoo-dev 2023-03-12 08:43:00 UTC
Created attachment 857367 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2023-03-12 08:43:01 UTC
Created attachment 857369 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-03-12 08:43:02 UTC
Created attachment 857371 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-03-12 08:43:03 UTC
Created attachment 857373 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-03-12 08:43:04 UTC
Created attachment 857375 [details]
logs.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-18 00:18:40 UTC
Patch from FreeBSD: https://cgit.freebsd.org/ports/commit/?id=9a23b33ce95593af78f9b973c1fba4fa8835cc25

This should be fine for us to use given ruby-glib2 is now focused on GTK 4.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-18 00:54:34 UTC
(In reply to Sam James from comment #8)
> Patch from FreeBSD:
> https://cgit.freebsd.org/ports/commit/
> ?id=9a23b33ce95593af78f9b973c1fba4fa8835cc25
> 
> This should be fine for us to use given ruby-glib2 is now focused on GTK 4.

(It's also fine because it doesn't make sense to try provide a binding for a function which is gone in glib itself.)
Comment 10 Larry the Git Cow gentoo-dev 2023-03-18 01:22:18 UTC
The bug has been closed via the following commit(s):

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

commit 37370dd2b82721da4aedeeaaabafb10c12e89eac
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-03-18 00:50:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-03-18 01:19:35 +0000

    dev-ruby/ruby-glib2: fix build w/ glib-2.76
    
    Closes: https://bugs.gentoo.org/900921
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/ruby-glib2-3.5.1-glib-2.76.patch         | 23 ++++++++++++++++++++
 dev-ruby/ruby-glib2/ruby-glib2-3.5.1-r1.ebuild     | 25 ++++++++++++++++++++++
 2 files changed, 48 insertions(+)