You are not logged in.

#1 2015-08-12 18:02:47

L1ghtmareI
Member
Registered: 2014-08-29
Posts: 96

[SOLVED] libdbusmenu - An error occured in build()

make  all-am
make[3]: Entering directory '/home/alex/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2/libdbusmenu-gtk'
  CC     libdbusmenu_gtk_la-client.lo
  CC     libdbusmenu_gtk_la-genericmenuitem.lo
  CC     libdbusmenu_gtk_la-genericmenuitem-enum-types.lo
  CC     libdbusmenu_gtk_la-menu.lo
  CC     libdbusmenu_gtk_la-menuitem.lo
  CC     libdbusmenu_gtk_la-parser.lo
  CCLD   libdbusmenu-gtk.la
  GISCAN   DbusmenuGtk-0.4.gir
Command '['/home/alex/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2/libdbusmenu-gtk/tmp-introspectQ7pcnR/DbusmenuGtk-0.4', '--introspect-dump=/home/alex/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2/libdbusmenu-gtk/tmp-introspectQ7pcnR/functions.txt,/home/alex/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2/libdbusmenu-gtk/tmp-introspectQ7pcnR/dump.xml']' returned non-zero exit status -11
/usr/share/gobject-introspection-1.0/Makefile.introspection:153: recipe for target 'DbusmenuGtk-0.4.gir' failed
make[3]: *** [DbusmenuGtk-0.4.gir] Error 1
make[3]: Leaving directory '/home/alex/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2/libdbusmenu-gtk'
Makefile:521: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/alex/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2/libdbusmenu-gtk'
Makefile:418: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/alex/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2'
Makefile:348: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().

my makepkg.conf

#
# /etc/makepkg.conf
#

#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The download utilities that makepkg should use to acquire sources
#  Format: 'protocol::agent'
DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
          'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'rsync::/usr/bin/rsync --no-motd -z %u %o'
          'scp::/usr/bin/scp -C %u %o')

# Other common tools:
# /usr/bin/snarf
# /usr/bin/lftpget -c
# /usr/bin/wget

#-- The package required by makepkg to download VCS sources
#  Format: 'protocol::package'
VCSCLIENTS=('bzr::bzr'
            'git::git'
            'hg::mercurial'
            'svn::subversion')

#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-unknown-linux-gnu"

#-- Compiler and Linker Flags
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
CPPFLAGS="-D_FORTIFY_SOURCE=2"
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"
#-- Debugging flags
DEBUG_CFLAGS="-g -fvar-tracking-assignments"
DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"

#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
# Defaults: BUILDENV=(!distcc color !ccache check !sign)
#  A negated environment option will do the opposite of the comments below.
#
#-- distcc:   Use the Distributed C/C++/ObjC compiler
#-- color:    Colorize output messages
#-- ccache:   Use ccache to cache compilation
#-- check:    Run the check() function if present in the PKGBUILD
#-- sign:     Generate PGP signature file
#
BUILDENV=(!distcc color !ccache check !sign)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""
#
#-- Specify a directory for package building.
#BUILDDIR=/tmp/makepkg

#########################################################################
# GLOBAL PACKAGE OPTIONS
#   These are default values for the options=() settings
#########################################################################
#
# Default: OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !upx !debug)
#  A negated option will do the opposite of the comments below.
#
#-- strip:      Strip symbols from binaries/libraries
#-- docs:       Save doc directories specified by DOC_DIRS
#-- libtool:    Leave libtool (.la) files in packages
#-- staticlibs: Leave static library (.a) files in packages
#-- emptydirs:  Leave empty directories in packages
#-- zipman:     Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge:      Remove files specified by PURGE_TARGETS
#-- upx:        Compress binary executable files using UPX
#-- debug:      Add debugging flags as specified in DEBUG_* variables
#
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !upx !debug)

#-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
INTEGRITY_CHECK=(md5)
#-- Options to be used when stripping binaries. See `man strip' for details.
STRIP_BINARIES="--strip-all"
#-- Options to be used when stripping shared libraries. See `man strip' for details.
STRIP_SHARED="--strip-unneeded"
#-- Options to be used when stripping static libraries. See `man strip' for details.
STRIP_STATIC="--strip-debug"
#-- Manual (man and info) directories to compress (if zipman is specified)
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
#-- Doc directories to remove (if !docs is specified)
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
#-- Files to be removed from all packages (if purge is specified)
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)

