Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655460 - www-servers/h2o: ninja: error: 'mruby/host/lib/libmruby.a', needed by 'h2o', missing and no known rule to make it
Summary: www-servers/h2o: ninja: error: 'mruby/host/lib/libmruby.a', needed by 'h2o', ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ian Moone
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ninja-porting
  Show dependency tree
 
Reported: 2018-05-11 09:56 UTC by Michał Górny
Modified: 2018-07-04 13:24 UTC (History)
1 user (show)

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


Attachments
www-servers:h2o-2.2.4:20180511-094443.log (www-servers:h2o-2.2.4:20180511-094443.log,5.88 KB, text/plain)
2018-05-11 09:56 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-05-11 09:56:40 UTC
Created attachment 530792 [details]
www-servers:h2o-2.2.4:20180511-094443.log

It fails to build with CMAKE_MAKEFILE_GENERATOR=ninja in make.conf:

>>> Working in BUILD_DIR: "/tmp/portage/www-servers/h2o-2.2.4/work/h2o-2.2.4_build"
ninja -v -j12 -l0
ninja: error: 'mruby/host/lib/libmruby.a', needed by 'h2o', missing and no known rule to make it


From a quick glance, the build system is horrible.  If you can't get upstream to fix it, just force CMAKE_MAKEFILE_GENERATOR=emake in ebuild.
Comment 1 Larry the Git Cow gentoo-dev 2018-07-04 13:24:03 UTC
The bug has been closed via the following commit(s):

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

commit 1237f284593875131e7411d1df52e71ace297d5d
Author:     Akinori Hattori <hattya@gentoo.org>
AuthorDate: 2018-07-04 12:40:27 +0000
Commit:     Akinori Hattori <hattya@gentoo.org>
CommitDate: 2018-07-04 13:23:45 +0000

    www-servers/h2o: build with make
    
    Closes: https://bugs.gentoo.org/655460
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 www-servers/h2o/h2o-2.2.4.ebuild | 2 +-
 www-servers/h2o/h2o-9999.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)