You are not logged in.

#1 2020-04-19 09:53:57

ThePeach
Member
From: Berlin, DE
Registered: 2014-06-08
Posts: 40
Website

[solved] unable to update to pygtk-2.24.0-12: can't find pango-font.h

I've got this annoying problem when trying to update pygtk to the latest version, the update process exits with the following error:

pangomodule.c:28:10: fatal error: pango/pango-font.h: No such file or directory
   28 | #include <pango/pango-font.h>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:623: pango_la-pangomodule.lo] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
Error making: pygtk

I have pango installed and even tried re-installing it

$ yay -Q pango 
pango 1:1.44.7+11+g73b46b04-1
$ yay -Ql pango | grep pango-font.h
pango /usr/include/pango-1.0/pango/pango-font.h

I've been also suggested to re-install base-devel, but all I get is a list of reinstalls.

Any help greatly appreciated.

Last edited by ThePeach (2020-04-20 18:15:44)

Offline

#2 2020-04-19 10:02:30

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,869
Website

Re: [solved] unable to update to pygtk-2.24.0-12: can't find pango-font.h

Mod note: Moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2020-04-19 10:17:15

loqs
Member
Registered: 2014-03-06
Posts: 17,378

Re: [solved] unable to update to pygtk-2.24.0-12: can't find pango-font.h

Please post the full output from makepkg for the failed build without using an AUR helper.

Offline

#4 2020-04-19 10:56:53

ThePeach
Member
From: Berlin, DE
Registered: 2014-06-08
Posts: 40
Website

Re: [solved] unable to update to pygtk-2.24.0-12: can't find pango-font.h

sure:

$ makepkg -si                                                      
==> Making package: pygtk 2.24.0-12 (Sun 19 Apr 2020 12:50:42 CEST)                     
==> Checking runtime dependencies...                                                    
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading pygtk-2.24.0.tar.bz2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   282  100   282    0     0     70      0  0:00:04  0:00:03  0:00:01    70
100 2305k  100 2305k    0     0   438k      0  0:00:05  0:00:05 --:--:-- 1726k
  -> Downloading 4aaa48eb80c6802aec6d03e5695d2a0ff20e0fc2.patch...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   966  100   966    0     0   1325      0 --:--:-- --:--:-- --:--:--  1323
  -> Found python27.patch
  -> Found fix-leaks-of-pango-objects.patch
==> Validating source files with sha512sums...
    pygtk-2.24.0.tar.bz2 ... Passed
    4aaa48eb80c6802aec6d03e5695d2a0ff20e0fc2.patch ... Passed
    python27.patch ... Passed
    fix-leaks-of-pango-objects.patch ... Passed
==> Extracting sources...
  -> Extracting pygtk-2.24.0.tar.bz2 with bsdtar
==> Starting prepare()...
patching file gtk/gtkmodule.c
Hunk #1 succeeded at 200 (offset -27 lines). 
patching file gtk/pygtk.h
patching file gtk/gtk-2.10.defs
patching file pangocairo.override
patching file pango.defs
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU                             [621/1829]
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for bind_textdomain_codeset... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for some Win32 platform... no
checking for native Win32... no
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for memory.h... yes                                                  [580/1829]
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries...
 yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.lt
config.lt: creating libtool
checking whether /usr/bin/python2 version >= 2.3.5... yes
checking for /usr/bin/python2 version... 2.7
checking for /usr/bin/python2 platform... linux2
checking for /usr/bin/python2 script directory... ${prefix}/lib/python2.7/site-packages
checking for /usr/bin/python2 extension module directory... ${exec_prefix}/lib/python2.7
/site-packages
checking for headers required to compile python extensions... found
checking for PySignal_SetWakeupFd in Python.h... yes
checking for python module thread... yes
checking whether to enable threading in pygtk... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.8.0... yes (version 2.64.2)
checking for PYGOBJECT... yes
checking for gio-types.defs... /usr/share/pygobject/2.0/defs/gio-types.defs
checking for ATK... yes
checking for PANGO... yes
checking for codegen... /usr/share/pygobject/2.0/codegen
checking for PYCAIRO... yes
checking for PANGOCAIRO... yes                                                [537/1829]
checking for GTK... yes
checking for GTK210... yes
checking for GTK212... yes
checking for GTK214... yes
checking for GTK216... yes
checking for GTK218... yes
checking for GTK220... yes
checking for GTK222... yes
checking for GTK224... yes
checking for LIBGLADE... yes
checking for GTKUNIXPRINT... yes
checking for GDK target... x11
checking for numpy/arrayobject.h... yes
checking whether gcc understands -Wall... yes
checking whether gcc understands -fno-strict-aliasing... yes
checking whether gcc understands -std=c9x... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pygtk-2.0.pc
config.status: creating pygtk-codegen-2.0
config.status: creating gtk/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/entities.docbook
config.status: creating examples/Makefile
config.status: creating tests/Makefile
config.status: creating pygtk.spec
config.status: creating PKG-INFO
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

