* [gentoo-user] /usr/portage/distfiles for amd64 and x86 -- the same?
@ 2011-06-13 5:29 Pandu Poluan
2011-06-13 6:02 ` Yohan Pereira
2011-06-13 7:42 ` [gentoo-user] " Nikos Chantziaras
0 siblings, 2 replies; 7+ messages in thread
From: Pandu Poluan @ 2011-06-13 5:29 UTC (permalink / raw
To: Gentoo-user
Please forgive my (probably) stupid question:
Are the distfiles in /usr/portage/distfiles identical for both amd64
and x86 Gentoo?
Rgds,
--
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] /usr/portage/distfiles for amd64 and x86 -- the same?
2011-06-13 5:29 [gentoo-user] /usr/portage/distfiles for amd64 and x86 -- the same? Pandu Poluan
@ 2011-06-13 6:02 ` Yohan Pereira
2011-06-13 6:15 ` Pandu Poluan
2011-06-13 7:42 ` [gentoo-user] " Nikos Chantziaras
1 sibling, 1 reply; 7+ messages in thread
From: Yohan Pereira @ 2011-06-13 6:02 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 640 bytes --]
On Monday 13 Jun 2011 12:29:27 Pandu Poluan wrote:
> Are the distfiles in /usr/portage/distfiles identical for both amd64
> and x86 Gentoo?
Well in most cases if the versions of the packages installed are same then the
distfiles are same. But sometimes certain ebuilds are masked for different
archs so you'll have different versions installed on your x86 and amd64
machines, in that case the distfiles for those packages would be different.
Also there mite be certain ebuilds that install binary files like flash those
would be incompatible too.
--
- Yohan Pereira
"A man can do as he will, but not will as he will" - Schopenhauer
[-- Attachment #2: Type: text/html, Size: 2476 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] /usr/portage/distfiles for amd64 and x86 -- the same?
2011-06-13 6:02 ` Yohan Pereira
@ 2011-06-13 6:15 ` Pandu Poluan
2011-06-13 6:24 ` Dale
2011-06-13 6:27 ` Yohan Pereira
0 siblings, 2 replies; 7+ messages in thread
From: Pandu Poluan @ 2011-06-13 6:15 UTC (permalink / raw
To: gentoo-user
On Mon, Jun 13, 2011 at 13:02, Yohan Pereira <yohan.pereira@gmail.com> wrote:
> On Monday 13 Jun 2011 12:29:27 Pandu Poluan wrote:
>
>> Are the distfiles in /usr/portage/distfiles identical for both amd64
>
>> and x86 Gentoo?
>
> Well in most cases if the versions of the packages installed are same then
> the distfiles are same. But sometimes certain ebuilds are masked for
> different archs so you'll have different versions installed on your x86 and
> amd64 machines, in that case the distfiles for those packages would be
> different. Also there mite be certain ebuilds that install binary files like
> flash those would be incompatible too.
>
Hmmm...
But different distfiles will have different names, right?
Rgds,
--
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] /usr/portage/distfiles for amd64 and x86 -- the same?
2011-06-13 6:15 ` Pandu Poluan
@ 2011-06-13 6:24 ` Dale
2011-06-13 6:27 ` Yohan Pereira
1 sibling, 0 replies; 7+ messages in thread
From: Dale @ 2011-06-13 6:24 UTC (permalink / raw
To: gentoo-user
Pandu Poluan wrote:
> On Mon, Jun 13, 2011 at 13:02, Yohan Pereira<yohan.pereira@gmail.com> wrote:
>
>> On Monday 13 Jun 2011 12:29:27 Pandu Poluan wrote:
>>
>>
>>> Are the distfiles in /usr/portage/distfiles identical for both amd64
>>>
>>
>>> and x86 Gentoo?
>>>
>> Well in most cases if the versions of the packages installed are same then
>> the distfiles are same. But sometimes certain ebuilds are masked for
>> different archs so you'll have different versions installed on your x86 and
>> amd64 machines, in that case the distfiles for those packages would be
>> different. Also there mite be certain ebuilds that install binary files like
>> flash those would be incompatible too.
>>
>>
> Hmmm...
>
> But different distfiles will have different names, right?
>
> Rgds,
>
In the case of a binary, it should. If it didn't, portage wouldn't know
which one it was getting. It may not be a good idea to put a amd64
binary on a x86 machine. May not work to well. So, they should be
different.
As mentioned before, flash would be one case, video drivers could be
another if they are binaries as well. There may be others to.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] /usr/portage/distfiles for amd64 and x86 -- the same?
2011-06-13 6:15 ` Pandu Poluan
2011-06-13 6:24 ` Dale
@ 2011-06-13 6:27 ` Yohan Pereira
1 sibling, 0 replies; 7+ messages in thread
From: Yohan Pereira @ 2011-06-13 6:27 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 386 bytes --]
On Monday 13 Jun 2011 13:15:39 Pandu Poluan wrote:
> But different distfiles will have different names, right?
yea.
i use my amd64 distfiles in my x86 chroot using the portage variable
PORTAGE_RO_DISTDIRS. Any distfiles that are not present/incompaitable are
downloaded by the chroot's portage.
--
- Yohan Pereira
"A man can do as he will, but not will as he will" - Schopenhauer
[-- Attachment #2: Type: text/html, Size: 2394 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: /usr/portage/distfiles for amd64 and x86 -- the same?
2011-06-13 5:29 [gentoo-user] /usr/portage/distfiles for amd64 and x86 -- the same? Pandu Poluan
2011-06-13 6:02 ` Yohan Pereira
@ 2011-06-13 7:42 ` Nikos Chantziaras
2011-06-13 10:19 ` Neil Bothwick
1 sibling, 1 reply; 7+ messages in thread
From: Nikos Chantziaras @ 2011-06-13 7:42 UTC (permalink / raw
To: gentoo-user
On 06/13/2011 08:29 AM, Pandu Poluan wrote:
> Please forgive my (probably) stupid question:
>
> Are the distfiles in /usr/portage/distfiles identical for both amd64
> and x86 Gentoo?
Usually. But an ebuild can specify a different distfile for x86 but use
the same name. This isn't dangerous though, since the checksum will
catch it. That means you can use the same distfiles directory for both,
and if you come across an ebuild that does weird stuff, portage will
bark and re-download the correct distfile.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: /usr/portage/distfiles for amd64 and x86 -- the same?
2011-06-13 7:42 ` [gentoo-user] " Nikos Chantziaras
@ 2011-06-13 10:19 ` Neil Bothwick
0 siblings, 0 replies; 7+ messages in thread
From: Neil Bothwick @ 2011-06-13 10:19 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 449 bytes --]
On Mon, 13 Jun 2011 10:42:43 +0300, Nikos Chantziaras wrote:
> That means you can use the same distfiles directory for both,
> and if you come across an ebuild that does weird stuff, portage will
> bark and re-download the correct distfile.
That's true, although I have a common $DISTDIR shared among various
architectures and can't ever recall this actually happening.
--
Neil Bothwick
Linux users do it without paying a Bill
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-06-13 10:21 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-13 5:29 [gentoo-user] /usr/portage/distfiles for amd64 and x86 -- the same? Pandu Poluan
2011-06-13 6:02 ` Yohan Pereira
2011-06-13 6:15 ` Pandu Poluan
2011-06-13 6:24 ` Dale
2011-06-13 6:27 ` Yohan Pereira
2011-06-13 7:42 ` [gentoo-user] " Nikos Chantziaras
2011-06-13 10:19 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox