Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656710 - media-fonts/cantarell-0.101 : ninja: build stopped: subcommand failed.
Summary: media-fonts/cantarell-0.101 : ninja: build stopped: subcommand failed.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-27 19:53 UTC by Toralf Förster
Modified: 2018-08-28 17:29 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.41 KB, text/plain)
2018-05-27 19:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,429.02 KB, text/plain)
2018-05-27 19:53 UTC, Toralf Förster
Details
environment (environment,127.26 KB, text/plain)
2018-05-27 19:53 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,25.52 KB, application/x-bzip)
2018-05-27 19:53 UTC, Toralf Förster
Details
media-fonts:cantarell-0.101:20180527-194956.log (media-fonts:cantarell-0.101:20180527-194956.log,3.54 KB, text/plain)
2018-05-27 19:53 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,28.53 KB, application/x-bzip)
2018-05-27 19:53 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-05-27 19:53:23 UTC
/usr/bin/python3.5 /usr/lib/python-exec/python3.5/meson --internal msgfmthelper ../cantarell-fonts-0.101/appstream/org.gnome.cantarell.metainfo.xml.in appstream/org.gnome.cantarell.metainfo.xml xml ../cantarell-fonts-0.101/appstream/./
msgfmt: cannot locate ITS rules for ../cantarell-fonts-0.101/appstream/org.gnome.cantarell.metainfo.xml.in
ninja: build stopped: subcommand failed.
 * ERROR: media-fonts/cantarell-0.101::gentoo failed (compile phase):
 *   ninja -v -j1 -l0 -C /var/tmp/portage/media-fonts/cantarell-0.101/work/cantarell-0.101-build failed
 * 

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

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

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

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

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)

java-config:
The following VMs are available for generation-2:


emerge -qpv media-fonts/cantarell
[ebuild     U ] media-fonts/cantarell-0.101 [0.0.25] USE="-X" 

!!! The following installed packages are masked:
- dev-util/automoc-0.9.88-r1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Andreas Sturmlechner <asturm@gentoo.org> (27 May 2018)
# Depends on dead Qt4. No more revdeps. Masked for removal in 30 days.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 1 Toralf Förster gentoo-dev 2018-05-27 19:53:27 UTC
Created attachment 533564 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-05-27 19:53:30 UTC
Created attachment 533566 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-05-27 19:53:33 UTC
Created attachment 533568 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-05-27 19:53:36 UTC
Created attachment 533570 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-05-27 19:53:39 UTC
Created attachment 533572 [details]
media-fonts:cantarell-0.101:20180527-194956.log
Comment 6 Toralf Förster gentoo-dev 2018-05-27 19:53:41 UTC
Created attachment 533574 [details]
temp.tbz2
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2018-05-27 22:40:04 UTC
The deps hidden by meson are going to bite us in the ass a couple of times I guess.
Comment 8 Toralf Förster gentoo-dev 2018-06-09 08:18:40 UTC
Is this - by any chance - releated to libressl-2.7.3 ?
Comment 9 Toralf Förster gentoo-dev 2018-06-18 18:25:51 UTC
At another image (17.0-desktop-gnome-systemd_libressl-test_20180617-144144) it failed to be build, but succeeded after these emerges :

Mon Jun 18 18:23:27 2018 <<< sys-apps/dbus-1.10.24
Mon Jun 18 18:23:30 2018 >>> sys-apps/dbus-1.12.8
Mon Jun 18 18:43:10 2018 >>> dev-qt/qtcore-5.9.6
Mon Jun 18 18:53:29 2018 <<< app-crypt/gnupg-2.2.4-r2
Mon Jun 18 18:53:31 2018 >>> app-crypt/gnupg-2.2.8
Mon Jun 18 18:53:52 2018 >>> dev-perl/Net-DBus-1.1.0
Mon Jun 18 18:54:30 2018 >>> dev-libs/dbus-glib-0.110
Mon Jun 18 18:57:25 2018 >>> dev-qt/qtdbus-5.9.6
Mon Jun 18 18:58:15 2018 >>> dev-qt/qtxml-5.9.6
Mon Jun 18 18:59:00 2018 >>> app-accessibility/at-spi2-core-2.24.1
Mon Jun 18 19:24:04 2018 >>> dev-qt/qtgui-5.9.6
Mon Jun 18 19:24:57 2018 >>> dev-python/pycairo-1.17.0
Mon Jun 18 19:28:23 2018 >>> app-accessibility/at-spi2-atk-2.24.1
Mon Jun 18 19:28:56 2018 >>> x11-misc/xdg-utils-1.1.3-r1
Mon Jun 18 19:33:12 2018 >>> dev-lang/vala-0.36.13
Mon Jun 18 19:38:27 2018 >>> app-text/poppler-0.65.0
Mon Jun 18 19:38:43 2018 >>> dev-python/cssselect-1.0.3
Mon Jun 18 19:49:20 2018 <<< dev-util/strace-4.23
Mon Jun 18 19:49:23 2018 >>> dev-util/strace-4.23-r1
Mon Jun 18 19:54:43 2018 <<< dev-python/lxml-4.1.1
Mon Jun 18 19:54:47 2018 >>> dev-python/lxml-4.2.0
Mon Jun 18 19:58:16 2018 <<< dev-libs/elfutils-0.170-r1
Mon Jun 18 19:58:19 2018 >>> dev-libs/elfutils-0.171
Mon Jun 18 19:58:35 2018 >>> media-fonts/cantarell-0.0.25
Comment 10 alaviss0+gentoo 2018-07-08 08:08:45 UTC
The ITS rules required is provided by dev-libs/appstream, and installing it solves the problem for me.

https://github.com/gentoo/gentoo/pull/9115
Comment 11 Larry the Git Cow gentoo-dev 2018-08-28 14:11:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec9fc0ddb2bb4d9861a443e626a011dcfb32ac78

commit ec9fc0ddb2bb4d9861a443e626a011dcfb32ac78
Author:     Leorize <alaviss@users.noreply.github.com>
AuthorDate: 2018-07-08 02:53:50 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2018-08-28 14:11:47 +0000

    media-fonts/cantarell: requires appstream
    
    Also, drop keywords that appstream doesn't have.
    
    Closes: https://bugs.gentoo.org/656710
    Closes: https://github.com/gentoo/gentoo/pull/9115

 media-fonts/cantarell/cantarell-0.101.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 12 Larry the Git Cow gentoo-dev 2018-08-28 14:29:12 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d07f16c5dbeea77c8e7cd312a2deac1c6380d9e

commit 1d07f16c5dbeea77c8e7cd312a2deac1c6380d9e
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2018-08-28 14:29:03 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2018-08-28 14:29:03 +0000

    media-fonts/cantarell: drop more keywords
    
    Previous commit didn't drop all keywords it had to (keywords unsupported
    by dev-libs/appstream)
    
    Bug: https://bugs.gentoo.org/656710
    Package-Manager: Portage-2.3.48, Repoman-2.3.10

 media-fonts/cantarell/cantarell-0.101.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 13 Mart Raudsepp gentoo-dev 2018-08-28 15:30:46 UTC
Virgil, you are not the maintainer of this package. Please do not merge things without trying to contact the maintainer first. The fix is wrong, appstream is not needed and can't possibly be the correct fix, when it ships with a bunch of cmake files and libraries... It also builds fine for me without dev-libs/appstream
Comment 14 Larry the Git Cow gentoo-dev 2018-08-28 15:35:29 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc73079d6fd2a8dbb36356e53d17d0bfaf2f8cd2

commit fc73079d6fd2a8dbb36356e53d17d0bfaf2f8cd2
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2018-08-28 15:34:03 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2018-08-28 15:35:03 +0000

    Revert "media-fonts/cantarell: requires appstream"
    
    This reverts non-maintainer commit ec9fc0ddb2bb4d9861a443e626a011dcfb32ac78.
    
    appstream is NOT required, only something that appstream happens to pull in,
    probably as build-time only, so doesn't even guarantee its presence for
    cantarell build.
    
    Bug: https://bugs.gentoo.org/656710

 media-fonts/cantarell/cantarell-0.101.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f568c0aee90a163c0bffe3f87e8b5ace8f2f4b6f

commit f568c0aee90a163c0bffe3f87e8b5ace8f2f4b6f
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2018-08-28 15:33:26 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2018-08-28 15:33:26 +0000

    Revert "media-fonts/cantarell: drop more keywords"
    
    This reverts commit 1d07f16c5dbeea77c8e7cd312a2deac1c6380d9e.
    
    Bug: https://bugs.gentoo.org/656710

 media-fonts/cantarell/cantarell-0.101.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 15 Larry the Git Cow gentoo-dev 2018-08-28 15:59:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47a950b00c6db383ad07502a8fc396ecca98c1ce

commit 47a950b00c6db383ad07502a8fc396ecca98c1ce
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2018-08-28 15:58:57 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2018-08-28 15:58:57 +0000

    media-fonts/cantarell: add missing appstream-glib build dep
    
    During i18n.merge_file() build rule, gettext msgfmt gets called by a meson
    script. This in turn looks for ITS rules on how to merge in translations for
    a given file. appstream-glib provides /usr/share/gettext/its/appdata.loc,
    which tells gettext how to handle *.metainfo.xml files (that in turn points
    at appdata.its, also installed by appstream-glib). If that file isn't present
    at build time, then gettext errors out due to not knowing how to handle
    *.metainfo.xml translation.
    As such, we need appstream-glib at build time here, and in various other
    packages that have a metainfo/appdata translation in meson.
    
    Closes: https://bugs.gentoo.org/656710
    Package-Manager: Portage-2.3.48, Repoman-2.3.10

 media-fonts/cantarell/cantarell-0.101.ebuild | 2 ++
 1 file changed, 2 insertions(+)
Comment 16 Virgil Dupras (RETIRED) gentoo-dev 2018-08-28 17:29:35 UTC
Mart: Sorry about the bogus commit, but to be fair, the fix was proposed more than 30 days ago without a reply from the gnome team.

But yeah, sorry, I forgot to ping you, I don't know why.