The following modules will be built:

atk
pango
pangocairo
gtk with 2.24 API
gtk.glade
gtk.unixprint

Numpy support: yes

/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/l
ib/glib-2.0/include  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread  -I./gtk  -D_FORTIFY_SOURCE=2  -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/in
clude/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -fno-strict-aliasing -std=c9x -MT atk_la-atkmodule.lo -
MD -MP -MF .deps/atk_la-atkmodule.Tpo -c -o atk_la-atkmodule.lo `test -f 'atkmodule.c' || echo './'`atkmodule.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr
/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I./gtk -D_FORTIFY_SOURCE=2 -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/atk-1.0 -I/usr/include/g
lib-2.0 -I/usr/lib/glib-2.0/include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -fno-strict-aliasing -std=c9x -MT atk_la-atkmodule.lo -MD -MP -MF .deps/atk_la-atkmodu
le.Tpo -c atkmodule.c  -fPIC -DPIC -o .libs/atk_la-atkmodule.o
In file included from atkmodule.c:28:
/usr/include/pygtk-2.0/pygobject.h:153:40: warning: ‘GParameter’ is deprecated [-Wdeprecated-declarations]
  153 |                                        GParameter  *params,
      |                                        ^~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/pygtk-2.0/pygobject.h:8,
                 from atkmodule.c:28:
/usr/include/glib-2.0/gobject/gparam.h:271:8: note: declared here
  271 | struct _GParameter /* auxiliary structure for _setv() variants */
      |        ^~~~~~~~~~~
In file included from atkmodule.c:28:
/usr/include/pygtk-2.0/pygobject.h:187:40: warning: ‘GParameter’ is deprecated [-Wdeprecated-declarations]
  187 |                                        GParameter *parameters);
      |                                        ^~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/pygtk-2.0/pygobject.h:8,
                 from atkmodule.c:28:
/usr/include/glib-2.0/gobject/gparam.h:271:8: note: declared here
  271 | struct _GParameter /* auxiliary structure for _setv() variants */
      |        ^~~~~~~~~~~
mv -f .deps/atk_la-atkmodule.Tpo .deps/atk_la-atkmodule.Plo
(cd .\                                      
 && /usr/bin/python2 /usr/share/pygobject/2.0/codegen/codegen.py \
    --py_ssize_t-clean \                                                                                                                                              [344/1704]
    --register pango-types.defs \
    --register atk-types.defs \
    --register gtk/gtk-base-types.defs \
    --override atk.override \
    --prefix pyatk atk.defs) > ./gen-atk.c \ 
