public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] Error logs
@ 2018-12-30 19:58 Pratyush Das
  2018-12-30 20:14 ` M. J. Everitt
  0 siblings, 1 reply; 4+ messages in thread
From: Pratyush Das @ 2018-12-30 19:58 UTC (permalink / raw
  To: gentoo-portage-dev

[-- Attachment #1: Type: text/plain, Size: 768 bytes --]

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)

[-- Attachment #2: Type: text/html, Size: 1123 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-portage-dev] Error logs
  2018-12-30 19:58 [gentoo-portage-dev] Error logs Pratyush Das
@ 2018-12-30 20:14 ` M. J. Everitt
  2018-12-31  5:51   ` Pratyush Das
  0 siblings, 1 reply; 4+ messages in thread
From: M. J. Everitt @ 2018-12-30 20:14 UTC (permalink / raw
  To: gentoo-portage-dev


[-- Attachment #1.1.1: Type: text/plain, Size: 1248 bytes --]

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.

[-- Attachment #1.1.2: Type: text/html, Size: 2470 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-portage-dev] Error logs
  2018-12-30 20:14 ` M. J. Everitt
@ 2018-12-31  5:51   ` Pratyush Das
  2018-12-31  6:43     ` Zac Medico
  0 siblings, 1 reply; 4+ messages in thread
From: Pratyush Das @ 2018-12-31  5:51 UTC (permalink / raw
  To: gentoo-portage-dev

[-- Attachment #1: Type: text/plain, Size: 1889 bytes --]

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 <m.j.everitt@iee.org> 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)

[-- Attachment #2: Type: text/html, Size: 3600 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-portage-dev] Error logs
  2018-12-31  5:51   ` Pratyush Das
@ 2018-12-31  6:43     ` Zac Medico
  0 siblings, 0 replies; 4+ messages in thread
From: Zac Medico @ 2018-12-31  6:43 UTC (permalink / raw
  To: gentoo-portage-dev, Pratyush Das


[-- Attachment #1.1: Type: text/plain, Size: 1092 bytes --]

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 981 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-12-31  6:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-30 19:58 [gentoo-portage-dev] Error logs Pratyush Das
2018-12-30 20:14 ` M. J. Everitt
2018-12-31  5:51   ` Pratyush Das
2018-12-31  6:43     ` Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox