Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 667724

Summary: net-dns/avahi-0.7-r2 : /.../sh: glib-genmarshal: command not found
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 667324    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-dns:avahi-0.7-r2:20181004-002816.log
temp.tbz2

Description Toralf Förster gentoo-dev 2018-10-04 15:39:27 UTC
fi
glib-genmarshal --header --prefix=_ga_signals_marshal signals-marshal.list > signals-marshal.h
/bin/sh: glib-genmarshal: command not found
make[2]: *** [Makefile:1012: signals-marshal.h] Error 127
make[2]: Leaving directory '/var/tmp/portage/net-dns/avahi-0.7-r2/work/avahi-0.7-abi_x86_64.amd64/avahi-gobject'
make[1]: *** [Makefile:754: all-recursive] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop_20181001-185905

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.8.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv net-dns/avahi
[ebuild  N    ] net-dns/avahi-0.7-r2  USE="dbus gdbm gtk introspection ipv6 nls python qt5 -autoipd -bookmarks -doc -gtk3 -howl-compat -mdnsresponder-compat -mono (-selinux) -test" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2018-10-04 15:39:31 UTC
Created attachment 549262 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-10-04 15:39:36 UTC
Created attachment 549264 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-10-04 15:39:41 UTC
Created attachment 549266 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-10-04 15:39:47 UTC
Created attachment 549268 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-10-04 15:39:50 UTC
Created attachment 549270 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-10-04 15:39:55 UTC
Created attachment 549272 [details]
net-dns:avahi-0.7-r2:20181004-002816.log
Comment 7 Toralf Förster gentoo-dev 2018-10-04 15:40:00 UTC
Created attachment 549274 [details]
temp.tbz2
Comment 8 jonas.licht 2019-09-30 20:08:23 UTC
I've got an error that is very similar:
But here is glib-mkenums missing.

Making all in avahi-gobject
make[2]: Entering directory '/var/tmp/portage/net-dns/avahi-0.7-r2/work/avahi-0.7-abi_x86_64.amd64/avahi-gobject'
( cd . && \
LC_ALL=C sed -n -e 's/.*_ga_signals_marshal_\([A-Z]*__[A-Z_]*\).*/\1/p' \
        ga-client.c ga-client.h ga-entry-group.c ga-entry-group.h ga-enums.h ga-error.c ga-error.h ga-record-browser.c ga-record-browser.h ga-service-browser.c ga-service-browser.h ga-service-resolver.c ga-service-resolver.h ) \
        | sed -e 's/__/:/' -e 'y/_/,/' | sort -u > signals-marshal.list.tmp && \
if cmp -s signals-marshal.list.tmp signals-marshal.list; then \
        rm signals-marshal.list.tmp; \
else \
        mv signals-marshal.list.tmp signals-marshal.list; \
fi
glib-mkenums \
--fhead "#ifndef __GA_CLIENT_ENUM_TYPES_H__\n#define __GA_CLIENT_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
--fprod "/* enumerations from \"@filename@\" */\n" \
--vhead "GType @enum_name@_get_type (void);\n#define GA_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n"         \
--ftail "G_END_DECLS\n\n#endif /* __GA_CLIENT_ENUM_TYPES_H__ */" \
ga-client.h > ga-client-enumtypes.h
glib-mkenums \
--fhead "#include <ga-client.h>\n#include<ga-client-enumtypes.h>" \
--fprod "\n/* enumerations from \"@filename@\" */" \
--vhead "GType\n@enum_name@_get_type (void)\n{\n  static GType etype = 0;\n  if (etype == 0) {\n    static const G@Type@Value values[] = {"     \
--vprod "      { @VALUENAME@, \"@VALUENAME@\", \"@VALUENAME@\" }," \
--vtail "      { 0, NULL, NULL }\n    };\n    etype = g_@type@_register_static (\"@EnumName@\", values);\n  }\n  return etype;\n}\n" \
ga-client.h > ga-client-enumtypes.c
/bin/sh: line 1: glib-mkenums: command not found
/bin/sh: line 1: glib-mkenums: command not found
make[2]: *** [Makefile:1019: ga-client-enumtypes.h] Error 127
Comment 9 Kris Hepler 2019-10-05 06:37:05 UTC
glib-genmarshal and glib-mkenums are provided by the dev-util/glib-utils package.  Avahi should depend on it.
Comment 10 Anthony Basile gentoo-dev 2019-11-09 15:06:13 UTC
(In reply to Kris Hepler from comment #9)
> glib-genmarshal and glib-mkenums are provided by the dev-util/glib-utils
> package.  Avahi should depend on it.

Okay I added this to the build dependencies.  If this isn't fixed, please reopen this bug.