Re: [gentoo-portage-dev] [PATCH] Mention sourced files syntax

2013-12-02 Thread Mike Frysinger
On Monday 02 December 2013 05:22:06 Brian Dolbec wrote: On Mon, 2013-12-02 at 01:52 -0500, Mike Frysinger wrote: On Sunday 01 December 2013 19:08:26 Alexander Berntsen wrote: I sat down to fix bug #492314, but Sebastian already did. Here's the man update I did for it though. (Couldn't

Re: [gentoo-portage-dev] [PATCH] Mention sourced files syntax

2013-12-01 Thread Mike Frysinger
On Sunday 01 December 2013 19:08:26 Alexander Berntsen wrote: I sat down to fix bug #492314, but Sebastian already did. Here's the man update I did for it though. (Couldn't find anyone with commit rights available on IRC right now, and I'm soon going to bed, so posting here.) looks like Brian

Re: [gentoo-portage-dev] [PATCH] egencache: --write-timestamp to create metadata/timestamp.chk

2013-11-29 Thread Mike Frysinger
On Friday 29 November 2013 08:36:43 sebastianlut...@gmx.de wrote: + f.write(time.strftime(%a, %d %b %Y %H:%M:%S +\n, would be nice to pull that time format out and into the const module. the emerge actions.py file uses it too (twice actually). +

Re: [gentoo-portage-dev] [PATCH 1/2] egencache: --write-timestamp to create metadata/timestamp.chk

2013-11-29 Thread Mike Frysinger
thanks, pushed both -mike signature.asc Description: This is a digitally signed message part.

Re: [gentoo-portage-dev] [PATCH 1/2] Add list of live eclasses to portage.const

2013-11-29 Thread Mike Frysinger
fixed the typo pointed out by Tom and merged. thanks! -mike signature.asc Description: This is a digitally signed message part.

Re: [gentoo-portage-dev] [PATCH] egencache: --write-timestamp to create metadata/timestamp.chk

2013-11-27 Thread Mike Frysinger
On Wednesday 27 November 2013 05:31:17 sebastianlut...@gmx.de wrote: + if options.write_timestamp: + timestamp_path = os.path.join(repo_path, metadata, timestamp.chk) + try: + timestampfile = open(timestamp_path, w) + try:

Re: [gentoo-portage-dev] [PATCH] egencache: --write-timestamp to create metadata/timestamp.chk

2013-11-27 Thread Mike Frysinger
On Wednesday 27 November 2013 16:41:12 Sebastian Luther wrote: Am 27.11.2013 22:20, schrieb Mike Frysinger: use a with block, and merge those writes with open(timestamp_path, 'w') as f: f.write(time.strftime('%a, %d %b %Y %H:%M:%S +\n', time.gmtime())) What if the f.write

Re: [gentoo-portage-dev] Wanted: committer for the portage git repo

2013-11-26 Thread Mike Frysinger
On Tuesday 26 November 2013 04:36:39 Sebastian Luther wrote: since zmedico seems to be unavailable for now, I started to fix some bugs (see below). The problem is that I need someone with commit rights to the portage git repo, with the time to ack and commit my stuff. Does anyone volunteer

Re: [gentoo-portage-dev] Another slot operator fix

2013-11-26 Thread Mike Frysinger
On Tuesday 26 November 2013 15:06:22 sebastianlut...@gmx.de wrote: This first patches fixes: Bug 490362 - dev-libs/icu-51.2-r1 conflicts with dev-tex/bibtexu-3.71_p20120701 The second patch suppresses some debug output from tests from an earlier commit. looks like these two have been

Re: [gentoo-portage-dev] Another slot operator fix

2013-11-26 Thread Mike Frysinger
On Tuesday 26 November 2013 23:25:03 Brian Dolbec wrote: On Tue, 2013-11-26 at 22:27 -0500, Mike Frysinger wrote: On Tuesday 26 November 2013 15:06:22 sebastianlut...@gmx.de wrote: This first patches fixes: Bug 490362 - dev-libs/icu-51.2-r1 conflicts with dev-tex/bibtexu-3.71_p20120701

Re: [gentoo-portage-dev] [PATCH] xattr: centralize the various shims in one place

2013-10-20 Thread Mike Frysinger
On Wednesday 16 October 2013 23:42:26 Arfrever Frehtes Taifersar wrote: 2013-10-17 04:53 Mike Frysinger napisał(a): On Wednesday 16 October 2013 22:51:17 Mike Frysinger wrote: On Wednesday 16 October 2013 20:02:50 Arfrever Frehtes wrote: 2013-10-16 23:03 Mike Frysinger napisał

[gentoo-portage-dev] [PATCH v2] xattr: centralize the various shims in one place

2013-10-20 Thread Mike Frysinger
Rather than each module implementing its own shim around the various methods for accessing extended attributes, start a dedicated module that exports a consistent API. --- v2 - passes unittests w/python 2.6 2.7 3.2 3.3 bin/xattr-helper.py | 11 +-

Re: [gentoo-portage-dev] [PATCH] prepstrip: rewrite in python

2013-10-20 Thread Mike Frysinger
On Thursday 17 October 2013 05:47:49 Alexander Berntsen wrote: pym/portage/bin/prepstrip.py: -You import sys, shlex, _copyxattr and xattr but never use them i've run a linter on the files now -On line 86, I would change the indentation to be i think existing style is correct.

[gentoo-portage-dev] [PATCH] xattr: centralize the various shims in one place

2013-10-16 Thread Mike Frysinger
Rather than each module implementing its own shim around the various methods for accessing extended attributes, start a dedicated module that exports a consistent API. --- bin/xattr-helper.py | 11 +-- pym/portage/util/_xattr.py | 189 +++

Re: [gentoo-portage-dev] [PATCH] xattr: centralize the various shims in one place

2013-10-16 Thread Mike Frysinger
On Wednesday 16 October 2013 20:02:50 Arfrever Frehtes Taifersar Arahesis wrote: 2013-10-16 23:03 Mike Frysinger napisał(a): Rather than each module implementing its own shim around the various methods for accessing extended attributes, start a dedicated module that exports a consistent

Re: [gentoo-portage-dev] [PATCH] xattr: centralize the various shims in one place

2013-10-16 Thread Mike Frysinger
On Wednesday 16 October 2013 22:51:17 Mike Frysinger wrote: On Wednesday 16 October 2013 20:02:50 Arfrever Frehtes Taifersar Arahesis wrote: 2013-10-16 23:03 Mike Frysinger napisał(a): Rather than each module implementing its own shim around the various methods for accessing extended

Re: [gentoo-portage-dev] [PATCH] prepstrip: rewrite in python

2013-10-16 Thread Mike Frysinger
On Wednesday 16 October 2013 19:26:04 Arfrever Frehtes Taifersar Arahesis wrote: 2013-10-16 23:34 Mike Frysinger napisał(a): + raise subprocess.CalledProcessError('command failed (ret=%i): %s' % ( + proc.returncode, ' '.join(map(repr, cmd

Re: [gentoo-portage-dev] [PATCH 3/3] Add CPU model name to output of getportageversion as fifth element

2013-08-24 Thread Mike Frysinger
On Thursday 15 August 2013 04:00:57 Fabian Groffen wrote: e.g. it seems to me only on Linux it gives fancy model output. Note that the first and second system were running a 64-bit Python as well as kernel. output from the uname() syscall/C lib func is bare. the `uname` program in Gentoo

Re: [gentoo-portage-dev] Is portage (/usr)/bin-merge safe?

2013-06-01 Thread Mike Frysinger
On Saturday 01 June 2013 01:36:28 Duncan wrote: As in subject, is portage bin/usr-bin merge safe? portage should be merge safe for all files. it specifically writes it to a temp file and then does a rename so it's an atomic update. otherwise you'd get things like ETXTBSY errors. -mike

[gentoo-portage-dev] [PATCH v2] env-update: change prelink to use /etc/prelink.conf.d/portage.conf

2013-05-12 Thread Mike Frysinger
will conditionally change /etc/prelink.conf to use the new /etc/prelink.conf.d/ too. URL: http://bugs.gentoo.org/266855 Signed-off-by: Mike Frysinger vap...@gentoo.org --- v2 - tweak prelink.conf update style pym/portage/util/env_update.py | 61 ++ 1 file

[gentoo-portage-dev] [PATCH] ebuild: only auto-generate manifest on first pass

2013-04-16 Thread Mike Frysinger
running, have the manifest stage only auto-run with the first command. After that, automatically remove it from FEATURES. Signed-off-by: Mike Frysinger vap...@gentoo.org --- bin/ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/ebuild b/bin/ebuild index 876aaf7..14b1cd4 100755

Re: [gentoo-portage-dev] [PATCH v2] prepman: do not compress files =128 bytes

2013-03-21 Thread Mike Frysinger
On Thursday 21 March 2013 07:51:49 James Cloos wrote: MF == Mike Frysinger vap...@gentoo.org writes: MF +SIZE_LIMIT='128' The limit probably should be larger, given that nothing which fits into one filesystem block will use less space compressed. In many cases a limit of 4096 would

[gentoo-portage-dev] [PATCH] prepman: do not compress files =128 bytes

2013-03-20 Thread Mike Frysinger
The vast majority of these small files do not compress better than their inputs, and they're just .so redirection. Omit compression on them to save disk and cpu and speed things up. URL: http://bugs.gentoo.org/169260 Signed-off-by: Mike Frysinger vap...@gentoo.org --- bin/ebuild-helpers

[gentoo-portage-dev] [PATCH v2] prepman: do not compress files =128 bytes

2013-03-20 Thread Mike Frysinger
The vast majority of these small files do not compress better than their inputs, and they're just .so redirection. Omit compression on them to save disk and cpu and speed things up. URL: http://bugs.gentoo.org/169260 Signed-off-by: Mike Frysinger vap...@gentoo.org --- v2 - fix printf

[gentoo-portage-dev] [PATCH] depgraph: tweak required by message format

2013-02-17 Thread Mike Frysinger
-lang/ruby-1.9.3_p385 =dev-lang/ruby-1.8.7_p371 Signed-off-by: Mike Frysinger vap...@gentoo.org --- pym/_emerge/depgraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index bab1c32..6f7b673 100644 --- a/pym/_emerge

Re: [gentoo-portage-dev] [PATCH] depgraph: tweak required by message format

2013-02-17 Thread Mike Frysinger
On Sunday 17 February 2013 22:18:30 Zac Medico wrote: On 02/17/2013 06:21 PM, Mike Frysinger wrote: The current output format for listing a chain of dependencies produces one long flat line that can be hard to read. For example, if you mask dev-lang/ruby and then try to install dev-ruby

[gentoo-portage-dev] [PATCH 1/2] emerge: add reference to the portage(5) man page when failing

2013-01-15 Thread Mike Frysinger
Q3AEULA Signed-off-by: Mike Frysinger vap...@gentoo.org --- pym/_emerge/depgraph.py | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 96ba871..92e3b1c 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge

[gentoo-portage-dev] [PATCH 2/2] portage(5): add more pointers to make.conf

2013-01-15 Thread Mike Frysinger
Signed-off-by: Mike Frysinger vap...@gentoo.org --- man/portage.5 | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/man/portage.5 b/man/portage.5 index 39ccfb2..4f67233 100644 --- a/man/portage.5 +++ b/man/portage.5 @@ -684,7 +684,8 @@ sys\-libs/glibc glibc.conf .TP

Re: [gentoo-portage-dev] [PATCH] Implement host dependencies and targetroot USE flag

2012-09-24 Thread Mike Frysinger
On Monday 24 September 2012 06:11:01 Ambroz Bizjak wrote: case ${EAPI} in But then, there are two other places in ebuild.sh using case EAPI and they both look exactly like mine. Updated patch changes all of them. WFM, thanks -mike signature.asc Description: This is a digitally signed

Re: [gentoo-portage-dev] blech... (multijob/multiprocessing work-around for cygwin)

2012-09-24 Thread Mike Frysinger
On Monday 24 September 2012 06:25:35 Gregory M. Turner wrote: On cygwin, there is a problem with bi-directional pipe support in bash. I used to solve this with an ugly reversion in portage and an ultra-simple stubbification patch for multiprocessing.eclass (both serialized everything).

[gentoo-portage-dev] [PATCH] use `readlink -f` if it works

2012-09-23 Thread Mike Frysinger
Rather than always re-implementing `readlink -f` in shell, probe the host tool first to see if it works. Signed-off-by: Mike Frysinger vap...@gentoo.org --- bin/misc-functions.sh | 13 + 1 file changed, 13 insertions(+) diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh

[gentoo-portage-dev] [PATCH] drop support for QA_DT_HASH/QA_STRICT_DT_HASH

2012-09-23 Thread Mike Frysinger
These variables have been deprecated in favor of the new variables QA_STRICT_FLAGS_IGNORED/QA_FLAGS_IGNORED, and the tree has been converted over to the new ones, so drop the old vars. Signed-off-by: Mike Frysinger vap...@gentoo.org --- bin/misc-functions.sh | 25 - 1

Re: [gentoo-portage-dev] [PATCH] Implement host dependencies (HDEPEND) and dependencies only in affect when ROOT != / (targetroot flag).

2012-09-23 Thread Mike Frysinger
On Sunday 23 September 2012 22:06:43 Ambroz Bizjak wrote: + case $EAPI in case ${EAPI} in -mike signature.asc Description: This is a digitally signed message part.

Re: [gentoo-portage-dev] [PATCH] drop support for QA_DT_HASH/QA_STRICT_DT_HASH

2012-09-23 Thread Mike Frysinger
On Sunday 23 September 2012 21:39:45 Zac Medico wrote: On 09/23/2012 05:49 PM, Mike Frysinger wrote: These variables have been deprecated in favor of the new variables QA_STRICT_FLAGS_IGNORED/QA_FLAGS_IGNORED, and the tree has been converted over to the new ones, so drop the old vars

[gentoo-portage-dev] [PATCH] egencache: add a standard -j flags for --jobs

2012-08-16 Thread Mike Frysinger
Signed-off-by: Mike Frysinger vap...@gentoo.org --- bin/egencache |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/egencache b/bin/egencache index a75a341..d0c073c 100755 --- a/bin/egencache +++ b/bin/egencache @@ -102,7 +102,7 @@ def parse_args(args

[gentoo-portage-dev] [PATCH 2/2] repoman: handle trailing newlines better

2012-06-12 Thread Mike Frysinger
Automatically strip trailing newlines from the ChangeLog, and be better about not adding them in the first place (still not perfect, but getting there). Signed-off-by: Mike Frysinger vap...@gentoo.org --- pym/portage/tests/repoman/test_echangelog.py |9 + pym/repoman/utilities.py

Re: [gentoo-portage-dev] [PATCH v2] repoman: add a mini framework for checking eclasses, and fill it out

2012-05-30 Thread Mike Frysinger
On Wednesday 30 May 2012 20:18:11 Zac Medico wrote: On 05/25/2012 09:20 AM, Mike Frysinger wrote: On Thursday 24 May 2012 16:04:30 Zac Medico wrote: On 05/24/2012 12:20 PM, Mike Frysinger wrote: Rather than copying pasting the same behavior for the different eclass checks, add a common

Re: [gentoo-portage-dev] [PATCH v2] repoman: add a mini framework for checking eclasses, and fill it out

2012-05-25 Thread Mike Frysinger
On Thursday 24 May 2012 16:04:30 Zac Medico wrote: On 05/24/2012 12:20 PM, Mike Frysinger wrote: Rather than copying pasting the same behavior for the different eclass checks, add a common class for them to extend. This makes adding more eclass checks trivial, and keeps down bitrot

Re: [gentoo-portage-dev] [RFC/PATCH] repoman: unroll escaped lines so we can check the entirety of it

2012-05-24 Thread Mike Frysinger
On Thursday 24 May 2012 00:19:45 Zac Medico wrote: On 05/23/2012 09:06 PM, Mike Frysinger wrote: Sometimes people wrap long lines in their ebuilds to make it easier to read, but this causes us issues when doing line-by-line checking. So automatically unroll those lines before passing

[gentoo-portage-dev] [PATCH v2] repoman: add a mini framework for checking eclasses, and fill it out

2012-05-24 Thread Mike Frysinger
and missing based on the checks. URL: https://bugs.gentoo.org/417159 URL: https://bugs.gentoo.org/417231 Signed-off-by: Mike Frysinger vap...@gentoo.org --- v2 - fix optimization aspects bin/repoman |6 +- pym/repoman/checks.py | 161

[gentoo-portage-dev] [PATCH v3] repoman: unroll escaped lines so we can check the entirety of it

2012-05-24 Thread Mike Frysinger
Sometimes people wrap long lines in their ebuilds to make it easier to read, but this causes us issues when doing line-by-line checking. So automatically unroll those lines before passing the full content down to our checkers. Signed-off-by: Mike Frysinger vap...@gentoo.org --- v3 - use

[gentoo-portage-dev] [PATCH] repoman: add a mini framework for checking eclasses, and fill it out

2012-05-23 Thread Mike Frysinger
and missing based on the checks. URL: https://bugs.gentoo.org/417159 URL: https://bugs.gentoo.org/417231 Signed-off-by: Mike Frysinger vap...@gentoo.org --- bin/repoman |6 +- pym/repoman/checks.py | 143 - pym/repoman/errors.py |1 - 3

Re: [gentoo-portage-dev] [PATCH] repoman: add a mini framework for checking eclasses, and fill it out

2012-05-23 Thread Mike Frysinger
On Wednesday 23 May 2012 15:21:51 Mike Frysinger wrote: + self._inherit_re = re.compile(r'^\s*inherit\s(.*\s)?%s(\s|$)' % in scanning the whole tree, this seems to cause some issues (not new) with extended constructs and not detecting this ebuilds inherits an eclass directly. some

Re: [gentoo-portage-dev] [RFC/PATCH] prepstrip/ecompressdir: parallelize operations

2012-05-14 Thread Mike Frysinger
On Monday 14 May 2012 03:33:58 Michael Haubenwallner wrote: On 05/11/2012 06:39 PM, Mike Frysinger wrote: +multijob_child_init() { + trap 'echo ${BASHPID} $? '${mj_control_fd} EXIT + trap 'exit 1' INT TERM +} Just wondering why $! in parent isn't used anywhere, even not for some

Re: [gentoo-portage-dev] [RFC/PATCH] prepstrip/ecompressdir: parallelize operations

2012-05-14 Thread Mike Frysinger
On Monday 14 May 2012 13:37:40 Mike Frysinger wrote: On Monday 14 May 2012 04:44:12 Zac Medico wrote: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=b4fb a3 e9fa2e285244de491f57700978158c1838 should really fix it to make the code parallel safe rather than disabling

Re: [gentoo-portage-dev] [RFC/PATCH] prepstrip/ecompressdir: parallelize operations

2012-05-14 Thread Mike Frysinger
On Monday 14 May 2012 18:42:07 Zac Medico wrote: On 05/14/2012 01:10 PM, Mike Frysinger wrote: On Monday 14 May 2012 15:08:32 Zac Medico wrote: Actually, the inode_var_name thing will not work unless it's all in one process. hmm, true, but that's the level we currently parallelize

Re: [gentoo-portage-dev] [RFC/PATCH] prepstrip/ecompressdir: parallelize operations

2012-05-11 Thread Mike Frysinger
On Friday 11 May 2012 13:32:46 Zac Medico wrote: On 05/11/2012 09:39 AM, Mike Frysinger wrote: +multijob_finish() { + local ret=0 + while [[ ${mj_num_jobs} -gt 0 ]] ; do + multijob_finish_one + : $(( ret += $? )) + done + # Let bash clean up its internal

[gentoo-portage-dev] [PATCH] portageq: add colormap helper

2012-03-10 Thread Mike Frysinger
Signed-off-by: Mike Frysinger vap...@gentoo.org --- bin/isolated-functions.sh |2 +- bin/portageq |8 pym/portage/output.py |6 ++ pym/portage/package/ebuild/doebuild.py |8 ++-- 4 files changed, 17

Re: [gentoo-portage-dev] [PATCH] portageq: add colormap helper

2012-03-10 Thread Mike Frysinger
On Sunday 11 March 2012 03:09:05 Alec Warner wrote: On Sat, Mar 10, 2012 at 8:15 PM, Mike Frysinger vap...@gentoo.org wrote: --- a/pym/portage/package/ebuild/doebuild.py +++ b/pym/portage/package/ebuild/doebuild.py -from portage.output import style_to_ansi_code +from portage.output

[gentoo-portage-dev] [PATCH] prepstrip: add writable workaround for everyone

2012-01-13 Thread Mike Frysinger
The writable issue shows up when using `ebuild` as non-root users in non-prefix setups. So always do it. Signed-off-by: Mike Frysinger vap...@gentoo.org --- bin/ebuild-helpers/prepstrip |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bin/ebuild-helpers/prepstrip b/bin

Re: [gentoo-portage-dev] [PATCH 2/2] prepstrip: add support for elfutils strip

2011-10-11 Thread Mike Frysinger
On Tuesday 11 October 2011 03:11:03 Fabian Groffen wrote: On 11-10-2011 00:50:54 -0400, Mike Frysinger wrote: If people use strip from the elfutils package, take advantage of some of its neat features (like splitting + stripping in one step). +# See if we're using GNU binutils

[gentoo-portage-dev] [PATCH 1/2] prepstrip: extract buildid with readelf to avoid debugedit when possible

2011-10-10 Thread Mike Frysinger
The readelf utility is much more common than debugedit. Signed-off-by: Mike Frysinger vap...@gentoo.org --- bin/ebuild-helpers/prepstrip | 32 +++- 1 files changed, 23 insertions(+), 9 deletions(-) diff --git a/bin/ebuild-helpers/prepstrip b/bin/ebuild-helpers

[gentoo-portage-dev] [PATCH 2/4] tests: split up getTests into helper funcs to avoid duplication

2011-10-09 Thread Mike Frysinger
This avoids a little duplication between the getTestFromCommandLine and getTests funcs, and they'll get utilized even more in follow up patches. Signed-off-by: Mike Frysinger vap...@gentoo.org --- pym/portage/tests/__init__.py | 37 + 1 files changed, 17

[gentoo-portage-dev] [PATCH 1/4] runtests: make sure we are in the right dir

2011-10-09 Thread Mike Frysinger
The code assumes we're in the top of the tree (when it tries to run with the full path pym/portage/tests/runTests), so try to make sure we are in the right place to allow things like `../runtests.sh` to just work. Signed-off-by: Mike Frysinger vap...@gentoo.org --- runtests.sh |3 +++ 1

Re: [gentoo-portage-dev] [PATCH 1/4] Manifest2 hash: Whirlpool

2011-10-01 Thread Mike Frysinger
On Thursday, September 29, 2011 21:27:39 Robin H. Johnson wrote: Provide public-domain implementation of the Whirlpool hash algorithm to be used as new Manifest2 hash. Signed-off-by: Robin H. Johnson robb...@gentoo.org --- pym/portage/checksum.py |4 +

Re: [gentoo-portage-dev] portage docbook documentation - why not asciidoc ?

2010-11-27 Thread Mike Frysinger
On Saturday, November 27, 2010 16:39:04 Alec Warner wrote: On Sat, Nov 27, 2010 at 6:53 AM, Zac Medico wrote: As it is, I'm fairly comfortable with docbook. Now you want me to learn a new format, with possible drawbacks, in order to try and draw in some contributions that may never happen?

Re: [gentoo-portage-dev] install_qa_check() for hppa64 and ia64-hpux

2009-07-15 Thread Mike Frysinger
On Tuesday 14 July 2009 04:40:14 Michael Haubenwallner wrote: have noticed that the Evaluating misc gcc warnings QA check does not know about hppa64 cpu in bin/misc-functions.sh: alpha*|hppa64*|ia64*|powerpc64*|mips64*|sparc64*|sparcv9*|x86_64*) gentoo_bug=yes ;; esac looks fine to me -- feel

Re: [gentoo-portage-dev] files in ${FILESDIR}

2009-05-05 Thread Mike Frysinger
On Tuesday 05 May 2009 02:26:21 Toha wrote: What about this idea: list all files in ${FILESDIR} (patches, init scripts), related to ebuild in this ebuild like: FLS=( some-init-script ${PN}-patch1.patch ${PN}-${PV}-patch2.patch ... ${PN}-patchN.patch ) then using this files by addressing his

Re: [gentoo-portage-dev] qfile assumes category names contain a hyphen

2009-03-17 Thread Mike Frysinger
On Tuesday 17 March 2009 12:59:58 Ned Ludd wrote: There is also a bug with atom parsing iirc on 32bit platforms. gradm was the test case. Think we need to change from int to long. the code is documented as having 64bit limitations for any specific component. the last release doesnt have the

Re: [gentoo-portage-dev] qfile assumes category names contain a hyphen

2009-03-16 Thread Mike Frysinger
On Monday 16 March 2009 14:35:15 Ned Ludd wrote: On Mon, 2009-03-16 at 18:34 +0200, Amit Dor-Shifer wrote: Hi all. While working on my overlay, I stumbled on an issue where qfile refused to acknowledge an installed file as being part of my package. Looking into q's implementation

Re: [gentoo-portage-dev] qfile assumes category names contain a hyphen

2009-03-16 Thread Mike Frysinger
On Monday 16 March 2009 18:49:04 Ned Ludd wrote: On Mon, 2009-03-16 at 17:05 -0400, Mike Frysinger wrote: On Monday 16 March 2009 14:35:15 Ned Ludd wrote: On Mon, 2009-03-16 at 18:34 +0200, Amit Dor-Shifer wrote: Hi all. While working on my overlay, I stumbled on an issue where

Re: [gentoo-portage-dev] %n in writable segment detected ??

2009-03-14 Thread Mike Frysinger
On Saturday 14 March 2009 12:53:52 Duncan wrote: What's the below %n in writable segment detected bit all about? it has nothing to do with portage and it can be ignored. if you want more info, just search bugzilla and/or google. -mike signature.asc Description: This is a digitally signed

Re: [gentoo-portage-dev] A seemingly bug found when emerging @preserved-rebuild

2008-07-01 Thread Mike Frysinger
On Tuesday 01 July 2008, Marius Mauch wrote: On Wed, 2 Jul 2008 02:41:14 +0800 Is this a bug? or did I miss something here? Thanks for your time! The 'bug' here is that USE=multislot shouldn't exist. not really. the SLOT syntax should be sufficiently flexible, but seeing as it isnt, the

Re: [gentoo-portage-dev] Re: [gentoo-qa] splitting up package.mask

2008-04-19 Thread Mike Frysinger
On Saturday 15 March 2008, Marius Mauch wrote: On Sat, 15 Mar 2008 07:45:19 -0400 Mike Frysinger wrote: i dont see it being any different from an ebuild declaring its own KEYWORDS. if you want to be lazy, then have a magic KEYWORD: +pmask. What's wrong with KEYWORDS= ? (I'm not saying it's

Re: [gentoo-portage-dev] Re: [gentoo-qa] splitting up package.mask

2008-03-15 Thread Mike Frysinger
On Saturday 15 March 2008, Alec Warner wrote: On 3/14/08, Mike Frysinger [EMAIL PROTECTED] wrote: On Friday 14 March 2008, Alec Warner wrote: On 3/14/08, Mike Frysinger [EMAIL PROTECTED] wrote: On Thursday 13 March 2008, Steve Dibb wrote: Because package.mask in CVS for profiles

Re: [gentoo-portage-dev] manual uninstall

2008-02-14 Thread Mike Frysinger
On Thursday 14 February 2008, Lanza Fabrizio wrote: I need to manually uninstall a package (without emerge --unmerge). not supported How do I tell emerge that a package is not installed (even if it is)? (I basically need to force a reinstall, for a catalyst issue.) you unmerge it ... if

Re: [gentoo-portage-dev] IUSE and userland_, elibc_, kernel_, etc.

2007-11-04 Thread Mike Frysinger
On Sunday 04 November 2007, Zac Medico wrote: Fabian Groffen wrote: Just to have it clear and to be sure: On 04-11-2007 03:33:41 +, [EMAIL PROTECTED] wrote: Modified: diffutils-2.8.7-r2.ebuild Log: do *not* include userland_GNU in IUSE (Portage version: 2.1.3.16)

Re: [gentoo-portage-dev] IUSE and userland_, elibc_, kernel_, etc.

2007-11-04 Thread Mike Frysinger
On Sunday 04 November 2007, Andrew Gaffney wrote: Zac Medico wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Frysinger wrote: userland_* and all other profile-expanded USE flags are magical and arent available for user consumption. that is how i view IUSE. it was my

Re: [gentoo-portage-dev] Re: use* cleanup

2007-11-02 Thread Mike Frysinger
On Friday 02 November 2007, Duncan wrote: Mike Frysinger [EMAIL PROTECTED] posted [EMAIL PROTECTED], excerpted below, on Thu, 01 Nov 2007 14:06:13 -0400: On Thursday 01 November 2007, Marijn Schouten (hkBst) wrote: Zlin found yet another bug. Since echo will output a newline my current

Re: [gentoo-portage-dev] use* cleanup

2007-11-01 Thread Mike Frysinger
On Thursday 01 November 2007, Marijn Schouten (hkBst) wrote: Mike Frysinger wrote: On Wednesday 31 October 2007, Marijn Schouten (hkBst) wrote: The immediate motivation of my examining this code was a request on #gentoo-dev-help by lack for something which I could with my new code easily

Re: [gentoo-portage-dev] use* cleanup

2007-10-31 Thread Mike Frysinger
On Wednesday 31 October 2007, Marijn Schouten (hkBst) wrote: I hope this is just an artifact of the patch being a bit opaque. The inconsistent indentation in the patch is a consequence of emacs bash mode using a different indentation style than (I guess) vi(m). I'm sure even in vi you can

Re: [gentoo-portage-dev] use* cleanup

2007-10-30 Thread Mike Frysinger
On Tuesday 30 October 2007, Marijn Schouten (hkBst) wrote: The purpose of this patch is to expose a generic function, namely _use, which can be used to build your own use* variant if you need that. I reimplemented all other current use function using _use (and _if) to cut out duplicate and

Re: [gentoo-portage-dev] Atom matching behavior

2007-03-25 Thread Mike Frysinger
On Sunday 25 March 2007, Thomas de Grenier de Latour wrote: My suggestion is only about dropping the substring-match semantics, to replace it with something more restrictive, and that, it's doable for EAPI=0 if decided now. i'd be on the fence about that ... i feel like some of your examples

Re: [gentoo-portage-dev] Atom matching behavior

2007-03-25 Thread Mike Frysinger
On Sunday 25 March 2007, Thomas de Grenier de Latour wrote: On 2007/03/25, Mike Frysinger [EMAIL PROTECTED] wrote: =app-dicts/aspell-en-0.5* --- app-dicts/aspell-en-0.51.0 app-dicts/aspell-en-0.51.1 you'd have to add more atoms to match 0.51.0, 0.52.1, 0.53.3, etc... Yes

Re: [gentoo-portage-dev] Add a couple new warnings to QA check

2007-03-19 Thread Mike Frysinger
On Monday 19 March 2007, Kevin F. Quinn wrote: To this end it would also be useful if the QA notices were _all_ sent to the elog report; the Files were installed with user/group portage one is, but I don't think any of the others are. add qa to your elog classes and any messages that still

Re: [gentoo-portage-dev] Add a couple new warnings to QA check

2007-03-19 Thread Mike Frysinger
On Monday 19 March 2007, Petteri Räty wrote: Is eqawarn something we can use in eclasses? We have quite a few QA checks in the java eclasses that could potentially make use of this function. If it's not part of the public API we can of course just if it exists and fall back to echo. it isnt

Re: [gentoo-portage-dev] LC_ALL and friends in make.conf

2007-03-08 Thread Mike Frysinger
On Thursday 08 March 2007, Kevin F. Quinn wrote: As we all know, setting LC_ALL and friends can cause all sorts of trouble in package builds. However, many users really appreciate being able to set it so that errors from the compiler etc are in their own language. we've fixed our documents

Re: [gentoo-portage-dev] New preserve-libs feature

2007-02-17 Thread Mike Frysinger
On Saturday 17 February 2007, Simon Stelling wrote: Using preserve-libs it would leave the old lib around, making it possible for programs to link against the wrong version and ending up being vulnerable. generally, this is incorrect the only way you could link against it is if you were to

Re: [gentoo-portage-dev] New preserve-libs feature

2007-02-17 Thread Mike Frysinger
On Saturday 17 February 2007, Brian Harring wrote: On Sat, Feb 17, 2007 at 09:39:58AM -0500, Mike Frysinger wrote: On Saturday 17 February 2007, Brian Harring wrote: Security impact is from a pkg potentially dragging along old libs; if you've got a stable pkg that gets an update once

Re: [gentoo-portage-dev] New preserve-libs feature

2007-02-17 Thread Mike Frysinger
On Saturday 17 February 2007, Brian Harring wrote: On Sat, Feb 17, 2007 at 10:09:35AM -0500, Mike Frysinger wrote: On Saturday 17 February 2007, Brian Harring wrote: (assuming the code knows the appropriate linker args) there is no such thing ... it's always -lfoo The point

Re: [gentoo-portage-dev] Sugestion

2007-02-15 Thread Mike Frysinger
On Friday 16 February 2007, oxi wrote: Surely it has been sugested before, or there are currently plans to implement it. both ... search bugzilla, it's an old bug that's open -mike pgpP1BRI2Z2mL.pgp Description: PGP signature

Re: [gentoo-portage-dev] Sugestion

2007-02-15 Thread Mike Frysinger
On Friday 16 February 2007, [EMAIL PROTECTED] wrote: http://forums.gentoo.org/viewtopic-t-282474.html?sid=3097208b666cf527ce0221 b0b873e2f8 that thread is lame just run: emerge world --deep -u while ! emerge world --deep -u --resume --skipfirst ; do :; done -mike pgp7GHK5NzBto.pgp

[gentoo-portage-dev] allow people to disambiguate built_with_use in upgrade situations

2007-01-16 Thread Mike Frysinger
Diego is proposing a new flag to built_with_use to handle the corner case where you query a package that does not have the requested flag in IUSE built_with_use [--missing action] ... so in the case of version transitions, you can specify the action as either true, false, or die (only current

[gentoo-portage-dev] Re: r4676 - main/trunk/bin

2006-10-13 Thread Mike Frysinger
On Friday 13 October 2006 22:17, Zach Medico wrote: - tar cpvf - ./ | bzip2 -f ${pkg_tmp} || die Failed to create tarball + tar -cf - . | bzip2 -f ${pkg_tmp} || die Failed to create tarball dropping the v is ok but dropping the p is not -mike pgp4dbQp2cZOG.pgp Description: PGP

Re: [gentoo-portage-dev] Re: r4676 - main/trunk/bin

2006-10-13 Thread Mike Frysinger
On Friday 13 October 2006 23:59, Mike Frysinger wrote: On Friday 13 October 2006 22:17, Zach Medico wrote: - tar cpvf - ./ | bzip2 -f ${pkg_tmp} || die Failed to create tarball + tar -cf - . | bzip2 -f ${pkg_tmp} || die Failed to create tarball dropping the v is ok but dropping the p

Re: [gentoo-portage-dev] package.test

2006-08-31 Thread Mike Frysinger
On Thursday 31 August 2006 20:06, Christopher Chan wrote: I have a need to selectively run src_test() for some packages, but do not want to run it for all like FEATURES=test. Has anyone discussed or thought about this? what you actually want is per-package environment variables search

Re: [gentoo-portage-dev] Re: Atom matching behavior

2006-08-02 Thread Mike Frysinger
On Tuesday 01 August 2006 13:19, Brian Harring wrote: On Tue, Aug 01, 2006 at 12:48:05AM -0400, Mike Frysinger wrote: On Monday 31 July 2006 23:57, Drake Wyrm wrote: The question I'm trying to ask is this: =foo-1.2.* should obviously match foo-1.2.3, but should it also match on foo-1.2

Re: [gentoo-portage-dev] Atom matching behavior

2006-08-02 Thread Mike Frysinger
On Tuesday 01 August 2006 02:58, Thomas de Grenier de Latour wrote: - =sys-devel/autoconf-2.1* matches autoconf-2.13 (found in net-proxy/privoxy and dev-tcltk/expect) this is because stupid portage lacks SLOT deps - =sys-devel/autoconf-2.5* matches autoconf-2.59 (found in

Re: [gentoo-portage-dev] Atom matching behavior

2006-08-02 Thread Mike Frysinger
On Tuesday 01 August 2006 15:49, Thomas de Grenier de Latour wrote: - =sys-libs/db-1.8* matches 1.85 (found in net-nds/directoryadministrator) - =app-text/docbook-xsl-stylesheets-1.6* matches 1.68.1 and 1.69.1 (found in media-sound/solfege) these should actually be SLOT deps, but portage

Re: [gentoo-portage-dev] Atom matching behavior

2006-07-31 Thread Mike Frysinger
On Monday 31 July 2006 18:48, Brian Harring wrote: Should be discussed on -dev, not here imo; why ? short term we're gaining functionality: simply add .* if we want to go long term and cut #*, then we can chat on gentoo-dev -mike pgpBV72zPlgkc.pgp Description: PGP signature

Re: [gentoo-portage-dev] Atom matching behavior

2006-07-31 Thread Mike Frysinger
On Monday 31 July 2006 21:37, Drake Wyrm wrote: Mike Frysinger [EMAIL PROTECTED] wrote: On Monday 31 July 2006 18:48, Brian Harring wrote: Should be discussed on -dev, not here imo; why ? short term we're gaining functionality: simply add .* Just making sure that I understand you

[gentoo-portage-dev] making permission/ownership retention consistent

2006-07-05 Thread Mike Frysinger
when merging things from ${D} to ${ROOT}, portage currently will make sure that the permissions in ${D} for files are retained after merging into ${ROOT}, but not for directories for example, consider an ebuild that: - creates dir /usr/share/foo with foo:foo ownership and 777 permissions -

Re: [gentoo-portage-dev] backend support for FEATURES=debug-build (again)

2006-05-16 Thread Mike Frysinger
On Tuesday 09 May 2006 22:43, Mike Frysinger wrote: no one responded last time about this patch so lets try one more time :P backend support for FEATURES=debug-build ... no hooks/hacks/etc... included here to handle a user interface `emerge --debug-build` so i guess no one has any problems

Re: [gentoo-portage-dev] backend support for FEATURES=debug-build (again)

2006-05-13 Thread Mike Frysinger
On Tuesday 09 May 2006 22:43, Mike Frysinger wrote: no one responded last time about this patch so lets try one more time :P backend support for FEATURES=debug-build ... no hooks/hacks/etc... included here to handle a user interface `emerge --debug-build` so do we have anyone against

Re: [gentoo-portage-dev] backend support for FEATURES=debug-build (again)

2006-05-10 Thread Mike Frysinger
On Wednesday 10 May 2006 12:21, Zac Medico wrote: Mike Frysinger wrote: no one responded last time about this patch so lets try one more time :P backend support for FEATURES=debug-build ... no hooks/hacks/etc... included here to handle a user interface `emerge --debug-build` This type

[gentoo-portage-dev] backend support for FEATURES=debug-build (again)

2006-05-09 Thread Mike Frysinger
no one responded last time about this patch so lets try one more time :P backend support for FEATURES=debug-build ... no hooks/hacks/etc... included here to handle a user interface `emerge --debug-build` -mike Index: pym/portage.py

Re: [gentoo-portage-dev] Re: r3200 - main/trunk/bin

2006-04-23 Thread Mike Frysinger
On Monday 24 April 2006 01:09, Alec Warner wrote: Mike Frysinger wrote: On Sunday 23 April 2006 12:36, Alec Warner wrote: Modified: main/trunk/bin/sed Log: Make sed wrapper not executable. why ? it isnt hurting anything to be set executable At present it is not in the pre9 tarball

Re: [gentoo-portage-dev] Outstanding decisions

2006-04-15 Thread Mike Frysinger
On Saturday 15 April 2006 10:51, Simon Stelling wrote: Bug: SRC_URI: spaces not supported http://bugs.gentoo.org/show_bug.cgi?id=102607 Is this a 'NOTABUG' case? personally i'd say not worth the hassle, fix the brain dead URL Bug: gpg: strict incorrectly takes priority over severe

Re: [gentoo-portage-dev] should we add userpriv and usersandox to make.globals FEATURES?

2006-04-10 Thread Mike Frysinger
On Monday 10 April 2006 08:08, Ned Ludd wrote: On Mon, 2006-04-10 at 02:24 -0700, Zac Medico wrote: What do people think about adding userpriv and usersandox to make.globals FEATURES? I've been using these for a long time and haven't had any trouble with them. Are there any arguments

[gentoo-portage-dev] Re: r3046 - main/trunk/pym

2006-04-01 Thread Mike Frysinger
On Saturday 01 April 2006 02:34, Zach Medico wrote: Modified: main/trunk/pym/portage.py Log: Fix ROOT handling for timestamps of lib directories. Only run ldconfig when timestamps have changed (the makelinks flag does not force ldconfig unless timestamps have changed). no, this is still

<    1   2   3   >