Je n'arrive pas à installer Darktable

Bopnjour,

J’essaie d’installer Darktable.
Je fais donc :

calculate ~ # emerge -p darktable

qui me répond :

 # required by darktable (argument)
=media-gfx/darktable-1.6.1 ~amd64

Donc :

calculate ~ # echo "media-gfx/darktable-1.6.1 ~amd64" >> /etc/portage/package.keywords/custom

Je vérifie :

calculate ~ # cat /etc/portage/package.keywords/custom
media-gfx/darktable-1.6.1 ~amd64

Ce n’est pas ce qu’il fallait faire ?

Parce que, quand je lance l’installation :

calculate ~ # emerge darktable
--- Invalid atom in /etc/portage/package.keywords/custom: media-gfx/darktable-1.6.1
Calculating dependencies... done!
[ebuild  N     ] x11-themes/gtk-engines-2.20.2-r1  USE="-accessibility -lua" ABI_X86="(64) (-32) (-x32)" 
[ebuild  N    ~] media-gfx/darktable-1.6.1  USE="gphoto2 jpeg2k kde nls openexr openmp rawspeed slideshow squish webp -colord -doc -flickr -geo -graphicsmagick -libsecret -opencl -pax_kernel -web-services" LINGUAS="de es fr it pl pt_BR ru uk -cs -da -el -ja -nl -pt_PT -sq -sv" 

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
 # required by darktable (argument)
=media-gfx/darktable-1.6.1 ~amd64

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.

J’essaie donc ceci :

calculate ~ # emerge --autounmask-write darktable
--- Invalid atom in /etc/portage/package.keywords/custom: media-gfx/darktable-1.6.1
Calculating dependencies... done!
[ebuild  N     ] x11-themes/gtk-engines-2.20.2-r1  USE="-accessibility -lua" ABI_X86="(64) (-32) (-x32)" 
[ebuild  N    ~] media-gfx/darktable-1.6.1  USE="gphoto2 jpeg2k kde nls openexr openmp rawspeed slideshow squish webp -colord -doc -flickr -geo -graphicsmagick -libsecret -opencl -pax_kernel -web-services" LINGUAS="de es fr it pl pt_BR ru uk -cs -da -el -ja -nl -pt_PT -sq -sv" 

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
 # required by darktable (argument)
=media-gfx/darktable-1.6.1 ~amd64

Autounmask changes successfully written.

 * IMPORTANT: config file '/etc/portage/package.keywords/custom' needs updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.

:frowning:

Edit : j’ai trouvé mon erreur, il fallait faire :

 # echo "media-gfx/darktable ~amd64" >> /etc/portage/package.keywords/custom

Je n’y arrive toujours pas :

calculate ~ # emerge -p darktable

 * IMPORTANT: config file '/etc/portage/package.keywords/custom' needs updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] x11-themes/gtk-engines-2.20.2-r1  USE="-accessibility -lua" ABI_X86="(64) (-32) (-x32)" 
[ebuild  N    ~] media-gfx/darktable-1.6.2  USE="gphoto2 jpeg2k kde nls openexr openmp rawspeed slideshow squish webp -colord -doc -flickr -geo -graphicsmagick -libsecret -opencl -pax_kernel -web-services" CPU_FLAGS_X86="-sse3" LINGUAS="de es fr it pl pt_BR ru uk -cs -da -el -ja -nl -pt_PT -sq -sv" 

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

calculate ~ # emerge -q darktable

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


 * IMPORTANT: config file '/etc/portage/package.keywords/custom' needs updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.
>>> Verifying ebuild manifests
>>> Running pre-merge checks for media-gfx/darktable-1.6.2
 * This package requires a CPU supporting the SSE3 instruction set.
 * ERROR: media-gfx/darktable-1.6.2::gentoo failed (pretend phase):
 *   (no error message)
 * 
 * Call stack:
 *                ebuild.sh, line  93:  Called pkg_pretend
 *   darktable-1.6.2.ebuild, line  71:  Called die
 * The specific snippet of code:
 *              eerror "This package requires a CPU supporting the SSE3 instruction set." && die
 * 
 * If you need support, post the output of `emerge --info '=media-gfx/darktable-1.6.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/darktable-1.6.2::gentoo'`.
 * The complete build log is located at '/var/calculate/tmp/portage/media-gfx/darktable-1.6.2/temp/build.log'.
 * The ebuild environment file is located at '/var/calculate/tmp/portage/media-gfx/darktable-1.6.2/temp/die.env'.
 * Working directory: '/usr/lib64/python2.7/site-packages'
 * S: '/var/calculate/tmp/portage/media-gfx/darktable-1.6.2/work/darktable-1.6.2'

 * Messages for package media-gfx/darktable-1.6.2:

 * This package requires a CPU supporting the SSE3 instruction set.
 * ERROR: media-gfx/darktable-1.6.2::gentoo failed (pretend phase):
 *   (no error message)
 * 
 * Call stack:
 *                ebuild.sh, line  93:  Called pkg_pretend
 *   darktable-1.6.2.ebuild, line  71:  Called die
 * The specific snippet of code:
 *              eerror "This package requires a CPU supporting the SSE3 instruction set." && die
 * 
 * If you need support, post the output of `emerge --info '=media-gfx/darktable-1.6.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/darktable-1.6.2::gentoo'`.
 * The complete build log is located at '/var/calculate/tmp/portage/media-gfx/darktable-1.6.2/temp/build.log'.
 * The ebuild environment file is located at '/var/calculate/tmp/portage/media-gfx/darktable-1.6.2/temp/die.env'.
 * Working directory: '/usr/lib64/python2.7/site-packages'
 * S: '/var/calculate/tmp/portage/media-gfx/darktable-1.6.2/work/darktable-1.6.2'
calculate ~ #

J’ai passé pas mal de temps à chercher, sans résultat.
Il semble y avoir une solution ici : [[http://www.calculate-linux.org/boards/15/topics/23153]]
mais ne comprenant pas l’anglais, je ne sais pas ce que je dois faire,

Puisque emerge me dit “This package requires a CPU supporting the SSE3 instruction set.”
J’ai fait :

calculate ~ # touch /etc/portage/package.use/darktable
calculate ~ # echo "sse3" >> /etc/portage/package.use/darktable
calculate ~ # cat /etc/portage/package.use/darktable
sse3

mais ensuite emerge me répond

--- Invalid atom in /etc/portage/package.use/darktable: sse3

J’essaie comme ceci :

calculate ~ # USE="sse3"  emerge -q darktable

même résultat…

De plus, si je fais :

calculate ~ # emerge --info | grep sse3

je constate qu’il est déjà présent.

Alors, qu’est-ce qu’il veut ?

Salut,

La bonne syntaxe dans ton fichier de configuration doit-être :

media-gfx/darktable sse3

Le fichier de configuration pour les USES FLAGS doit lui aussi se présenter sous le nom et dans le répertoire :

/etc/portage/package.use/custom

et non pas le :
/etc/portage/package.use/darktable

Merci

XKomodor | Julien

OK, merci Julien,

Julien DAL wrote:

La bonne syntaxe dans ton fichier de configuration doit-être :
[…]

Le fichier de configuration pour les USES FLAGS doit lui aussi se présenter sous le nom et dans le répertoire :
[…]
et non pas le :
/etc/portage/package.use/darktable

J’ai donc fait :

calculate ~ # echo "media-gfx/darktable sse3" >> /etc/portage/package.use/custom

Mais j’ai toujours la même erreur :

calculate ~ # emerge -q darktable

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


 * IMPORTANT: 2 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.
>>> Verifying ebuild manifests
>>> Running pre-merge checks for media-gfx/darktable-1.6.2
 * This package requires a CPU supporting the SSE3 instruction set.
 * ERROR: media-gfx/darktable-1.6.2::gentoo failed (pretend phase):
 *   (no error message)
 * 
 * Call stack:
 *                ebuild.sh, line  93:  Called pkg_pretend
 *   darktable-1.6.2.ebuild, line  71:  Called die
 * The specific snippet of code:
 *              eerror "This package requires a CPU supporting the SSE3 instruction set." && die
 * 
 * If you need support, post the output of `emerge --info '=media-gfx/darktable-1.6.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/darktable-1.6.2::gentoo'`.
 * The complete build log is located at '/var/calculate/tmp/portage/media-gfx/darktable-1.6.2/temp/build.log'.
 * The ebuild environment file is located at '/var/calculate/tmp/portage/media-gfx/darktable-1.6.2/temp/die.env'.
 * Working directory: '/usr/lib64/python2.7/site-packages'
 * S: '/var/calculate/tmp/portage/media-gfx/darktable-1.6.2/work/darktable-1.6.2'

 * Messages for package media-gfx/darktable-1.6.2:

 * This package requires a CPU supporting the SSE3 instruction set.
 * ERROR: media-gfx/darktable-1.6.2::gentoo failed (pretend phase):
 *   (no error message)
 * 
 * Call stack:
 *                ebuild.sh, line  93:  Called pkg_pretend
 *   darktable-1.6.2.ebuild, line  71:  Called die
 * The specific snippet of code:
 *              eerror "This package requires a CPU supporting the SSE3 instruction set." && die
 * 
 * If you need support, post the output of `emerge --info '=media-gfx/darktable-1.6.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/darktable-1.6.2::gentoo'`.
 * The complete build log is located at '/var/calculate/tmp/portage/media-gfx/darktable-1.6.2/temp/build.log'.
 * The ebuild environment file is located at '/var/calculate/tmp/portage/media-gfx/darktable-1.6.2/temp/die.env'.
 * Working directory: '/usr/lib64/python2.7/site-packages'
 * S: '/var/calculate/tmp/portage/media-gfx/darktable-1.6.2/work/darktable-1.6.2'