Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916673 - x11-misc/grsync-1.3.1 - callbacks.c:(.text+<snip>): undefined reference to gtk_widget_override_font
Summary: x11-misc/grsync-1.3.1 - callbacks.c:(.text+<snip>): undefined reference to gt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-01 17:38 UTC by Toralf Förster
Modified: 2023-11-23 22:08 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.70 KB, text/plain)
2023-11-01 17:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,187.14 KB, text/plain)
2023-11-01 17:38 UTC, Toralf Förster
Details
environment (environment,28.50 KB, text/plain)
2023-11-01 17:38 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.07 KB, application/x-xz)
2023-11-01 17:38 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,56.78 KB, application/x-xz)
2023-11-01 17:38 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,7.19 KB, application/x-xz)
2023-11-01 17:38 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,50.75 KB, application/x-xz)
2023-11-01 17:38 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,10.67 KB, application/x-xz)
2023-11-01 17:38 UTC, Toralf Förster
Details
x11-misc:grsync-1.3.1:20231101-150332.log (x11-misc:grsync-1.3.1:20231101-150332.log,12.59 KB, text/plain)
2023-11-01 17:38 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-11-01 17:38:47 UTC
callbacks.c:1127:9: warning: implicit declaration of function 'gtk_widget_override_font'; did you mean 'gtk_widget_modify_font'? [-Wimplicit-function-declaration]
 1127 |         gtk_widget_override_font((GtkWidget*) view, font_desc);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
      |         gtk_widget_modify_font
x86_64-pc-linux-gnu-gcc  -Wall -rdynamic -O2 -pipe -march=native -fno-diagnostics-color  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o grsync main.o callbacks.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lharfbuzz -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lglib-2.0 -lgobject-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype  -lm 
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: callbacks.o: in function `on_rsync_show':
callbacks.c:(.text+0x3d2e): undefined reference to `gtk_widget_override_font'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:412: grsync] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-20231029-021504

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.3
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.3
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.21.3 linux/amd64

  HEAD of ::gentoo
commit 4227bdccaac0b4f747b2be77c8e15377a4e8b2e4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Nov 1 14:16:54 2023 +0000

    2023-11-01 14:16:54 UTC

emerge -qpvO x11-misc/grsync
[ebuild  N    ] x11-misc/grsync-1.3.1  USE="-gtk3"
Comment 1 Toralf Förster gentoo-dev 2023-11-01 17:38:48 UTC
Created attachment 873836 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-01 17:38:50 UTC
Created attachment 873837 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-11-01 17:38:51 UTC
Created attachment 873838 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-11-01 17:38:52 UTC
Created attachment 873839 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-11-01 17:38:53 UTC
Created attachment 873840 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-01 17:38:54 UTC
Created attachment 873841 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-11-01 17:38:55 UTC
Created attachment 873842 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-11-01 17:38:56 UTC
Created attachment 873843 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2023-11-01 17:38:57 UTC
Created attachment 873844 [details]
x11-misc:grsync-1.3.1:20231101-150332.log
Comment 10 Bernard Cafarelli gentoo-dev 2023-11-23 21:49:47 UTC
Indeed, it looks like there is still a gtk3 call with USE=-gtk3
Comment 11 Larry the Git Cow gentoo-dev 2023-11-23 22:08:40 UTC
The bug has been closed via the following commit(s):

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

commit 4b080f78c6e503fb08750c7db7487345a8404159
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2023-11-23 22:08:25 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2023-11-23 22:08:25 +0000

    x11-misc/grsync: fix compilation with USE=-gtk3
    
    Closes: https://bugs.gentoo.org/916673
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 x11-misc/grsync/grsync-1.3.1.ebuild | 9 +++++++++
 1 file changed, 9 insertions(+)