[gentoo-portage-dev] libtool and sysroot

2015-02-07 Thread Joakim Tjernlund
X compiling sys-libs/pam with USE=berkdb cracklib will fail as both berkdb and cracklib installs .la files which points to the hosts sysroot AFAIK this problem is caused by libtool not being informed about the new sysroot. Adjusting sys-libs/pam ebuild: --- pam-1.1.8-r2.ebuild.org 2015-02-07

Re: [gentoo-portage-dev] libtool and sysroot

2015-02-07 Thread Joakim Tjernlund
On Sat, 2015-02-07 at 07:53 -0800, Brian Dolbec wrote: On Sat, 7 Feb 2015 12:34:31 + Joakim Tjernlund joakim.tjernl...@transmode.se wrote: X compiling sys-libs/pam with USE=berkdb cracklib will fail as both berkdb and cracklib installs .la files which points to the hosts sysroot

[gentoo-portage-dev] cross-emerge --buildpkg with portage 2.2.17 ?

2015-02-13 Thread Joakim Tjernlund
Either I have forgot to how to build binary pkgs when cross building(via crossdev) or there is a bug in portage. Anyone on this list doing cross builds ? Does --buildpkg work for you? Jocke

Re: [gentoo-portage-dev] custom profiles?

2015-03-14 Thread Joakim Tjernlund
On Sat, 2015-03-14 at 11:57 -0700, Zac Medico wrote: On 03/14/2015 11:41 AM, Joakim Tjernlund wrote: On Sat, 2015-03-14 at 11:08 -0700, Zac Medico wrote: On 03/14/2015 09:12 AM, Joakim Tjernlund wrote: On Wed, 2015-03-11 at 13:43 -0700, Zac Medico wrote: On 03/11/2015 01:16 PM

Re: [gentoo-portage-dev] custom profiles?

2015-03-15 Thread Joakim Tjernlund
On Sat, 2015-03-14 at 14:02 -0700, Zac Medico wrote: On 03/14/2015 12:30 PM, Joakim Tjernlund wrote: On Sat, 2015-03-14 at 11:57 -0700, Zac Medico wrote: On 03/14/2015 11:41 AM, Joakim Tjernlund wrote: On Sat, 2015-03-14 at 11:08 -0700, Zac Medico wrote: On 03/14/2015 09:12 AM

Re: [gentoo-portage-dev] custom profiles?

2015-03-16 Thread Joakim Tjernlund
On Sun, 2015-03-15 at 16:37 +, Joakim Tjernlund wrote: On Sat, 2015-03-14 at 14:02 -0700, Zac Medico wrote: On 03/14/2015 12:30 PM, Joakim Tjernlund wrote: On Sat, 2015-03-14 at 11:57 -0700, Zac Medico wrote: On 03/14/2015 11:41 AM, Joakim Tjernlund wrote: On Sat, 2015-03-14

[gentoo-portage-dev] running ebuild in src tree

2015-03-11 Thread Joakim Tjernlund
When developing code it would be really nice if one could run your ebuild on that src tree as is(no fetch, unpack etc.) Then one can compile, install, build a binary pkg etc. just for test. That way you shorten your development/test cycle, get to partially test your brand new ebuild, don't have

Re: [gentoo-portage-dev] custom profiles?

2015-03-12 Thread Joakim Tjernlund
On Sun, 2015-03-08 at 11:58 -0700, Zac Medico wrote: On 03/08/2015 10:01 AM, Joakim Tjernlund wrote: On Sun, 2015-03-08 at 15:47 +, Joakim Tjernlund wrote: package.use/package.use.force is a bit different though: cat /etc/portage/package.use/qemu app-emulation/qemu vde -alsa

Re: [gentoo-portage-dev] running ebuild in src tree

2015-03-11 Thread Joakim Tjernlund
On Wed, 2015-03-11 at 11:34 -0700, Zac Medico wrote: On 03/11/2015 09:03 AM, Joakim Tjernlund wrote: When developing code it would be really nice if one could run your ebuild on that src tree as is(no fetch, unpack etc.) The existing convention is to create an ebuild with version

Re: [gentoo-portage-dev] running ebuild in src tree

2015-03-11 Thread Joakim Tjernlund
On Wed, 2015-03-11 at 12:03 -0700, Zac Medico wrote: On 03/11/2015 11:56 AM, Joakim Tjernlund wrote: On Wed, 2015-03-11 at 11:34 -0700, Zac Medico wrote: On 03/11/2015 09:03 AM, Joakim Tjernlund wrote: When developing code it would be really nice if one could run your ebuild

Re: [gentoo-portage-dev] custom profiles?

2015-03-11 Thread Joakim Tjernlund
On Wed, 2015-03-11 at 21:02 +, Joakim Tjernlund wrote: On Wed, 2015-03-11 at 13:48 -0700, Zac Medico wrote: On 03/11/2015 01:27 PM, Brian Dolbec wrote: On Wed, 11 Mar 2015 20:16:06 + Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Why is --dynamic-deps=y default

Re: [gentoo-portage-dev] custom profiles?

2015-03-14 Thread Joakim Tjernlund
On Fri, 2015-03-13 at 10:51 -0700, Zac Medico wrote: On 03/13/2015 05:08 AM, Joakim Tjernlund wrote: On Thu, 2015-03-12 at 17:51 -0700, Zac Medico wrote: On 03/12/2015 02:43 PM, Joakim Tjernlund wrote: Why is --dynamic-deps=y default? This feels like lying about

Re: [gentoo-portage-dev] custom profiles?

2015-03-14 Thread Joakim Tjernlund
On Wed, 2015-03-11 at 13:43 -0700, Zac Medico wrote: On 03/11/2015 01:16 PM, Joakim Tjernlund wrote: On Wed, 2015-03-11 at 10:56 -0700, Zac Medico wrote: On 03/11/2015 08:48 AM, Joakim Tjernlund wrote: On Sun, 2015-03-08 at 11:58 -0700, Zac Medico wrote: On 03/08/2015 10:01 AM

Re: [gentoo-portage-dev] custom profiles?

2015-03-14 Thread Joakim Tjernlund
On Sat, 2015-03-14 at 10:58 -0700, Zac Medico wrote: On 03/14/2015 05:55 AM, Joakim Tjernlund wrote: On Fri, 2015-03-13 at 10:51 -0700, Zac Medico wrote: On 03/13/2015 05:08 AM, Joakim Tjernlund wrote: On Thu, 2015-03-12 at 17:51 -0700, Zac Medico wrote: On 03/12/2015 02:43 PM

Re: [gentoo-portage-dev] custom profiles?

2015-03-14 Thread Joakim Tjernlund
On Sat, 2015-03-14 at 11:08 -0700, Zac Medico wrote: On 03/14/2015 09:12 AM, Joakim Tjernlund wrote: On Wed, 2015-03-11 at 13:43 -0700, Zac Medico wrote: On 03/11/2015 01:16 PM, Joakim Tjernlund wrote: On Wed, 2015-03-11 at 10:56 -0700, Zac Medico wrote: On 03/11/2015 08:48 AM

Re: [gentoo-portage-dev] custom profiles?

2015-03-13 Thread Joakim Tjernlund
On Thu, 2015-03-12 at 17:51 -0700, Zac Medico wrote: On 03/12/2015 02:43 PM, Joakim Tjernlund wrote: Why is --dynamic-deps=y default? This feels like lying about your true deps, I am probably missing something here, an example would be great:) It's a legacy

Re: [gentoo-portage-dev] Re: running ebuild in src tree

2015-03-13 Thread Joakim Tjernlund
On Fri, 2015-03-13 at 06:32 +, Duncan wrote: Joakim Tjernlund posted on Thu, 12 Mar 2015 17:26:59 + as excerpted: No, there can be no copy of sources for what I want. It just gets in the way having to do that. ?? Copying to tmpfs is copying to memory, and copying to memory

Re: [gentoo-portage-dev] Re: running ebuild in src tree

2015-03-12 Thread Joakim Tjernlund
On Thu, 2015-03-12 at 01:27 +, Duncan wrote: Zac Medico posted on Wed, 11 Mar 2015 12:03:10 -0700 as excerpted: On 03/11/2015 11:56 AM, Joakim Tjernlund wrote: On Wed, 2015-03-11 at 11:34 -0700, Zac Medico wrote: On 03/11/2015 09:03 AM, Joakim Tjernlund wrote: When developing

[gentoo-portage-dev] ROOT=/usr/src/initramfs emerge -ave busybox cause host rebuilds

2015-03-12 Thread Joakim Tjernlund
ROOT=/usr/src/initramfs emerge -ave busybox givs [ebuild R ] app-arch/xz-utils-5.0.8 USE=nls threads -static-libs [ebuild R ] sys-libs/zlib-1.2.8-r1 USE=-minizip -static-libs [ebuild R ] virtual/libintl-0-r1 [ebuild R ] sys-libs/ncurses-5.9-r3 USE=cxx unicode -ada -debug

Re: [gentoo-portage-dev] custom profiles?

2015-03-13 Thread Joakim Tjernlund
On Thu, 2015-03-12 at 17:51 -0700, Zac Medico wrote: On 03/12/2015 02:43 PM, Joakim Tjernlund wrote: Why is --dynamic-deps=y default? This feels like lying about your true deps, I am probably missing something here, an example would be great:) It's a legacy

Re: [gentoo-portage-dev] custom profiles?

2015-03-12 Thread Joakim Tjernlund
Why is --dynamic-deps=y default? This feels like lying about your true deps, I am probably missing something here, an example would be great:) It's a legacy behavior, since portage has always behaved this way, and ebuild developers have relied upon it (resulting in broken

Re: [gentoo-portage-dev] *eselect move trouble

2015-03-31 Thread Joakim Tjernlund
On Tue, 2015-03-31 at 23:33 +0200, Ulrich Mueller wrote: Unfortunately, it is not possible to do a package move in an atomic way with CVS, so there was some time window where both old app-admin/eselect-* and new app-eselect/eselect-* packages were in the tree simultaneously. It should be

[gentoo-portage-dev] Impl. egetent in user.eclass using script from sys-apps/getent?

2015-03-03 Thread Joakim Tjernlund
I wonder if it would be possible to use the script from sys-apps/getent(included below) to impl. getent instead of using glibc's getent? I cannot see any downside, is there one? This would help a lot(just seed your groups/users is in ROOT/etc/{passwd,group ...} first) when cross building or

[gentoo-portage-dev] emerge -a @preserved-rebuild wants to rebuild dev-java/oracle-jdk-bin-1.8.0.45

2015-04-22 Thread Joakim Tjernlund
emerge -a @preserved-rebuild [ebuild Rf ] dev-java/oracle-jdk-bin-1.8.0.45 but this does not help, how can I see what @preserved-rebuild is looking for? Jocke

Re: [gentoo-portage-dev] emerge -a @preserved-rebuild wants to rebuild dev-java/oracle-jdk-bin-1.8.0.45

2015-04-23 Thread Joakim Tjernlund
On Wed, 2015-04-22 at 18:49 -0700, Zac Medico wrote: On 04/22/2015 04:07 PM, Joakim Tjernlund wrote: emerge -a @preserved-rebuild [ebuild Rf ] dev-java/oracle-jdk-bin-1.8.0.45 but this does not help, how can I see what @preserved-rebuild is looking for? Jocke Probably

Re: [gentoo-portage-dev] emerge -a @preserved-rebuild wants to rebuild dev-java/oracle-jdk-bin-1.8.0.45

2015-04-24 Thread Joakim Tjernlund
On Thu, 2015-04-23 at 18:57 -0700, Zac Medico wrote: On 04/23/2015 04:35 AM, Joakim Tjernlund wrote: On Wed, 2015-04-22 at 18:49 -0700, Zac Medico wrote: On 04/22/2015 04:07 PM, Joakim Tjernlund wrote: emerge -a @preserved-rebuild [ebuild Rf ] dev-java/oracle-jdk-bin-1.8.0.45

Re: [gentoo-portage-dev] repos.conf location w.r.t PORTAGE_CONFIGROOT

2015-05-07 Thread Joakim Tjernlund
On Wed, 2015-05-06 at 22:45 +, Joakim Tjernlund wrote: On Wed, 2015-05-06 at 15:16 -0700, Zac Medico wrote: On 05/06/15 14:57, Joakim Tjernlund wrote: On Wed, 2015-05-06 at 14:36 -0700, Zac Medico wrote: On 05/06/15 14:30, Joakim Tjernlund wrote: On Wed, 2015-05-06 at 13:30

Re: [gentoo-portage-dev] repos.conf location w.r.t PORTAGE_CONFIGROOT

2015-05-08 Thread Joakim Tjernlund
On Thu, 2015-05-07 at 14:09 -0700, Zac Medico wrote: On 05/07/2015 03:51 AM, Joakim Tjernlund wrote: On Wed, 2015-05-06 at 22:45 +, Joakim Tjernlund wrote: On Wed, 2015-05-06 at 15:16 -0700, Zac Medico wrote: On 05/06/15 14:57, Joakim Tjernlund wrote: On Wed, 2015-05-06 at 14:36

[gentoo-portage-dev] repos.conf location w.r.t PORTAGE_CONFIGROOT

2015-05-06 Thread Joakim Tjernlund
I am trying to rebuild an old cross sysroot and I got problems. I cannot make emerge to select my old ebuilds in an overlay over those in /usr/portage. What new is since last time I did this is /etc/portage/repos.conf/ I suspect emerge always reads /etc/portage/repos.conf/ no matter what I set

Re: [gentoo-portage-dev] repos.conf location w.r.t PORTAGE_CONFIGROOT

2015-05-06 Thread Joakim Tjernlund
On Wed, 2015-05-06 at 14:36 -0700, Zac Medico wrote: On 05/06/15 14:30, Joakim Tjernlund wrote: On Wed, 2015-05-06 at 13:30 -0700, Zac Medico wrote: On 05/06/15 13:22, Joakim Tjernlund wrote: On Wed, 2015-05-06 at 12:54 -0700, Zac Medico wrote: On 05/06/15 12:41, Joakim Tjernlund

Re: [gentoo-portage-dev] repos.conf location w.r.t PORTAGE_CONFIGROOT

2015-05-06 Thread Joakim Tjernlund
On Wed, 2015-05-06 at 15:16 -0700, Zac Medico wrote: So, why don't you use the --root-deps option? Just did(and --root-deps=rdeps too) and it didn't work, still wants to use my newer hosts pkgs. :( It shouldn't do that. It sounds like maybe the [gentoo] config

Re: [gentoo-portage-dev] repos.conf location w.r.t PORTAGE_CONFIGROOT

2015-05-06 Thread Joakim Tjernlund
On Wed, 2015-05-06 at 21:57 +, Joakim Tjernlund wrote: On Wed, 2015-05-06 at 14:36 -0700, Zac Medico wrote: On 05/06/15 14:30, Joakim Tjernlund wrote: On Wed, 2015-05-06 at 13:30 -0700, Zac Medico wrote: On 05/06/15 13:22, Joakim Tjernlund wrote: On Wed, 2015-05-06 at 12:54

Re: [gentoo-portage-dev] repos.conf location w.r.t PORTAGE_CONFIGROOT

2015-05-06 Thread Joakim Tjernlund
On Wed, 2015-05-06 at 15:19 -0700, Zac Medico wrote: On 05/06/15 15:09, Joakim Tjernlund wrote: On Wed, 2015-05-06 at 21:57 +, Joakim Tjernlund wrote: On Wed, 2015-05-06 at 14:36 -0700, Zac Medico wrote: On 05/06/15 14:30, Joakim Tjernlund wrote: On Wed, 2015-05-06 at 13:30

Re: [gentoo-portage-dev] repos.conf location w.r.t PORTAGE_CONFIGROOT

2015-05-06 Thread Joakim Tjernlund
On Wed, 2015-05-06 at 12:54 -0700, Zac Medico wrote: On 05/06/15 12:41, Joakim Tjernlund wrote: On Wed, 2015-05-06 at 19:13 +, Joakim Tjernlund wrote: On Wed, 2015-05-06 at 11:37 -0700, Zac Medico wrote: On 05/06/15 09:54, Joakim Tjernlund wrote: I am trying to rebuild an old

Re: [gentoo-portage-dev] repos.conf location w.r.t PORTAGE_CONFIGROOT

2015-05-06 Thread Joakim Tjernlund
On Wed, 2015-05-06 at 13:30 -0700, Zac Medico wrote: On 05/06/15 13:22, Joakim Tjernlund wrote: On Wed, 2015-05-06 at 12:54 -0700, Zac Medico wrote: On 05/06/15 12:41, Joakim Tjernlund wrote: On Wed, 2015-05-06 at 19:13 +, Joakim Tjernlund wrote: On Wed, 2015-05-06 at 11:37

Re: [gentoo-portage-dev] repos.conf location w.r.t PORTAGE_CONFIGROOT

2015-05-06 Thread Joakim Tjernlund
On Wed, 2015-05-06 at 11:37 -0700, Zac Medico wrote: On 05/06/15 09:54, Joakim Tjernlund wrote: I am trying to rebuild an old cross sysroot and I got problems. I cannot make emerge to select my old ebuilds in an overlay over those in /usr/portage. What new is since last time I did

Re: [gentoo-portage-dev] repos.conf location w.r.t PORTAGE_CONFIGROOT

2015-05-06 Thread Joakim Tjernlund
On Wed, 2015-05-06 at 19:13 +, Joakim Tjernlund wrote: On Wed, 2015-05-06 at 11:37 -0700, Zac Medico wrote: On 05/06/15 09:54, Joakim Tjernlund wrote: I am trying to rebuild an old cross sysroot and I got problems. I cannot make emerge to select my old ebuilds in an overlay over those

Re: [gentoo-portage-dev] repos.conf location w.r.t PORTAGE_CONFIGROOT

2015-05-10 Thread Joakim Tjernlund
On Sat, 2015-05-09 at 10:49 -0700, Zac Medico wrote: On 05/09/2015 10:08 AM, Joakim Tjernlund wrote: On Sat, 2015-05-09 at 09:36 -0700, Zac Medico wrote: On 05/09/2015 06:47 AM, Joakim Tjernlund wrote: On Fri, 2015-05-08 at 11:32 -0700, Zac Medico wrote: On 05/07/2015 11:43 PM

Re: [gentoo-portage-dev] repos.conf location w.r.t PORTAGE_CONFIGROOT

2015-05-10 Thread Joakim Tjernlund
On Sun, 2015-05-10 at 11:45 -0700, Zac Medico wrote: On 05/10/2015 04:47 AM, Joakim Tjernlund wrote: However, there may be a another bug in here. Portage is complaining over not being able to load the hosts profile as the hosts is using profile-formats = portage-2 and my CONFIGROOT

Re: [gentoo-portage-dev] repos.conf location w.r.t PORTAGE_CONFIGROOT

2015-05-09 Thread Joakim Tjernlund
On Sat, 2015-05-09 at 09:36 -0700, Zac Medico wrote: On 05/09/2015 06:47 AM, Joakim Tjernlund wrote: On Fri, 2015-05-08 at 11:32 -0700, Zac Medico wrote: On 05/07/2015 11:43 PM, Joakim Tjernlund wrote: On Thu, 2015-05-07 at 14:09 -0700, Zac Medico wrote: On 05/07/2015 03:51 AM

Re: [gentoo-portage-dev] repos.conf location w.r.t PORTAGE_CONFIGROOT

2015-05-09 Thread Joakim Tjernlund
On Fri, 2015-05-08 at 11:32 -0700, Zac Medico wrote: On 05/07/2015 11:43 PM, Joakim Tjernlund wrote: On Thu, 2015-05-07 at 14:09 -0700, Zac Medico wrote: On 05/07/2015 03:51 AM, Joakim Tjernlund wrote: On Wed, 2015-05-06 at 22:45 +, Joakim Tjernlund wrote: On Wed, 2015-05-06

Re: [gentoo-portage-dev] custom profiles?

2015-04-01 Thread Joakim Tjernlund
On Wed, 2015-04-01 at 14:28 -0700, Zac Medico wrote: On 04/01/2015 02:00 PM, Joakim Tjernlund wrote: On Mon, 2015-03-16 at 11:12 -0700, Zac Medico wrote: On 03/16/2015 09:31 AM, Joakim Tjernlund wrote: On Sun, 2015-03-15 at 16:37 +, Joakim Tjernlund wrote: On Sat, 2015-03-14

Re: [gentoo-portage-dev] custom profiles?

2015-04-01 Thread Joakim Tjernlund
On Mon, 2015-03-16 at 11:12 -0700, Zac Medico wrote: On 03/16/2015 09:31 AM, Joakim Tjernlund wrote: On Sun, 2015-03-15 at 16:37 +, Joakim Tjernlund wrote: On Sat, 2015-03-14 at 14:02 -0700, Zac Medico wrote: You can set default USE flags in the profile, and then the users can

Re: [gentoo-portage-dev] Managing etc/* in an embbeded system

2015-07-22 Thread Joakim Tjernlund
On Wed, 2015-07-22 at 08:45 -0700, Brian Dolbec wrote: On Wed, 22 Jul 2015 09:27:36 + Joakim Tjernlund joakim.tjernl...@transmode.se wrote: We got an embedded gentoo system where we need to manage many conf files under /etc that we have modified and should be under our control when

[gentoo-portage-dev] Managing etc/* in an embbeded system

2015-07-22 Thread Joakim Tjernlund
We got an embedded gentoo system where we need to manage many conf files under /etc that we have modified and should be under our control when an SW upgrade is performed. Cloning every ebuild where we have modified its conf file(s) under /etc feels awkward so I am looking for some other way to

Re: [gentoo-portage-dev] @sets and @profile does not work when ROOT=PORTAGE_CONFIGROOT=/my/new/root

2015-10-23 Thread Joakim Tjernlund
On Thu, 2015-10-22 at 11:54 -0700, Zac Medico wrote: > On 10/22/2015 11:29 AM, Joakim Tjernlund wrote: > > On Thu, 2015-10-22 at 08:54 -0700, Zac Medico wrote: > > > On 10/22/2015 12:05 AM, Joakim Tjernlund wrote: > > > > I don't use world_sets, I have in my > >

[gentoo-portage-dev] repos.conf, location, is it an absolute path ?

2015-10-22 Thread Joakim Tjernlund
in any repos.conf there is a location=/path/to/repo is this path absolute or does it follow ROOT or PORTAGE_CONFIG ? I tried to add location=${ROOT}/path/to/repo but emerge would only accept this for the master gentoo repo: [gentoo] location = ${ROOT}/usr/portage .. [tmv3-target-overlay]

Re: [gentoo-portage-dev] @sets and @profile does not work when ROOT=PORTAGE_CONFIGROOT=/my/new/root

2015-10-22 Thread Joakim Tjernlund
On Wed, 2015-10-21 at 21:35 -0700, Zac Medico wrote: > On 10/21/2015 09:47 AM, Joakim Tjernlund wrote: > > I have enabled @sets and @profile in my own profile and if I add > > some pkg to either my new set or @profile in ROOT=PORTAGE_CONFIGROOT=/ > > then emerge -aNDuv world n

[gentoo-portage-dev] cross emerge pulls in my hosts gentoo repo

2015-10-22 Thread Joakim Tjernlund
In my cross sysroot I have: [DEFAULT] main-repo = tm-cusfpv3 [tm-cusfpv3] location = /usr/local/portage/tm-cusfpv3/ masters = priority = 500 auto-sync = no Still "sudo powerpc-g2.20-linux-gnu-emerge -d -ep sys-libs/pam" pulls in my hosts gentoo repo:

Re: [gentoo-portage-dev] @sets and @profile does not work when ROOT=PORTAGE_CONFIGROOT=/my/new/root

2015-10-22 Thread Joakim Tjernlund
On Thu, 2015-10-22 at 08:54 -0700, Zac Medico wrote: > On 10/22/2015 12:05 AM, Joakim Tjernlund wrote: > > I don't use world_sets, I have in my > > profile(/my/new/root/usr/local/portage/tmv3-target-overlay): > > # > cat sets.conf > > [CUSFPv3 sets] > > clas

Re: [gentoo-portage-dev] Re: How to have several gentoo repos on one machine?

2015-10-22 Thread Joakim Tjernlund
On Thu, 2015-10-22 at 11:26 +, Duncan wrote: > Joakim Tjernlund posted on Thu, 22 Oct 2015 06:48:06 + as excerpted: > > > On Thu, 2015-10-22 at 02:29 +, Duncan wrote: > > > Joakim Tjernlund posted on Wed, 21 Oct 2015 11:08:02 + as > > > excerpted:

Re: [gentoo-portage-dev] @sets and @profile does not work when ROOT=PORTAGE_CONFIGROOT=/my/new/root

2015-10-22 Thread Joakim Tjernlund
On Thu, 2015-10-22 at 12:25 -0700, Zac Medico wrote: > On 10/22/2015 12:16 PM, Joakim Tjernlund wrote: > > On Thu, 2015-10-22 at 11:54 -0700, Zac Medico wrote: > > > On 10/22/2015 11:29 AM, Joakim Tjernlund wrote: > > > > On Thu, 2015-10-22 at 08:54 -0700, Zac Medico

Re: [gentoo-portage-dev] cross emerge pulls in my hosts gentoo repo

2015-10-23 Thread Joakim Tjernlund
On Thu, 2015-10-22 at 18:58 -0700, Zac Medico wrote: > On 10/22/2015 12:24 AM, Joakim Tjernlund wrote: > > In my cross sysroot I have: > > [DEFAULT] > > main-repo = tm-cusfpv3 > > > > [tm-cusfpv3] > > location = /usr/local/portage/tm-cusfpv3/ > &g

Re: [gentoo-portage-dev] Re: How to have several gentoo repos on one machine?

2015-10-22 Thread Joakim Tjernlund
On Thu, 2015-10-22 at 02:29 +, Duncan wrote: > Joakim Tjernlund posted on Wed, 21 Oct 2015 11:08:02 + as excerpted: > > > I need to more than one gentoo repo in my computer. > > > > So I add to repos.conf: > > [tm-cusfpv3] > > auto-sync = yes

[gentoo-portage-dev] distfiles in overlays?

2015-11-03 Thread Joakim Tjernlund
Sometimes I have to move files from my layman overlays distfiles to /usr/portage/distfiles in orders to rebuild older stuff not in gentoo anymore. Should not emerge search in distfiles where the ebuild resides? What about eclass? What is the search order here? If I got a customized user.eclass

Re: [gentoo-portage-dev] distfiles in overlays?

2015-11-03 Thread Joakim Tjernlund
On Tue, 2015-11-03 at 13:38 +0100, Michał Górny wrote: > On Tue, 3 Nov 2015 12:29:01 + > Joakim Tjernlund <joakim.tjernl...@transmode.se> wrote: > > > Sometimes I have to move files from my layman overlays distfiles to > > /usr/portage/distfiles > >

[gentoo-portage-dev] !!! You have no world file.

2015-10-16 Thread Joakim Tjernlund
emerge -a --depclean !!! You have no world file. !!! Proceeding is likely to break your installation. >>> Waiting 10 seconds before starting... >>> (Control-C to abort)... >>> Depclean in: 10 9 8 7 6 5 4 3 2 1 Would be nice this warning could be removed, I have an empty world file and everything

Re: [gentoo-portage-dev] !!! You have no world file.

2015-10-20 Thread Joakim Tjernlund
On Tue, 2015-10-20 at 10:52 +0200, Alexander Berntsen wrote: > On 16/10/15 22:25, Zac Medico wrote: > > I think we can drop this warning. It's not like people's world > > files just disappear unexpectedly, so the warning seems unnecessary > > to me. When in doubt, people should use --pretend or

[gentoo-portage-dev] repos config using enviroment?

2015-10-21 Thread Joakim Tjernlund
Now that PORTDIR is deprecated I wonder if there is any other way to add an local overlay to emerge without adding it to /etc/portage/repos.conf ? In crossdev you just specify the local file path to a repo/overlay where to find ebuilds, add cross symlinks etc. but this will not work if not the

[gentoo-portage-dev] How to have several gentoo repos on one machine?

2015-10-21 Thread Joakim Tjernlund
I need to more than one gentoo repo in my computer. So I add to repos.conf: [tm-cusfpv3] auto-sync = yes sync-type = rsync sync-uri = rsync://devsrv.transmode.se/tm-cusfpv3 location = /usr/local/portage/tm-cusfpv3 this did not work as "portageq repositories_configuration /" complains: !!!

[gentoo-portage-dev] Portage questions

2015-09-16 Thread Joakim Tjernlund
1) Is there a way to generate a snapshot of an installed portage VDB and then later compare that snapshot against the current VDB and generate a list of added/updated packages? 2) Currently we generate a tar file with binary pkgs containing all updated pkgs, unpack the tar file and

Re: [gentoo-portage-dev] cat/pkg::x-portage ?

2015-12-01 Thread Joakim Tjernlund
On Tue, 2015-12-01 at 10:44 -0500, Mike Frysinger wrote: > On 24 Nov 2015 15:41, Joakim Tjernlund wrote: > > Emerging on my embedded gentoo ppc target I see this: > >   > >   dev-lang/python-exec-2.0.1-r1::x-portage > >   sys-apps/install-xattr-0.5::x-portage &

[gentoo-portage-dev] emerge getting slower

2015-12-21 Thread Joakim Tjernlund
Lately it feels like emerge has been getting unusual slow to calculate dependencies. I did a strace while emerge was running and noticed a lot of: stat64("/usr/portage/profiles/base/profile.bashrc", {st_mode=S_IFREG|0644, st_size=183, ...}) = 0

Re: [gentoo-portage-dev] emerge getting slower

2015-12-22 Thread Joakim Tjernlund
On Mon, 2015-12-21 at 12:36 -0800, Zac Medico wrote: > On 12/21/2015 12:24 PM, Joakim Tjernlund wrote: > > Lately it feels like emerge has been getting unusual slow to calculate > > dependencies. > > I did a strace while emerge was running and noticed a lot of: > >

Re: [gentoo-portage-dev] Adding sets to @world in custom profile?

2015-11-27 Thread Joakim Tjernlund
On Fri, 2015-11-27 at 00:41 -0800, Zac Medico wrote: > On 11/27/2015 12:24 AM, Joakim Tjernlund wrote: > > On a related note, could not profile-formats = portage-2 profile-set > > become default ? > > For purposes of interoperability, we use PMS to document the standard

Re: [gentoo-portage-dev] Adding sets to @world in custom profile?

2015-11-27 Thread Joakim Tjernlund
On Fri, 2015-11-27 at 13:46 +0100, Michał Górny wrote: > On Fri, 27 Nov 2015 11:45:48 + > Joakim Tjernlund <joakim.tjernl...@infinera.com> wrote: > > > On Fri, 2015-11-27 at 00:41 -0800, Zac Medico wrote: > > > On 11/27/2015 12:24 AM, Joakim Tjernlund wrote:   &g

Re: [gentoo-portage-dev] Adding sets to @world in custom profile?

2015-11-27 Thread Joakim Tjernlund
On Fri, 2015-11-27 at 14:46 +0100, Michał Górny wrote: > On Fri, 27 Nov 2015 13:35:39 + > Joakim Tjernlund <joakim.tjernl...@infinera.com> wrote: > > > On Fri, 2015-11-27 at 13:46 +0100, Michał Górny wrote: > > > On Fri, 27 Nov 2015 11:45:48 + > &g

[gentoo-portage-dev] Adding sets to @world in custom profile?

2015-11-24 Thread Joakim Tjernlund
I have created my own set, @cusfpv3, and now I want to include this set in @world using my custom profile. How can I do that? I can add it in overlay/sets.conf: [CUSFPv3 sets] class = portage.sets.files.StaticFileSet multiset = true directory =

Re: [gentoo-portage-dev] Adding sets to @world in custom profile?

2015-11-27 Thread Joakim Tjernlund
On Thu, 2015-11-26 at 10:47 -0800, Zac Medico wrote: > On 11/24/2015 09:24 AM, Joakim Tjernlund wrote: > > I have created my own set, @cusfpv3, and now I want to > > include this set in @world using my custom profile. > > How can I do that? > > > > I can add it i

Re: [gentoo-portage-dev] Adding sets to @world in custom profile?

2015-11-27 Thread Joakim Tjernlund
On Fri, 2015-11-27 at 09:12 +0100, an unknown sender wrote: > On Thu, 2015-11-26 at 10:47 -0800, Zac Medico wrote: > > On 11/24/2015 09:24 AM, Joakim Tjernlund wrote: > > > I have created my own set, @cusfpv3, and now I want to > > > include this set in @world using m

[gentoo-portage-dev] cat/pkg::x-portage ?

2015-11-24 Thread Joakim Tjernlund
Emerging on my embedded gentoo ppc target I see this:     dev-lang/python-exec-2.0.1-r1::x-portage   sys-apps/install-xattr-0.5::x-portage   sys-libs/timezone-data-2015f::x-portage Where does the name x-portage come from? I do not have a repo named x-portage, it is still named gentoo.  

[gentoo-portage-dev] trying to speed up emerge

2016-02-10 Thread Joakim Tjernlund
emerge -NDuv world takes a log time until it begins to build pks, has been like this for a long time. straced emerge and I see the pattern below repeat over and over again. I figured there is some cache problem but I cannot find out how to fix it. Been running emerge --regen/--metadata and

[gentoo-portage-dev] USE_EXPAND in profiles?

2016-03-30 Thread Joakim Tjernlund
Under /etc/portage/package.use one can add:   sys-libs/ntdb PYTHON_TARGETS: python2_7   net-fs/samba  PYTHON_TARGETS: python2_7 But when I try to transfer this to our custom profile I get --- Invalid USE flag for 'sys-libs/ntdb' in

Re: [gentoo-portage-dev] USE_EXPAND in profiles?

2016-03-30 Thread Joakim Tjernlund
On Thu, 2016-03-31 at 02:26 +1300, Kent Fredric wrote: > On 31 March 2016 at 01:49, Joakim Tjernlund > <joakim.tjernl...@infinera.com> wrote: > > > > > > I am missing something? > > Generally I think that everything possible to do under /etc/portage shoul

Re: [gentoo-portage-dev] [PATCH] grabfile_package: support -* in profile "packages" files (bug 610670)

2017-02-23 Thread Joakim Tjernlund
On Thu, 2017-02-23 at 02:52 -0800, Zac Medico wrote: > Support -* in order to make it easier to create profiles for > minimal systems (especially those built entirely from binary > packages). Would be nice, but I don't get what the "packages" file is? > > X-Gentoo-Bug: 610670 >

Re: [gentoo-portage-dev] [PATCH] grabfile_package: support -* in profile "packages" files (bug 610670)

2017-02-23 Thread Joakim Tjernlund
On Thu, 2017-02-23 at 07:52 -0800, Brian Dolbec wrote: > On Thu, 23 Feb 2017 11:53:15 + > Joakim Tjernlund <joakim.tjernl...@infinera.com> wrote: > > > On Thu, 2017-02-23 at 02:52 -0800, Zac Medico wrote: > > > Support -* in order to make it easier to create prof

[gentoo-portage-dev] repos.conf: suppport for syncing from branch/tag

2017-11-09 Thread Joakim Tjernlund
Hi Portage guys Looking at repos.conf I do not see a way to pull from a particular branch (or tag). Maybe I am missing something or it could be added? Jocke

[gentoo-portage-dev] emerging binary pkgs very slow on ppc32

2018-02-14 Thread Joakim Tjernlund
We got an embedded target which we upded with binary pks(157 in this case) using: PKGDIR=/opt/fs/osappl04a-r30b-1/usr/portage/packages emerge --rebuilt-binaries --verbose --usepkgonly -NDu @world @cusfpv3 and this takes forever, about 1 hour not sure where to start looking for a cause, is this

Re: [gentoo-portage-dev] emerging binary pkgs very slow on ppc32

2018-02-15 Thread Joakim Tjernlund
On Wed, 2018-02-14 at 11:53 -0800, Zac Medico wrote: On 02/14/2018 07:49 AM, Joakim Tjernlund wrote: > We got an embedded target which we upded with binary pks(157 in this case) > using: > PKGDIR=/opt/fs/osappl04a-r30b-1/usr/portage/packages emerge > --rebuilt-binaries --verbose

[gentoo-portage-dev] x32 mode ?

2018-09-07 Thread Joakim Tjernlund
ps uaww| grep emerg root 22140 99.7 2.6 768204 655412 pts/34 R+ 09:22 6:26 /usr/bin/python3.4 -b /usr/lib/python- exec/python3.4/emerge -aNDuv world jocke25434 0.0 0.0 10860 916 pts/22 S+ 09:29 0:00 grep --colour=auto emerg jocke@gentoo-jocke ~ $ sudo strace -p 22140

Re: [gentoo-portage-dev] Avoid stripping ld.so ?

2018-08-31 Thread Joakim Tjernlund
On Thu, 2018-08-30 at 20:12 +0100, Sergei Trofimovich wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > On Thu, 30 Aug 2018 07:37:16 +

Re: [gentoo-portage-dev] Avoid stripping ld.so ?

2018-08-30 Thread Joakim Tjernlund
On Thu, 2018-08-30 at 09:15 +0200, Joakim Tjernlund wrote: > On Wed, 2018-08-29 at 23:58 +0100, Sergei Trofimovich wrote: > > CAUTION: This email originated from outside of the organization. Do not > > click links or open attachments unless you recognize the sender and know

Re: [gentoo-portage-dev] Avoid stripping ld.so ?

2018-08-30 Thread Joakim Tjernlund
On Wed, 2018-08-29 at 23:58 +0100, Sergei Trofimovich wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > On Wed, 29 Aug 2018 20:10:54 +

[gentoo-portage-dev] Avoid stripping ld.so ?

2018-08-29 Thread Joakim Tjernlund
Is there a way for portage to avoid strippning debug syms for ld.so ? I would like to avoid building all of glibc with debug syms. Jocke

[gentoo-portage-dev] portage perfoemance again ...

2018-03-06 Thread Joakim Tjernlund
.. using portage 2.3.24 on our embedded target(ppc329 It takes forever, > 10 mins) to just do the dependencies for emerge -aNDuv world Here is what strace says, one can see portage is rereading the profile over and over again. At this point I am prepared to try anything to eliminate the

Re: [gentoo-portage-dev] [PATCH 3/3] portage.dbapi.vartree: Support exclusions in INSTALL_MASK

2018-03-15 Thread Joakim Tjernlund
On Thu, 2018-03-15 at 17:02 -0400, Alec Warner wrote: > > > On Thu, Mar 15, 2018 at 3:22 PM, Michał Górny wrote: > > Allow INSTALL_MASK patterns to start with '-' to indicate that > > a specific match is to be excluded from being masked. In this case, > > the last matching

Re: [gentoo-portage-dev] [PATCH 3/3] portage.dbapi.vartree: Support exclusions in INSTALL_MASK

2018-03-16 Thread Joakim Tjernlund
 +, użytkownik Joakim > Tjernlund napisał: > > On Thu, 2018-03-15 at 17:02 -0400, Alec Warner wrote: > > > > > > > > > On Thu, Mar 15, 2018 at 3:22 PM, Michał Górny <mgo...@gentoo.org> wrote: > > > > Allow INSTALL_MASK patterns to start with '-

Re: [gentoo-portage-dev] [PATCH 0/3] INSTALL_MASK refurbishing resubmit

2018-03-16 Thread Joakim Tjernlund
On Thu, 2018-03-15 at 20:22 +0100, Michał Górny wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > Hi, > > Here are three of four INSTALL_MASK updates I've

Re: [gentoo-portage-dev] [PATCH 0/3] INSTALL_MASK refurbishing resubmit

2018-03-16 Thread Joakim Tjernlund
On Thu, 2018-03-15 at 22:10 -0700, Zac Medico wrote: > On 03/15/2018 12:22 PM, Michał Górny wrote: > > Hi, > > > > Here are three of four INSTALL_MASK updates I've sent long time ago > > which were not really reviewed. The fourth patch added support > > for repo-defined install-mask.conf and I'll

[gentoo-portage-dev] keepdir function missing when using qmerge to install binary packages

2018-03-14 Thread Joakim Tjernlund
I got an error msg similar to keepdir: function missing using qmerge to install. So this function seem missing and I wonder if that one should be defined/impl. inside the binary packet or if qmerge should provide it? Where can I find a list(and definitions) of functions etc. that the package

[gentoo-portage-dev] EBUILD_PHASE for INSTALL_MASK ?

2018-04-25 Thread Joakim Tjernlund
I have a profile.bashrc which generates INSTALL_MASK dynamically and I want to only run that during "merge"(when INSTALL_MASK is used by portage) but I cannot find a phase which matches. Am I missing something ? Is there some other variable I can use instead? Jocke

Re: [gentoo-portage-dev] [PATCH 0/3] INSTALL_MASK refurbishing resubmit

2018-03-18 Thread Joakim Tjernlund
 +, użytkownik Joakim > Tjernlund napisał: > > On Thu, 2018-03-15 at 20:22 +0100, Michał Górny wrote: > > > CAUTION: This email originated from outside of the organization. Do not > > > click links or open attachments unless you recognize the sender and know >

Re: [gentoo-portage-dev] [PATCH] emerge: add --ignore-world [ y | n ] option (bug 608564)

2018-03-21 Thread Joakim Tjernlund
On Tue, 2018-03-20 at 05:49 +0100, Manuel Rüger wrote: > Hi Zac, > > alternatively could --exclude be extended to support sets? > So users could --exclude @world or @profile. Yes please, I think I have a bug in that direction already(and --exclude during --depclean) > > Cheers, > Manuel > >

Re: [gentoo-portage-dev] [PATCH 0/3] INSTALL_MASK refurbishing resubmit

2018-03-22 Thread Joakim Tjernlund
On Mon, 2018-03-19 at 15:59 -0700, Zac Medico wrote: > On 03/15/2018 12:22 PM, Michał Górny wrote: > > Hi, > > > > Here are three of four INSTALL_MASK updates I've sent long time ago > > which were not really reviewed. The fourth patch added support > > for repo-defined install-mask.conf and I'll

Re: [gentoo-portage-dev] [PATCH 0/3] INSTALL_MASK refurbishing resubmit

2018-03-23 Thread Joakim Tjernlund
 +, użytkownik Joakim > Tjernlund napisał: > > On Mon, 2018-03-19 at 15:59 -0700, Zac Medico wrote: > > > On 03/15/2018 12:22 PM, Michał Górny wrote: > > > > Hi, > > > > > > > > Here are three of four INSTALL_MASK updates I've sent long time ag

Re: [gentoo-portage-dev] [PATCH 0/3] INSTALL_MASK refurbishing resubmit

2018-03-19 Thread Joakim Tjernlund
On Sun, 2018-03-18 at 10:03 +0100, Michał Górny wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > W dniu czw, 15.03.2018 o godzinie 22∶10 -0700, użytkownik Zac

Re: [gentoo-portage-dev] portage user not listed in /etc/shadow ?

2019-01-16 Thread Joakim Tjernlund
On Wed, 2019-01-16 at 12:20 +, M. J. Everitt wrote: > On 16/01/19 11:58, Joakim Tjernlund wrote: > > How come portage isn't in shadow, only in passwd ? > > Seems wrong to me. > > > > Jocke > Because the portage user never logs on .. hence has no password. That s

[gentoo-portage-dev] portage user not listed in /etc/shadow ?

2019-01-16 Thread Joakim Tjernlund
How come portage isn't in shadow, only in passwd ? Seems wrong to me. Jocke

[gentoo-portage-dev] portageq not reading profile.bashrc

2019-11-04 Thread Joakim Tjernlund
I have a profile.bashrc in my profile where I try to set INSTALL_MASK: cat profile.bashrc INSTALL_MASK="${INSTALL_MASK} $(. $(dirname "$*")/etc_file_list)" export INSTALL_MASK echo "profile INSTALL_MASK: ${INSTALL_MASK}" PKG_INSTALL_MASK="${PKG_INSTALL_MASK} ${INSTALL_MASK}" export

Re: [gentoo-portage-dev] portageq not reading profile.bashrc

2019-11-04 Thread Joakim Tjernlund
On Mon, 2019-11-04 at 18:35 +, Joakim Tjernlund wrote: > > I have a profile.bashrc in my profile where I try to set INSTALL_MASK: > > cat profile.bashrc > INSTALL_MASK="${INSTALL_MASK} $(. $(dirname "$*")/etc_file_list)" > export INSTALL_MASK > e

  1   2   >