Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 681566 - media-gfx/fontforge-20190317: GFont' {aka 'struct font_instance'} has no member named 'pangoc_fd
Summary: media-gfx/fontforge-20190317: GFont' {aka 'struct font_instance'} has no memb...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-23 18:28 UTC by Albert W. Hopkins
Modified: 2019-03-23 20:42 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,640.54 KB, text/x-log)
2019-03-23 18:33 UTC, Albert W. Hopkins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2019-03-23 18:28:45 UTC
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../inc -I../inc -I../inc -I../lib -I../lib -I../fontforge -DSHAREDIR=\"/usr/share/fontforge\" -Wl,--no-undefined -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -pthread -I.. -I.. -Werror=implicit-function-declaration -Werror=int-conversion -O2 -march=native -mtune=skylake -pipe -c ggdkcdraw.c  -fPIC -DPIC -o .libs/libgdraw_la-ggdkcdraw.o
ggdkcdraw.c: In function '_GGDKDraw_configfont':
ggdkcdraw.c:164:44: error: 'GFont' {aka 'struct font_instance'} has no member named 'pangoc_fd'; did you mean 'pango_fd'?
     PangoFontDescription **fdbase = &font->pangoc_fd;
                                            ^~~~~~~~~
                                            pango_fd
ggdkcdraw.c: In function 'GGDKDrawGetFontMetrics':
ggdkcdraw.c:1385:70: error: 'GFont' {aka 'struct font_instance'} has no member named 'pangoc_fd'; did you mean 'pango_fd'?
     pfont = pango_font_map_load_font(pfm, gdisp->pangoc_context, fi->pangoc_fd);
                                                                      ^~~~~~~~~
                                                                      pango_fd
