You are not logged in.
system is always up to date. but it can not to build an aur package, almost every aur software to install, it always fails with the same error.
here's a failure example:
==> Continue building xbindkeys_config-gtk2 ? [Y/n]
==> -----------------------------------------------
==>
==> Building and installing package
==> Making package: xbindkeys_config-gtk2 0.1.3-5 (2020年11月25日 星期三 08时07分55秒)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading xbindkeys-config_0.1.3.orig.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 17639 100 17639 0 0 16123 0 0:00:01 0:00:01 --:--:-- 16138
-> Downloading xbindkeys-config_0.1.3-2.1.diff.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3867 100 3867 0 0 1769 0 0:00:02 0:00:02 --:--:-- 1768
==> Validating source files with sha512sums...
xbindkeys-config_0.1.3.orig.tar.gz ... Passed
xbindkeys-config_0.1.3-2.1.diff.gz ... Passed
==> Extracting sources...
-> Extracting xbindkeys-config_0.1.3.orig.tar.gz with bsdtar
-> Extracting xbindkeys-config_0.1.3-2.1.diff.gz with gzip
==> Starting build()...
patching file Makefile
patching file debian/changelog
patching file debian/compat
patching file debian/control
patching file debian/copyright
patching file debian/dirs
patching file debian/docs
patching file debian/menu
patching file debian/rules
patching file debian/xbindkeys-config.1
patching file menu.c
patching file middle.c
patching file xbindkeys_config.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt `pkg-config --cflags gtk+-2.0` -D_GNU_SOURCE -c xbindkeys_config.c
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:33,
from xbindkeys_config.c:18:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from xbindkeys_config.c:18:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
679 | {
| ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:126,
from xbindkeys_config.c:18:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from /usr/include/glib-2.0/gobject/gbinding.h:28,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from xbindkeys_config.c:18:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
547 | struct _GTimeVal
| ^~~~~~~~~
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt `pkg-config --cflags gtk+-2.0` -D_GNU_SOURCE -c menu.c
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:33,
from menu.c:18:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from menu.c:18:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
679 | {
| ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:126,
from menu.c:18:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from /usr/include/glib-2.0/gobject/gbinding.h:28,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from menu.c:18:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
547 | struct _GTimeVal
| ^~~~~~~~~
menu.c: In function ‘menu_open_file_ok’:
menu.c:147:6: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
147 | nom=gtk_file_selection_get_filename(Sel);
| ^
menu.c: In function ‘menu_save_file_ok’:
menu.c:197:6: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
197 | nom=gtk_file_selection_get_filename(Sel);
| ^
menu.c: In function ‘menu_append_file_ok’:
menu.c:235:6: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
235 | nom=gtk_file_selection_get_filename(Sel);
| ^
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt `pkg-config --cflags gtk+-2.0` -D_GNU_SOURCE -c middle.c
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:33,
from middle.c:18:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from middle.c:18:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
679 | {
| ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:126,
from middle.c:18:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from /usr/include/glib-2.0/gobject/gbinding.h:28,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from middle.c:18:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
547 | struct _GTimeVal
| ^~~~~~~~~
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt `pkg-config --cflags gtk+-2.0` -D_GNU_SOURCE -c speedc.c
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:33,
from speedc.c:19:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from speedc.c:19:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
679 | {
| ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:126,
from speedc.c:19:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from /usr/include/glib-2.0/gobject/gbinding.h:28,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from speedc.c:19:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
547 | struct _GTimeVal
| ^~~~~~~~~
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt xbindkeys_config.o menu.o middle.o speedc.o `pkg-config --cflags --libs gtk+-2.0` -o xbindkeys_config
/usr/bin/ld: menu.o:(.bss+0x30): multiple definition of `button_undo_menu'; xbindkeys_config.o:(.bss+0x8): first defined here
/usr/bin/ld: menu.o:(.bss+0x28): multiple definition of `label_warning'; xbindkeys_config.o:(.bss+0x0): first defined here
/usr/bin/ld: middle.o:(.bss+0x218): multiple definition of `button_undo_menu'; xbindkeys_config.o:(.bss+0x8): first defined here
/usr/bin/ld: middle.o:(.bss+0x210): multiple definition of `label_warning'; xbindkeys_config.o:(.bss+0x0): first defined here
/usr/bin/ld: speedc.o:(.bss+0x0): multiple definition of `Speed_config'; middle.o:(.bss+0x0): first defined here
/usr/bin/ld: speedc.o:(.bss+0x7ba8): multiple definition of `label_warning'; xbindkeys_config.o:(.bss+0x0): first defined here
/usr/bin/ld: speedc.o:(.bss+0x7bb0): multiple definition of `button_undo_menu'; xbindkeys_config.o:(.bss+0x8): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:18: main] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build xbindkeys_config-gtk2.
==> Restart building xbindkeys_config-gtk2 ? [y/N]
==> ----------------------------------------------
every software, every time to install an aur package, it fails with this'...ERROR: A failure occurred in build()...'
any suggestion to solve this?
thanks!
Last edited by cstn (2020-11-25 11:15:51)
Offline
Is this the package used in the example? As I get a very different error:
extra-x86_64-build
:: Synchronizing package databases...
core is up to date
extra is up to date
community 5.2 MiB 8.93 MiB/s 00:01 [######################] 100%
:: Starting full system upgrade...
there is nothing to do
==> Building in chroot for [extra] (x86_64)...
==> Synchronizing chroot copy [/var/lib/archbuild/extra-x86_64/root] -> [builduser]...done
==> Making package: xbindkeys_config-gtk2 0.1.3-5 (Wed Nov 25 00:37:13 2020)
==> Retrieving sources...
-> Downloading xbindkeys-config_0.1.3.orig.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 17639 100 17639 0 0 76030 0 --:--:-- --:--:-- --:--:-- 75703
-> Downloading xbindkeys-config_0.1.3-2.1.diff.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3867 100 3867 0 0 34221 0 --:--:-- --:--:-- --:--:-- 34221
==> Validating source files with sha512sums...
xbindkeys-config_0.1.3.orig.tar.gz ... Passed
xbindkeys-config_0.1.3-2.1.diff.gz ... Passed
==> Making package: xbindkeys_config-gtk2 0.1.3-5 (Wed 25 Nov 2020 12:37:17 AM)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency
Packages (44) atk-2.36.0-1 avahi-0.8+15+ge8a3dd0-1
cairo-1.17.2+25+gaee96d175-1 dbus-1.12.20-1
desktop-file-utils-0.26-1 fontconfig-2:2.13.91+48+gfcb0420-2
freetype2-2.10.4-1 fribidi-1.0.10-1 gdk-pixbuf2-2.42.0-2
graphite-1:1.3.14-1 gtk-update-icon-cache-1:3.24.23-4
harfbuzz-2.7.2-1 hicolor-icon-theme-0.17-2
libcups-2.3.3+106+ga72b0140e-1 libdaemon-0.14-5
libdatrie-0.2.12-2 libjpeg-turbo-2.0.6-1 libpng-1.6.37-3
librsvg-2:2.50.2-1 libthai-0.1.28-2 libtiff-4.1.0-2
libusb-1.0.23-3 libx11-1.7.0-1 libxau-1.0.9-3 libxcb-1.14-1
libxcomposite-0.4.5-3 libxcursor-1.2.0-2 libxdamage-1.1.5-3
libxdmcp-1.1.3-3 libxext-1.3.4-3 libxfixes-5.0.3-4
libxft-2.3.3-2 libxi-1.7.10-3 libxinerama-1.1.4-3
libxrandr-1.5.2-3 libxrender-0.9.10-4 lzo-2.10-3
pango-1:1.48.0-1 pixman-0.40.0-1
shared-mime-info-2.0+1+g6bf9e4f-2 xcb-proto-1.14.1-1
xorgproto-2020.1-1 gtk2-2.24.32-2 xbindkeys-1.8.7-2
Total Download Size: 5.49 MiB
Total Installed Size: 100.84 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
libx11-1.7.0-1-x... 2.1 MiB 6.48 MiB/s 00:00 [######################] 100%
libcups-2.3.3+10... 289.7 KiB 14.1 MiB/s 00:00 [######################] 100%
gdk-pixbuf2-2.42... 673.4 KiB 2.24 MiB/s 00:00 [######################] 100%
librsvg-2:2.50.2... 2.5 MiB 7.63 MiB/s 00:00 [######################] 100%
xbindkeys-1.8.7-... 23.4 KiB 0.00 B/s 00:00 [######################] 100%
(44/44) checking keys in keyring [######################] 100%
(44/44) checking package integrity [######################] 100%
(44/44) loading package files [######################] 100%
(44/44) checking for file conflicts [######################] 100%
:: Processing package changes...
( 1/44) installing xcb-proto [######################] 100%
( 2/44) installing libxdmcp [######################] 100%
( 3/44) installing libxau [######################] 100%
( 4/44) installing libxcb [######################] 100%
( 5/44) installing xorgproto [######################] 100%
( 6/44) installing libx11 [######################] 100%
( 7/44) installing xbindkeys [######################] 100%
Optional dependencies for xbindkeys
tk: xbindkeys_show
( 8/44) installing atk [######################] 100%
( 9/44) installing libdatrie [######################] 100%
(10/44) installing libthai [######################] 100%
(11/44) installing libpng [######################] 100%
(12/44) installing libxrender [######################] 100%
(13/44) installing libxext [######################] 100%
(14/44) installing graphite [######################] 100%
(15/44) installing harfbuzz [######################] 100%
Optional dependencies for harfbuzz
cairo: hb-view program [pending]
(16/44) installing freetype2 [######################] 100%
(17/44) installing fontconfig [######################] 100%
Rebuilding fontconfig cache... done.
(18/44) installing pixman [######################] 100%
(19/44) installing lzo [######################] 100%
(20/44) installing cairo [######################] 100%
(21/44) installing libxft [######################] 100%
(22/44) installing fribidi [######################] 100%
(23/44) installing pango [######################] 100%
(24/44) installing libxfixes [######################] 100%
(25/44) installing libxcursor [######################] 100%
Optional dependencies for libxcursor
gnome-themes-standard: fallback icon theme
(26/44) installing libxinerama [######################] 100%
(27/44) installing libxrandr [######################] 100%
(28/44) installing libxi [######################] 100%
(29/44) installing libxcomposite [######################] 100%
(30/44) installing libxdamage [######################] 100%
(31/44) installing shared-mime-info [######################] 100%
(32/44) installing libjpeg-turbo [######################] 100%
Optional dependencies for libjpeg-turbo
java-runtime>11: for TurboJPEG Java wrapper
(33/44) installing libtiff [######################] 100%
Optional dependencies for libtiff
freeglut: for using tiffgt
(34/44) installing libdaemon [######################] 100%
(35/44) installing dbus [######################] 100%
(36/44) installing avahi [######################] 100%
Optional dependencies for avahi
gtk3: avahi-discover, avahi-discover-standalone, bshell, bssh, bvnc
qt5-base: qt5 bindings
libevent: libevent bindings
nss-mdns: NSS support for mDNS
python-twisted: avahi-bookmarks
python-gobject: avahi-bookmarks, avahi-discover
python-dbus: avahi-bookmarks, avahi-discover
(37/44) installing libusb [######################] 100%
(38/44) installing libcups [######################] 100%
(39/44) installing gdk-pixbuf2 [######################] 100%
(40/44) installing librsvg [######################] 100%
(41/44) installing hicolor-icon-theme [######################] 100%
(42/44) installing gtk-update-icon-cache [######################] 100%
(43/44) installing desktop-file-utils [######################] 100%
(44/44) installing gtk2 [######################] 100%
Optional dependencies for gtk2
gnome-themes-standard: Default widget theme
adwaita-icon-theme: Default icon theme
python2: gtk-builder-convert
:: Running post-transaction hooks...
(1/6) Reloading system bus configuration...
call to execv failed (No such file or directory)
error: command failed to execute correctly
(2/6) Probing GDK-Pixbuf loader modules...
(3/6) Probing GTK2 input method modules...
(4/6) Updating icon theme caches...
(5/6) Updating the desktop file MIME type cache...
(6/6) Updating the MIME type database...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found xbindkeys-config_0.1.3.orig.tar.gz
-> Found xbindkeys-config_0.1.3-2.1.diff.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
-> Extracting xbindkeys-config_0.1.3.orig.tar.gz with bsdtar
-> Extracting xbindkeys-config_0.1.3-2.1.diff.gz with gzip
==> Starting build()...
gzip: ../xbindkeys-config_0.1.3-2.1.diff.gz: No such file or directory
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/builduser/build
Removing the failing gzip I can then produce the error you encountered which is a common issue due to a change in gcc 10 defaults. As a workaround use the option -fcommon.
So the following changed worked for me:
diff --git a/PKGBUILD b/PKGBUILD
index 2297801..858d8f3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,10 +18,9 @@ sha512sums=('95621b4f4cac14c922caa51d15376a7f5223d1e0742efb994d2e1f8ffcf16645bc1
'60e53369120af0838ceb47658063e34634d041a635724c2e80bc40f6a45a159c5bfc7891641ddd66e3d7e24228757d9b38da6501975a46fe057e53578b5531a6')
build() {
- gzip -d ../xbindkeys-config_${pkgver}-${_pkgver}.diff.gz
cd "$srcdir/$_pkgname-$pkgver"
patch -p1 <../xbindkeys-config_${pkgver}-${_pkgver}.diff
- make
+ CFLAGS+=' -fcommon' make
}
package() {
Online
yes, the example i install is 'xbindkeys_confi-gtk2'.but a little different with yours. i here have no error with the gzip line.
can you post yourt full PGKBUILD content hese?
Is this the package used in the example? As I get a very different error:
extra-x86_64-build :: Synchronizing package databases... core is up to date extra is up to date community 5.2 MiB 8.93 MiB/s 00:01 [######################] 100% :: Starting full system upgrade... there is nothing to do ==> Building in chroot for [extra] (x86_64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-x86_64/root] -> [builduser]...done ==> Making package: xbindkeys_config-gtk2 0.1.3-5 (Wed Nov 25 00:37:13 2020) ==> Retrieving sources... -> Downloading xbindkeys-config_0.1.3.orig.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 17639 100 17639 0 0 76030 0 --:--:-- --:--:-- --:--:-- 75703 -> Downloading xbindkeys-config_0.1.3-2.1.diff.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3867 100 3867 0 0 34221 0 --:--:-- --:--:-- --:--:-- 34221 ==> Validating source files with sha512sums... xbindkeys-config_0.1.3.orig.tar.gz ... Passed xbindkeys-config_0.1.3-2.1.diff.gz ... Passed ==> Making package: xbindkeys_config-gtk2 0.1.3-5 (Wed 25 Nov 2020 12:37:17 AM) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... warning: dependency cycle detected: warning: harfbuzz will be installed before its freetype2 dependency Packages (44) atk-2.36.0-1 avahi-0.8+15+ge8a3dd0-1 cairo-1.17.2+25+gaee96d175-1 dbus-1.12.20-1 desktop-file-utils-0.26-1 fontconfig-2:2.13.91+48+gfcb0420-2 freetype2-2.10.4-1 fribidi-1.0.10-1 gdk-pixbuf2-2.42.0-2 graphite-1:1.3.14-1 gtk-update-icon-cache-1:3.24.23-4 harfbuzz-2.7.2-1 hicolor-icon-theme-0.17-2 libcups-2.3.3+106+ga72b0140e-1 libdaemon-0.14-5 libdatrie-0.2.12-2 libjpeg-turbo-2.0.6-1 libpng-1.6.37-3 librsvg-2:2.50.2-1 libthai-0.1.28-2 libtiff-4.1.0-2 libusb-1.0.23-3 libx11-1.7.0-1 libxau-1.0.9-3 libxcb-1.14-1 libxcomposite-0.4.5-3 libxcursor-1.2.0-2 libxdamage-1.1.5-3 libxdmcp-1.1.3-3 libxext-1.3.4-3 libxfixes-5.0.3-4 libxft-2.3.3-2 libxi-1.7.10-3 libxinerama-1.1.4-3 libxrandr-1.5.2-3 libxrender-0.9.10-4 lzo-2.10-3 pango-1:1.48.0-1 pixman-0.40.0-1 shared-mime-info-2.0+1+g6bf9e4f-2 xcb-proto-1.14.1-1 xorgproto-2020.1-1 gtk2-2.24.32-2 xbindkeys-1.8.7-2 Total Download Size: 5.49 MiB Total Installed Size: 100.84 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... libx11-1.7.0-1-x... 2.1 MiB 6.48 MiB/s 00:00 [######################] 100% libcups-2.3.3+10... 289.7 KiB 14.1 MiB/s 00:00 [######################] 100% gdk-pixbuf2-2.42... 673.4 KiB 2.24 MiB/s 00:00 [######################] 100% librsvg-2:2.50.2... 2.5 MiB 7.63 MiB/s 00:00 [######################] 100% xbindkeys-1.8.7-... 23.4 KiB 0.00 B/s 00:00 [######################] 100% (44/44) checking keys in keyring [######################] 100% (44/44) checking package integrity [######################] 100% (44/44) loading package files [######################] 100% (44/44) checking for file conflicts [######################] 100% :: Processing package changes... ( 1/44) installing xcb-proto [######################] 100% ( 2/44) installing libxdmcp [######################] 100% ( 3/44) installing libxau [######################] 100% ( 4/44) installing libxcb [######################] 100% ( 5/44) installing xorgproto [######################] 100% ( 6/44) installing libx11 [######################] 100% ( 7/44) installing xbindkeys [######################] 100% Optional dependencies for xbindkeys tk: xbindkeys_show ( 8/44) installing atk [######################] 100% ( 9/44) installing libdatrie [######################] 100% (10/44) installing libthai [######################] 100% (11/44) installing libpng [######################] 100% (12/44) installing libxrender [######################] 100% (13/44) installing libxext [######################] 100% (14/44) installing graphite [######################] 100% (15/44) installing harfbuzz [######################] 100% Optional dependencies for harfbuzz cairo: hb-view program [pending] (16/44) installing freetype2 [######################] 100% (17/44) installing fontconfig [######################] 100% Rebuilding fontconfig cache... done. (18/44) installing pixman [######################] 100% (19/44) installing lzo [######################] 100% (20/44) installing cairo [######################] 100% (21/44) installing libxft [######################] 100% (22/44) installing fribidi [######################] 100% (23/44) installing pango [######################] 100% (24/44) installing libxfixes [######################] 100% (25/44) installing libxcursor [######################] 100% Optional dependencies for libxcursor gnome-themes-standard: fallback icon theme (26/44) installing libxinerama [######################] 100% (27/44) installing libxrandr [######################] 100% (28/44) installing libxi [######################] 100% (29/44) installing libxcomposite [######################] 100% (30/44) installing libxdamage [######################] 100% (31/44) installing shared-mime-info [######################] 100% (32/44) installing libjpeg-turbo [######################] 100% Optional dependencies for libjpeg-turbo java-runtime>11: for TurboJPEG Java wrapper (33/44) installing libtiff [######################] 100% Optional dependencies for libtiff freeglut: for using tiffgt (34/44) installing libdaemon [######################] 100% (35/44) installing dbus [######################] 100% (36/44) installing avahi [######################] 100% Optional dependencies for avahi gtk3: avahi-discover, avahi-discover-standalone, bshell, bssh, bvnc qt5-base: qt5 bindings libevent: libevent bindings nss-mdns: NSS support for mDNS python-twisted: avahi-bookmarks python-gobject: avahi-bookmarks, avahi-discover python-dbus: avahi-bookmarks, avahi-discover (37/44) installing libusb [######################] 100% (38/44) installing libcups [######################] 100% (39/44) installing gdk-pixbuf2 [######################] 100% (40/44) installing librsvg [######################] 100% (41/44) installing hicolor-icon-theme [######################] 100% (42/44) installing gtk-update-icon-cache [######################] 100% (43/44) installing desktop-file-utils [######################] 100% (44/44) installing gtk2 [######################] 100% Optional dependencies for gtk2 gnome-themes-standard: Default widget theme adwaita-icon-theme: Default icon theme python2: gtk-builder-convert :: Running post-transaction hooks... (1/6) Reloading system bus configuration... call to execv failed (No such file or directory) error: command failed to execute correctly (2/6) Probing GDK-Pixbuf loader modules... (3/6) Probing GTK2 input method modules... (4/6) Updating icon theme caches... (5/6) Updating the desktop file MIME type cache... (6/6) Updating the MIME type database... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found xbindkeys-config_0.1.3.orig.tar.gz -> Found xbindkeys-config_0.1.3-2.1.diff.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting xbindkeys-config_0.1.3.orig.tar.gz with bsdtar -> Extracting xbindkeys-config_0.1.3-2.1.diff.gz with gzip ==> Starting build()... gzip: ../xbindkeys-config_0.1.3-2.1.diff.gz: No such file or directory ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/builduser/build
Removing the failing gzip I can then produce the error you encountered which is a common issue due to a change in gcc 10 defaults. As a workaround use the option -fcommon.
So the following changed worked for me:diff --git a/PKGBUILD b/PKGBUILD index 2297801..858d8f3 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -18,10 +18,9 @@ sha512sums=('95621b4f4cac14c922caa51d15376a7f5223d1e0742efb994d2e1f8ffcf16645bc1 '60e53369120af0838ceb47658063e34634d041a635724c2e80bc40f6a45a159c5bfc7891641ddd66e3d7e24228757d9b38da6501975a46fe057e53578b5531a6') build() { - gzip -d ../xbindkeys-config_${pkgver}-${_pkgver}.diff.gz cd "$srcdir/$_pkgname-$pkgver" patch -p1 <../xbindkeys-config_${pkgver}-${_pkgver}.diff - make + CFLAGS+=' -fcommon' make } package() {
Last edited by cstn (2020-11-25 02:44:01)
Offline
PKGBUILD from AUR
# Maintainer: Felix Golatofski <contact@xdfr.de>
# Contributor: hellwoofa (at arcor dot de)
pkgname=xbindkeys_config-gtk2
_pkgname=xbindkeys_config
pkgver=0.1.3
_pkgver=2.1
pkgrel=5
pkgdesc="XBindKeys_Config is an easy to use gtk program for configuring \
Xbindkeys. GTK2 version. "
arch=(i686 x86_64)
url="http://hocwp.free.fr/xbindkeys/xbindkeys.html"
license=('GPL')
depends=('xbindkeys' 'gtk2')
conflicts=('xbindkeys_config')
source=(http://ftp.de.debian.org/debian/pool/main/x/xbindkeys-config/xbindkeys-config_${pkgver}.orig.tar.gz \
http://ftp.de.debian.org/debian/pool/main/x/xbindkeys-config/xbindkeys-config_${pkgver}-${_pkgver}.diff.gz)
sha512sums=('95621b4f4cac14c922caa51d15376a7f5223d1e0742efb994d2e1f8ffcf16645bc118ac835ff70be64810309363404b23b9540dee1e0f2a6ba86a5e500230f10'
'60e53369120af0838ceb47658063e34634d041a635724c2e80bc40f6a45a159c5bfc7891641ddd66e3d7e24228757d9b38da6501975a46fe057e53578b5531a6')
build() {
gzip -d ../xbindkeys-config_${pkgver}-${_pkgver}.diff.gz
cd "$srcdir/$_pkgname-$pkgver"
patch -p1 <../xbindkeys-config_${pkgver}-${_pkgver}.diff
make
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
mkdir -p $pkgdir/usr/bin
make DESTDIR="$pkgdir" install
}
Modified PKGBUILD
# Maintainer: Felix Golatofski <contact@xdfr.de>
# Contributor: hellwoofa (at arcor dot de)
pkgname=xbindkeys_config-gtk2
_pkgname=xbindkeys_config
pkgver=0.1.3
_pkgver=2.1
pkgrel=5
pkgdesc="XBindKeys_Config is an easy to use gtk program for configuring \
Xbindkeys. GTK2 version. "
arch=(i686 x86_64)
url="http://hocwp.free.fr/xbindkeys/xbindkeys.html"
license=('GPL')
depends=('xbindkeys' 'gtk2')
conflicts=('xbindkeys_config')
source=(http://ftp.de.debian.org/debian/pool/main/x/xbindkeys-config/xbindkeys-config_${pkgver}.orig.tar.gz \
http://ftp.de.debian.org/debian/pool/main/x/xbindkeys-config/xbindkeys-config_${pkgver}-${_pkgver}.diff.gz)
sha512sums=('95621b4f4cac14c922caa51d15376a7f5223d1e0742efb994d2e1f8ffcf16645bc118ac835ff70be64810309363404b23b9540dee1e0f2a6ba86a5e500230f10'
'60e53369120af0838ceb47658063e34634d041a635724c2e80bc40f6a45a159c5bfc7891641ddd66e3d7e24228757d9b38da6501975a46fe057e53578b5531a6')
build() {
cd "$srcdir/$_pkgname-$pkgver"
patch -p1 <../xbindkeys-config_${pkgver}-${_pkgver}.diff
CFLAGS+=' -fcommon' make
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
mkdir -p $pkgdir/usr/bin
make DESTDIR="$pkgdir" install
}
Edit:
The issue with gzip is that the following:
build() {
gzip -d ../xbindkeys-config_${pkgver}-${_pkgver}.diff.gz
Relies on underfied behavior, if the parent directory of $srddir contains xbindkeys-config_${pkgver}-${_pkgver}.diff.gz it will work.
It is also redundant as makepkg decompressed the file anyway, it then overwrites that with the same contents or fails.
Last edited by loqs (2020-11-25 09:09:34)
Online
thanks @loqs! I solved my problem.
for me, i noticed the '-fcommon' parameter that you mention.
then i just only modifed the '...make...' line in the PGKBUILD.
build() {
gzip -d ../xbindkeys-config_${pkgver}-${_pkgver}.diff.gz
cd "$srcdir/$_pkgname-$pkgver"
patch -p1 <../xbindkeys-config_${pkgver}-${_pkgver}.diff
CFLAGS+=' -fcommon' make
}
and then it compiled successfully.
for the gzip line error, i haven't got the issue, so i bypass the gzip modifying. anyway , it works now. thanks!
Offline
Were all the other AUR packages that failed to build for you also fixed by -fcommon?
Please consider posting your solution to https://aur.archlinux.org/packages/xbin … nfig-gtk2/
Online