Re: [gentoo-dev] Re: [PATCH 3/5] xdg.eclass: move deps to RDEPEND

2018-10-01 Thread Marty E. Plummer
On Mon, Oct 01, 2018 at 10:08:03AM -0400, Mike Gilbert wrote: > On Mon, Oct 1, 2018 at 9:17 AM James Le Cuirot wrote: > > > > On Mon, 1 Oct 2018 09:00:38 -0400 > > Mike Gilbert wrote: > > > > > > The reason why it is in DEPEND though is that none of these tools > > > > are required at runtime.

[gentoo-dev] Introducing SharkBait: Gentoo GSoC 2018 project to manage Android with Portage

2018-10-01 Thread Pengcheng Xu
Dear all, I'm Pengcheng Xu, one of the participants in Gentoo Google Summer of Code 2018, with Benda (heroxbd) Xu as my mentor. I've been working on the project SharkBait [1] (previously known as Portage-powered Android), which aims to manage the build and update process of Android systems with

[gentoo-dev] libffi-3.3_rc0 is in ~arch

2018-10-01 Thread Sergei Trofimovich
libffi-3.3 is mostly compatible with 3.2.x series. There are a few things to watch out: - SONAME changed to .so.7: libffi ebuilds got SLOT=0/7 You might want to add dependency against that to save a @revdep-rebuild iteration. - There was at least one minor API change in x86_64 supported

Re: [gentoo-dev] RFC: Portage QA check for FHS/Gentoo policy paths, for top-level dirs and /usr/share/doc

2018-10-01 Thread Sergei Trofimovich
On Mon, 1 Oct 2018 13:48:46 -0700 Zac Medico wrote: > On 10/01/2018 01:04 PM, Sergei Trofimovich wrote: > > On Mon, 1 Oct 2018 08:19:29 -0700 > > Zac Medico wrote: > > > >> Hi all, > >> > >> The ~arch version of portage hs a new QA check that reports installation > >> of files outside of

Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: net-libs/libssh2/

2018-10-01 Thread Michał Górny
On Mon, 2018-10-01 at 23:13 +0200, Jeroen Roovers wrote: > On Mon, 01 Oct 2018 17:00:24 +0200 > Michał Górny wrote: > > > On Mon, 2018-10-01 at 11:46 +, Jeroen Roovers wrote: > > > commit: d866d4705e1e4a092579a31df2815e3407950a19 > > > Author: Jeroen Roovers gentoo org> > > >

[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: net-libs/libssh2/

2018-10-01 Thread Jeroen Roovers
OK, let's do a full review of your review. On Mon, 01 Oct 2018 17:00:24 +0200 Michał Górny wrote: > On Mon, 2018-10-01 at 11:46 +, Jeroen Roovers wrote: > > commit: d866d4705e1e4a092579a31df2815e3407950a19 > > Author: Jeroen Roovers gentoo org> > > AuthorDate: Mon Oct 1 11:45:43

Re: [gentoo-dev] RFC: Portage QA check for FHS/Gentoo policy paths, for top-level dirs and /usr/share/doc

2018-10-01 Thread Zac Medico
On 10/01/2018 01:04 PM, Sergei Trofimovich wrote: > On Mon, 1 Oct 2018 08:19:29 -0700 > Zac Medico wrote: > >> Hi all, >> >> The ~arch version of portage hs a new QA check that reports installation >> of files outside of directories that have been whitelisted [1]. The >> current whitelist

Re: [gentoo-dev] RFC: Portage QA check for FHS/Gentoo policy paths, for top-level dirs and /usr/share/doc

2018-10-01 Thread Sergei Trofimovich
On Mon, 1 Oct 2018 08:19:29 -0700 Zac Medico wrote: > Hi all, > > The ~arch version of portage hs a new QA check that reports installation > of files outside of directories that have been whitelisted [1]. The > current whitelist includes: > > directories common to / and /usr >

Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: net-libs/libssh2/

2018-10-01 Thread Michał Górny
On Mon, 2018-10-01 at 21:30 +0200, Jeroen Roovers wrote: > On Mon, 01 Oct 2018 17:00:24 +0200 > Michał Górny wrote: > > > So your src_compile() is now broken for Ninja users, and src_test() > > is broken altogether. How about cmake-multilib eclass? > > DROP > > > IUSE=test is not used at all.

Re: [gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: net-libs/libssh2/

2018-10-01 Thread Michał Górny
On Mon, 2018-10-01 at 21:30 +0200, Jeroen Roovers wrote: > On Mon, 01 Oct 2018 17:00:24 +0200 > Michał Górny wrote: > > > So your src_compile() is now broken for Ninja users, and src_test() > > is broken altogether. How about cmake-multilib eclass? > > DROP > > > IUSE=test is not used at all.

[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: net-libs/libssh2/

2018-10-01 Thread Jeroen Roovers
On Mon, 01 Oct 2018 17:00:24 +0200 Michał Górny wrote: > So your src_compile() is now broken for Ninja users, and src_test() > is broken altogether. How about cmake-multilib eclass? DROP > IUSE=test is not used at all. THAT > By the way, MULTILIB_USEDEP certainly missing here. BLOODY >

Re: [gentoo-dev] RFC: Portage QA check for FHS/Gentoo policy paths, for top-level dirs and /usr/share/doc

2018-10-01 Thread Zac Medico
On 10/01/2018 11:16 AM, Michał Górny wrote: > On Mon, 2018-10-01 at 19:23 +0200, Andreas Sturmlechner wrote: >> On Montag, 1. Oktober 2018 17:48:16 CEST Michał Górny wrote: >>> On Mon, 2018-10-01 at 08:19 -0700, Zac Medico wrote: /usr/share/doc level directories

Re: [gentoo-dev] RFC: Portage QA check for FHS/Gentoo policy paths, for top-level dirs and /usr/share/doc

2018-10-01 Thread Michał Górny
On Mon, 2018-10-01 at 19:23 +0200, Andreas Sturmlechner wrote: > On Montag, 1. Oktober 2018 17:48:16 CEST Michał Górny wrote: > > On Mon, 2018-10-01 at 08:19 -0700, Zac Medico wrote: > > > /usr/share/doc level directories > > > > > > /usr/share/doc/${PF} > > > > >

Re: [gentoo-dev] RFC: Portage QA check for FHS/Gentoo policy paths, for top-level dirs and /usr/share/doc

2018-10-01 Thread Andreas Sturmlechner
On Montag, 1. Oktober 2018 17:48:16 CEST Michał Górny wrote: > On Mon, 2018-10-01 at 08:19 -0700, Zac Medico wrote: > > /usr/share/doc level directories > > > > /usr/share/doc/${PF} > > > > The first bug report [2] is for qt-core, which installs documentation > >

Re: [gentoo-dev] RFC: Portage QA check for FHS/Gentoo policy paths, for top-level dirs and /usr/share/doc

2018-10-01 Thread Zac Medico
On 10/01/2018 08:48 AM, Michał Górny wrote: > On Mon, 2018-10-01 at 08:19 -0700, Zac Medico wrote: >> I have created a patch that will allow ebuilds to whitelist directories >> by setting a QA_INSTALL_PATHS variable [3], however @mgorny said: > > @mgorny was seriously concerned about

Re: [gentoo-dev] RFC: Portage QA check for FHS/Gentoo policy paths, for top-level dirs and /usr/share/doc

2018-10-01 Thread Michał Górny
On Mon, 2018-10-01 at 08:19 -0700, Zac Medico wrote: > Hi all, > > The ~arch version of portage hs a new QA check that reports installation > of files outside of directories that have been whitelisted [1]. The > current whitelist includes: > > directories common to / and /usr >

[gentoo-dev] Re: RFC: Portage QA check for FHS/Gentoo policy paths, for top-level dirs and /usr/share/doc

2018-10-01 Thread Michael Orlitzky
On 10/01/2018 11:19 AM, Zac Medico wrote: > > The first bug report [2] is for qt-core, which installs documentation > into /usr/share/doc/${PN}-${PV} instead of /usr/share/doc/${PF} It would be helpful to know why qtcore installs into the wrong directory in the first place. If ${PF} really

Re: [gentoo-dev] RFC: Portage QA check for FHS/Gentoo policy paths, for top-level dirs and /usr/share/doc

2018-10-01 Thread Mike Gilbert
On Mon, Oct 1, 2018 at 11:19 AM Zac Medico wrote: > > Hi all, > > The ~arch version of portage hs a new QA check that reports installation > of files outside of directories that have been whitelisted [1]. The > current whitelist includes: > > directories common to / and /usr >

[gentoo-dev] RFC: Portage QA check for FHS/Gentoo policy paths, for top-level dirs and /usr/share/doc

2018-10-01 Thread Zac Medico
Hi all, The ~arch version of portage hs a new QA check that reports installation of files outside of directories that have been whitelisted [1]. The current whitelist includes: directories common to / and /usr bin lib lib32 lib64 libx32 sbin top level

Re: [gentoo-dev] Re: [PATCH 3/5] xdg.eclass: move deps to RDEPEND

2018-10-01 Thread Mike Gilbert
On Mon, Oct 1, 2018 at 9:17 AM James Le Cuirot wrote: > > On Mon, 1 Oct 2018 09:00:38 -0400 > Mike Gilbert wrote: > > > > The reason why it is in DEPEND though is that none of these tools > > > are required at runtime. They are needed at postinst and postrm > > > stages which afaik makes them

Re: [gentoo-dev] Re: [PATCH 3/5] xdg.eclass: move deps to RDEPEND

2018-10-01 Thread James Le Cuirot
On Mon, 1 Oct 2018 09:00:38 -0400 Mike Gilbert wrote: > > The reason why it is in DEPEND though is that none of these tools > > are required at runtime. They are needed at postinst and postrm > > stages which afaik makes them DEPEND on EAPI previous to EAPI 7 and > > BDEPEND in EAPI 7 if I'm not

[gentoo-dev] Re: [PATCH 3/5] xdg.eclass: move deps to RDEPEND

2018-10-01 Thread Mike Gilbert
On Mon, Oct 1, 2018 at 8:27 AM Gilles Dartiguelongue wrote: > > Le lundi 01 octobre 2018 à 07:40 +0200, Rémi Cardona a écrit : > > Le 01/10/2018 à 00:50, Mike Gilbert a écrit : > > > update-desktop-database and update-mime-database are called from > > > ROOT in > > > pkg functions, so the related

[gentoo-dev] Re: [PATCH 3/5] xdg.eclass: move deps to RDEPEND

2018-10-01 Thread Gilles Dartiguelongue
Le lundi 01 octobre 2018 à 07:40 +0200, Rémi Cardona a écrit : > Le 01/10/2018 à 00:50, Mike Gilbert a écrit : > > update-desktop-database and update-mime-database are called from > > ROOT in > > pkg functions, so the related dependenices belong in RDEPEND. > > > > Signed-off-by: Mike Gilbert >

[gentoo-dev] [PATCH 2/2] profiles: mask module signing for testing

2018-10-01 Thread Georgy Yakovlev
Signed-off-by: Georgy Yakovlev --- profiles/base/use.mask | 4 1 file changed, 4 insertions(+) diff --git a/profiles/base/use.mask b/profiles/base/use.mask index 6082a468925..374cdbe85fe 100644 --- a/profiles/base/use.mask +++ b/profiles/base/use.mask @@ -4,6 +4,10 @@ # This file is only

[gentoo-dev] [PATCH 1/2] eclass/linux-mod.eclass: add module signing support

2018-10-01 Thread Georgy Yakovlev
This commit adds some eclass variables and private functions and a new global useflag. Example config, part of make.conf USE="... module-sign ..." KERNEL_MODULE_SIG_KEY="/secure/location/kernel.pem" And possible kernel options: CONFIG_MODULE_SIG=y CONFIG_MODULE_SIG_FORCE=y

Re: [gentoo-portage-dev] [PATCH] Support QA{,_STRICT}_INSTALL_PATHS variables (bug 667378)

2018-10-01 Thread Michał Górny
On Sun, 2018-09-30 at 22:45 -0700, Zac Medico wrote: > The QA_INSTALL_PATHS variable exempts paths from "unexpected paths" > warnings generated by install-qa-check.d/08gentoo-paths. This is > useful for QT packages that are expected to install a directory > named /usr/share/doc/${PN}-${VERSION}

Re: [gentoo-dev] [PATCH 5/5] xdg.eclass: support EAPI 7

2018-10-01 Thread Ulrich Mueller
> On Mon, 01 Oct 2018, Mike Gilbert wrote: > @@ -15,7 +15,7 @@ > inherit xdg-utils > case "${EAPI:-0}" in This was there before your change, but the ":-0" isn't needed here ... > - 4|5|6) > + 4|5|6|7) > EXPORT_FUNCTIONS src_prepare pkg_preinst pkg_postinst