&& cp ./gen-atk.c ./atk.c \
&& rm -f ./gen-atk.c                        
Could not write method AtkObject.get_attributes: No ArgType for AtkAttributeSet*
Could not write method AtkObject.connect_property_change_handler: No ArgType for AtkPropertyChangeHandler*
Could not write method AtkObject.notify_state_change: No ArgType for AtkState
Could not write method AtkObject.initialize: No ArgType for gpointer
Could not write virtual accessor method AtkObject.get_attributes: No ArgType for AtkAttributeSet*
Could not write virtual accessor method AtkObject.connect_property_change_handler: No ArgType for AtkPropertyChangeHandler*
Could not write virtual accessor method AtkObject.initialize: No ArgType for gpointer
Could not write virtual accessor method AtkObject.children_changed: No ArgType for gpointer                                                                                     
Could not write virtual accessor method AtkObject.property_change: No ArgType for AtkPropertyValues*
Could not write virtual accessor method AtkObject.active_descendant_changed: No ArgType for gpointer*
Could not write virtual proxy AtkObject.get_attributes: No ArgType for AtkAttributeSet*
Could not write virtual proxy AtkObject.connect_property_change_handler: No ArgType for AtkPropertyChangeHandler*
Could not write virtual proxy AtkObject.initialize: No ArgType for gpointer
Could not write virtual proxy AtkObject.children_changed: No ArgType for gpointer
Could not write virtual proxy AtkObject.property_change: No ArgType for AtkPropertyValues*                                                                                      
Could not write virtual proxy AtkObject.active_descendant_changed: No ArgType for gpointer*                                                                                     
Warning: generating old-style constructor for:atk_no_op_object_new
Could not write method AtkComponent.add_focus_handler: No ArgType for AtkFocusHandler
Could not write virtual accessor method AtkComponent.add_focus_handler: No ArgType for AtkFocusHandler
Could not write virtual accessor method AtkComponent.get_extents: No ArgType for gint*
Could not write virtual accessor method AtkComponent.get_position: No ArgType for gint*
Could not write virtual accessor method AtkComponent.get_size: No ArgType for gint*
Could not write interface proxy AtkComponent.add_focus_handler: No ArgType for AtkFocusHandler
Could not write interface proxy AtkComponent.get_extents: cannot use int* parameter with direction 'None'
Could not write interface proxy AtkComponent.get_position: cannot use int* parameter with direction 'None'
Could not write interface proxy AtkComponent.get_size: cannot use int* parameter with direction 'None'
Could not write method AtkDocument.get_document: No ArgType for gpointer
Could not write method AtkDocument.get_attributes: No ArgType for AtkAttributeSet*
Could not write virtual accessor method AtkDocument.get_document: No ArgType for gpointer                                                                                       
Could not write virtual accessor method AtkDocument.get_document_attributes: No ArgType for AtkAttributeSet*
Could not write virtual accessor method AtkDocument.get_document_attribute_value: No ArgType for G_CONST_RETURNgchar*
Could not write interface proxy AtkDocument.get_document: No ArgType for gpointer
Could not write interface proxy AtkDocument.get_document_attributes: No ArgType for AtkAttributeSet*
Could not write interface proxy AtkDocument.get_document_attribute_value: No ArgType for G_CONST_RETURNgchar*
Could not write virtual accessor method AtkEditableText.set_run_attributes: No ArgType for AtkAttributeSet*
Could not write virtual accessor method AtkEditableText.insert_text: No ArgType for gint*                                                                             [301/1704]
Could not write interface proxy AtkEditableText.set_run_attributes: No ArgType for AtkAttributeSet*
Could not write interface proxy AtkEditableText.insert_text: cannot use int* parameter with direction 'None'
Could not write virtual accessor method AtkImage.get_image_position: No ArgType for gint*                                                                                       
Could not write virtual accessor method AtkImage.get_image_size: No ArgType for gint*
Could not write interface proxy AtkImage.get_image_position: cannot use int* parameter with direction 'None'
Could not write interface proxy AtkImage.get_image_size: cannot use int* parameter with direction 'None'
Could not write method AtkStreamableContent.get_stream: No ArgType for GIOChannel*
Could not write virtual accessor method AtkStreamableContent.get_stream: No ArgType for GIOChannel*
Could not write virtual accessor method AtkStreamableContent.get_uri: No ArgType for G_CONST_RETURNgchar*
Could not write interface proxy AtkStreamableContent.get_stream: No ArgType for GIOChannel*                                                                                     
Could not write interface proxy AtkStreamableContent.get_uri: No ArgType for G_CONST_RETURNgchar*
Could not write virtual accessor method AtkTable.get_selected_columns: No ArgType for gint**
Could not write virtual accessor method AtkTable.get_selected_rows: No ArgType for gint**                                                                                       
Could not write interface proxy AtkTable.get_selected_columns: No ArgType for gint**
Could not write interface proxy AtkTable.get_selected_rows: No ArgType for gint**
Could not write virtual accessor method AtkText.get_text_after_offset: No ArgType for gint*                                                                                     
Could not write virtual accessor method AtkText.get_text_at_offset: No ArgType for gint*                                                                                        
Could not write virtual accessor method AtkText.get_text_before_offset: No ArgType for gint*
Could not write virtual accessor method AtkText.get_run_attributes: No ArgType for gint*                                                                                        
Could not write virtual accessor method AtkText.get_default_attributes: No ArgType for AtkAttributeSet*
Could not write virtual accessor method AtkText.get_character_extents: No ArgType for gint*                                                                                     
Could not write virtual accessor method AtkText.get_selection: No ArgType for gint*
Could not write virtual accessor method AtkText.get_range_extents: No ArgType for AtkTextRectangle*
Could not write virtual accessor method AtkText.get_bounded_ranges: No ArgType for AtkTextRectangle*
Could not write interface proxy AtkText.get_text_after_offset: cannot use int* parameter with direction 'None'
Could not write interface proxy AtkText.get_text_at_offset: cannot use int* parameter with direction 'None'
Could not write interface proxy AtkText.get_character_at_offset: No ArgType for gunichar                                                                                        
Could not write interface proxy AtkText.get_text_before_offset: cannot use int* parameter with direction 'None'
Could not write interface proxy AtkText.get_run_attributes: No ArgType for AtkAttributeSet*                                                                                     
Could not write interface proxy AtkText.get_default_attributes: No ArgType for AtkAttributeSet*
Could not write interface proxy AtkText.get_character_extents: cannot use int* parameter with direction 'None'
Could not write interface proxy AtkText.get_selection: cannot use int* parameter with direction 'None'
Could not write interface proxy AtkText.get_range_extents: No ArgType for AtkTextRectangle*                                                                                     
Could not write interface proxy AtkText.get_bounded_ranges: No ArgType for AtkTextRange**                                                                                       
Could not write method AtkValue.get_minimum_increment: No ArgType for GValue*
Could not write virtual accessor method AtkValue.get_current_value: No ArgType for GValue*                                                                                      
Could not write virtual accessor method AtkValue.get_maximum_value: No ArgType for GValue*                                                                                      
Could not write virtual accessor method AtkValue.get_minimum_value: No ArgType for GValue*                                                                                      
Could not write virtual accessor method AtkValue.set_current_value: No ArgType for const-GValue*
Could not write virtual accessor method AtkValue.get_minimum_increment: No ArgType for GValue*
Could not write interface proxy AtkValue.get_current_value: No ArgType for GValue*
Could not write interface proxy AtkValue.get_maximum_value: No ArgType for GValue*
Could not write interface proxy AtkValue.get_minimum_value: No ArgType for GValue*                                                                                    [258/1704]
Could not write interface proxy AtkValue.set_current_value: No ArgType for const-GValue*                                                                                        
Could not write interface proxy AtkValue.get_minimum_increment: No ArgType for GValue*
Could not write function add_focus_tracker: No ArgType for AtkEventListener
Could not write function focus_tracker_init: No ArgType for AtkEventListenerInit
Could not write function add_global_event_listener: No ArgType for GSignalEmissionHook
Could not write function add_key_event_listener: No ArgType for AtkKeySnoopFunc
Warning: Constructor for AtkNoOpObject needs to be updated to new API
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
Warning: Constructor for AtkRelation needs to be updated to new API
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
***INFO*** The coverage of global functions is 85.71% (24/28)
***INFO*** The coverage of methods is 94.48% (154/163)
***INFO*** The coverage of virtual proxies is 82.86% (29/35)
***INFO*** The coverage of virtual accessors is 77.27% (119/154)
***INFO*** The coverage of interface proxies is 74.79% (89/119)
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/l
ib/glib-2.0/include  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread  -I./gtk  -D_FORTIFY_SOURCE=2  -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/in
clude/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -fno-strict-aliasing -std=c9x -MT atk_la-atk.lo -MD -MP
 -MF .deps/atk_la-atk.Tpo -c -o atk_la-atk.lo `test -f 'atk.c' || echo './'`atk.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr
/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I./gtk -D_FORTIFY_SOURCE=2 -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/atk-1.0 -I/usr/include/g
lib-2.0 -I/usr/lib/glib-2.0/include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -fno-strict-aliasing -std=c9x -MT atk_la-atk.lo -MD -MP -MF .deps/atk_la-atk.Tpo -c at
k.c  -fPIC -DPIC -o .libs/atk_la-atk.o
In file included from atk.override:25:
/usr/include/pygtk-2.0/pygobject.h:153:40: warning: ‘GParameter’ is deprecated [-Wdeprecated-declarations]
  153 |                                        GParameter  *params,
      |                                        ^~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/pygtk-2.0/pygobject.h:8,
                 from atk.override:25:
/usr/include/glib-2.0/gobject/gparam.h:271:8: note: declared here
  271 | struct _GParameter /* auxiliary structure for _setv() variants */
      |        ^~~~~~~~~~~
In file included from atk.override:25:
/usr/include/pygtk-2.0/pygobject.h:187:40: warning: ‘GParameter’ is deprecated [-Wdeprecated-declarations]
  187 |                                        GParameter *parameters);
      |                                        ^~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/pygtk-2.0/pygobject.h:8,                                                                                                           [215/1704]
                 from atk.override:25:
/usr/include/glib-2.0/gobject/gparam.h:271:8: note: declared here
  271 | struct _GParameter /* auxiliary structure for _setv() variants */
      |        ^~~~~~~~~~~
atk.c: In function ‘_wrap_atk_hyperlink_is_selected_link’:
atk.c:457:5: warning: ‘atk_hyperlink_is_selected_link’ is deprecated [-Wdeprecated-declarations]
  457 |     ret = atk_hyperlink_is_selected_link(ATK_HYPERLINK(self->obj));
      |     ^~~                             
In file included from /usr/include/atk-1.0/atk/atk.h:32,
                 from atk.override:26:
/usr/include/atk-1.0/atk/atkhyperlink.h:110:18: note: declared here
  110 | gboolean         atk_hyperlink_is_selected_link     (AtkHyperlink     *link_);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atk.c: In function ‘_wrap_atk_object_get_layer’:
atk.c:1478:5: warning: ‘atk_object_get_layer’ is deprecated: Use 'atk_component_get_layer' instead [-Wdeprecated-declarations]
 1478 |     ret = atk_object_get_layer(ATK_OBJECT(self->obj));
      |     ^~~                             
In file included from /usr/include/atk-1.0/atk/atk.h:25,
                 from atk.override:26:
/usr/include/atk-1.0/atk/atkobject.h:729:25: note: declared here
  729 | AtkLayer                atk_object_get_layer                      (AtkObject *accessible);
      |                         ^~~~~~~~~~~~~~~~~~~~
atk.c: In function ‘_wrap_atk_object_get_mdi_zorder’:
atk.c:1489:5: warning: ‘atk_object_get_mdi_zorder’ is deprecated: Use 'atk_component_get_mdi_zorder' instead [-Wdeprecated-declarations]
 1489 |     ret = atk_object_get_mdi_zorder(ATK_OBJECT(self->obj));
      |     ^~~                             
In file included from /usr/include/atk-1.0/atk/atk.h:25,
                 from atk.override:26:
/usr/include/atk-1.0/atk/atkobject.h:731:25: note: declared here
  731 | gint                    atk_object_get_mdi_zorder                 (AtkObject *accessible);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~
atk.c: In function ‘_wrap_atk_object_remove_property_change_handler’:
atk.c:1600:5: warning: ‘atk_object_remove_property_change_handler’ is deprecated [-Wdeprecated-declarations]
 1600 |     atk_object_remove_property_change_handler(ATK_OBJECT(self->obj), handler_id);                                                                                       
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/atk-1.0/atk/atk.h:25,
                 from atk.override:26:
/usr/include/atk-1.0/atk/atkobject.h:757:22: note: declared here
  757 | void                 atk_object_remove_property_change_handler   (AtkObject                      *accessible,
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atk.override: In function ‘_wrap_atk_component_get_position’:
atk.override:142:5: warning: ‘atk_component_get_position’ is deprecated: Use 'atk_component_get_extents' instead [-Wdeprecated-declarations]
  142 |     atk_component_get_position(ATK_COMPONENT(self->obj), &x, &y, coord_type);                                                                                 [172/1704]
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/atk-1.0/atk/atk.h:27,
                 from atk.override:26:
/usr/include/atk-1.0/atk/atkcomponent.h:249:23: note: declared here
  249 | void                  atk_component_get_position           (AtkComponent    *component,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
atk.override: In function ‘_wrap_atk_component_get_size’:
atk.override:152:5: warning: ‘atk_component_get_size’ is deprecated: Use 'atk_component_get_extents' instead [-Wdeprecated-declarations]
  152 |     atk_component_get_size(ATK_COMPONENT(self->obj), &width, &height);
      |     ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/atk-1.0/atk/atk.h:27,
                 from atk.override:26:
/usr/include/atk-1.0/atk/atkcomponent.h:254:23: note: declared here
  254 | void                  atk_component_get_size               (AtkComponent    *component,
      |                       ^~~~~~~~~~~~~~~~~~~~~~
atk.c: In function ‘_wrap_atk_component_remove_focus_handler’:
atk.c:5833:5: warning: ‘atk_component_remove_focus_handler’ is deprecated [-Wdeprecated-declarations]
 5833 |     atk_component_remove_focus_handler(ATK_COMPONENT(self->obj), handler_id);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/atk-1.0/atk/atk.h:27,
                 from atk.override:26:
/usr/include/atk-1.0/atk/atkcomponent.h:264:23: note: declared here
  264 | void                  atk_component_remove_focus_handler   (AtkComponent    *component,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atk.c: In function ‘_wrap_atk_document_get_document_type’:
atk.c:7172:5: warning: ‘atk_document_get_document_type’ is deprecated [-Wdeprecated-declarations]
 7172 |     ret = atk_document_get_document_type(ATK_DOCUMENT(self->obj));
      |     ^~~                             
In file included from /usr/include/atk-1.0/atk/atk.h:28,
                 from atk.override:26:
/usr/include/atk-1.0/atk/atkdocument.h:89:23: note: declared here
   89 | const gchar*          atk_document_get_document_type (AtkDocument   *document);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atk.c: In function ‘_wrap_atk_streamable_content_get_uri’:
atk.c:10263:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
10263 |     ret = atk_streamable_content_get_uri(ATK_STREAMABLE_CONTENT(self->obj), mime_type);
      |         ^                           
atk.c: In function ‘_wrap_atk_table_get_index_at’:
atk.c:10563:5: warning: ‘atk_table_get_index_at’ is deprecated: Use 'atk_table_ref_at' instead [-Wdeprecated-declarations]
10563 |     ret = atk_table_get_index_at(ATK_TABLE(self->obj), row, column);
      |     ^~~                             
In file included from /usr/include/atk-1.0/atk/atk.h:50,
                 from atk.override:26:                                                                                                                                [129/1704]
/usr/include/atk-1.0/atk/atktable.h:139:19: note: declared here
  139 | gint              atk_table_get_index_at         (AtkTable         *table,
      |                   ^~~~~~~~~~~~~~~~~~~~~~
atk.c: In function ‘_wrap_atk_table_get_column_at_index’:
atk.c:10577:5: warning: ‘atk_table_get_column_at_index’ is deprecated [-Wdeprecated-declarations]
10577 |     ret = atk_table_get_column_at_index(ATK_TABLE(self->obj), index);
      |     ^~~                             
In file included from /usr/include/atk-1.0/atk/atk.h:50,
                 from atk.override:26:
/usr/include/atk-1.0/atk/atktable.h:143:19: note: declared here
  143 | gint              atk_table_get_column_at_index  (AtkTable         *table,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atk.c: In function ‘_wrap_atk_table_get_row_at_index’:
atk.c:10591:5: warning: ‘atk_table_get_row_at_index’ is deprecated [-Wdeprecated-declarations]
10591 |     ret = atk_table_get_row_at_index(ATK_TABLE(self->obj), index);
      |     ^~~                             
In file included from /usr/include/atk-1.0/atk/atk.h:50,
                 from atk.override:26:
/usr/include/atk-1.0/atk/atktable.h:146:19: note: declared here
  146 | gint              atk_table_get_row_at_index     (AtkTable         *table,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
atk.override: In function ‘_wrap_atk_text_get_text_after_offset’:
atk.override:404:5: warning: ‘atk_text_get_text_after_offset’ is deprecated: Use 'atk_text_get_string_at_offset' instead [-Wdeprecated-declarations]
  404 |     text = atk_text_get_text_after_offset(ATK_TEXT(self->obj),
      |     ^~~~                            
In file included from /usr/include/atk-1.0/atk/atkeditabletext.h:28,
                 from /usr/include/atk-1.0/atk/atk.h:29,
                 from atk.override:26:
/usr/include/atk-1.0/atk/atktext.h:381:15: note: declared here
  381 | gchar*        atk_text_get_text_after_offset              (AtkText          *text,                                                                                      
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atk.override: In function ‘_wrap_atk_text_get_text_at_offset’:
atk.override:429:5: warning: ‘atk_text_get_text_at_offset’ is deprecated: Use 'atk_text_get_string_at_offset' instead [-Wdeprecated-declarations]
  429 |     text = atk_text_get_text_at_offset(ATK_TEXT(self->obj),
      |     ^~~~                            
In file included from /usr/include/atk-1.0/atk/atkeditabletext.h:28,
                 from /usr/include/atk-1.0/atk/atk.h:29,
                 from atk.override:26:
/usr/include/atk-1.0/atk/atktext.h:387:15: note: declared here
  387 | gchar*        atk_text_get_text_at_offset                 (AtkText          *text,                                                                                      
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
atk.override: In function ‘_wrap_atk_text_get_text_before_offset’:
atk.override:454:5: warning: ‘atk_text_get_text_before_offset’ is deprecated: Use 'atk_text_get_string_at_offset' instead [-Wdeprecated-declarations]                  [86/1704]
  454 |     text = atk_text_get_text_before_offset(ATK_TEXT(self->obj),
      |     ^~~~                            
In file included from /usr/include/atk-1.0/atk/atkeditabletext.h:28,
                 from /usr/include/atk-1.0/atk/atk.h:29,
                 from atk.override:26:
/usr/include/atk-1.0/atk/atktext.h:393:15: note: declared here
  393 | gchar*        atk_text_get_text_before_offset             (AtkText          *text,                                                                                      
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
atk.override: In function ‘_wrap_atk_value_get_current_value’:
atk.override:631:5: warning: ‘atk_value_get_current_value’ is deprecated: Use 'atk_value_get_value_and_text' instead [-Wdeprecated-declarations]
  631 |     atk_value_get_current_value(ATK_VALUE(self->obj), &value);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/atk-1.0/atk/atk.h:55,
                 from atk.override:26:
/usr/include/atk-1.0/atk/atkvalue.h:126:11: note: declared here
  126 | void      atk_value_get_current_value (AtkValue     *obj,
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
atk.override: In function ‘_wrap_atk_value_get_maximum_value’:
atk.override:644:5: warning: ‘atk_value_get_maximum_value’ is deprecated: Use 'atk_value_get_range' instead [-Wdeprecated-declarations]
  644 |     atk_value_get_maximum_value(ATK_VALUE(self->obj), &value);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/atk-1.0/atk/atk.h:55,
                 from atk.override:26:
/usr/include/atk-1.0/atk/atkvalue.h:130:10: note: declared here
  130 | void     atk_value_get_maximum_value  (AtkValue     *obj,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 
atk.override: In function ‘_wrap_atk_value_get_minimum_value’:
atk.override:657:5: warning: ‘atk_value_get_minimum_value’ is deprecated: Use 'atk_value_get_range' instead [-Wdeprecated-declarations]
  657 |     atk_value_get_minimum_value(ATK_VALUE(self->obj), &value);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/atk-1.0/atk/atk.h:55,
                 from atk.override:26:
/usr/include/atk-1.0/atk/atkvalue.h:133:10: note: declared here
  133 | void     atk_value_get_minimum_value  (AtkValue     *obj,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 
atk.override: In function ‘_wrap_atk_value_set_current_value’:
atk.override:682:5: warning: ‘atk_value_set_current_value’ is deprecated: Use 'atk_value_set_value' instead [-Wdeprecated-declarations]
  682 |     if (atk_value_set_current_value(ATK_VALUE(self->obj), &value))
      |     ^~                              
In file included from /usr/include/atk-1.0/atk/atk.h:55,
                 from atk.override:26:
/usr/include/atk-1.0/atk/atkvalue.h:136:10: note: declared here
  136 | gboolean atk_value_set_current_value  (AtkValue     *obj,                                                                                                      [43/1704]
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 
atk.c: In function ‘_wrap_atk_role_register’:
atk.c:16386:5: warning: ‘atk_role_register’ is deprecated [-Wdeprecated-declarations]
16386 |     ret = atk_role_register(name);
      |     ^~~                             
In file included from /usr/include/atk-1.0/atk/atk.h:25,
                 from atk.override:26:
/usr/include/atk-1.0/atk/atkobject.h:786:23: note: declared here
  786 | AtkRole               atk_role_register                        (const gchar *name);                                                                                     
      |                       ^~~~~~~~~~~~~~~~~
atk.c: In function ‘_wrap_atk_remove_focus_tracker’:
atk.c:16619:5: warning: ‘atk_remove_focus_tracker’ is deprecated [-Wdeprecated-declarations]
16619 |     atk_remove_focus_tracker(tracker_id);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/atk-1.0/atk/atkcomponent.h:28,
                 from /usr/include/atk-1.0/atk/atk.h:27,
                 from atk.override:26:
/usr/include/atk-1.0/atk/atkutil.h:196:10: note: declared here
  196 | void     atk_remove_focus_tracker  (guint                tracker_id);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
atk.c: In function ‘_wrap_atk_focus_tracker_notify’:
atk.c:16634:5: warning: ‘atk_focus_tracker_notify’ is deprecated [-Wdeprecated-declarations]
16634 |     atk_focus_tracker_notify(ATK_OBJECT(object->obj));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/atk-1.0/atk/atkcomponent.h:28,
                 from /usr/include/atk-1.0/atk/atk.h:27,
                 from atk.override:26:
/usr/include/atk-1.0/atk/atkutil.h:200:10: note: declared here
  200 | void     atk_focus_tracker_notify  (AtkObject            *object);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
mv -f .deps/atk_la-atk.Tpo .deps/atk_la-atk.Plo
/bin/sh ./libtool --tag=CC   --mode=link gcc -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -
fno-strict-aliasing -std=c9x -module -avoid-version  -export-symbols-regex initatk -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o atk.la -rpath /usr/lib/python2.7/site-pa
ckages/gtk-2.0 atk_la-atkmodule.lo atk_la-atk.lo -latk-1.0 -lgobject-2.0 -lglib-2.0 
libtool: link: /usr/bin/nm -B  .libs/atk_la-atkmodule.o .libs/atk_la-atk.o   | sed -n -e 's/^.*[         ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      ]*\([_A-Za-z][_A-Za-z0-
9]*\)$/\1 \2 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/atk.exp
libtool: link: /usr/bin/grep -E -e "initatk" ".libs/atk.exp" > ".libs/atk.expT"
libtool: link: mv -f ".libs/atk.expT" ".libs/atk.exp"
libtool: link: echo "{ global:" > .libs/atk.ver
libtool: link:  cat .libs/atk.exp | sed -e "s/\(.*\)/\1;/" >> .libs/atk.ver
libtool: link:  echo "local: *; };" >> .libs/atk.ver
libtool: link:  gcc -Wl,-O1,--as-needed -shared  .libs/atk_la-atkmodule.o .libs/atk_la-atk.o   -latk-1.0 -lgobject-2.0 -lglib-2.0  -march=x86-64 -mtune=generic -Wl,-O1 -Wl,--so
rt-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now   -Wl,-soname -Wl,atk.so -Wl,-version-script -Wl,.libs/atk.ver -o .libs/atk.so                                [0/1704]
libtool: link: ( cd ".libs" && rm -f "atk.la" && ln -s "../atk.la" "atk.la" )
ln -s .libs/atk.so atk.so || true
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/l
ib/glib-2.0/include  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread  -I./gtk  -D_FORTIFY_SOURCE=2  -I/usr/lib/python2.7/site-packages/numpy/core/include  -march=x
86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -fno-strict-aliasing -std=c9x -MT pango_la-pangomodule.lo -MD -MP -MF .deps/pango_la-pangomodule.Tpo -c -o pango_la-pangomodule.lo
 `test -f 'pangomodule.c' || echo './'`pangomodule.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr
/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I./gtk -D_FORTIFY_SOURCE=2 -I/usr/lib/python2.7/site-packages/numpy/core/include -march=x86-64 -mtune=generic -O2 -pipe 
-fno-plt -Wall -fno-strict-aliasing -std=c9x -MT pango_la-pangomodule.lo -MD -MP -MF .deps/pango_la-pangomodule.Tpo -c pangomodule.c  -fPIC -DPIC -o .libs/pango_la-pangomodule.
o                                           
In file included from pangomodule.c:26:
/usr/include/pygtk-2.0/pygobject.h:153:40: warning: ‘GParameter’ is deprecated [-Wdeprecated-declarations]
  153 |                                        GParameter  *params,
      |                                        ^~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/pygtk-2.0/pygobject.h:8,
                 from pangomodule.c:26:
/usr/include/glib-2.0/gobject/gparam.h:271:8: note: declared here
  271 | struct _GParameter /* auxiliary structure for _setv() variants */
      |        ^~~~~~~~~~~
In file included from pangomodule.c:26:
/usr/include/pygtk-2.0/pygobject.h:187:40: warning: ‘GParameter’ is deprecated [-Wdeprecated-declarations]
  187 |                                        GParameter *parameters);
      |                                        ^~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/pygtk-2.0/pygobject.h:8,
                 from pangomodule.c:26:
/usr/include/glib-2.0/gobject/gparam.h:271:8: note: declared here
  271 | struct _GParameter /* auxiliary structure for _setv() variants */
      |        ^~~~~~~~~~~
pangomodule.c:28:10: fatal error: pango/pango-font.h: No such file or directory
   28 | #include <pango/pango-font.h>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:623: pango_la-pangomodule.lo] Error 1
==> ERROR: A failure occurred in build().
    Aborting...                             

Last edited by ThePeach (2020-04-19 10:57:29)

Offline

#5 2020-04-19 11:10:04

loqs
Member
Registered: 2014-03-06
Posts: 17,378

Re: [solved] unable to update to pygtk-2.24.0-12: can't find pango-font.h

pkgconf --cflags pango

Offline

#6 2020-04-19 11:13:27

ThePeach
Member
From: Berlin, DE
Registered: 2014-06-08
Posts: 40
Website

Re: [solved] unable to update to pygtk-2.24.0-12: can't find pango-font.h

pkgconf --cflags pango
Package xproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `xproto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xproto', required by 'xrender', not found
Package 'renderproto', required by 'xrender', not found
Package 'xproto', required by 'x11', not found
Package 'kbproto', required by 'x11', not found
Package 'xproto', required by 'xft', not found
Package 'xproto', required by 'xau', not found
Package 'xproto', required by 'xdmcp', not found
Package 'xproto', required by 'xau', not found
Package 'xproto', required by 'xdmcp', not found
Package 'xproto', required by 'xau', not found
Package 'xproto', required by 'xdmcp', not found
Package 'xproto', required by 'xrender', not found
Package 'renderproto', required by 'xrender', not found
Package 'xproto', required by 'x11', not found
Package 'kbproto', required by 'x11', not found
Package 'xproto', required by 'x11', not found
Package 'kbproto', required by 'x11', not found
Package 'xextproto', required by 'xext', not found

Offline

#7 2020-04-19 11:28:22

loqs
Member
Registered: 2014-03-06
Posts: 17,378

Re: [solved] unable to update to pygtk-2.24.0-12: can't find pango-font.h

pacman -Qikk xorgproto

Offline

#8 2020-04-19 15:39:36

ThePeach
Member
From: Berlin, DE
Registered: 2014-06-08
Posts: 40
Website

Re: [solved] unable to update to pygtk-2.24.0-12: can't find pango-font.h

$ pacman -Qikk xorgproto
error: package 'xorgproto' was not found

Offline

#9 2020-04-19 18:23:22

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [solved] unable to update to pygtk-2.24.0-12: can't find pango-font.h

pango depends on cairo which depends on libxrender which depends on libx11 which depends on xorgproto.

How did you manage to install any of these packages without properly installing their dependency? Fix your system and its broken dependencies.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#10 2020-04-19 18:57:03

ThePeach
Member
From: Berlin, DE
Registered: 2014-06-08
Posts: 40
Website

Re: [solved] unable to update to pygtk-2.24.0-12: can't find pango-font.h

eschwartz wrote:

How did you manage to install any of these packages without properly installing their dependency?

¯\_(ツ)_/¯

anyway, this worked I would have never guessed that was what was missing.

Thank you very much smile

Offline

#11 2020-04-19 19:01:05

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [solved] unable to update to pygtk-2.24.0-12: can't find pango-font.h

Now your problem is solved, please edit the first post in the thread and add the word "[Solved]" to the beginning of the thread title.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB