FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 01-25-2012, 07:01 AM
Doug Goldstein
 
Default How to handle x86/amd64 only packages on other arches

I need to be able to have ppc/arm/etc users install a package that can
only be built on x86/amd64. The packages in question are
sys-apps/seabios and sys-apps/vgabios. The point is that a PPC machine
that's using qemu-system-x86_64 still needs to use seabios and
vgabios. I was planning on building the package on my own hardware and
posting up sys-apps/seabios-bin and sys-apps/vgabios-bin unless of
course someone has a better suggestion.

I know the list tends to devolve into the theory of foo/bar and
foo/baz but I'd like to keep this concrete to those two packages.

--
Doug Goldstein
 
Old 01-25-2012, 08:46 AM
Michał Górny
 
Default How to handle x86/amd64 only packages on other arches

On Wed, 25 Jan 2012 02:01:20 -0600
Doug Goldstein <cardoe@gentoo.org> wrote:

> I need to be able to have ppc/arm/etc users install a package that can
> only be built on x86/amd64. The packages in question are
> sys-apps/seabios and sys-apps/vgabios. The point is that a PPC machine
> that's using qemu-system-x86_64 still needs to use seabios and
> vgabios. I was planning on building the package on my own hardware and
> posting up sys-apps/seabios-bin and sys-apps/vgabios-bin unless of
> course someone has a better suggestion.

Yes, -bin seem to be the best solution. Otherwise, we'd have to require
some kind of portage-capable cross-toolchain for that package.

I'd suggest you *DEPEND on it through:
|| ( sys-apps/seabios sys-apps/seabios-bin )

so that x86 users could still choose the binary package for some reason.

--
Best regards,
Michał Górny
 
Old 01-25-2012, 06:21 PM
Sergei Trofimovich
 
Default How to handle x86/amd64 only packages on other arches

On Wed, 25 Jan 2012 10:30:26 +0100
Ch*-Thanh Christopher Nguyễn <chithanh@gentoo.org> wrote:

> Doug Goldstein schrieb:
> > I need to be able to have ppc/arm/etc users install a package that can
> > only be built on x86/amd64. The packages in question are
> > sys-apps/seabios and sys-apps/vgabios. The point is that a PPC machine
> > that's using qemu-system-x86_64 still needs to use seabios and
> > vgabios. I was planning on building the package on my own hardware and
> > posting up sys-apps/seabios-bin and sys-apps/vgabios-bin unless of
> > course someone has a better suggestion.
>
> Possibly a USE flag could be added to seabios/vgabios, similar to the
> "fontforge" flag in font packages, enabled by default and masked in
> profiles that don't support building from source.

+1

It's the simplest thing to maintain. It eases binary package creation
and does not need any blockers, virtuals or conditional depends.

You just patch an ebuild, run `emerge --buildkpgonly seabios`
and package is ready. All in one place.

--

Sergei
 
Old 01-25-2012, 06:56 PM
Sergei Trofimovich
 
Default How to handle x86/amd64 only packages on other arches

> It's the simplest thing to maintain. It eases binary package creation
> and does not need any blockers, virtuals or conditional depends.
>
> You just patch an ebuild, run `emerge --buildkpgonly seabios`
> and package is ready. All in one place.

Sample patch with USE=binary attached.

--

Sergei
 
Old 01-25-2012, 07:19 PM
Xavier Miller
 
Default How to handle x86/amd64 only packages on other arches

Hello,

Thank you very much for your replies

Doubling the timeout seems to work (no error so far, the SHDHC card is
fully useable).

I disabled the MMC debugging, and I also see that, grepping mmc in dmesg:
[ 2.795410] _regulator_get: omap_hsmmc.0 supply vmmc_aux not found,
using dummy regulator
[ 2.806335] _regulator_get: omap_hsmmc.4 supply vmmc_aux not found,
using dummy regulator

Is it normal?

Kind regards,
Xavier.

Quoting Sergei Trofimovich <slyfox@gentoo.org>:


On Wed, 25 Jan 2012 10:30:26 +0100
Ch*-Thanh Christopher Nguyễn <chithanh@gentoo.org> wrote:


Doug Goldstein schrieb:
> I need to be able to have ppc/arm/etc users install a package that can
> only be built on x86/amd64. The packages in question are
> sys-apps/seabios and sys-apps/vgabios. The point is that a PPC machine
> that's using qemu-system-x86_64 still needs to use seabios and
> vgabios. I was planning on building the package on my own hardware and
> posting up sys-apps/seabios-bin and sys-apps/vgabios-bin unless of
> course someone has a better suggestion.

Possibly a USE flag could be added to seabios/vgabios, similar to the
"fontforge" flag in font packages, enabled by default and masked in
profiles that don't support building from source.


+1

It's the simplest thing to maintain. It eases binary package creation
and does not need any blockers, virtuals or conditional depends.

You just patch an ebuild, run `emerge --buildkpgonly seabios`
and package is ready. All in one place.

--

Sergei
 
Old 01-26-2012, 03:09 AM
Duncan
 
Default How to handle x86/amd64 only packages on other arches

Xavier Miller posted on Wed, 25 Jan 2012 21:19:03 +0100 as excerpted:

> Doubling the timeout seems to work (no error so far, the SHDHC card is
> fully useable).

> Quoting Sergei Trofimovich <slyfox@gentoo.org>:
>
>> On Wed, 25 Jan 2012 10:30:26 +0100 Ch*-Thanh Christopher Nguyễn
>> <chithanh@gentoo.org> wrote:
>>
>>> Doug Goldstein schrieb:
>>> > I need to be able to have ppc/arm/etc users install a package that
>>> > can only be built on x86/amd64.

>>> Possibly a USE flag could be added to seabios/vgabios,

>> It's the simplest thing to maintain. It eases binary package creation
>> and does not need any blockers, virtuals or conditional depends.

You know, if you replied in context instead of "upside down" (reply above
quote, quote appended verbatim), you'd have probably noticed that you
were replying to the wrong post on the wrong list!

Just sayin...

--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
 

Thread Tools




All times are GMT. The time now is 12:36 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org