BlueManCZ / edgets

Gentoo overlay that brings you the newest versions of modern software.
12 stars 8 forks source link

Failed running 'gtkdocize'! Installing Plank #10

Closed ramiuslr closed 3 years ago

ramiuslr commented 3 years ago

Hello ! First thanks for this repo :) I have a problem when trying to install plank from your overlay (bamf package pre-config):

Calculating dependencies... done!
[ebuild  N    ~] x11-libs/bamf-0.5.5::edgets  USE="dbus -doc -introspection -test" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) x11-libs/bamf-0.5.5::edgets
>>> Failed to emerge x11-libs/bamf-0.5.5, Log file:
>>>  '/var/calculate/tmp/portage/x11-libs/bamf-0.5.5/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.46, 0.26, 0.20
 * Package:    x11-libs/bamf-0.5.5
 * Repository: edgets
 * USE:        abi_x86_64 amd64 dbus elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox usersandbox
>>> Unpacking source...
>>> Unpacking bamf-0.5.5.tar.xz to /var/calculate/tmp/portage/x11-libs/bamf-0.5.5/work
>>> Source unpacked in /var/calculate/tmp/portage/x11-libs/bamf-0.5.5/work
>>> Preparing source in /var/calculate/tmp/portage/x11-libs/bamf-0.5.5/work/bamf-0.5.5 ...
 * Running eautoreconf in '/var/calculate/tmp/portage/x11-libs/bamf-0.5.5/work/bamf-0.5.5' ...
 * Running 'gtkdocize --copy' ...
 [ !! ]

 * Failed running 'gtkdocize'!
 * 
 * Include in your bug report the contents of:
 * 
 *   /var/calculate/tmp/portage/x11-libs/bamf-0.5.5/temp/gtkdocize.out

 * ERROR: x11-libs/bamf-0.5.5::edgets failed (prepare phase):
 *   Failed running 'gtkdocize'!
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_prepare
 *   environment, line 1859:  Called eautoreconf
 *   environment, line  949:  Called autotools_run_tool '--at-missing' 'gtkdocize' '--copy'
 *   environment, line  634:  Called die
 * The specific snippet of code:
 *           die "Failed running '${1}'!";
 * 
 * If you need support, post the output of `emerge --info '=x11-libs/bamf-0.5.5::edgets'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/bamf-0.5.5::edgets'`.
 * The complete build log is located at '/var/calculate/tmp/portage/x11-libs/bamf-0.5.5/temp/build.log'.
 * The ebuild environment file is located at '/var/calculate/tmp/portage/x11-libs/bamf-0.5.5/temp/environment'.
 * Working directory: '/var/calculate/tmp/portage/x11-libs/bamf-0.5.5/work/bamf-0.5.5'
 * S: '/var/calculate/tmp/portage/x11-libs/bamf-0.5.5/work/bamf-0.5.5'

 * Messages for package x11-libs/bamf-0.5.5:

 * Failed running 'gtkdocize'!
 * 
 * Include in your bug report the contents of:
 * 
 *   /var/calculate/tmp/portage/x11-libs/bamf-0.5.5/temp/gtkdocize.out
 * ERROR: x11-libs/bamf-0.5.5::edgets failed (prepare phase):
 *   Failed running 'gtkdocize'!
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_prepare
 *   environment, line 1859:  Called eautoreconf
 *   environment, line  949:  Called autotools_run_tool '--at-missing' 'gtkdocize' '--copy'
 *   environment, line  634:  Called die
 * The specific snippet of code:
 *           die "Failed running '${1}'!";
 * 
 * If you need support, post the output of `emerge --info '=x11-libs/bamf-0.5.5::edgets'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/bamf-0.5.5::edgets'`.
 * The complete build log is located at '/var/calculate/tmp/portage/x11-libs/bamf-0.5.5/temp/build.log'.
 * The ebuild environment file is located at '/var/calculate/tmp/portage/x11-libs/bamf-0.5.5/temp/environment'.
 * Working directory: '/var/calculate/tmp/portage/x11-libs/bamf-0.5.5/work/bamf-0.5.5'
 * S: '/var/calculate/tmp/portage/x11-libs/bamf-0.5.5/work/bamf-0.5.5'

Here is the content of /var/calculate/tmp/portage/x11-libs/bamf-0.5.5/temp/gtkdocize.out:

***** gtkdocize *****
***** PWD: /var/calculate/tmp/portage/x11-libs/bamf-0.5.5/work/bamf-0.5.5
***** gtkdocize --copy

cp: cannot stat '/usr/share/aclocal/gtk-doc.m4': No such file or directory

I am on Calculate Linux, I don't know if this can be a cause of the problem...

Thanks for your answer !

NB: this is the first time I submit an issue, so maybe I forgot important elements, I hope not :-)

BlueManCZ commented 3 years ago

Hello and welcome to GitHub! :octocat: Thank you for reporting this! No worries, for the first issue, you provided everything needed.

The first thing that came to my mind is if you have dev-util/gtk-doc installed? If you use the latest version of ebuild it should be, but you never know and we had a similar problem here: https://github.com/BlueManCZ/edgets/issues/7

If you use layman for adding overlays, you have to sync them from time to time similarly as the main portage tree:

sudo layman --sync-all

Or just this one:

sudo layman --sync edgets

I found that /usr/share/aclocal/gtk-doc.m4 file is provided by dev-util/gtk-doc-am package. And this package is a buildtime dependency for gtk-doc.

sudo emerge --ask app-portage/pfl
e-file gtk-doc.m4
ramiuslr commented 3 years ago

Thank you very much for your answer !

I had dev-util/gtk-doc installed, but not dev-util/gtk-doc-am. So I installed it, and this is very interesting, because, this solved the problem (bampf is now properly installed), but an other issue appeared:

sudo emerge -v plank
Mot de passe : 

Local copy of remote index is up-to-date and will be used.

Local copy of remote index is up-to-date and will be used.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ~] x11-misc/plank-0.11.89-r1::edgets  USE="dbus nls -apport -barriers -benchmark -debug -doc" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) x11-misc/plank-0.11.89-r1::edgets
>>> Failed to emerge x11-misc/plank-0.11.89-r1, Log file:
>>>  '/var/calculate/tmp/portage/x11-misc/plank-0.11.89-r1/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.68, 0.48, 0.27
 * Package:    x11-misc/plank-0.11.89-r1
 * Repository: edgets
 * USE:        abi_x86_64 amd64 dbus elibc_glibc kernel_linux nls userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox usersandbox
>>> Unpacking source...
>>> Unpacking plank-0.11.89.tar.gz to /var/calculate/tmp/portage/x11-misc/plank-0.11.89-r1/work
>>> Source unpacked in /var/calculate/tmp/portage/x11-misc/plank-0.11.89-r1/work
>>> Preparing source in /var/calculate/tmp/portage/x11-misc/plank-0.11.89-r1/work/plank-0.11.89 ...
 * Running eautoreconf in '/var/calculate/tmp/portage/x11-misc/plank-0.11.89-r1/work/plank-0.11.89' ...
 * Running 'autopoint --force' ...
 [ ok ]
 * Running 'libtoolize --install --copy --force --automake' ...
 [ ok ]
 * Running 'aclocal --install -I m4' ...
 [ ok ]
 * Running 'autoconf --force' ...
 [ ok ]
 * Running 'autoheader' ...
 [ ok ]
 * Running 'automake --add-missing --copy --foreign --force-missing' ...
 [ ok ]
 * Running elibtoolize in: plank-0.11.89/
 * Running elibtoolize in: plank-0.11.89/build-aux/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
>>> Source prepared.
>>> Configuring source in /var/calculate/tmp/portage/x11-misc/plank-0.11.89-r1/work/plank-0.11.89 ...
 * econf: updating plank-0.11.89/build-aux/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating plank-0.11.89/build-aux/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating plank-0.11.89/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating plank-0.11.89/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/plank-0.11.89-r1 --htmldir=/usr/share/doc/plank-0.11.89-r1/html --with-sysroot=/ --libdir=/usr/lib64 --disable-apport --disable-barriers --disable-benchmark --enable-dbusmenu --disable-debug --disable-docs --enable-nls
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... none
checking whether x86_64-pc-linux-gnu-g++ understands -c and -o together... yes
checking for a sed that does not truncate output... /bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... /
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
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 inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/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 how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.21... yes
checking for cos in -lm... yes
checking for x86_64-pc-linux-gnu-pkg-config... (cached) /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.16... yes
checking for valac... /usr/bin/valac-0.52
checking whether /usr/bin/valac-0.52 supports at least API version 0.34.0... yes
checking for vapigen... /usr/bin/vapigen-0.52
checking for GNOMEMENU3... no
configure: error: Package requirements (libgnome-menu-3.0) were not met:

Package 'libgnome-menu-3.0', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GNOMEMENU3_CFLAGS
and GNOMEMENU3_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

!!! Please attach the following file when seeking support:
!!! /var/calculate/tmp/portage/x11-misc/plank-0.11.89-r1/work/plank-0.11.89/config.log
 * ERROR: x11-misc/plank-0.11.89-r1::edgets failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  127:  Called src_configure
 *             environment, line 2158:  Called econf '--disable-apport' '--disable-barriers' '--disable-benchmark' '--enable-dbusmenu' '--disable-debug' '--disable-docs' '--enable-nls'
 *        phase-helpers.sh, line  711:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *          die "$@"
 * 
 * If you need support, post the output of `emerge --info '=x11-misc/plank-0.11.89-r1::edgets'`,
 * the complete build log and the output of `emerge -pqv '=x11-misc/plank-0.11.89-r1::edgets'`.
 * The complete build log is located at '/var/calculate/tmp/portage/x11-misc/plank-0.11.89-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/calculate/tmp/portage/x11-misc/plank-0.11.89-r1/temp/environment'.
 * Working directory: '/var/calculate/tmp/portage/x11-misc/plank-0.11.89-r1/work/plank-0.11.89'
 * S: '/var/calculate/tmp/portage/x11-misc/plank-0.11.89-r1/work/plank-0.11.89'

 * Messages for package x11-misc/plank-0.11.89-r1:

 * ERROR: x11-misc/plank-0.11.89-r1::edgets failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  127:  Called src_configure
 *             environment, line 2158:  Called econf '--disable-apport' '--disable-barriers' '--disable-benchmark' '--enable-dbusmenu' '--disable-debug' '--disable-docs' '--enable-nls'
 *        phase-helpers.sh, line  711:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *          die "$@"
 * 
 * If you need support, post the output of `emerge --info '=x11-misc/plank-0.11.89-r1::edgets'`,
 * the complete build log and the output of `emerge -pqv '=x11-misc/plank-0.11.89-r1::edgets'`.
 * The complete build log is located at '/var/calculate/tmp/portage/x11-misc/plank-0.11.89-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/calculate/tmp/portage/x11-misc/plank-0.11.89-r1/temp/environment'.
 * Working directory: '/var/calculate/tmp/portage/x11-misc/plank-0.11.89-r1/work/plank-0.11.89'
 * S: '/var/calculate/tmp/portage/x11-misc/plank-0.11.89-r1/work/plank-0.11.89'

Don't hesitate if you need additional information !

I don't use layman but eselect repository, I'll search for an equivalent of the command you gave me in your post...

Rmk: maybe we need to change the topic of this report ?

Sorry for my bad english, I'm french lol :)

BlueManCZ commented 3 years ago
checking for GNOMEMENU3... no
configure: error: Package requirements (libgnome-menu-3.0) were not met:

Package 'libgnome-menu-3.0', required by 'virtual:world', not found

Interesting! Could you please try to install the gnome-base/gnome-menus package and see, if it helps in any way?

Rmk: maybe we need to change the topic of this report ?

It doesn't matter that much. :wink:

Sorry for my bad english, I'm french lol :)

I'm from the Czech Republic, my english is bad either. :smile:

...

Just out of interest, what desktop environment or windows manager do you use?

ramiuslr commented 3 years ago

I installed gnome-menus, and this solved the problem. Plank is now installed and seems to be working good ! Thank you very much !

I'll come back if there is an other problem...

I used various DE: Gnome (a lot), Xfce, and now I just switched to Mate (I think Gnome is a little bit too heavy to run on my laptop with good perfs (but I think it's the most beautiful and usable), so I look for more lightweight DE. Mate is interesting for that.

On my laptop I'm on Archlinux actually, but I would like to switch on Gentoo. I found Calculate Linux which is very interesting (a lot of binary packages). So I make tests in VM (like plank installation :) ) before any real change...

BlueManCZ commented 3 years ago

Nice! I'm glad it worked. Feel free to open another issue anytime.

I agree with you that Gnome is the most beautiful and usable. Once you get used to it and you visually tweak it to your liking, it's very hard to switch to another DE. :smile:

Let me know if any other ebuilds in the overlay will cause you any trouble. You are the first person I have any feedback from on Calculate Linux after all. :smile: