[gentoo-dev] Re: Last rites: user.eclass

2022-10-19 Thread Martin Vaeth
Mike Gilbert wrote: > On Wed, Oct 19, 2022 at 3:08 PM Martin Vaeth wrote: >> >> Mike Gilbert wrote: >> > user.eclass [...] >> >> It is needed for ebuilds in non-gentoo repositories which cannot >> reserve a fixed number for users and groups. > >

[gentoo-dev] Re: Last rites: user.eclass

2022-10-19 Thread Martin Vaeth
Mike Gilbert wrote: > user.eclass has been deprecated for two years. In the gentoo repo, it > is currently only used by acct-group.eclass and acct-user.eclass It is needed for ebuilds in non-gentoo repositories which cannot reserve a fixed number for users and groups.

[gentoo-dev] Re: Please port your packages to Python 3.8

2020-09-05 Thread Martin Vaeth
Martin Vaeth wrote: > >> Even if I believe in a metadata angel and if we pretend that the PMS >> requires the metadata to be there, then rebuilding whenever metadata >> changes is still not 100% correct (as you point out), because it often >> rebuilds pointlessly. But t

[gentoo-dev] Re: Please port your packages to Python 3.8

2020-09-04 Thread Martin Vaeth
u have to set up quite a bit for that (updating metadata is only one of several steps which you have to do manually in that case). A collection of scripts which do the missing steps is https://github.com/vaeth/portage-postsyncd-mv though I do not know whether they still work. Indeed (as probably

[gentoo-dev] Re: Please port your packages to Python 3.8

2020-09-04 Thread Martin Vaeth
Michael Orlitzky wrote: > What's happening is that the PM is using the metadata from the installed > version of the package, rather than the ninja-edited metadata in the > repo (how would it know which ebuilds were edited meaningfully?). The question is easy to answer: It is reasonable to assume

[gentoo-dev] Re: mcrypt status

2018-08-04 Thread Martin Vaeth
Andrew Savchenko wrote: > > Actually for local symmetric encryption this is the best tool I > know. What is the advantage over gpg --symmetric?

[gentoo-dev] Re: rfc: why are we still distributing the portage tree via rsync?

2018-07-05 Thread Martin Vaeth
Matt Turner wrote: > The ebuild tree is 600MB with rsync and cannot fit on the partition > with git. > > I'd be happy to switch if the space requirements were similar. If one git repacks every few syncs one needs currently about 800 MB. With additionally squashfs (zstd) (+ overlayfs) the full ar

[gentoo-dev] Re: Current status with openssl-1.1

2018-06-09 Thread Martin Vaeth
Lars Wendler wrote: > So, basically openssl is the last big showstopper for openssl-1.1 to > get out of p.mask. s/openssl/openssh/ Another showstopper is net-libs/wvstreams, hence net-dialup/wvdial. BTW, this is a Debian bug open without any comment since April 2017: https://bugs.debian.org/cgi-

[gentoo-dev] Re: [RFC] multiversion ebuilds

2018-05-15 Thread Martin Vaeth
R0b0t1 wrote: > On Tue, May 15, 2018 at 11:15 PM, Duncan <1i5t5.dun...@cox.net> wrote: >> >> AFAIK symlinks aren't allowed in the gentoo tree [...] >> >> Tho perhaps that can be reevaluated. [...] > > Cygwin and MSYS(2) are currently mostly supported by Prefix [...] For rsync users, the non-symli

[gentoo-dev] Re: Mailing list moderation and community openness

2018-03-29 Thread Martin Vaeth
Rich Freeman wrote: > > Certainly. Closing lists won't stop the private abuse, nor is it intended to. > > What it would stop is this particular thread talking endlessly about it. > >> Closing a mailing list >> will not close such a debate; it will then just happen elsewhere. > > And that is the g

[gentoo-dev] Re: Mailing list moderation and community openness

2018-03-27 Thread Martin Vaeth
Rich Freeman wrote: > > Fred is a community member. Fred consistently harasses and trolls new > contributors in private. Sure, it's a problem. But not a problem which can be solved by closing the mailing list, in no step of the issue. First of all, this happens in private, so you cannot prevent

[gentoo-dev] Re: Mailing list moderation and community openness

2018-03-27 Thread Martin Vaeth
Rich Freeman wrote: > On Tue, Mar 27, 2018 at 3:34 AM, Martin Vaeth wrote: >> >> It is about openness vs. isolation. > > I'm pretty sure most developers, myself included, want to welcome > contributions. Closing of the mailing list does not sound like that. >

[gentoo-dev] Re: Mailing list moderation and community openness

2018-03-27 Thread Martin Vaeth
Rich Freeman wrote: > On Tue, Mar 20, 2018 at 7:54 PM, Benda Xu wrote: >> >> It boils down to an attitude of assuming outsiders are good (blacklist >> to ML) or bad (whitelist to ML) by default. ++ This is the most crucial point. It is the general attitude: Does Gentoo welcome contributions or