make[2]: *** [Makefile:2270: libgdraw_la-ggdkcdraw.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/media-gfx/fontforge-20190317/work/fontforge-20190317/gdraw'
make[1]: *** [Makefile:1916: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-gfx/fontforge-20190317/work/fontforge-20190317'
make: *** [Makefile:1753: all] Error 2
Comment 1 Albert W. Hopkins 2019-03-23 18:29:12 UTC
# emerge --info =media-gfx/fontforge-20190317
Portage 2.3.62 (python 3.6.8-final-0, default/linux/amd64/17.0/no-multilib, gcc-8.3.0, glibc-2.28-r5, 5.0.2-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.0.2-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2630_0_@_2.30GHz-with-gentoo-2.6
KiB Mem:    32886788 total,  16889048 free
KiB Swap:    3145724 total,   1528244 free
Timestamp of repository gentoo: Sat, 23 Mar 2019 17:44:15 +0000
Timestamp of repository marduk: Tue, 19 Mar 2019 02:50:40 +0000
sh bash 5.0_p3-r1
ld GNU ld (Gentoo 2.32 p1) 2.32.0
app-shells/bash:          5.0_p3-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.28.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.8::gentoo, 3.7.2::gentoo
dev-util/cmake:           3.14.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.17::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.32::gentoo
sys-devel/gcc:            8.3.0::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.0-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://blackwidow/portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: False

marduk
    location: /usr/local/portage
    sync-type: rsync
    sync-uri: rsync://blackwidow/local-portage
    masters: gentoo
    priority: 50
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: False

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x Google-TOS google-chrome google-talkplugin"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="     -O2     -march=native     -mtune=skylake     -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="     -O2     -march=native     -mtune=skylake     -pipe "
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="     --alphabetical     --autounmask=n     --buildpkg-exclude=sys-kernel/gentoo-sources     --changed-deps=y     --color=n     --jobs=5     --nospinner     --unordered-display     --verbose-conflicts     --with-bdeps=y  --jobs=3"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg cgroup config-protect-if-modified distlocks fixlafiles ipc-sandbox multilib-strict network-sandbox news noinfo notitles parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms skiprocheck strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j12 -l12"
PKGDIR="/var/portage/packages"
PORTAGE_COMPRESS=""
PORTAGE_COMPRESS_FLAGS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl aes amd64 asm avx avx2 f16c fma3 glamor introspection ipv6 mmx mmxext nls nptl opentype pam pclmul popcnt seccomp split-usr sse sse2 sse3 sse4_1 sse4_2 ssse3 systemd udev unicode urandom utf8 wayland xattr" ABI_X86="64" APACHE2_MODULES="auth_digest authn_core authn_file authz authz_core authz_groupfile authz_host authz_user dav dav_fs dir group_file mime socache_shmcb unixd" APACHE2_MPMS="prefork" CAMERAS="*" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" FFTOOLS="*" INPUT_DEVICES="libinput" KERNEL="linux" LLVM_TARGETS="X86" NGINX_MODULES_HTTP="auth_basic gzip proxy rewrite uwsgi" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Albert W. Hopkins 2019-03-23 18:33:27 UTC
Created attachment 570448 [details]
build.log
Comment 3 Alec Ari 2019-03-23 18:35:45 UTC
Well this obviously wasn't tested before pushing.
Comment 4 Mike Gilbert gentoo-dev 2019-03-23 19:32:33 UTC
(In reply to Alec Ari from comment #3)
> Well this obviously wasn't tested before pushing.
Comment 5 Albert W. Hopkins 2019-03-23 19:39:40 UTC
(In reply to Alec Ari from comment #3)
> Well this obviously wasn't tested before pushing.

$ equery m =media-gfx/fontforge-20190317
[...]
Keywords:    20190317:0: ~alpha ~amd64 ~amd64-fbsd ~amd64-linux ~arm ~arm64 ~hppa ~ia64
                         ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd
                         ~x86-linux ~x86-macos

Whenever I see that small "~", I think of it as shorthand for "If you (attempt to ) emerge this package, you are volunteering to help test/debug it.

See also: https://wiki.gentoo.org/wiki/Handbook:X86/Portage/Branches#Testing
Comment 6 Larry the Git Cow gentoo-dev 2019-03-23 19:51:42 UTC
The bug has been closed via the following commit(s):

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

commit 7ff1f612aea5480e8af770494b28080c481fe432
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2019-03-23 19:51:23 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2019-03-23 19:51:23 +0000

    media-gfx/fontforge: require cairo when gtk is enabled
    
    Closes: https://bugs.gentoo.org/681566
    Package-Manager: Portage-2.3.62_p4, Repoman-2.3.12_p87
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 media-gfx/fontforge/fontforge-20190317.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 7 Mike Gilbert gentoo-dev 2019-03-23 19:52:44 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53354dd64d0b7e9febcef9c93b2aacfde011ca61

commit 53354dd64d0b7e9febcef9c93b2aacfde011ca61
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sat Mar 23 15:40:57 2019 -0400

    media-gfx/fontforge: work around broken --enable-gdk flag
    
    Closes: https://bugs.gentoo.org/681550
    Package-Manager: Portage-2.3.62_p4, Repoman-2.3.12_p87
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 media-gfx/fontforge/fontforge-20190317.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Comment 8 Alec Ari 2019-03-23 20:21:19 UTC
(In reply to Albert W. Hopkins from comment #5)
> (In reply to Alec Ari from comment #3)
> > Well this obviously wasn't tested before pushing.
> 
> $ equery m =media-gfx/fontforge-20190317
> [...]
> Keywords:    20190317:0: ~alpha ~amd64 ~amd64-fbsd ~amd64-linux ~arm ~arm64
> ~hppa ~ia64
>                          ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86
> ~x86-fbsd
>                          ~x86-linux ~x86-macos
> 
> Whenever I see that small "~", I think of it as shorthand for "If you
> (attempt to ) emerge this package, you are volunteering to help test/debug
> it.
> 
> See also: https://wiki.gentoo.org/wiki/Handbook:X86/Portage/Branches#Testing
I at least make sure my code compiles before `git push` but alright.
Comment 9 Mike Gilbert gentoo-dev 2019-03-23 20:33:38 UTC
(In reply to Alec Ari from comment #8)
> I at least make sure my code compiles before `git push` but alright.

This bug only triggered when GDK is enabled, but cairo is disabled. Additionally, there was a bug in the configure script that caused --disable-gdk to actually enable it.

If I tested every possible combination of USE flags before pushing an ebuild, I would never be able to push anything.
Comment 10 Albert W. Hopkins 2019-03-23 20:42:23 UTC
(In reply to Mike Gilbert from comment #9)
> If I tested every possible combination of USE flags before pushing an
> ebuild, I would never be able to push anything.

This is one reason why we have "distributed" testers.  Thanks for the timely fix.