Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 454024 - Please stabilize =sys-apps/flashrom-0.9.6.1
Summary: Please stabilize =sys-apps/flashrom-0.9.6.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Keywording and Stabilization (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Christian Ruppert (idl0r)
URL: http://packages.gentoo.org/package/sy...
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2013-01-25 15:14 UTC by Agostino Sarubbo
Modified: 2014-08-04 07:41 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2013-01-25 15:14:23 UTC
Is it OK to stabilize =sys-apps/flashrom-0.9.6.1 ?

If so, please CC all arches which have stable keywords

for older versions of this package and add STABLEREQ keyword

to the bug.
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2013-01-28 20:48:10 UTC
Please stabilize =sys-apps/flashrom-0.9.6.1.
Comment 2 Agostino Sarubbo gentoo-dev 2013-01-30 16:43:38 UTC
amd64 stable
Comment 3 Agostino Sarubbo gentoo-dev 2013-01-30 18:09:41 UTC
x86 stable
Comment 4 Agostino Sarubbo gentoo-dev 2013-02-10 19:13:50 UTC
on arm:

the ebuild says to enable CONFIG_NIC3COM, so I did:

arm_zc linux # make allmodconfig
arm_zc linux # grep NIC3COM .config | wc
      0       0       0

we need to mask that use?
Comment 5 Peter Stuge 2013-02-10 19:49:46 UTC
That's not a kernel config option, but a flashrom one. You can set it on the make command line when building flashrom.
Comment 6 Agostino Sarubbo gentoo-dev 2013-02-10 19:54:36 UTC
(In reply to comment #5)
> That's not a kernel config option, but a flashrom one. You can set it on the
> make command line when building flashrom.

ok probably there was a misunderstanding:

I get:

>>> Failed to emerge sys-apps/flashrom-0.9.6, Log file:
>>>  '/var/tmp/portage/sys-apps/flashrom-0.9.6/temp/build.log'
 * Package:    sys-apps/flashrom-0.9.6
 * Repository: gentoo
 * Maintainer: idl0r@gentoo.org peter@stuge.se
 * USE:        arm bitbang_spi buspirate_spi dediprog drkaiser dummy elibc_glibc gfxnvidia internal kernel_linux nic3com nicintel nicintel_spi ogp_spi pony_spi satasii serprog userland_GNU wiki
 * FEATURES:   sandbox userpriv usersandbox
The following features are unavailable on your machine: CONFIG_NIC3COM=yes
make: *** [featuresavailable] Error 1
Comment 7 Peter Stuge 2013-02-10 20:20:58 UTC
(In reply to comment #6)
>  * USE:        arm bitbang_spi buspirate_spi dediprog drkaiser dummy
> elibc_glibc gfxnvidia internal kernel_linux nic3com nicintel nicintel_spi
> ogp_spi pony_spi satasii serprog userland_GNU wiki
>  * FEATURES:   sandbox userpriv usersandbox
> The following features are unavailable on your machine: CONFIG_NIC3COM=yes

That's probably an upstream bug. Albeit unlikely there is no reason why an arm system couldn't have a PCI bus with a 3Com network card on it.

For now I guess the ebuild has to be made to mimic whatever rules the Makefile imposes, as to what options can be enabled on what systems. Quick fix is to disallow USE="gfxnvidia nic3com nicintel nicintel_spi satasii" on the arch. 

Better check the Makefile to see what systems it makes such assumptions on.
Comment 8 Agostino Sarubbo gentoo-dev 2013-05-14 11:42:11 UTC
arm stable. Last arch, closing
Comment 9 SpanKY gentoo-dev 2014-08-04 01:45:11 UTC
(In reply to Peter Stuge from comment #7)

the problem isn't that it's PCI, it's that the driver is written using x86 I/O port insns:
https://en.wikibooks.org/wiki/X86_Assembly/Other_Instructions#I.2FO_Instructions

and those indeed are not portable :)
Comment 10 Peter Stuge 2014-08-04 07:41:29 UTC
(In reply to SpanKY from comment #9)
> the problem isn't that it's PCI, it's that the driver is written using x86
> I/O port insns

Yeah, that's an upstream bug alright.