[gentoo-dev] Re: How to deal with git sources?

2018-03-16 Thread Martin Vaeth
Ulrich Mueller wrote: > > I think the conclusion is that github generates tarballs on the fly, > and therefore we cannot rely on them being invariant over a long time. Yes, but with emphasis on _long_ time and theory. In practice this was happening now exactly _once_ in a decade (according to all

[gentoo-dev] Re: How to deal with git sources?

2018-03-16 Thread Martin Vaeth
NP-Hardass wrote: > > IIRC, it was attributed to > https://github.com/git/git/commit/22f0dcd9634a818a0c83f23ea1a48f2d620c0546 Thanks. That explains why I was not able to produce a difference: It involves only the rather exotic case that a path in a git repository is longer than 100 characters.

[gentoo-dev] Re: How to deal with git sources?

2018-03-15 Thread Martin Vaeth
Vadim A. Misbakh-Soloviov wrote: > > GH support answered me (in TL;DR version) "that's because we've upgraded git > on *some* of our nodes" (means, some other using older git) That would still require that the "git archive" output would have changed in some recent git versions. And at least betwe

[gentoo-dev] Re: How to deal with git sources?

2018-03-13 Thread Martin Vaeth
Michael Orlitzky wrote: > On 03/12/2018 04:29 AM, Martin Vaeth wrote: >> This was so many many years ago in the beginning of github. >> This has long been fixed since then. > > Every once in a while they still change. This is from a few weeks ago: > > https://m

[gentoo-dev] Re: How to deal with git sources?

2018-03-12 Thread Martin Vaeth
Duncan <1i5t5.dun...@cox.net> wrote: > > If I'm recalling correctly a warning posted on this list, repeated calls > to the github tarballing API for the same commit will result in delivery > of tarballs with differing checksums. This was so many many years ago in the beginning of github. This has

[gentoo-dev] Re: SAT-based dependency solver: request for test cases

2018-02-13 Thread Martin Vaeth
Michael Lienhardt wrote: > the criteria list you gave (maybe it's in the PMS) I doubt that it is in PMS, and IMHO it also does not belong there: As long as the result configuration is valid (no collisions or unresolvable loops) all should be equally fine from the viewpoint of PMS: It is in the re

[gentoo-dev] Re: SAT-based dependency solver: request for test cases

2018-02-13 Thread Martin Vaeth
Michał Górny wrote: >> >> d. In || ( ... ) clauses the left-most packages should be preserved. s/preserved/preferred/ > you've missed the most important point: we want to prefer > the newest version, whenever possible > ;-). Yes, you are right: I had thought only about packages, not about vers

[gentoo-dev] Re: SAT-based dependency solver: request for test cases

2018-02-12 Thread Martin Vaeth
Michael Lienhardt wrote: > > ad-hoc fixes and tweaks that can hardly be encoded into SAT constraints. The main difficulty which I see is that one does not want only _some_ solution, but among all solutions one which optimizes certain quantities. So it seems to me that a discrete optimization unde

[gentoo-dev] Re: News Item: Portage Dynamic Deps

2018-01-24 Thread Martin Vaeth
Ulrich Mueller wrote: > This is an OpenPGP/MIME signed message (RFC 2440 and 3156) > --pgp+signed++Zg8D+I6sgRUw0D > Content-Type: text/plain; charset=us-ascii > Content-Transfer-Encoding: 7bit > >>>>>> On Wed, 24 Jan 2018, Martin Vaeth wrote: > >> Rich Fr

[gentoo-dev] Re: News Item: Portage Dynamic Deps

2018-01-24 Thread Martin Vaeth
Rich Freeman wrote: > > It would already be broken on any PMS-compliant package manager No, it is solely the interpretation of the package manager. PMS does not specify what information is stored in /var/db or how that information is used.

[gentoo-dev] Re: [PATCH] linux-mod.eclass: IUSE default support for MODULES_OPTIONAL_USE

2018-01-16 Thread Martin Vaeth
Robin H. Johnson wrote: > That is counter-intuitive for somebody that puts > MODULES_OPTIONAL_USE_IUSE_DEFAULT=0 > Or tries to otherwise have it unset. What I usually do is: case ${MODULES_OPTIONAL_USE_IUSE_DEFAULT:-n} in [nNfF]*|[oO][fF]*|0|-) # false case ;; *) # true case esac This

[gentoo-dev] Re: cmake + ninja vs autotools

2017-11-22 Thread Martin Vaeth
Georg Rudoy <0xd34df...@gmail.com> wrote: > 1. Doing a full clean build [..] > the speed of make or ninja is hugely offset by the compilation speed, > and their overhead is negligible. It depends on the definition of negligible. For huge projects like boost or chromium it is several minutes: That'

[gentoo-dev] Re: cmake + ninja vs autotools

2017-11-19 Thread Martin Vaeth
William L. Thomson Jr. wrote: > > case ${CMAKE_MAKEFILE_GENERATOR} in > emake) > DEPEND="sys-devel/make" > ;; > ninja) > DEPEND="dev-util/ninja" > ;; This is broken: Static metadata like DEPEND must not depend on dyna

