Re: [gentoo-portage-dev] Error logs
On 12/30/18 9:51 PM, Pratyush Das wrote: > For oracle-jdk - https://pastebin.com/iT1XsfUv > In this case the log tells you to download jdk-8u192-linux-x64.tar.gz > from > http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html > and place it in your distfiles directory. But it does not tell you where > your distfiles directory is. (This is more descriptive than cudnn and > one could run a recursive bash script to find the distfiles directory > but instead of saying distfiles directory, if it printed out the actual > directory location it would be far more convenient) > > Regards, I'm sorry to say that it's intentionally vague. Since ebuilds run in a environment standardized environment [1], the true location of your distfiles directory is not strictly knowable within ebuild scope. To make things more interesting, there are plans to roll out a split distfiles directory structure [2]. [1] https://wiki.gentoo.org/wiki/Project:Package_Manager_Specification [2] https://www.gentoo.org/glep/glep-0075.html -- Thanks, Zac signature.asc Description: OpenPGP digital signature
Re: [gentoo-portage-dev] Error logs
For oracle-jdk - https://pastebin.com/iT1XsfUv In this case the log tells you to download jdk-8u192-linux-x64.tar.gz from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html and place it in your distfiles directory. But it does not tell you where your distfiles directory is. (This is more descriptive than cudnn and one could run a recursive bash script to find the distfiles directory but instead of saying distfiles directory, if it printed out the actual directory location it would be far more convenient) Regards, On Mon, 31 Dec 2018 at 01:45, M. J. Everitt wrote: > On 30/12/18 19:58, Pratyush Das wrote: > > Hi, > > In reference to this forum post - > https://forums.gentoo.org/viewtopic-t-1091144-highlight-.html , I was > told that several users found wrong information in the portage error logs > pointing them to the wrong directory for distfiles to be downloaded and > placed in for the emerge to work when the tree variable was displayed to > the user, for the user to place the downloaded files in. > Instead of not using the tree variable to point to the distfiles location > (and having a less descriptive error message), was using some other form of > keeping a track of where the files are stored discussed? Or figuring out > why the variable pointed to the wrong directory? > > I could take a look at it if that is a feature you would be open to > having. > > Regards, > > -- > Pratyush Das(Reik) > > Can you highlight some more examples (good & bad) as even the forum post > doesn't really go into much detail about what's present and missing? I can > see that dev-libs/cudnn is poor - usually LICENSE-restricted files give > some sensible directions, iirc. Not sure quite why this package is an > exception if it's problematic in being mirrored ... > Regards, > > Michael/veremitz. > -- Pratyush Das(Reik)
Re: [gentoo-portage-dev] Error logs
On 30/12/18 19:58, Pratyush Das wrote: > Hi, > > In reference to this forum post > - https://forums.gentoo.org/viewtopic-t-1091144-highlight-.html , I was > told that several users found wrong information in the portage error logs > pointing them to the wrong directory for distfiles to be downloaded and > placed in for the emerge to work when the tree variable was displayed to > the user, for the user to place the downloaded files in. > Instead of not using the tree variable to point to the distfiles location > (and having a less descriptive error message), was using some other form > of keeping a track of where the files are stored discussed? Or figuring > out why the variable pointed to the wrong directory? > > I could take a look at it if that is a feature you would be open to having. > > Regards, > > -- > Pratyush Das(Reik) Can you highlight some more examples (good & bad) as even the forum post doesn't really go into much detail about what's present and missing? I can see that dev-libs/cudnn is poor - usually LICENSE-restricted files give some sensible directions, iirc. Not sure quite why this package is an exception if it's problematic in being mirrored ... Regards, Michael/veremitz. signature.asc Description: OpenPGP digital signature
[gentoo-portage-dev] Error logs
Hi, In reference to this forum post - https://forums.gentoo.org/viewtopic-t-1091144-highlight-.html , I was told that several users found wrong information in the portage error logs pointing them to the wrong directory for distfiles to be downloaded and placed in for the emerge to work when the tree variable was displayed to the user, for the user to place the downloaded files in. Instead of not using the tree variable to point to the distfiles location (and having a less descriptive error message), was using some other form of keeping a track of where the files are stored discussed? Or figuring out why the variable pointed to the wrong directory? I could take a look at it if that is a feature you would be open to having. Regards, -- Pratyush Das(Reik)