Re: [gentoo-dev] [PATCH] multilib.eclass: Include /$(get_libdir) in PKG_CONFIG_SYSTEM_LIBRARY_PATH.

2020-11-23 Thread Sergei Trofimovich
On Mon, 23 Nov 2020 21:55:35 -0500 Mike Gilbert wrote: > From: Arfrever Frehtes Taifersar Arahesis > > Set also PKG_CONFIG_SYSTEM_INCLUDE_PATH for consistency. > > Bug: https://bugs.gentoo.org/756238 > Signed-off-by: Arfrever Frehtes Taifersar Arahesis > --- > eclass/multilib.eclass | 4

Re: [gentoo-dev] Incoming >=sys-libs/timezone-data-2020d[zic-slim] breakage

2020-10-29 Thread Sergei Trofimovich
On Thu, 29 Oct 2020 19:10:00 +0100 Toralf Förster wrote: > On 10/29/20 10:14 AM, Sergei Trofimovich wrote: > >You can enable new default explicitly with USE=zic-slim switch. > > will do it here at the tinderbox Thank you! That will be very useful! -- Sergei

[gentoo-dev] Incoming >=sys-libs/timezone-data-2020d[zic-slim] breakage

2020-10-29 Thread Sergei Trofimovich
Tl;DR: Upstream timezone-data-2020b changed the way /usr/share/zoneinfo files are generated by default. Gentoo does NOT enable this new default to keep existing software running (so far). You can enable new default explicitly with USE=zic-slim switch. Libraries and tools that parse

Re: [gentoo-dev] Trying to use Python3.9 as default for my laptop

2020-10-14 Thread Sergei Trofimovich
On Thu, 15 Oct 2020 00:01:58 +0300 Alexey 'Alexxy' Shvetsov wrote: ... > sys-devel/gdb > > So i wanna ask maintainers of this packages add python3_9 to pytargets (they > builds and works fine for me) or if they dont mind give me a right to do so =) Sure. Go ahead. -- Sergei

Re: [gentoo-dev] net-misc/asterisk fails to compile: clang/LLVM: bug 731280

2020-08-28 Thread Sergei Trofimovich
On Fri, 28 Aug 2020 10:10:02 +0200 Fabian Groffen wrote: > On 28-08-2020 08:52:09 +0100, Sergei Trofimovich wrote: > > On Fri, 28 Aug 2020 07:37:54 +0100 > > Sergei Trofimovich wrote: > > > > > On Fri, 28 Aug 2020 08:15:47 +0200 > > > Jac

Re: [gentoo-dev] net-misc/asterisk fails to compile: clang/LLVM: bug 731280

2020-08-28 Thread Sergei Trofimovich
On Fri, 28 Aug 2020 07:37:54 +0100 Sergei Trofimovich wrote: > On Fri, 28 Aug 2020 08:15:47 +0200 > Jaco Kroon wrote: > > > Hi All, > > > > https://bugs.gentoo.org/731280 > > > > Summary: > > > > This machine uses a clang/LLVM toolchai

Re: [gentoo-dev] net-misc/asterisk fails to compile: clang/LLVM: bug 731280

2020-08-28 Thread Sergei Trofimovich
On Fri, 28 Aug 2020 08:15:47 +0200 Jaco Kroon wrote: > Hi All, > > https://bugs.gentoo.org/731280 > > Summary: > > This machine uses a clang/LLVM toolchain. > Asterisk fails to compile, ./configure fails with: > > checking for RAII support... checking for clang -fblocks... > configure:

Re: [gentoo-dev] xorg-x11 RDEPEND changes without revisions

2020-08-07 Thread Sergei Trofimovich
On Fri, 07 Aug 2020 21:45:48 +0200 Michał Górny wrote: > But I suppose being sarcastic is the new norm and should be documented as > such. I am not sarcastic if it was your implication. -- Sergei

Re: [gentoo-dev] xorg-x11 RDEPEND changes without revisions

2020-08-07 Thread Sergei Trofimovich
On Fri, 7 Aug 2020 14:25:04 -0400 Michael Orlitzky wrote: > When you ignore the devmanual and the pkgcheck warning and the 10+ > threads I've started about the issue, and make changes like... > > --- a/x11-base/xorg-x11/xorg-x11-7.4-r3.ebuild > +++ b/x11-base/xorg-x11/xorg-x11-7.4-r3.ebuild

Re: [gentoo-dev] [PATCH 2/4] dev-haskell/cryptonite: Change USE to cpu_flags_x86_rdrand

2020-07-13 Thread Sergei Trofimovich
On Mon, 13 Jul 2020 19:11:52 +0200 "Francisco Blas Izquierdo Riera (klondike)" wrote: > Package-Manager: Portage-2.3.99, Repoman-2.3.23 > Signed-off-by: Francisco Blas Izquierdo Riera (klondike) > --- >  dev-haskell/cryptonite/cryptonite-0.21.ebuild    | 4 ++-- >  

[gentoo-dev] dev-libs/cloog is up for grabs

2020-07-12 Thread Sergei Trofimovich
dev-libs/cloog used to be maintaned by toolchain@. It's not used by nowadays' gcc and thus dropped to maintainer-needed. Two open bugs: - https://bugs.gentoo.org/595132 - https://bugs.gentoo.org/650304 Feel free to grab! -- Sergei

Re: [gentoo-dev] [PATCH] profiles/package.deprecated: deprecate python:2.7

2020-06-26 Thread Sergei Trofimovich
On Fri, 26 Jun 2020 13:41:13 -0400 Aaron Bauman wrote: > On June 26, 2020 12:47:24 PM EDT, Sergei Trofimovich > wrote: > >On Fri, 26 Jun 2020 11:38:58 +0200 > >Michał Górny wrote: > > > >> On Fri, 2020-06-26 at 09:51 +0100, Sergei Trofimovich wrote: &g

Re: [gentoo-dev] [PATCH] profiles/package.deprecated: deprecate python:2.7

2020-06-26 Thread Sergei Trofimovich
On Fri, 26 Jun 2020 19:17:50 +0200 Michał Górny wrote: > On Fri, 2020-06-26 at 17:47 +0100, Sergei Trofimovich wrote: > > On Fri, 26 Jun 2020 11:38:58 +0200 > > Michał Górny wrote: > > > > > On Fri, 2020-06-26 at 09:51 +0100, Sergei Trofimovich wrote: > &

Re: [gentoo-dev] [PATCH] profiles/package.deprecated: deprecate python:2.7

2020-06-26 Thread Sergei Trofimovich
On Fri, 26 Jun 2020 11:38:58 +0200 Michał Górny wrote: > On Fri, 2020-06-26 at 09:51 +0100, Sergei Trofimovich wrote: > > On Fri, 26 Jun 2020 07:29:45 + > > Michał Górny wrote: > > > > > Dnia June 26, 2020 6:42:57 AM UTC, Sergei Trofimovich > > &g

Re: [gentoo-dev] [PATCH] profiles/package.deprecated: deprecate python:2.7

2020-06-26 Thread Sergei Trofimovich
On Fri, 26 Jun 2020 07:29:45 + Michał Górny wrote: > Dnia June 26, 2020 6:42:57 AM UTC, Sergei Trofimovich > napisał(a): > >On Sat, 20 Jun 2020 16:29:53 +0100 > >Sergei Trofimovich wrote: > > > >> On Sat, 20 Jun 2020 16:05:38 +0200 > >> Michał

Re: [gentoo-dev] [PATCH] profiles/package.deprecated: deprecate python:2.7

2020-06-26 Thread Sergei Trofimovich
On Sat, 20 Jun 2020 16:29:53 +0100 Sergei Trofimovich wrote: > On Sat, 20 Jun 2020 16:05:38 +0200 > Michał Górny wrote: > > > On Sat, 2020-06-20 at 14:57 +0100, Sergei Trofimovich wrote: > > > Give maintainers the chance to act and flag packages that p

Re: [gentoo-dev] [PATCH] unpacker.eclass: call BUILD_AR when unpacking deb files

2020-06-22 Thread Sergei Trofimovich
On Mon, 22 Jun 2020 11:10:55 -0400 Mike Gilbert wrote: > Closes: https://bugs.gentoo.org/722054 > Signed-off-by: Mike Gilbert > --- > eclass/unpacker.eclass | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass > index

Re: [gentoo-dev] [PATCH] profiles/package.deprecated: deprecate python:2.7

2020-06-20 Thread Sergei Trofimovich
On Sat, 20 Jun 2020 16:05:38 +0200 Michał Górny wrote: > On Sat, 2020-06-20 at 14:57 +0100, Sergei Trofimovich wrote: > > Give maintainers the chance to act and flag packages that pull in > > python:2.7. > > > > Signed-off-by: Sergei Trofimovich > > --- >

[gentoo-dev] [PATCH] profiles/package.deprecated: deprecate python:2.7

2020-06-20 Thread Sergei Trofimovich
Give maintainers the chance to act and flag packages that pull in python:2.7. Signed-off-by: Sergei Trofimovich --- profiles/package.deprecated | 4 1 file changed, 4 insertions(+) diff --git a/profiles/package.deprecated b/profiles/package.deprecated index a756e845f47..bb661571962 100644

[gentoo-dev] Re: [gentoo-dev-announce] */*: Mask Py2 only packages

2020-06-20 Thread Sergei Trofimovich
On Sat, 20 Jun 2020 00:43:03 -0400 Aaron Bauman wrote: > # Aaron Bauman (2020-06-20) > # Py2 only > # Removal in 14 days ... > app-misc/golly If you decided to delete a maintained package you should file a bug against the maintainer. Otherwise they won't see the effect until mask hits the

[gentoo-dev] Re: [PATCH 2/2] multilib.eclass: drop amd64 from maintainers

2020-06-14 Thread Sergei Trofimovich
On Sun, 14 Jun 2020 11:57:06 -0400 Mike Gilbert wrote: > Acked-by: Agostino Sarubbo > Signed-off-by: Mike Gilbert > --- > eclass/multilib.eclass | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass > index 29d44768adec..4d1be867f14d 100644 >

[gentoo-dev] Re: [PATCH 1/2] multilib.eclass: use tc-export to simplify multilib_toolchain_setup

2020-06-14 Thread Sergei Trofimovich
On Sun, 14 Jun 2020 11:57:05 -0400 Mike Gilbert wrote: > This also gives a tiny performance boost by reducing the number of > subshells that are forked. > > Signed-off-by: Mike Gilbert > --- > eclass/multilib.eclass | 12 > 1 file changed, 4 insertions(+), 8 deletions(-) > >

[gentoo-dev] [PATCH 2/2] multilib.eclass: populate STRINGS

2020-06-14 Thread Sergei Trofimovich
STRINGS and friends to 'x86_64-pc-linux-gnu-strings' for multilib setup similar to other environment variables. Tested on media-libs/x264 and x11-libs/cairo packages. Signed-off-by: Sergei Trofimovich --- eclass/multilib.eclass | 4 1 file changed, 4 insertions(+) diff --git a/eclass

[gentoo-dev] [PATCH 1/2] toolchain-funcs.eclass: export tc-get*STRINGS helpers

2020-06-14 Thread Sergei Trofimovich
Signed-off-by: Sergei Trofimovich --- eclass/toolchain-funcs.eclass | 8 1 file changed, 8 insertions(+) diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index a88d9a114ff..ec7b920bcfa 100644 --- a/eclass/toolchain-funcs.eclass +++ b/eclass/toolchain

[gentoo-dev] Re: [PATCH v2] meson.eclass: override 'nm' tool with tuple-prefixed one

2020-06-12 Thread Sergei Trofimovich
On Fri, 12 Jun 2020 17:43:10 -0400 Mike Gilbert wrote: > On Fri, Jun 12, 2020 at 5:25 PM Sergei Trofimovich wrote: > > > > x11-libs/libdrm and media-libs/libglvnd fail to find 'nm' > > tool on sys-devel/binutils-config[-native-symlinks] system as: > > `meson.build:4

[gentoo-dev] [PATCH v2] meson.eclass: override 'nm' tool with tuple-prefixed one

2020-06-12 Thread Sergei Trofimovich
' tool along with other binutils tools. CC: William Hubbs CC: Mike Gilbert Closes: https://bugs.gentoo.org/720886 Signed-off-by: Sergei Trofimovich --- eclass/meson.eclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eclass/meson.eclass b/eclass/meson.eclass index e79faa1beea

[gentoo-dev] [PATCH] meson.eclass: override 'nm' tool with tuple-prefixed one

2020-06-12 Thread Sergei Trofimovich
' tool along with other binutils tools. CC: William Hubbs CC: Mike Gilbert Closes: https://bugs.gentoo.org/720886 Signed-off-by: Sergei Trofimovich --- eclass/meson.eclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eclass/meson.eclass b/eclass/meson.eclass index e79faa1beea

Re: [gentoo-dev] cmake-utils.eclass: DEPRECATED notice

2020-06-08 Thread Sergei Trofimovich
On Mon, 8 Jun 2020 03:02:49 -0700 Georgy Yakovlev wrote: > opened a PR to add it to repoman: > > https://github.com/gentoo/portage/pull/554 Thank you! -- Sergei

Re: [gentoo-dev] cmake-utils.eclass: DEPRECATED notice

2020-06-08 Thread Sergei Trofimovich
On Mon, 08 Jun 2020 10:13:24 +0200 Andreas Sturmlechner wrote: > This eclass no longer receives any changes. > Everyone must port to cmake.eclass. We have quite a few ebuilds that still use it: $ git grep -E 'inherit.*cmake-utils' | wc -l 1338 I don't see any warnings reported by

Re: [gentoo-dev] [PATCH 0/2] multilib.eclass: improve multilib handling of pkg-config

2020-06-06 Thread Sergei Trofimovich
On Sat, 6 Jun 2020 15:24:03 -0400 Mike Gilbert wrote: > These patches are part of a larger change to eliminate MULTILIB_USEDEP > from virtual/pkgconfig dependencies in BDEPEND. > > See https://bugs.gentoo.org/723112 and > https://github.com/gentoo/gentoo/pull/16025. > > Mike Gilbert (2): >

Re: [gentoo-dev] [PATCH] kernel-2.eclass: use $(CC) as HOSTCC, bug #725878

2020-06-03 Thread Sergei Trofimovich
n Sat, May 30, 2020 at 5:24 AM Sergei Trofimovich > wrote: > > > Before the change HOSTCC always used gcc. This was > > detected by Agostino on linux-headers package. > > > > After the change HOSTCC uses user-specified CC > > (or BUILD_CC). Tested on nati

[gentoo-dev] [PATCH] kernel-2.eclass: use $(CC) as HOSTCC, bug #725878

2020-05-30 Thread Sergei Trofimovich
/725878 Signed-off-by: Sergei Trofimovich --- eclass/kernel-2.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 930bcf22e29..04edee33930 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -712,6 +712,7

Re: [gentoo-dev] Add more toolchain variables to emerge --info

2020-05-28 Thread Sergei Trofimovich
On Thu, 28 May 2020 14:23:46 +0200 Agostino Sarubbo wrote: > https://bugs.gentoo.org/show_bug.cgi?id=722456 > > What is your opinion? Adding more build-related variables sounds great. -- Sergei

[gentoo-dev] Re: [PATCH] gcc-config: Add option to not install cc/f77 wrappers.

2020-05-26 Thread Sergei Trofimovich
work. Let's try and see how the end result looks like. > Thanks, > Manoj > > On Wed, Mar 11, 2020 at 9:07 AM Manoj Gupta wrote: > > > > > > > On Wed, Mar 11, 2020 at 12:49 AM Sergei Trofimovich > > wrote: > > > >> On Tue, 10 Mar 2020 2

[gentoo-dev] [PATCH v2] kernel-2.eclass: avoid lexicographical compare on versions, bug #705246

2020-05-26 Thread Sergei Trofimovich
Signed-off-by: Sergei Trofimovich --- Change since v1: - fixed syntax around compound conditionals: '[[ foo || ver_test bar ]]' -> '[[ foo ]] || ver_test bar' eclass/kernel-2.eclass | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/kernel-2.eclass b/eclass

Re: [gentoo-dev] [PATCH 1/2] toolchain-funcs.eclass: export tc-get*READELF helpers, bug #725304

2020-05-25 Thread Sergei Trofimovich
On Mon, 25 May 2020 11:30:29 -0400 Mike Gilbert wrote: > On Mon, May 25, 2020 at 9:06 AM Sergei Trofimovich wrote: > > > > Bug: https://bugs.gentoo.org/725304 > > Signed-off-by: Sergei Trofimovich > > Both patches look good to me. > > However, I think you

[gentoo-dev] [PATCH 2/2] multilib.eclass: populate READELF, bug #725304

2020-05-25 Thread Sergei Trofimovich
overrides READELF and friends to 'x86_64-pc-linux-gnu-readelf' for multilib setup similar to other environment variables. Tested on net-libs/gssdp package. Closes: https://bugs.gentoo.org/725304 Signed-off-by: Sergei Trofimovich --- eclass/multilib.eclass | 2 ++ 1 file changed, 2 insertions

[gentoo-dev] [PATCH 1/2] toolchain-funcs.eclass: export tc-get*READELF helpers, bug #725304

2020-05-25 Thread Sergei Trofimovich
Bug: https://bugs.gentoo.org/725304 Signed-off-by: Sergei Trofimovich --- eclass/toolchain-funcs.eclass | 9 + 1 file changed, 9 insertions(+) diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index 1bc6cbbc108..709c3baca53 100644 --- a/eclass/toolchain

Re: [gentoo-dev] New USE=-native-symlinks for gcc-config and binutils-config

2020-05-24 Thread Sergei Trofimovich
On Sun, 24 May 2020 09:40:50 +0800 "Pengcheng Xu" wrote: > > USE=-native-symlinks removes a bunch of links that most packages use by > > default > > until are overridden explicitly. Incomplete list is: > > - /lib/cpp > > - /usr/bin/{gcc,cc,g++,c++,...} > > - /usr/bin/{as,ld,ranlib,dwp,...} > >

Re: [gentoo-dev] New USE=-native-symlinks for gcc-config and binutils-config

2020-05-24 Thread Sergei Trofimovich
On Sat, 23 May 2020 22:41:02 -0400 Mike Gilbert wrote: > On Fri, May 22, 2020 at 5:36 PM Sergei Trofimovich wrote: > > > > 'tc-directly' tracker https://bugs.gentoo.org/243502 tracks > > packages that don't respect users' CC/AR/LD flags. > > > > I added new

Re: [gentoo-dev] New USE=-native-symlinks for gcc-config and binutils-config

2020-05-24 Thread Sergei Trofimovich
On Sat, 23 May 2020 23:40:22 -0700 Matt Turner wrote: > On Sat, May 23, 2020 at 10:21 PM Joonas Niilola wrote: > > > > > > On 5/24/20 5:41 AM, Mike Gilbert wrote: > > > Also, people are likely to disable this accidentally via USE="-*". > > > > Counts as > > > > > if they want to break

Re: [gentoo-dev] [PATCH] linux-info.eclass: avoid lexicographical compare on numbers, bug #705248

2020-05-23 Thread Sergei Trofimovich
On Sat, 23 May 2020 14:56:06 -0400 Mike wrote: > On 5/22/20 2:57 PM, Sergei Trofimovich wrote: > > Originally found in bug #705240 as: > > > > ``` > > error=0 > > ... > > if [[ ${error} > 0 ]]; then > > ... > > ``` > >

[gentoo-dev] Re: [PATCH] multilib.eclass: populate AR and NM in multilib_toolchain_setup(), bug #724558

2020-05-23 Thread Sergei Trofimovich
On Fri, 22 May 2020 23:42:48 +0100 Sergei Trofimovich wrote: > For both multilib and non-multilib profiles binutils provides > tools with native ABI prefix only. For example on amd64 there > is only 'x86_64-pc-linux-gnu-nm' and 'nm'. > > On abi_x86_32 tools are usually configu

Re: [gentoo-dev] New USE=-native-symlinks for gcc-config and binutils-config

2020-05-23 Thread Sergei Trofimovich
On Sat, 23 May 2020 08:05:46 +0200 Michał Górny wrote: > On Fri, 2020-05-22 at 22:36 +0100, Sergei Trofimovich wrote: > > 'tc-directly' tracker https://bugs.gentoo.org/243502 tracks > > packages that don't respect users' CC/AR/LD flags. > > > > I added new USE=-n

[gentoo-dev] [PATCH] multilib.eclass: populate AR and NM in multilib_toolchain_setup(), bug #724558

2020-05-22 Thread Sergei Trofimovich
to 'nm'. The change overrides NM to 'x86_64-pc-linux-gnu-nm' for multilib setup similar to other environment variables. Reported-by: Kent Fredric Closes: https://bugs.gentoo.org/724558 Signed-off-by: Sergei Trofimovich --- eclass/multilib.eclass | 2 ++ 1 file changed, 2 insertions(+) diff --git

[gentoo-dev] New USE=-native-symlinks for gcc-config and binutils-config

2020-05-22 Thread Sergei Trofimovich
'tc-directly' tracker https://bugs.gentoo.org/243502 tracks packages that don't respect users' CC/AR/LD flags. I added new USE=-native-symlinks mode for gcc-config and binutils-config to ease detection of such packages. Native symlinks are still installed by default. Nothing should break for

[gentoo-dev] [PATCH] kernel-2.eclass: avoid lexicographical compare on versions, bug #705246

2020-05-22 Thread Sergei Trofimovich
https://bugs.gentoo.org/705246 Signed-off-by: Sergei Trofimovich --- eclass/kernel-2.eclass | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 07af8d8ab2c..d69182045c5 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.

[gentoo-dev] [PATCH] linux-info.eclass: avoid lexicographical compare on numbers, bug #705248

2020-05-22 Thread Sergei Trofimovich
Originally found in bug #705240 as: ``` error=0 ... if [[ ${error} > 0 ]]; then ... ``` '>' are string comparisons. They are benign in this case, but let's be consistent and use integer comparison. CC: ker...@gentoo.org Closes: https://bugs.gentoo.org/705248 Signed-off-by:

[gentoo-dev] gcc-10 is in ~arch

2020-05-08 Thread Sergei Trofimovich
gcc-10 was released yesterday and was pushed to ::gentoo's ~arch as: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32258c6414a31898ff5592893678a3910d2c5c75 Most of packages should Just Work. But we expect some amount of build- and runtime breakage. Non-exhaustive list of things to

Re: [gentoo-dev] CFLAGS=-fno-common related breakage is incoming

2020-05-02 Thread Sergei Trofimovich
On Sun, 19 Jan 2020 22:36:51 + Sergei Trofimovich wrote: > > What is happening? > > gcc-10 is coming soon. It will be more disruptive than gcc-9. > > One of the major changes is the switch from C{,XX}FLAGS=-fcommon > to C{,XX}FLAGS=-fno-common by default: https:

Re: [gentoo-dev] [PATCH] rebar.eclass: Use := dependency

2020-04-25 Thread Sergei Trofimovich
On Sat, 25 Apr 2020 10:01:50 +0200 Hanno Böck wrote: > All erlang rebar based packages should be rebuilt after a subslot > update of dev-lang/erlang. > > Right now this is done in some ebuilds, but inconsistent. > Given this affects all packages this should be reflected in the > rebar.eclass,

[gentoo-dev] */*: downgrade m68k down to ~m68k

2020-04-21 Thread Sergei Trofimovich
With https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dce3dc0aa1341155a31407122e079632fcd07ca m68k does not have stable keywords in ::gentoo anymore and thus becomes ~arch-only Gentoo target. """ */*: downgrade m68k down to ~m68k m68k and ~m68k trees are inconsistent. Let's drop

[gentoo-dev] Package up for grabs: dev-libs/ppl

2020-04-13 Thread Sergei Trofimovich
Single fresh test failure bug: https://bugs.gentoo.org/717258. commit f054fd75ab013787e2c65438998067de00de04e5 Author: Sergei Trofimovich Date: Mon Apr 13 09:52:03 2020 +0100 dev-libs/ppl: drop toolchain from maintainers gcc's graphite does not use dev-libs/ppl for loop

Re: [gentoo-dev] [PATCH] enable build of gnat compiler in the toolchain eclass

2020-04-03 Thread Sergei Trofimovich
On Fri, 3 Apr 2020 08:25:35 +0200 Tupone Alfredo wrote: > --- > eclass/toolchain.eclass | 25 ++--- > 1 file changed, 22 insertions(+), 3 deletions(-) Looks good! -- Sergei

[gentoo-dev] Re: Changes to toolchain.eclass to better support gnat-gpl ebuild

2020-04-02 Thread Sergei Trofimovich
On Thu, 2 Apr 2020 12:52:13 +0200 Alfredo Tupone wrote: > + # Do not set ADAFLAGS to build the compiler > + unset ADAFLAGS Can you clarify in a comment why it's done? > # Older gcc versions did not detect bash and re-exec itself, so force > the > # use of bash. Newer ones

Re: [gentoo-dev] [PATCH 2/2] multilib.eclass: multilib_env(): set LIBDIR=lib for *-musl*

2020-03-28 Thread Sergei Trofimovich
On Sat, 28 Mar 2020 11:19:29 -0400 Mike Gilbert wrote: > On Sat, Mar 28, 2020 at 5:40 AM Sergei Trofimovich wrote: > > > > In contrast to glibc musl profiles use 'lib' layour for 32-bit > > and 64-bit targets. multilib_env() did not take it into account > > and a

Re: [gentoo-dev] [PATCH 1/2] eclass/tests: add basic tests for multilib_env() expansion

2020-03-28 Thread Sergei Trofimovich
On Sat, 28 Mar 2020 11:17:42 -0400 Mike Gilbert wrote: > > --- /dev/null > > +++ b/eclass/tests/multilib.sh > > @@ -0,0 +1,61 @@ > > +#!/bin/bash > > +# Copyright 1999-2020 Gentoo Foundation > > This should say "Copyright 2020 Gentoo Authors". ... > > +# Pick a few interesting gargets from:

Re: [gentoo-dev] [PATCH] flag-o-matic.eclass: add some missing MIPS CPU errata options to ALLOWED_FLAGS

2020-03-28 Thread Sergei Trofimovich
On Sat, 28 Mar 2020 15:17:12 -0400 Joshua Kinard wrote: > Noticed during a glibc build for MIPS-III ISA that the -mfix-r4000 > and -mfix-r4400 gcc flags got stripped off. These are needed to work > around known CPU errata in R4000 and R4400 CPUs. In addition, also > add the -mfix-rm7000 option

[gentoo-dev] [PATCH 2/2] multilib.eclass: multilib_env(): set LIBDIR=lib for *-musl*

2020-03-28 Thread Sergei Trofimovich
://bugs.gentoo.org/675954 Bug: https://gcc.gnu.org/PR90077 Bug: https://github.com/gentoo/musl/issues/245 Signed-off-by: Sergei Trofimovich --- eclass/multilib.eclass | 13 - eclass/tests/multilib.sh | 4 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/eclass

[gentoo-dev] [PATCH 1/2] eclass/tests: add basic tests for multilib_env() expansion

2020-03-28 Thread Sergei Trofimovich
Signed-off-by: Sergei Trofimovich --- eclass/tests/multilib.sh | 61 1 file changed, 61 insertions(+) create mode 100755 eclass/tests/multilib.sh diff --git a/eclass/tests/multilib.sh b/eclass/tests/multilib.sh new file mode 100755 index 000

Re: [gentoo-dev] [PATCH] toolchain.eclass: fix cygwinports patching

2020-03-16 Thread Sergei Trofimovich
On Mon, 16 Mar 2020 18:41:02 +0100 ha...@gentoo.org wrote: > From: Michael Haubenwallner > > Introduction of tc_apply_patches dropped patch dir, per > commit bd758f25a82460f6e7011314f9fb7923864e9e1e > > Signed-off-by: Michael Haubenwallner > --- > eclass/toolchain.eclass | 8 +++- > 1

[gentoo-dev] Re: [PATCH] gcc-config: Add option to not install cc/f77 wrappers.

2020-03-11 Thread Sergei Trofimovich
On Tue, 10 Mar 2020 20:54:12 -0700 Manoj Gupta wrote: > On Tue, Mar 3, 2020 at 1:17 AM Sergei Trofimovich wrote: > > > On Mon, 2 Mar 2020 19:03:48 -0800 > > Manoj Gupta wrote: > > > > > On Thu, Feb 27, 2020 at 11:20 PM Sergei Trofimovich > > >

[gentoo-dev] Re: [PATCH] profiles: remove USE="cxx" from the base profile

2020-03-09 Thread Sergei Trofimovich
On Mon, 9 Mar 2020 11:25:48 -0400 Mike Gilbert wrote: > This was added back in the days when all toolchain ebuilds had EAPI=0 > and IUSE defaults were not an option. toolchain.eclass now supports > newer EAPIs, and sets IUSE="+cxx". > > Signed-off-by: Mike Gilbert > --- >

Re: [gentoo-dev] [PATCH] ghc-package.eclass: limit the ghc parallel jobs to 64.

2020-03-06 Thread Sergei Trofimovich
On Fri, 6 Mar 2020 16:06:00 +0800 hero...@gentoo.org wrote: > From: Benda Xu > > If ghc spawns too many C compilers, it will exhaust file descripters. I don't think ghc spawns more than 1 parallel gcc per compiled haskell file. I'd expect a small constant overhead of file descriptors per

[gentoo-dev] Re: [PATCH] gcc-config: Add option to not install cc/f77 wrappers.

2020-03-03 Thread Sergei Trofimovich
On Mon, 2 Mar 2020 19:03:48 -0800 Manoj Gupta wrote: > On Thu, Feb 27, 2020 at 11:20 PM Sergei Trofimovich > wrote: > > > On Thu, 27 Feb 2020 at 22:41, Manoj Gupta wrote: > > > > > > > > > > > > On Thu, Feb 27, 2020 at 11:22 AM Manoj Gupt

[gentoo-dev] binutils-2.34 breakage

2020-02-02 Thread Sergei Trofimovich
Yesterday binutils-2.34 / binutils-libs-2.34 landed into gentoo. binutils-2.34 should generally be fine. binutils-libs-2.34 caused a bit of breakage like "undefined reference to bfd_get_section_flags" These are trivial to fix either via conditional patching (API usage is usually tiny) or

[gentoo-dev] CFLAGS=-fno-common related breakage is incoming

2020-01-19 Thread Sergei Trofimovich
> What is happening? gcc-10 is coming soon. It will be more disruptive than gcc-9. One of the major changes is the switch from C{,XX}FLAGS=-fcommon to C{,XX}FLAGS=-fno-common by default: https://gcc.gnu.org/PR85678 It's a planned change and not a gcc regression. It will expose some warts on old

[gentoo-dev] Lexicographical bash comparison mistakes: things to fix

2020-01-12 Thread Sergei Trofimovich
A few ebuilds use bash '[[ ${foo} < ${bar} ]]' comparison to compare numbers and package versions. In bash '<' is for lexicographical string comparison (see man bash 'CONDITIONAL EXPRESSIONS' section). It's almost never what you want: $ [[ 1.2.3 < 1.2.3 ]] && echo yes || echo no no # ok

[gentoo-dev] Re: [PATCH] flag-o-matic.eclass: add LDFLAGS testing against linker

2019-12-25 Thread Sergei Trofimovich
On Mon, 23 Dec 2019 11:50:43 + Sergei Trofimovich wrote: > Before the change we tested only compiler driver (gcc flag parser) > for LDFLAGS. > > This does not cover cases when we would really like to filter out > unsupported linker flags like -Wl,--hash-style=gnu passed to no

Re: [gentoo-dev] Re: stable-bot is down. Temporary? Forever? Can we have a contacts page for it?

2019-12-24 Thread Sergei Trofimovich
On Mon, 7 Oct 2019 22:27:23 +1100 Michael Palimaka wrote: > Sorry for the late reply here. > > On 10/3/19 1:43 AM, Matt Turner wrote: > > On Thu, Sep 26, 2019 at 12:29 AM Sergei Trofimovich > > wrote: > >> > >> I noticed that stab

[gentoo-dev] [PATCH] flag-o-matic.eclass: add LDFLAGS testing against linker

2019-12-23 Thread Sergei Trofimovich
, compilation and linking steps. Helper is used to filter LDFLAGS variable in strip-unsupported-flags(). Closes: https://bugs.gentoo.org/333763 Signed-off-by: Sergei Trofimovich --- eclass/flag-o-matic.eclass | 72 +--- eclass/tests/flag-o-matic.sh | 2 +- 2 files

[gentoo-dev] [PATCH] flag-o-matic.eclass: add LDFLAGS testing against linker

2019-12-23 Thread Sergei Trofimovich
, compilation and linking steps. Helper is used to filter LDFLAGS variable in strip-unsupported-flags(). Closes: https://bugs.gentoo.org/333763 Signed-off-by: Sergei Trofimovich --- eclass/flag-o-matic.eclass | 72 +--- eclass/tests/flag-o-matic.sh | 2 +- 2 files

Re: [gentoo-dev] Needs ideas: Upcoming circular dependency: expat <> CMake

2019-12-18 Thread Sergei Trofimovich
On Wed, 18 Dec 2019 22:02:47 +0100 Sebastian Pipping wrote: > Hi all, > > > I noticed that dev-util/cmake depends on dev-libs/expat and that > libexpat upstream (where I'm involved) is in the process of > dropping GNU Autotools altogether in favor of CMake in the near future, > potentially the

[gentoo-dev] Re: [PATCH] haskell-cabal.eclass: Fix MissingTestRestrict

2019-12-11 Thread Sergei Trofimovich
On Wed, 11 Dec 2019 10:51:36 +0100 Michał Górny wrote: > This fixes 564 cases of MissingTestRestrict. According to md5-cache > inspection, no other changes in metadata occur. > > Signed-off-by: Michał Górny Looks good. > --- > eclass/haskell-cabal.eclass | 3 ++- > 1 file changed, 2

Re: [gentoo-dev] [PATCH v3] mount-boot.eclass: Check if /boot is sane, but don't try to mount it.

2019-12-07 Thread Sergei Trofimovich
On Sat, 07 Dec 2019 06:44:21 +0100 Ulrich Mueller wrote: > >>>>> On Sat, 07 Dec 2019, Sergei Trofimovich wrote: > > >># The user wants us to leave things be. > >> - if [[ -n ${DONT_MOUNT_BOOT} ]] ; then > >> + if [[ -n ${I_KNOW_WHA

Re: [gentoo-dev] [PATCH] cargo.eclass: use verbose cargo invocations

2019-12-07 Thread Sergei Trofimovich
On Fri, 06 Dec 2019 16:16:32 -0800 Georgy Yakovlev wrote: > On Friday, December 6, 2019 3:44:38 PM PST Sergei Trofimovich wrote: > > On Fri, 6 Dec 2019 12:09:31 -0800 > > > > Georgy Yakovlev wrote: > > > Default output just prints crate name. > > >

Re: [gentoo-dev] [PATCH v3] mount-boot.eclass: Check if /boot is sane, but don't try to mount it.

2019-12-06 Thread Sergei Trofimovich
On Fri, 06 Dec 2019 16:35:53 +0100 Ulrich Müller wrote: > # The user wants us to leave things be. > - if [[ -n ${DONT_MOUNT_BOOT} ]] ; then > + if [[ -n ${I_KNOW_WHAT_I_AM_DOING} ]] ; then > return 0 > fi The rest of patch looks ok but I find

Re: [gentoo-dev] [PATCH] cargo.eclass: use verbose cargo invocations

2019-12-06 Thread Sergei Trofimovich
On Fri, 6 Dec 2019 12:09:31 -0800 Georgy Yakovlev wrote: > Default output just prints crate name. > With -vv we can see all cargo options and rustc args. > > Signed-off-by: Georgy Yakovlev > --- Looks good! I had to do an equivalent locally at least a few times. While at it I also suggest

[gentoo-portage-dev] [PATCH] emerge: drop FEATURES=distcc-pump support, bug #702146

2019-12-06 Thread Sergei Trofimovich
builds (`bison`, `flex`, child `./configure` calls from `make`) and thus quite unsafe to use `pump`. This change drops `FEATURES=distcc-pump` and leaves only FEATURES=distcc. This way all the proprocessing happens as expected and only code generation is offloaded. Closes: https://bugs.gentoo.org/702146 Sig

[gentoo-dev] Last rites: sys-apps/nix and sys-apps/guix

2019-11-25 Thread Sergei Trofimovich
# Sergei Trofimovich (2019-11-25) # Mask for removal from main tree into ::nix-guix overlay. # Removal in 30 days. sys-apps/nix sys-apps/guix -- Sergei

Re: [gentoo-dev] [PATCH 0/6] nix and guix GID/UID assignments

2019-11-25 Thread Sergei Trofimovich
On Mon, 25 Nov 2019 21:32:18 +0100 Michał Górny wrote: > On Mon, 2019-11-25 at 20:28 +0000, Sergei Trofimovich wrote: > > On Mon, 25 Nov 2019 17:24:08 +0100 > > David Seifert wrote: > > > > > On Sun, 2019-11-24 at 20:35 +, Sergei Trofimovich wrote: > &

Re: [gentoo-dev] [PATCH 0/6] nix and guix GID/UID assignments

2019-11-25 Thread Sergei Trofimovich
On Mon, 25 Nov 2019 17:24:08 +0100 David Seifert wrote: > On Sun, 2019-11-24 at 20:35 +0000, Sergei Trofimovich wrote: > > On Sun, 24 Nov 2019 17:19:36 +0100 > > Ulrich Mueller wrote: > > > > > > > > > > On Sun, 24 Nov 2019, Sergei Trofimovi

Re: [gentoo-dev] [PATCH 0/6] nix and guix GID/UID assignments

2019-11-24 Thread Sergei Trofimovich
On Sun, 24 Nov 2019 17:19:36 +0100 Ulrich Mueller wrote: > >>>>> On Sun, 24 Nov 2019, Sergei Trofimovich wrote: > > > I interpreted 'reserved' as 'free to use' on > > > > https://wiki.gentoo.org/wiki/Project:Quality_Assurance/UID_GID_Assignment >

Re: [gentoo-dev] [PATCH 0/6] nix and guix GID/UID assignments

2019-11-24 Thread Sergei Trofimovich
On Sun, 24 Nov 2019 13:57:24 +0100 Ulrich Mueller wrote: > >>>>> On Sun, 24 Nov 2019, Sergei Trofimovich wrote: > > > I've effectively reserved space for 1000 users for each of them: > > - 3..30999 > > - 31000..31000 > > and using only 10 of ea

[gentoo-dev] [PATCH 0/6] nix and guix GID/UID assignments

2019-11-24 Thread Sergei Trofimovich
has to give. I've moved guix down to 31000. I've effectively reserved space for 1000 users for each of them: - 3..30999 - 31000..31000 and using only 10 of each. Sergei Trofimovich (6): acct-group/nixbld: new group (GID 3) acct-group/guixbuild: new group (GID 31000) acct-user/nixbld{1

[gentoo-dev] [PATCH 6/6] sys-apps/guix: switch from user.eclass to acct-*/ depends

2019-11-24 Thread Sergei Trofimovich
--- sys-apps/guix/guix-1.0.1-r2.ebuild | 165 + 1 file changed, 165 insertions(+) create mode 100644 sys-apps/guix/guix-1.0.1-r2.ebuild diff --git a/sys-apps/guix/guix-1.0.1-r2.ebuild b/sys-apps/guix/guix-1.0.1-r2.ebuild new file mode 100644 index

[gentoo-dev] [PATCH 5/6] sys-apps/nix: switch from user.eclass to acct-*/ depends

2019-11-24 Thread Sergei Trofimovich
Signed-off-by: Sergei Trofimovich --- sys-apps/nix/nix-2.3.1-r1.ebuild | 145 +++ 1 file changed, 145 insertions(+) create mode 100644 sys-apps/nix/nix-2.3.1-r1.ebuild diff --git a/sys-apps/nix/nix-2.3.1-r1.ebuild b/sys-apps/nix/nix-2.3.1-r1.ebuild new file mode

[gentoo-dev] [PATCH 4/6] acct-user/guixbuilder{1..10}: new user (UID {31001..31010)

2019-11-24 Thread Sergei Trofimovich
Signed-off-by: Sergei Trofimovich --- acct-user/guixbuilder1/guixbuilder1-0.ebuild | 13 + acct-user/guixbuilder1/metadata.xml| 8 acct-user/guixbuilder10/guixbuilder10-0.ebuild | 13 + acct-user/guixbuilder10/metadata.xml | 8

[gentoo-dev] [PATCH 2/6] acct-group/guixbuild: new group (GID 31000)

2019-11-24 Thread Sergei Trofimovich
Signed-off-by: Sergei Trofimovich --- acct-group/guixbuild/guixbuild-0.ebuild | 10 ++ acct-group/guixbuild/metadata.xml | 8 2 files changed, 18 insertions(+) create mode 100644 acct-group/guixbuild/guixbuild-0.ebuild create mode 100644 acct-group/guixbuild

[gentoo-dev] [PATCH 1/6] acct-group/nixbld: new group (GID 30000)

2019-11-24 Thread Sergei Trofimovich
Signed-off-by: Sergei Trofimovich --- acct-group/nixbld/metadata.xml| 8 acct-group/nixbld/nixbld-0.ebuild | 9 + 2 files changed, 17 insertions(+) create mode 100644 acct-group/nixbld/metadata.xml create mode 100644 acct-group/nixbld/nixbld-0.ebuild diff --git a/acct

[gentoo-dev] [PATCH 3/6] acct-user/nixbld{1..10}: new user (UID {30001..30010)

2019-11-24 Thread Sergei Trofimovich
Signed-off-by: Sergei Trofimovich --- acct-user/nixbld1/metadata.xml | 8 acct-user/nixbld1/nixbld1-0.ebuild | 13 + acct-user/nixbld10/metadata.xml | 8 acct-user/nixbld10/nixbld10-0.ebuild | 13 + acct-user/nixbld2/metadata.xml

Re: [gentoo-dev] toolchain.eclass more friendly about ada/gnat

2019-11-23 Thread Sergei Trofimovich
On Sat, 23 Nov 2019 09:16:42 +0100 Alfredo Tupone wrote: > I would like to have comments about the followinf changes. > I "fear" the shopts nullglob a little > > diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass > index a3081c38bac1..aca10b4f37ed 100644 > ---

Re: [gentoo-portage-dev] [PATCH] repoman: add --include-profiles=PROFILES

2019-11-18 Thread Sergei Trofimovich
On Mon, 18 Nov 2019 16:45:58 -0800 Zac Medico wrote: > On 11/18/19 4:21 PM, Sergei Trofimovich wrote: > > repoman slows down ~linearly with amount of profiles being scanned. > > In case of amd64 we have 28 stable profiles. > > > > To speed up processing and fit into

[gentoo-portage-dev] [PATCH] repoman: add --include-profiles=PROFILES

2019-11-18 Thread Sergei Trofimovich
-off-by: Sergei Trofimovich --- repoman/lib/repoman/actions.py | 4 repoman/lib/repoman/argparser.py| 7 +++ repoman/lib/repoman/modules/scan/depend/__init__.py | 3 ++- repoman/lib/repoman/modules/scan/depend/profile.py | 9 +++-- repoman/lib

[gentoo-dev] Re: [PATCH] metadata/install-qa-check.d/08gentoo-paths: add explicit maintainer

2019-11-11 Thread Sergei Trofimovich
On Sun, 3 Nov 2019 22:17:31 + Sergei Trofimovich wrote: > Bugs like bug #670902 get stuck due to unclear maintainership status. > Let's assign it to dev-portage@ as it historicallily lived in portage > source tree and QA does not take it over in bug #670902. >

Re: [gentoo-dev] [PATCH] autotools.eclass: drop outdated sys-devel/gettext blocker

2019-11-10 Thread Sergei Trofimovich
On Fri, 23 Aug 2019 22:46:22 +0200 Thomas Deutschmann wrote: > All > Reported-by: Jory Pratt > Signed-off-by: Thomas Deutschmann > --- > eclass/autotools.eclass | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) I pushed it as:

[gentoo-dev] glibc-2.30 went into the ~arch

2019-11-08 Thread Sergei Trofimovich
A few minutes ago glibc-2.30 got back it's ~arch keywords as: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0fbcff7b24f844b4be7b6f380a3279a46715ece We don't expect too many build failures. Please add new failures to the tracker bug:

Re: [gentoo-dev] rfc: virtual/libcrypt for libcrypt.so implementation

2019-11-07 Thread Sergei Trofimovich
On Thu, 7 Nov 2019 11:52:19 -0800 Patrick McLean wrote: > Given glibc upstream's tentative plans to remove libcrypt [1], I think > we should start working out the kinks well in advance. Toolchain has > already added a package.use.force-ed "crypt" USE flag to > sys-libs/glibc-2.30-r2 [2]. The

Re: [gentoo-dev] Re: [PATCH] Fix tc-cpp-is-true to work with clang

2019-11-06 Thread Sergei Trofimovich
On Mon, 4 Nov 2019 20:18:11 + Sergei Trofimovich wrote: > On Mon, 4 Nov 2019 10:11:20 + > Mattias Nissler wrote: > > > Clang's preprocessor likes to output a leading newline, which makes > > the comparison always fail. GCC generates additional output with c

[gentoo-dev] Re: [PATCH] Fix tc-cpp-is-true to work with clang

2019-11-04 Thread Sergei Trofimovich
On Mon, 4 Nov 2019 10:11:20 + Mattias Nissler wrote: > Clang's preprocessor likes to output a leading newline, which makes > the comparison always fail. GCC generates additional output with certain > flags (e.g. -ggdb3) as well. Hence, switch the test to trigger a > preprocessor error when

  1   2   3   >