[gentoo-dev] Re: An example overlayfs sandbox test

2017-09-27 Thread Martin Vaeth
Rich Freeman wrote: >> >> | "simple" | "fine grained" >> -++--- >> Overlay | 1 mount| 1 mount >> -++--- >> Container| 10? bind mounts| 1000? bind mounts > > Except it is more like: > >

[gentoo-dev] Re: An example overlayfs sandbox test

2017-09-25 Thread Martin Vaeth
Rich Freeman wrote: >> >> For containers, at least a dozens of binds are minimally required >> (/usr /proc /sys /dev ...). > > I wouldn't be surprised if it works with a single bind mount with > /proc and /dev and so on mounted on top of that. Either you start with a writable tree and bind-mount

[gentoo-dev] Re: An example overlayfs sandbox test

2017-09-24 Thread Martin Vaeth
Rich Freeman wrote: > On Sun, Sep 24, 2017 at 4:24 AM, Martin Vaeth wrote: >> Tim Harder wrote: >> >> It is the big advantage of overlay that it is implemented in >> kernel and does not involve any time-consuming checks during >> normal file operations. >

[gentoo-dev] Re: An example overlayfs sandbox test

2017-09-24 Thread Martin Vaeth
Tim Harder wrote: > On 2017-09-23 19:59, Rich Freeman wrote: >> A read-only container > > I doubt bind mounts will scale > > As has been mentioned before, a different way would be to write some > sort of FUSE fs The problem with both, containers and FUSE, is performance. (For containers with thou

[gentoo-dev] Re: [PATCH] eapi7-ver.eclass: 'Early adopter' version of EAPI 7 version manip

2017-09-08 Thread Martin Vaeth
Michał Górny wrote: > +# 1.2b-alpha4 -> 1 . 2 '' b - alpha '' 4 Is this only to explain the syntax or are there plans to extend the allowed versions for pms? There is a reason why pms currently does not allow "-" as separators within versions (with the exception of -r): With this general synt

[gentoo-dev] Re: New SYMLINK_LIB=no migration tool for review

2017-08-03 Thread Martin Vaeth
Michał Górny wrote: > > I have been running such a layout for over a year. [...] Thanks for clarifying that this already was discussed. Obviously, I was not aware about this discussion, and perhaps I was not the only one. > instead of waking up last-minute to redesign [...] Pointing me to the d

[gentoo-dev] Re: New SYMLINK_LIB=no migration tool for review

2017-08-03 Thread Martin Vaeth
Mike Gilbert wrote: > Debian puts 64-bit libs in /lib/(host) Yes, this is somewhat weird: They have /lib/i386-linux-gnu/ and /lib/x86_64-linux-gnu/ but anyway they use /lib32 instead of e.g. /lib/i686-linux-gnu/ Their reasons for this are mysterious to me. > Migrating Gentoo to a "multiarch" con

[gentoo-dev] Re: New SYMLINK_LIB=no migration tool for review

2017-08-03 Thread Martin Vaeth
Michał Górny wrote: > > 'No mainstream' as you claim it doesn't mean it's fine to invent yet > another completely incompatible solution. As I understand, the compatibility with Debian might be increased (keeping /lib32), at the cost of slightly decreasing the compatibility with Red Hat (concernin

[gentoo-dev] Re: New SYMLINK_LIB=no migration tool for review

2017-08-02 Thread Martin Vaeth
Mike Gilbert wrote: > On Wed, Aug 2, 2017 at 1:51 PM, Martin Vaeth wrote: >> If this already was discussed then sorry for the noise: >> >> What is the rationale for merging lib32 with lib? >> Wouldn't it be somewhat cleaner to have a completely >> split st

[gentoo-dev] Re: New SYMLINK_LIB=no migration tool for review

2017-08-02 Thread Martin Vaeth
Michał Górny wrote: > > What are your thoughts? If this already was discussed then sorry for the noise: What is the rationale for merging lib32 with lib? Wouldn't it be somewhat cleaner to have a completely split structure lib64 lib32 libx32 (possibly) lib

[gentoo-dev] Re: lua upgrade plan

2017-07-03 Thread Martin Vaeth
Duncan <1i5t5.dun...@cox.net> wrote: >> >> http://article.gmane.org/gmane.comp.lang.lua.general/18519 > > That reply is from 2005 and is apparently specific to (32-bit) x86's Even more is true! The only argument there concerns pic. But most distributions (hopefully also gentoo in a not-so-distant

[gentoo-dev] Re: [RFC] Forced/automatic USE flag constraints (codename: ENFORCED_USE)

2017-06-02 Thread Martin Vaeth
Martin Vaeth wrote: Let me be more precise to avoid misunderstandings: > For the "standard" 2SAT case, one first determines the strongly > connected components in the implication graph (linear time). > Then for each such component one either _enables_ or _disables_ > al

[gentoo-dev] Re: [RFC] Forced/automatic USE flag constraints (codename: ENFORCED_USE)

2017-06-02 Thread Martin Vaeth
Ciaran McCreesh wrote: >> For 2SAT, there are linear time algorithms. > > "foo? ( bar )" does not encode as "( !foo \/ bar )" It does (see below). More precisely, at first it encodes as an arrow foo -> bar in the implication graph. > Good luck figuring out how to encode grounding in SAT Easy ga

[gentoo-dev] Re: [RFC] Forced/automatic USE flag constraints (codename: ENFORCED_USE)

2017-06-02 Thread Martin Vaeth
Michał Górny wrote: > b? ( a ) c? ( b ) d? ( c ) e? ( d ) ... As written in another posting: This is 2SAT. 2SAT is solvable in linear time. To get a hard example you have to use several 3SAT clauses, i.e. || ( ... ) with 3 (or more) entries (and all of these entries must occur in the other clau

[gentoo-dev] Re: [RFC] Forced/automatic USE flag constraints (codename: ENFORCED_USE)

2017-06-02 Thread Martin Vaeth
Alexis Ballier wrote: > > I think we should really try to find a sub-exponential solution Most examples mentioned earlier were actually 2SAT, i.e., they are only of the form foo? ( bar ) (possibly with negations) or can be easily reduced to that. E.g. ^^ ( foo bar ) foo? ( !bar graulty bazola ) c

[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: eclass/

2017-05-21 Thread Martin Vaeth
Michał Górny wrote: >> If this is such a big problem, maybe we should be discussing how to >> redesign things to improve it? > > Like, by not using eclasses and instead inlining all the stuff? There are other ways. One way to mitigate the problem might be to require that eclasses contain some #

[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: eclass/

2017-05-21 Thread Martin Vaeth
Kent Fredric wrote: > Fabian Groffen wrote: > >> Hardware or more deltas to >> download by users? Just wondering. > > Both. > > - End users using git end up having to do massive metadata-updates. > - Infra needs to have massive hits to metadata regeneration > - End users using rsync have to fet

[gentoo-dev] Re: [RFC] News item: GCC 6 defaults to USE="pie ssp"

2017-05-11 Thread Martin Vaeth
Luis Ressel wrote: > Martin Vaeth wrote: > >> For instance, you cannot even compile the kernel without special >> patches (which disable pie) if you use a gcc which default-enables >> pie. > > Now I'm curious. Wouldn't that also affect the hardened gcc?

[gentoo-dev] Re: [RFC] News item: GCC 6 defaults to USE="pie ssp"

2017-05-11 Thread Martin Vaeth
Hanno Böck wrote: > > I could add my voice that I ran pie by default for a while I can confirm that the situation apparently has changed drastically since my last attempt. My previous assertion is no longer valid: Currently, I recompile world on x86 system with default pie, so far with only one

[gentoo-dev] Re: [RFC] News item: GCC 6 defaults to USE="pie ssp"

2017-05-10 Thread Martin Vaeth
Hanno Böck wrote: > I really think it's about time that pie becomes the default in Gentoo. Although I agree from a security perspective, I must warn that this is not realistic, currently: I am using gcc-6 since ages and tried to run a desktop with default pie for quite a while, but soon was forc

[gentoo-dev] Re: Requirements for UID/GID management

2017-02-04 Thread Martin Vaeth
Christopher Head wrote: > > Are you sure that said utility isn't simply chown --from=? As usual, I just checked the POSIX standard and not the GNU extensions before posting ;) I did now a quick audit of the coreutils-8.25 source: It seems to be safely implemented in the way I mentioned.

[gentoo-dev] Re: Requirements for UID/GID management

2017-02-03 Thread Martin Vaeth
Michael Orlitzky wrote: > > The fact that all permission and ownership information is shared is > precisely the problem. When you change ownership of the hardlink (which > you'll never know is a hardlink), you change ownership of /etc/shadow. Why should this be a problem except for a race between

[gentoo-dev] Re: tmpfiles virtual

2016-11-17 Thread Martin Vaeth
Rich Freeman wrote: > > If systemd-tmpfiles can work when systemd isn't running According to a brief test (not very exhaustive), this seems to work, though I did not investigate whether it requires that e.g. dbus is running. Without entering the discussion _how_ an init-script should be installe

[gentoo-dev] Re: tmpfiles virtual

2016-11-17 Thread Martin Vaeth
Rich Freeman wrote: > On Thu, Nov 17, 2016 at 3:07 PM, Ian Stakenvicius wrote: >> >> Realistically, software should ensure the directories it needs at >> runtime are created through their own code, but upstreams are lazy [...] > > This isn't really being lazy. This is just not re-inventing the >

[gentoo-dev] Re: grub-2 configuration

2016-10-05 Thread Martin Vaeth
ound here: https://github.com/vaeth/grub-cfg-mv/ Library and exmample can also be installed by portage: Package sys-boot/grub-cfg-mv in the mv overlay (over layman)

[gentoo-dev] Re: Building a portage repo?

2016-09-14 Thread Martin Vaeth
Michał Górny wrote: >> >>and subsequently egencache should give me the same type of portage tree >>that is currently officially distributed to users? > > Then remanifest, egencache with all options. You will also need to > include additional repositories for news, glsas and fetch extra files > for

[gentoo-dev] Re: chromium-54 needs ffmpeg-3.0.1

2016-08-31 Thread Martin Vaeth
Duncan <1i5t5.dun...@cox.net> wrote: > Martin Vaeth posted on Wed, 31 Aug 2016 18:08:17 + as excerpted: > >> Kent Fredric wrote: >>> >>> I really wish there was a way to run ancient firefox with security >>> fixes :( >> >> There's

[gentoo-dev] Re: chromium-54 needs ffmpeg-3.0.1

2016-08-31 Thread Martin Vaeth
Kent Fredric wrote: > > I really wish there was a way to run ancient firefox with security > fixes :( There's palemoon

[gentoo-dev] Re: chromium-54 needs ffmpeg-3.0.1

2016-08-30 Thread Martin Vaeth
Duncan <1i5t5.dun...@cox.net> wrote: > >> Alexis Ballier wrote: >> >> As opposed to "roll out ffmpeg 3 prematurely" which will break *more* >> than just firefox. > > Umm... you mean chromium, not firefox, correct? I also think so. I have unmasked ffmpeg-3 since several months, because I don't use

[gentoo-dev] Re: rfc: /etc/hostname on gentoo

2016-08-24 Thread Martin Vaeth
William Hubbs wrote: > > I am planning to change the logic in /etc/init.d/hostname so that if > /etc/hostname exists, the first word out of that file will be used as > the hostname rather than any setting in /etc/conf.d/hostname. You could also make the content of the default /etc/conf.d/hostname

[gentoo-dev] Re: rfc: /etc/init.d/modules loading modules defined in files

2016-08-17 Thread Martin Vaeth
Mike Gilbert wrote: >> >> modules=$(sed -n -e '/^[^;#]/p' /etc/modules-load.d/*.conf \ >> /usr/lib/modules-load.d/*.conf 2>/dev/null || : ) > > This simple implementation does not follow the precedence rules > documented in modules-load.d(5). I didn't mean it as the recommended implementa

[gentoo-dev] Re: rfc: /etc/init.d/modules loading modules defined in files

2016-08-17 Thread Martin Vaeth
William Hubbs wrote: > > but I'm open to making the behaviour compatible > with what systemd does Since openrc already supports tmpfiles.d, support for modules-load.d would be natural. In fact, this is already done for quite a while in https://github.com/vaeth/firewall-mv/blob

[gentoo-dev] Re: [RFC] Masterplan for solving LINGUAS problems

2016-06-03 Thread Martin Vaeth
Mart Raudsepp wrote: > Ühel kenal päeval, K, 01.06.2016 kell 20:24, kirjutas Martin Vaeth: >> Gentoo has chosen this name so that as a side effect of setting >> USE=linguas_* you also get a correct LINGUAS variable exported >> (according to the USE-settings and your setting

[gentoo-dev] Re: [RFC] Masterplan for solving LINGUAS problems

2016-06-01 Thread Martin Vaeth
Kent Fredric wrote: > On 2 June 2016 at 07:33, Martin Vaeth wrote: >> >> I prefer to have at least 5% of the ebuilds working and the other >> being fixable (if their maintainers want to spend the effort) >> than to remove a concept which breaks also these 5% and turns

[gentoo-dev] Re: [RFC] Masterplan for solving LINGUAS problems

2016-06-01 Thread Martin Vaeth
Raymond Jennings wrote: > > I'd honestly as a minor issue like ot know why we called it linguas in the > first place. > [...] > I think though I should also point out...don't we already have existing > ebuilds that expose LINGUAS options in their USE flags? >From this posting, it is obvious that

[gentoo-dev] Re: [RFC] Masterplan for solving LINGUAS problems

2016-06-01 Thread Martin Vaeth
Michał Górny wrote: > > If more than 95% of ebuilds are broken, this proves that a concept is > broken. > > Well, feel free to live in your fairy land. I prefer to have at least 5% of the ebuilds working and the other being fixable (if their maintainers want to spend the effort) than to remove a

[gentoo-dev] Re: [RFC] Masterplan for solving LINGUAS problems

2016-06-01 Thread Martin Vaeth
Michał Górny wrote: > > Do you have any numbers on how many ebuilds were exactly being fixed? > And how many were broken in the process because someone failed to > update linguas_*? Broken ebuilds are a reason to fix the ebuilds, but not a reason to replace a working concept by a hack which only

[gentoo-dev] Re: [RFC] Masterplan for solving LINGUAS problems

2016-06-01 Thread Martin Vaeth
Michał Górny wrote: >> >>Therefore, I suggest to put this line in l10n.eclass >>(perhaps with a mechanism to avoid it for some exceptional packages >>which have to treat LINGUAS differently.) >>This way, none of these ebuilds inheriting l10n needs to be patched. > > This eclass should be killed wi

[gentoo-dev] Re: [RFC] Masterplan for solving LINGUAS problems

2016-06-01 Thread Martin Vaeth
Michał Górny wrote: > > 1. Get approval on INSTALL_MASK GLEP [1] and finish implementing it > in Portage. As already mentioned by some, INSTALL_MASK is something else than LINGUAS, because LINGUAS involves also files which are generated by the build system. Although I appreciate a more configurab

[gentoo-dev] Re: Bug #565566: Why is it still not fixed?

2016-02-28 Thread Martin Vaeth
Patrick Lauer wrote: > > Notice the --whole-file part there. Are there perhaps plans to remove this? Before the reversed ChangeLogs, this option was useful, but perhaps now removing it would really lower the traffic? One would have to make a bunch of tests over 1-2 months, perhaps: a) two with

[gentoo-dev] Re: Bug #565566: Why is it still not fixed?

2016-02-27 Thread Martin Vaeth
Rich Freeman wrote: > > Clearly it doesn't increase by a factor of 1 every year The yearly increase of the factor is rather precisely 1: According to current data, it is .95, see below. With xz compression for squashfs, it is even 1.4! (Note: increase _of_ the factor, not _by_ the factor, of cou

[gentoo-dev] Re: Bug #565566: Why is it still not fixed?

2016-02-26 Thread Martin Vaeth
Rich Freeman wrote: >> >> And currently the git history is still almost empty... >> > > If you want pre-migration history you need to fetch that separately. How? Neither on gitweb.gentoo.org nor on github I found an obvious repository with this data. > It is about 1.7G. > Considering that this r

[gentoo-dev] Re: Bug #565566: Why is it still not fixed?

2016-02-26 Thread Martin Vaeth
Gordon Pettey wrote: >> >> Already now this means that you need 2 (or already 3?) times the >> disk space as for an rysnc mirror; multiply all numbers by 4 >> if you used squashfs to store the tree. [...] > > Or, in 2-3 years, maybe people will stop with the hyperbole Hyperbole? Really? Let's fi

[gentoo-dev] Re: Bug #565566: Why is it still not fixed?

2016-02-24 Thread Martin Vaeth
Luis Ressel wrote: > > That would require a local git clone. And that's exactly what those who > still want Changelogs are trying to avoid. You need even a deep git clone with full history. Already now this means that you need 2 (or already 3?) times the disk space as for an rysnc mirror; multip

[gentoo-dev] Re: RFC: intel-sdp-r1.eclass

2016-02-15 Thread Martin Vaeth
Justin Lecher (jlec) wrote: >>> [[ -n ${_INTEL_PV4} ]] && _INTEL_PV+="${_INTEL_PV4}-" >>> [[ -n ${_INTEL_PV1} ]] && _INTEL_PV+="${_INTEL_PV1}" >>> [[ -n ${_INTEL_PV2} ]] && _INTEL_PV+=".${_INTEL_PV2}" >>> [[ -n ${_INTEL_PV3} ]] && _INTEL_PV+=".${_INTEL_PV3}" >>> [[ -n ${_INTEL_PV4} ]] && _INTEL_PV

[gentoo-dev] Re: GLEP 67 is in, please update your metadata.dtd!

2016-01-25 Thread Martin Vaeth
Mike Gilbert wrote: > On Mon, Jan 25, 2016 at 11:31 AM, Luis Ressel wrote: >> >> I might be asking this for a second time, but why does repoman download >> the metadata.dtd at all? If one fetches from >> git://../gentoo-mirror/gentoo (or via rsync, afaik) it is included >> in /usr/portage/metadat

[gentoo-dev] Re: [PATCH] readme.gentoo-r1.eclass: Do not inherit eutils.

2015-12-19 Thread Martin Vaeth
Michał Górny wrote: >> if [[ -n "${DISABLE_AUTOFORMATTING}" ]]; then >> echo "${DOC_CONTENTS}" > "${T}"/README.gentoo || die >> else >> echo -e ${DOC_CONTENTS} | fold -s -w 70 \ >> | sed 's/[[:space:]]*$//' > "${T}"/README.gentoo (omitted some line

[gentoo-dev] Re: [EAPI 7] The future goals for PORTDIR, ECLASSDIR and... LICENSEDIR?

2015-11-22 Thread Martin Vaeth
Ian Stakenvicius wrote: > '$(get_eclasspath [name])' or $(get_licensepath [name]) or the like Since we are at a brainstorm level: How about filling associative arrays instead? This would BTW also provide the names of the master repositories (although one could perhaps do the latter more explici

[gentoo-dev] Re: EAPI 6 portage is out!

2015-11-22 Thread Martin Vaeth
Michał Górny wrote: > > commit EAPI 6 ebuilds to ~arch. For an overlay maintainer like me, it is not reasonable to bump eclasses locally. So please bump the relevant eclasses timely, most notably (AFAICS these needs just extending the check; perhaps a *negative* check would be simpler for future

[gentoo-dev] Re: Revise EAPI 6? (was: [RFC] ban use of base-4 casemods in ebuilds due to locale collation instability)

2015-11-11 Thread Martin Vaeth
Jason A. Donenfeld wrote: > > I'd be in favor of full-on LC_ALL=C. Setting LC_ALL seems wrong as it is meant as a quick hack and should not be relied on by a "generic" tool like portage. Better define to *unset* LC_ALL (remembering the previous value, see below) and to set (all?) other LC_* to d

[gentoo-dev] Re: ChangeLog

2015-11-01 Thread Martin Vaeth
Rich Freeman wrote: > > Keep in mind that "resources" is a vague term [...] > disk io and CPU to sync [...] For syncing, I think these latter resources are less important, because they influence only the *time* of a syncing action, which is normally not so important for the user. Bandwidth and (

[gentoo-dev] Re: ChangeLog

2015-11-01 Thread Martin Vaeth
Мисбах-Соловьёв Вадим wrote: >> Perhaps there is a better choice of distribution for you if you are. > > Or you can just... use rsync. Or emerge-webrsync, emerge-delta-webrsync or squashdelta (I strongly hope that the latter will be available again in some future - IMHO it is perfect for most use

[gentoo-dev] Re: ChangeLog

2015-11-01 Thread Martin Vaeth
Мисбах-Соловьёв Вадим wrote: > >> Now how can this user display the ChangeLog for >> a certain package? > ``` > git log -- pkg-category/pkg-name/ You removed the crucial part of my posting: >> git clone --depth=1

[gentoo-dev] Re: ChangeLog

2015-11-01 Thread Martin Vaeth
hasufell wrote: > > git clone --depth=1 The only reasonable option for the gentoo user (not for the gentoo developer) if he does not have megabytes to waste on his harddisk (which probably many users don't), if you want to *force* him to use git. Now how can this user display the ChangeLog for a

[gentoo-dev] Re: ChangeLog

2015-11-01 Thread Martin Vaeth
Rich Freeman wrote: > > What discussion or decision is necessary? > What is needed is for those who want changelogs > to fix the bug The bug can only be fixed by somebody who knows the details how the rsync mirrors are set up. As mentioned in the discussion in bug 561454, *essentially* all it ne

[gentoo-dev] Re: Dynamic dependencies

2015-10-01 Thread Martin Vaeth
Rich Freeman wrote: > > Proposal 3a might be: Anytime an RDEPEND in an eclass is changed, the > eclass must be revisioned unless all ebuilds in the gentoo repository > will continue to work correctly with the old RDEPEND. > Proposal 4a might be: Anytime an RDEPEND in an eclass is changed, all > eb

[gentoo-dev] Re: QA bikeshed: killing USE=dedicated in favor of uniform USE=client+server

2015-08-20 Thread Martin Vaeth
Alexander Berntsen wrote: > > - -1. The way "dedicated" is used in games ebuilds is a very established > term that all gamers know and expect to behave in a specific way. > This will mess with our users. How do you know what the users know and expect? When installing a game, I was regularly surpr

[gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog kde5-functions.eclass kde5.eclass

2015-06-28 Thread Martin Vaeth
Dan Douglas wrote: > for x in *; do > [[ -e $x ]] || continue > ... > done You should also test for $x not being a symlink. Otherwise you can miss the corner case that you have a dead/unresolvable symlink called "*".

[gentoo-dev] Re: RFC: using Ninja in more CMake-based packages

2015-06-08 Thread Martin Vaeth
Franz Fellner wrote: > > IMHO a working build system > always is better than a fast but potentially broken one :) Meanwhile, it is not so clear which of the two systems is more likely the "potentially broken" one: According to some of the mentioned bugs, it appears to me that some upstreams consi

[gentoo-dev] Re: News item review: SquashDelta syncing support

2015-05-18 Thread Martin Vaeth
Brian Dolbec wrote: > Martin Vaeth wrote: >> >> However, currently this does not play nicely with squashdelta: >> You have to "undo" the mounting of squashdelta and have to use >> different command (e.g. squashmount) afterwards. > > No, that is not corr

[gentoo-dev] Re: News item review: SquashDelta syncing support

2015-05-17 Thread Martin Vaeth
Rich Freeman wrote: > Downsides include: > 2. Impossible to tweak ebuilds without setting up an overlay. This > might be annoying for devs/etc. It is still possible to setup a read-writable portage tree (using overlayfs/aufs/unionfs-fuse/... e.g. using the squashmount tool from the mv overlay).

[gentoo-dev] Re: Quick RFC: USE=libav vs FFMPEG_IMPL=libav|ffmpeg

2015-02-04 Thread Martin Vaeth
Zac Medico wrote: > > Also, portage-2.2.16 will have support for special USE_EXPAND syntax in > package.use I knew from reading portage-dev ml Actually, I am hoping that the introduction of the feature be taken as an opportunity to document USE_EXPAND better as a whole on some prominent places w

[gentoo-dev] Re: Quick RFC: USE=libav vs FFMPEG_IMPL=libav|ffmpeg

2015-02-03 Thread Martin Vaeth
Markos Chandras wrote: > we bloat the make.conf file with new variables every now and then Although it often makes sense to set USE_EXPAND-variables in make.conf, it is not *necessary* to do it in this way and in this file: It can also happen in USE or in /etc/portage/package.use In fact, this i

[gentoo-dev] Re: Moving CPU flags into USE_EXPAND

2015-01-15 Thread Martin Vaeth
Alexis Ballier wrote: >> >> >> >> More precisely: When changing the names anyway, >> >> IMHO it would be a very good idea to follow the convention of the >> >> "flag" names in /proc/cpuinfo and add all flags supported >> >> there as possible USE-flags, no matter, whether they are currently >> >> u

[gentoo-dev] Re: Moving CPU flags into USE_EXPAND

2015-01-15 Thread Martin Vaeth
Christopher Head wrote: > > All that requires is knowing the names, though; it would be > fine if no package actually uses the feature yet. ++ More precisely: When changing the names anyway, IMHO it would be a very good idea to follow the convention of the "flag" names in /proc/cpuinfo and add a

[gentoo-dev] Re: sys-devel/gcc::mgorny up for testing

2014-12-09 Thread Martin Vaeth
viv...@gmail.com wrote: > > - The project only has 20 commit, last one 8 months ago > https://github.com/m-click/mcpdf.git The "project" is just a few lines anyway: merely a wrapper to the library. All the work happens in the itext library which AFAIK is the same project (in different versions)

[gentoo-dev] Re: sys-devel/gcc::mgorny up for testing

2014-12-07 Thread Martin Vaeth
Michał Górny wrote: > > Have you tried mcpdf? I heard about it now for the first time. If I understand correctly, it uses the same library as pdfTK, only a somewhat later version (e.g. with improved unicode handling). The main difference seems to be that it does not insist on gcj but apparently

[gentoo-dev] Re: sys-devel/gcc::mgorny up for testing

2014-12-07 Thread Martin Vaeth
Michał Górny wrote: > > 2. No gcj support. [...] Not sure if anybody > actually uses it, and if it is actually useful for anything The most important consumer is app-text/pdftk Unfortunately, there is still no replacement for the latter which works as good, especially if you have tricky pdfs to p

[gentoo-dev] Re: RFC: News item regarding c++98 vs c++11

2014-10-21 Thread Martin Vaeth
Mike Gilbert wrote: > > FYI, Chromium currently has a ban on using C++ 11 library features. I do not see how this would help to avoid the problem: If a function with the same name returns a different type in c++98 than in c++11, you could only avoid the problem by not using the function at all (n

[gentoo-dev] Re: RFC: News item regarding c++98 vs c++11

2014-10-21 Thread Martin Vaeth
Ian Stakenvicius wrote: > On 20/10/14 06:58 AM, Anthony G. Basile wrote: > >> I don't think we'll ever want to support a mixed abi system. > > Can we, even? Would it be a mixed-abi system or a multi-abi system? I am afraid, we *have* to, in the moment when at least one program adds -std=c++11 or

[gentoo-dev] Re: RFC: News item regarding c++98 vs c++11

2014-10-20 Thread Martin Vaeth
Anthony G. Basile wrote: >> Since gcc-4.7 there is a -std=c++11 option, do not use it {+yet+} >> since it breaks the ABI, resulting in a non-functional system. > > Yes. Eventually we'll have to clear the road for this. Isn't Diego just starting a gcc-4.9 tinderbox run? It might be worth to try

[gentoo-dev] Re: Are users forced to use PAM?

2014-10-05 Thread Martin Vaeth
Nikos Chantziaras wrote: > In bug 524074 (https://bugs.gentoo.org/show_bug.cgi?id=524074), Joshua > Kinard mentioned that Gentoo cannot support systems where PAM isn't > installed. All my gentoo boxes run without pam from the very beginning (since many years). I hope that it will not be necessary

[gentoo-dev] Re: My masterplan for git migration (+ looking for infra to test it)

2014-09-19 Thread Martin Vaeth
Diamond wrote: > > There's no git cp command. > git mv is just git rm + git add. I think there is a misunderstanding about how git works. If you are used to e.g. svn (I suppose with CVS it is similar) then it makes an important difference whether you use "svn cp A B" or "/bin/cp A B", because sv

[gentoo-dev] tox (was: maintainer-needed@ packages need you!)

2014-09-08 Thread Martin Vaeth
This discussion has now become rather OT and does not belong to this list. Anyway, since there appear to be some misunderstandings concerning my previous remarks, I contribute one more post. Duncan <1i5t5.dun...@cox.net> wrote: >>> > > > Please don't. Not all communication partners are linux users

  1   2   3   >