#########################################################################
# PACKAGE OUTPUT
#########################################################################
# 
# Default: put built package and cached source in build directory
#
#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packages
#-- Source cache: specify a fixed directory where source files will be cached
#SRCDEST=/home/sources
#-- Source packages: specify a fixed directory where all src packages will be placed
#SRCPKGDEST=/home/srcpackages
#-- Log files: specify a fixed directory where all log files will be placed
#LOGDEST=/home/makepkglogs
#-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <john@doe.com>"
#-- Specify a key to use for package signing
#GPGKEY=""

#########################################################################
# COMPRESSION DEFAULTS
#########################################################################
#
COMPRESSGZ=(gzip -c -f -n)
COMPRESSBZ2=(bzip2 -c -f)
COMPRESSXZ=(xz -c -z -)
COMPRESSLRZ=(lrzip -q)
COMPRESSLZO=(lzop -q)
COMPRESSZ=(compress -c -f)

#########################################################################
# EXTENSION DEFAULTS
#########################################################################
#
# WARNING: Do NOT modify these variables unless you know what you are
#          doing.
#
PKGEXT='.pkg.tar.xz'
SRCEXT='.src.tar.gz'

# vim: set ft=sh ts=2 sw=2 et:

Any ideas what might cause this? Package maintainer could not reproduce this, works for him.
This error also occured while trying to update libappindicator.

Feel free to request any additional information.

Last edited by L1ghtmareI (2015-08-15 03:33:41)

Offline

#2 2015-08-12 18:10:48

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] libdbusmenu - An error occured in build()

Moving to AUR Issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-08-12 19:21:25

L1ghtmareI
Member
Registered: 2014-08-29
Posts: 96

Re: [SOLVED] libdbusmenu - An error occured in build()

Yeah thanks, as a forum newbie I didn't even know that section existed.

Offline

#4 2015-08-13 10:25:17

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: [SOLVED] libdbusmenu - An error occured in build()

Works fine here (even in a clean chroot). Can you post the full compilation output?

--edit: please, post also the content of the file src/libdbusmenu-12.10.2/config.log

Last edited by mauritiusdadd (2015-08-13 11:03:30)


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#5 2015-08-13 15:28:23

L1ghtmareI
Member
Registered: 2014-08-29
Posts: 96

Re: [SOLVED] libdbusmenu - An error occured in build()

Offline

#6 2015-08-13 16:38:57

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: [SOLVED] libdbusmenu - An error occured in build()

I noticed that you rebuilt the package using the existing source tree, can you try doing a clean rebuild using the following command and posting here the full output?

makepkg --cleanbuild

I noticed also that you are using the unofficial repo infinality-bundle-multilib, are you using other third party repositories (post the content of /etc/pacman.conf)? And can you post also the output of

pacman -Qi gobject-introspection
pacman -Qkk gobject-introspection

About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#7 2015-08-13 19:36:01

L1ghtmareI
Member
Registered: 2014-08-29
Posts: 96

Re: [SOLVED] libdbusmenu - An error occured in build()

pacman -Qi gobject-introspection
Name           : gobject-introspection
Version        : 1.44.0-1
Description    : Introspection system for GObject-based libraries
Architecture   : x86_64
URL            : https://live.gnome.org/GObjectIntrospection
Licenses       : LGPL  GPL
Groups         : None
Provides       : None
Depends On     : gobject-introspection-runtime=1.44.0  python2-mako  python2
Optional Deps  : None
Required By    : None
Optional For   : None
Conflicts With : None
Replaces       : None
Installed Size :   8.83 MiB
Packager       : Jan de Groot <jgc@archlinux.org>
Build Date     : Wed Mar 25 14:15:58 2015
Install Date   : Wed Aug 12 20:15:19 2015
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By   : Signature

pacman -Qkk gobject-introspection
gobject-introspection: 218 total files, 0 altered files

I only use infinality repos for fonts besides core, extra, community and multilib.
What tells that I rebuilt the package, just for my knowledge? I don't know what this might refer to, as I built it from AUR's tar.xz after yaourt install failed.

makepkg --cleanbuild
==> Making package: libdbusmenu-gtk2 12.10.2-3 (Thu Aug 13 22:34:05 MSK 2015)
==> Checking runtime dependencies...
warning: config file /etc/pacman.conf, line 60: directive 'CheckSpace' in section 'infinality-bundle-multilib' not recognized.
warning: config file /etc/pacman.conf, line 66: directive 'LocalFileSigLevel' in section 'infinality-bundle-multilib' not recognized.
==> Checking buildtime dependencies...
warning: config file /etc/pacman.conf, line 60: directive 'CheckSpace' in section 'infinality-bundle-multilib' not recognized.
warning: config file /etc/pacman.conf, line 66: directive 'LocalFileSigLevel' in section 'infinality-bundle-multilib' not recognized.
==> Retrieving sources...
  -> Found libdbusmenu-12.10.2.tar.gz
==> Validating source files with sha256sums...
    libdbusmenu-12.10.2.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting libdbusmenu-12.10.2.tar.gz with bsdtar
bsdtar: Failed to set default locale
==> Removing existing $pkgdir/ directory...
==> 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 whether to enable maintainer-specific portions of Makefiles... no
checking whether NLS is requested... yes
checking for style of include used by make... GNU
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
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(.*)\${ <-- HERE ?([A-Z_]+)}?(.*)$/ at /usr/bin/intltool-update line 1065.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?AC_PACKAGE_NAME}?/ at /usr/bin/intltool-update line 1193.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?PACKAGE}?/ at /usr/bin/intltool-update line 1194.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?AC_PACKAGE_VERSION}?/ at /usr/bin/intltool-update line 1195.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?VERSION}?/ at /usr/bin/intltool-update line 1196.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?AC_PACKAGE_NAME}?/ at /usr/bin/intltool-update line 1222.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?PACKAGE}?/ at /usr/bin/intltool-update line 1223.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?AC_PACKAGE_VERSION}?/ at /usr/bin/intltool-update line 1224.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?VERSION}?/ at /usr/bin/intltool-update line 1225.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ?\w+}?/ at /usr/bin/intltool-update line 1226.
checking for intltool >= 0.35.0... 0.51.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.22.0
checking for XML::Parser... ok
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
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 how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
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 dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
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 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
checking whether make supports nested variables... yes
checking for glib-mkenums... /usr/bin/glib-mkenums
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking gnome-doc-utils >= 0.3.2... yes
checking for DBUSMENUGLIB... yes
checking for DBUSMENUGTK... yes
checking for gobject-introspection... yes
checking for vapigen... /usr/bin/vapigen
checking for xsltproc... /usr/bin/xsltproc
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating libdbusmenu-glib/Makefile
config.status: creating libdbusmenu-glib/dbusmenu-glib-0.4.pc
config.status: creating libdbusmenu-gtk/Makefile
config.status: creating libdbusmenu-gtk/dbusmenu-gtk-0.4.pc
config.status: creating libdbusmenu-gtk/dbusmenu-gtk3-0.4.pc
config.status: creating tools/Makefile
config.status: creating tools/testapp/Makefile
config.status: creating tests/Makefile
config.status: creating tests/dbusmenu-jsonloader-0.4.pc
config.status: creating docs/Makefile
config.status: creating docs/libdbusmenu-glib/Makefile
config.status: creating docs/libdbusmenu-glib/reference/Makefile
config.status: creating docs/libdbusmenu-glib/reference/version.xml
config.status: creating docs/libdbusmenu-gtk/Makefile
config.status: creating docs/libdbusmenu-gtk/reference/Makefile
config.status: creating docs/libdbusmenu-gtk/reference/version.xml
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
configure:

libdbusmenu Configuration:

        Prefix:                 /usr
        Massive Debugging:      no
        GTK+ Version:           2

configure:      Tests:                  no
configure:      Gtk:                    yes (gtk2)
configure:      Vala bindings:          yes
configure:      Dumper:                 no
configure:      Coverage reporting:     no
make  all-recursive
make[1]: Entering directory '/media/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2'
Making all in libdbusmenu-glib
make[2]: Entering directory '/media/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2/libdbusmenu-glib'
mkdir -p `dirname ./enum-types.h`
/usr/bin/glib-mkenums \
        --template ./enum-types.h.in \
./menuitem.h ./menuitem-proxy.h ./server.h ./client.h ./types.h > xgen-eh \
&& (cmp -s xgen-eh ./enum-types.h || cp -f xgen-eh ./enum-types.h) \
&& rm -f xgen-eh \
&& echo timestamp > stamp-enum-types
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "",
        LC_ALL = (unset),
        LC_MONETARY = "ksh_DE.UTF-8",
        LANG = "en_GB.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_GB.UTF-8").
make[2]: Circular dbus-menu.xml.c <- dbus-menu.xml dependency dropped.
make  all-am
make[3]: Entering directory '/media/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2/libdbusmenu-glib'
make[3]: Circular dbus-menu.xml.c <- dbus-menu.xml dependency dropped.
  CC     libdbusmenu_glib_la-dbus-menu-clean.xml.lo
  CC     libdbusmenu_glib_la-defaults.lo
  CC     libdbusmenu_glib_la-enum-types.lo
  CC     libdbusmenu_glib_la-menuitem.lo
  CC     libdbusmenu_glib_la-menuitem-marshal.lo
  CC     libdbusmenu_glib_la-menuitem-proxy.lo
  CC     libdbusmenu_glib_la-server.lo
  CC     libdbusmenu_glib_la-server-marshal.lo
  CC     libdbusmenu_glib_la-client-marshal.lo
  CC     libdbusmenu_glib_la-client-menuitem.lo
  CC     libdbusmenu_glib_la-client.lo
  CCLD   libdbusmenu-glib.la
  GISCAN   Dbusmenu-0.4.gir
menuitem.h:136: Warning: Dbusmenu: GObject-Introspection specific GTK-Doc tag "Type" has been deprecated, please use annotations on the identifier instead:
 * Type: #G_VARIANT_TYPE_STRING
   ^
menuitem.h:165: Warning: Dbusmenu: GObject-Introspection specific GTK-Doc tag "Type" has been deprecated, please use annotations on the identifier instead:
 * Type: #G_VARIANT_TYPE_STRING
   ^
menuitem.h:182: Warning: Dbusmenu: GObject-Introspection specific GTK-Doc tag "Type" has been deprecated, please use annotations on the identifier instead:
 * Type: #G_VARIANT_TYPE_INT32
   ^
menuitem.h:190: Warning: Dbusmenu: GObject-Introspection specific GTK-Doc tag "Type" has been deprecated, please use annotations on the identifier instead:
 * Type: #G_VARIANT_TYPE_ARRAY
   ^
  GICOMP   Dbusmenu-0.4.gir
/usr/bin/vapigen --library=Dbusmenu-0.4 Dbusmenu-0.4.gir
Dbusmenu-0.4.gir:891.7-891.29: warning: Signal `Dbusmenu.Menuitem.child_added' conflicts with method of the same name
      <virtual-method name="child_added">
      ^^^^^^^^^^^^^^^^^^^^^^^
Dbusmenu-0.4.gir:904.7-904.29: warning: Signal `Dbusmenu.Menuitem.child_moved' conflicts with method of the same name
      <virtual-method name="child_moved">
      ^^^^^^^^^^^^^^^^^^^^^^^
Dbusmenu-0.4.gir:920.7-920.33: warning: Signal `Dbusmenu.Menuitem.child_removed' conflicts with method of the same name
      <virtual-method name="child_removed">
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dbusmenu-0.4.gir:987.7-987.31: warning: Virtual method `Dbusmenu.Menuitem.show_to_user' conflicts with method of the same name
      <virtual-method name="show_to_user">
      ^^^^^^^^^^^^^^^^^^^^^^^^^
Dbusmenu-0.4.gir:987.7-987.31: warning: Signal `Dbusmenu.Menuitem.show_to_user' conflicts with method of the same name
      <virtual-method name="show_to_user">
      ^^^^^^^^^^^^^^^^^^^^^^^^^
Generation succeeded - 5 warning(s)
make[3]: Leaving directory '/media/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2/libdbusmenu-glib'
make[2]: Leaving directory '/media/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2/libdbusmenu-glib'
Making all in libdbusmenu-gtk
make[2]: Entering directory '/media/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2/libdbusmenu-gtk'
mkdir -p `dirname ./genericmenuitem-enum-types.h`
/usr/bin/glib-mkenums \
        --template ./genericmenuitem-enum-types.h.in \
./genericmenuitem.h > xgen-eh \
&& (cmp -s xgen-eh ./genericmenuitem-enum-types.h || cp -f xgen-eh ./genericmenuitem-enum-types.h) \
&& rm -f xgen-eh \
&& echo timestamp > stamp-enum-types
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "",
        LC_ALL = (unset),
        LC_MONETARY = "ksh_DE.UTF-8",
        LANG = "en_GB.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_GB.UTF-8").
make  all-am
make[3]: Entering directory '/media/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2/libdbusmenu-gtk'
  CC     libdbusmenu_gtk_la-client.lo
  CC     libdbusmenu_gtk_la-genericmenuitem.lo
  CC     libdbusmenu_gtk_la-genericmenuitem-enum-types.lo
  CC     libdbusmenu_gtk_la-menu.lo
  CC     libdbusmenu_gtk_la-menuitem.lo
  CC     libdbusmenu_gtk_la-parser.lo
  CCLD   libdbusmenu-gtk.la
  GISCAN   DbusmenuGtk-0.4.gir
Command '['/media/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2/libdbusmenu-gtk/tmp-introspectsvKUtG/DbusmenuGtk-0.4', '--introspect-dump=/media/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2/libdbusmenu-gtk/tmp-introspectsvKUtG/functions.txt,/media/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2/libdbusmenu-gtk/tmp-introspectsvKUtG/dump.xml']' returned non-zero exit status -11
/usr/share/gobject-introspection-1.0/Makefile.introspection:153: recipe for target 'DbusmenuGtk-0.4.gir' failed
make[3]: *** [DbusmenuGtk-0.4.gir] Error 1
make[3]: Leaving directory '/media/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2/libdbusmenu-gtk'
Makefile:521: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/media/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2/libdbusmenu-gtk'
Makefile:418: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/media/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2'
Makefile:348: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Sadly, result is the same. The core folder changed because I transferred AUR sources to HDD I installed just yesterday.

Offline

#8 2015-08-14 07:39:04

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: [SOLVED] libdbusmenu - An error occured in build()

L1ghtmareI wrote:

What tells that I rebuilt the package, just for my knowledge?

make usually does not recompile already compiled files (unless they are modified) and the building log you posted shows make entering in and exiting from every directory without actually building anything (that means everything was already compiled, for reference compare your log with mine). Also the configuration script said that a configuration file already existed wink

libdbusmenu makepkg log wrote:
config.status: creating config.h
config.status: config.h is unchanged

Ok, now back to the debugging: rebuild once again the package with the following command (it will still fail, but it will leave the temporary file in-place so we can analyze them)

$ GI_SCANNER_DEBUG="save-temps" makepkg --cleanbuild

After the building process fails, execute the following commands and post here the output:

$ cd src/libdbusmenu-12.10.2/libdbusmenu-gtk/tmp-introspect*
$ ls -la
$ ./DbusmenuGtk-0.4 --introspect-dump=functions.txt,dump.xml --lt-debug

and also post (here, or using a pastebin client) the content of DbusmenuGtk-0.4 and functions.txt which are located in that directory.


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#9 2015-08-14 14:08:00

L1ghtmareI
Member
Registered: 2014-08-29
Posts: 96

Re: [SOLVED] libdbusmenu - An error occured in build()

For some reason file mask wasn't working, so I navigated to the folder with file manager.

ls -la
total 52
drwx------ 1 alex wheel   150 Aug 14 16:57 .
drwxr-xr-x 1 alex wheel  1210 Aug 14 16:57 ..
drwxr-xr-x 1 alex wheel    66 Aug 14 16:57 .libs
-rwxr-xr-x 1 alex wheel  8653 Aug 14 16:57 DbusmenuGtk-0.4
-rw-r--r-- 1 alex wheel 15815 Aug 14 16:57 DbusmenuGtk-0.4.c
-rw-r--r-- 1 alex wheel 14168 Aug 14 16:57 DbusmenuGtk-0.4.o
-rw-r--r-- 1 alex wheel   537 Aug 14 16:57 dump.xml
-rw-r--r-- 1 alex wheel    72 Aug 14 16:57 functions.txt

./DbusmenuGtk-0.4 --introspect-dump=functions.txt,dump.xml --lt-debug
DbusmenuGtk-0.4:/media/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2/libdbusmenu-gtk/tmp-introspectkzJfPO/DbusmenuGtk-0.4:93: libtool wrapper (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
DbusmenuGtk-0.4:/media/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2/libdbusmenu-gtk/tmp-introspectkzJfPO/DbusmenuGtk-0.4:114: newargv[0]: /media/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2/libdbusmenu-gtk/tmp-introspectkzJfPO/.libs/lt-DbusmenuGtk-0.4
DbusmenuGtk-0.4:/media/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2/libdbusmenu-gtk/tmp-introspectkzJfPO/DbusmenuGtk-0.4:104: newargv[1]: --introspect-dump=functions.txt,dump.xml
zsh: segmentation fault (core dumped)  ./DbusmenuGtk-0.4 --introspect-dump=functions.txt,dump.xml --lt-debug

DbusmenuGtk-0.4
functions.txt:

get-type:dbusmenu_gtkclient_get_type
get-type:dbusmenu_gtkmenu_get_type

Is 'env' command not needed for setting environmental variables?

Offline

#10 2015-08-14 22:14:52

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: [SOLVED] libdbusmenu - An error occured in build()

L1ghtmareI wrote:
zsh: segmentation fault (core dumped)  ./DbusmenuGtk-0.4 --introspect-dump=functions.txt,dump.xml --lt-debug

So, that's the culprit, it seems that something is crashing... just to be sure, what happens if you run (always in that directory) the following command manually?

.libs/lt-DbusmenuGtk-0.4 --introspect-dump=functions.txt,dump.xml

Also, is your system fully updated (including other AUR packages which do not depend on this one)? If you are using an Intel CPU, do you have the microcode update?


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#11 2015-08-15 01:28:06

L1ghtmareI
Member
Registered: 2014-08-29
Posts: 96

Re: [SOLVED] libdbusmenu - An error occured in build()

I could swear that I installed the microcode update, however I seem to have another problem (KDE apps segfaulting at start) that is fixed for someone with that.
Whatever, I seem to have it installed

dmesg | grep microcode
[    0.344708] microcode: CPU0 sig=0x306c3, pf=0x2, revision=0x17
[    0.344712] microcode: CPU1 sig=0x306c3, pf=0x2, revision=0x17
[    0.344717] microcode: CPU2 sig=0x306c3, pf=0x2, revision=0x17
[    0.344722] microcode: CPU3 sig=0x306c3, pf=0x2, revision=0x17
[    0.344758] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
pacman -Q intel-ucode
warning: config file /etc/pacman.conf, line 60: directive 'CheckSpace' in section 'infinality-bundle-multilib' not recognized.
warning: config file /etc/pacman.conf, line 66: directive 'LocalFileSigLevel' in section 'infinality-bundle-multilib' not recognized.
intel-ucode 20150121-1

This problem aroused during casual update (though I haven't updated AUR in a long time before), so all other packages except this and libappindicator (which depends on this) are updated.

cd /media/AUR/libdbusmenu-gtk2/src/libdbusmenu-12.10.2/libdbusmenu-gtk/tmp-introspectkzJfPO
.libs/lt-DbusmenuGtk-0.4 --introspect-dump=functions.txt,dump.xml
zsh: segmentation fault (core dumped)  .libs/lt-DbusmenuGtk-0.4 --introspect-dump=functions.txt,dump.xml 

Offline

#12 2015-08-15 02:39:49

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,591

Re: [SOLVED] libdbusmenu - An error occured in build()

You have it installed, but aren't loading it. Check the wiki page

The revision should be 0x1c for that processor.

Offline

#13 2015-08-15 02:53:15

L1ghtmareI
Member
Registered: 2014-08-29
Posts: 96

Re: [SOLVED] libdbusmenu - An error occured in build()

/boot/loader/entries/arch.conf:

itle   Arch Linux
linux   /vmlinuz-linux
initrd  /initramfs-linux.img
initrd  /intel-ucode.img
options root=/dev/sda2 rw

Should the intel initrd line be the first?

Offline

#14 2015-08-15 02:53:36

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,591

Re: [SOLVED] libdbusmenu - An error occured in build()

Yes, it should

Offline

#15 2015-08-15 02:59:53

L1ghtmareI
Member
Registered: 2014-08-29
Posts: 96

Re: [SOLVED] libdbusmenu - An error occured in build()

Aight I'm changing this and rebooting, hope I boot

Edit: got to Control-D my way but it's unrelated. God it worked.

Thank you for finding time to help me with problem that turned out rather silly. Should I edit the wiki article on microcode to include this warning?

Last edited by L1ghtmareI (2015-08-15 03:13:04)

Offline

#16 2015-08-15 03:41:32

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,591

Re: [SOLVED] libdbusmenu - An error occured in build()

It's already there

These updates must be enabled by adding /boot/intel-ucode.img as the first initrd in the bootloader config file.

Offline

#17 2015-08-15 03:47:16

L1ghtmareI
Member
Registered: 2014-08-29
Posts: 96

Re: [SOLVED] libdbusmenu - An error occured in build()

True, it's just me being careless.

Offline

#18 2015-10-03 04:21:42

epsilom
Member
Registered: 2009-04-18
Posts: 29

Re: [SOLVED] libdbusmenu - An error occured in build()

Hi guys,

I have problem for build libdbusmenu-gtk2, maybe is other reason, I don't know, please help:

the error build is http://pastebin.com/64cWy06R

I have configured the intel-ucode from grub

dmesg | grep microcode                                                                                                                 
[    0.000000] microcode: CPU0 microcode updated early to revision 0x12, date = 2014-07-03
[    0.094841] microcode: CPU1 microcode updated early to revision 0x12, date = 2014-07-03
[    0.108181] microcode: CPU2 microcode updated early to revision 0x12, date = 2014-07-03
[    0.121538] microcode: CPU3 microcode updated early to revision 0x12, date = 2014-07-03
[    1.296861] microcode: CPU0 sig=0x40661, pf=0x20, revision=0x12
[    1.296868] microcode: CPU1 sig=0x40661, pf=0x20, revision=0x12
[    1.296877] microcode: CPU2 sig=0x40661, pf=0x20, revision=0x12
[    1.296885] microcode: CPU3 sig=0x40661, pf=0x20, revision=0x12
[    1.296893] microcode: CPU4 sig=0x40661, pf=0x20, revision=0x12
[    1.296901] microcode: CPU5 sig=0x40661, pf=0x20, revision=0x12
[    1.296907] microcode: CPU6 sig=0x40661, pf=0x20, revision=0x12
[    1.296914] microcode: CPU7 sig=0x40661, pf=0x20, revision=0x12
[    1.296956] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[14626.654637] microcode: CPU0 microcode updated early to revision 0x12, date = 2014-07-03
[14626.664350] microcode: CPU1 microcode updated early to revision 0x12, date = 2014-07-03
[14626.678360] microcode: CPU2 microcode updated early to revision 0x12, date = 2014-07-03
[14626.691894] microcode: CPU3 microcode updated early to revision 0x12, date = 2014-07-03

Apparently this happen only to me hmm
This is the only package that I have a problem, I can build any other packages from aur.

Offline

#19 2015-10-03 06:39:54

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: [SOLVED] libdbusmenu - An error occured in build()

Hi epsilom, you seems a different problem and since this thread has been marked as solved, I think you should open a new one (and maybe you can post there a link to this thread if you think this is relevant). However, first of all, did you try using makepkg instead of yaourt? Is your system fully updated? Have you checked if there are corrupted packages using pacman -Qkk?


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

Board footer

Powered by FluxBB