commit:     50009b2cff641227887e801d151a06e2b3d537c7
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Dec  1 20:56:22 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Dec  1 20:56:22 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=50009b2c

dev-cpp/folly: porting, help wanted

I's just ported that package as dependency for
https://github.com/mhx/dwarfs

So I wanted help with following error:

Files matching a file type that is not allowed:
   usr/lib/libfolly.so.0.58.0-dev
   usr/lib/libfollybenchmark.so.0.58.0-dev
   usr/lib/libfolly_test_util.so.0.58.0-dev
 * ERROR: dev-cpp/folly-2020.11.30.00::guru failed:
 *   multilib-strict check failed!
 *
 * Call stack:
 *   misc-functions.sh, line 596:  Called install_qa_check
 *   misc-functions.sh, line 132:  Called source 'install_symlink_html_docs'
 *   80multilib-strict, line  46:  Called multilib_strict_check
 *   80multilib-strict, line  42:  Called die
 * The specific snippet of code:
 *              [[ ${abort} == yes ]] && die "multilib-strict check failed!"

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 dev-cpp/folly/Manifest                   |  1 +
 dev-cpp/folly/folly-2020.11.30.00.ebuild | 31 +++++++++++++++++++++++++++++++
 dev-cpp/folly/metadata.xml               | 14 ++++++++++++++
 3 files changed, 46 insertions(+)

diff --git a/dev-cpp/folly/Manifest b/dev-cpp/folly/Manifest
new file mode 100644
index 00000000..1d7a67b9
--- /dev/null
+++ b/dev-cpp/folly/Manifest
@@ -0,0 +1 @@
+DIST folly-2020.11.30.00.tar.gz 3261437 BLAKE2B 
5070819f1f8bac2030e761a8d2330379e8e5ba242d21330b98dcd598cb18e12046a9ad3fb6462f82dbc47c53cf0905c330e707201bfbbedb81f203ef1b30731e
 SHA512 
e7e06bd8c8e38af345d20a04886b4497c4f0c9877263dbcb5a3f2d17c7a3252a2529086a5a04d07c2d3a457ca3930c43672fc4f74b7bdbc2ec0d07abdf1ed425

diff --git a/dev-cpp/folly/folly-2020.11.30.00.ebuild 
b/dev-cpp/folly/folly-2020.11.30.00.ebuild
new file mode 100644
index 00000000..1264dc42
--- /dev/null
+++ b/dev-cpp/folly/folly-2020.11.30.00.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="An open-source C++ library developed and used at Facebook"
+HOMEPAGE="https://github.com/facebook/folly";
+
+SRC_URI="https://github.com/facebook/folly/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="static-libs"
+
+DEPEND="app-arch/lz4
+               app-arch/snappy
+               app-arch/xz-utils
+               app-arch/zstd
+               dev-libs/double-conversion
+               dev-libs/libevent
+               dev-libs/openssl
+               dev-cpp/gflags
+               dev-cpp/glog[gflags]
+               dev-libs/boost[context,threads]
+               sys-libs/binutils-libs
+               sys-libs/zlib
+               sys-devel/binutils:*"
+RDEPEND="${DEPEND}"

diff --git a/dev-cpp/folly/metadata.xml b/dev-cpp/folly/metadata.xml
new file mode 100644
index 00000000..95ea38da
--- /dev/null
+++ b/dev-cpp/folly/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Denis Reva</name>
+               <description>Partial maintainer</description>
+       </maintainer>
+       <longdescription lang="en">
+               Folly (acronymed loosely after Facebook Open Source Library) is 
a library of C++14 components designed with practicality and efficiency in 
mind. Folly contains a variety of core library components used extensively at 
Facebook. In particular, it's often a dependency of Facebook's other open 
source C++ efforts and place where those projects can share code.
+               It complements (as opposed to competing against) offerings such 
as Boost and of course std. In fact, we embark on defining our own component 
only when something we need is either not available, or does not meet the 
needed performance profile. We endeavor to remove things from folly if or when 
std or Boost obsoletes them.
+               Performance concerns permeate much of Folly, sometimes leading 
to designs that are more idiosyncratic than they would otherwise be (see e.g. 
PackedSyncPtr.h, SmallLocks.h). Good performance at large scale is a unifying 
theme in all of Folly.
+       </longdescription>
+</pkgmetadata>

Reply via email to