Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1474 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Installation

  policykit-qt, je n'arrive pas à l'installer [Gentoo]

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

policykit-qt, je n'arrive pas à l'installer [Gentoo]

n°1154979
Mac Gyver ​974
Posté le 13-08-2009 à 20:04:08  profilanswer
 

Bonsoir et désolé du dérangement mais je ne suis pas assez calé encore pour comprendre ce message d'erreur ci et ce qu'il me demande apparemment de faire, pouvez vous m'aider:
 
 

Citation :

>>> Emerging (5 of 6) sys-auth/policykit-0.92
 * polkit-0.92.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                      [ ok ]
 * checking ebuild checksums ;-) ...                                                       [ ok ]
 * checking auxfile checksums ;-) ...                                                      [ ok ]
 * checking miscfile checksums ;-) ...                                                     [ ok ]
 * Adding user 'polkituser' to your system ...                                                    
 *  - Userid: 103                                                                                
 *  - Shell: /sbin/nologin                                                                        
 *  - Home: /dev/null                                                                            
 * You must add group polkituser to the system first                                              
 *                                                                                                
 * ERROR: sys-auth/policykit-0.92 failed.                                                        
 * Call stack:                                                                                    
 *               ebuild.sh, line   49:  Called pkg_setup                                          
 *   policykit-0.92.ebuild, line   36:  Called enewuser 'polkituser' '-1' '-1' '/dev/null' 'polkituser'                                                                                              
 *           eutils.eclass, line  551:  Called die                                                
 * The specific snippet of code:                                                                  
 *                              die "${g} is not a valid GID"                                      
 *  The die message:                                                                              
 *   polkituser is not a valid GID                                                                
 *                                                                                                
 * If you need support, post the topmost build error, and the call stack if relevant.              
 * A complete build log is located at '/var/tmp/portage/sys-auth/policykit-0.92/temp/build.log'.  
 * The ebuild environment file is located at '/var/tmp/portage/sys-auth/policykit-0.92/temp/die.env'.                                                                                                
 *                                                                                                
 
>>> Failed to emerge sys-auth/policykit-0.92, Log file:
 
>>>  '/var/tmp/portage/sys-auth/policykit-0.92/temp/build.log'
 
 * Messages for package sys-auth/policykit-0.92:
 
 * You must add group polkituser to the system first
 *
 * ERROR: sys-auth/policykit-0.92 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called pkg_setup
 *   policykit-0.92.ebuild, line   36:  Called enewuser 'polkituser' '-1' '-1' '/dev/null' 'polkituser'
 *           eutils.eclass, line  551:  Called die
 * The specific snippet of code:
 *                              die "${g} is not a valid GID"
 *  The die message:
 *   polkituser is not a valid GID
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-auth/policykit-0.92/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-auth/policykit-0.92/temp/die.env'.
 *


 
Je vous remerci par avance !


Message édité par Mac Gyver 974 le 13-08-2009 à 22:28:43
mood
Publicité
Posté le 13-08-2009 à 20:04:08  profilanswer
 

n°1154990
o'gure
Modérateur
Multi grognon de B_L
Posté le 13-08-2009 à 20:39:09  profilanswer
 

Essaye via de faire avant

addgroup polkituser


puis recommence


---------------
Relax. Take a deep breath !
n°1154998
Mac Gyver ​974
Posté le 13-08-2009 à 20:53:57  profilanswer
 

o'gure a écrit :

Essaye via de faire avant

addgroup polkituser


puis recommence


 
Bonsoir, je n'ai pas la commande addgroup et je ne sais pas de quel paquet elle fait partie :??:
 
Edit: Ah j'ai trouvé ! en fait c'est groupadd sous Gentoo, tout comme c'est useradd !


Message édité par Mac Gyver 974 le 13-08-2009 à 21:02:51
n°1154999
o'gure
Modérateur
Multi grognon de B_L
Posté le 13-08-2009 à 20:55:11  profilanswer
 

essaye

groupadd polkituser

alors  [:god]


Message édité par o'gure le 13-08-2009 à 20:55:26

---------------
Relax. Take a deep breath !
n°1155001
Mac Gyver ​974
Posté le 13-08-2009 à 21:05:19  profilanswer
 

Ah oui tu m'avais grilled mais la notification du forum par mail ne fonctionne plus :??: (ou alors c'est mon compte mail qui déconne, ou bien, kmail allez savoir !)
 
Bref résolu ça a lancé la compilation, merci o'gure. Tu as été de bon augure :D

n°1155002
Mac Gyver ​974
Posté le 13-08-2009 à 21:11:39  profilanswer
 

AAAhhh aurais-je parlé trop vite, ça a effectivement lancé la compilation et en fait ça a même été jusqu'au bout ! policykit est donc installé.
 
...Mais il y a néanmoins eu un message d'erreur (non critique puisque la compilation a été a son terme !)
 

Citation :

error : Attempt to load network entity http://www.oasis-open.org/docbook/ [...] cbookx.dtd                      
pkcheck.xml:5: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"    
]>                                                                                                                    
  ^


 
N'empeche ça me plait pas trop, ça ne doit pas etre super propre même si la compilation/installation a été jusqu'au bout :/
 
Jvais voir a installer oasis apparemment ce soft doit manquer, puis recompiler policykit :)
 
Edit: oasis n'existe pas dans portage :/
 
RE edit: il semble qie je m'égare totalement et que le problème n'ai rien avoir avec un logiciel oasis, en fait je ne comprends pas le msg d'erreur :??:
 
Re edit: j'ai créer un nouveau topic parce que là on s'éloignait trop du soucis de départ, résolu par o'gure ;) => http://forum.hardware.fr/hfr/OSAlt [...] 9891_1.htm
 
Edit: non finalement la modération veut que je continu ici même.


Message édité par Mac Gyver 974 le 13-08-2009 à 22:27:04
n°1155023
Modération
Posté le 13-08-2009 à 22:26:16  answer
 

Peux tu éditer le premier post pour changer ton titre et en mettre un plus explicite.
Merci.

n°1155026
Mac Gyver ​974
Posté le 13-08-2009 à 22:31:01  profilanswer
 

je ne parviens pas à installer (sous Gentoo) policykit-qt ! =>
 

Citation :

>>> Emerging (2 of 2) sys-auth/policykit-qt-0.9.2
 * polkit-qt-0.9.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                          [ ok ]
 * checking auxfile checksums ;-) ...                                                                         [ ok ]
 * checking miscfile checksums ;-) ...                                                                        [ ok ]
>>> Unpacking source...                                                                                              
>>> Unpacking polkit-qt-0.9.2.tar.bz2 to /var/tmp/portage/sys-auth/policykit-qt-0.9.2/work                          
>>> Source unpacked in /var/tmp/portage/sys-auth/policykit-qt-0.9.2/work                                            
>>> Preparing source in /var/tmp/portage/sys-auth/policykit-qt-0.9.2/work/polkit-qt-0.9.2 ...                        
>>> Source prepared.                                                                                                
>>> Configuring source in /var/tmp/portage/sys-auth/policykit-qt-0.9.2/work/polkit-qt-0.9.2 ...                      
>>> Working in BUILD_DIR: "/var/tmp/portage/sys-auth/policykit-qt-0.9.2/work/polkit-qt-0.9.2_build"                  
cmake -C /var/tmp/portage/sys-auth/policykit-qt-0.9.2/temp/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_examples=OFF -DBUILD_EXAMPLES=OFF -DBUILD_Examples=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/sys-auth/policykit-qt-0.9.2/temp/gentoo_rules.cmake /var/tmp/portage/sys-auth/policykit-qt-0.9.2/work/polkit-qt-0.9.2                                                                      
loading initial cache file /var/tmp/portage/sys-auth/policykit-qt-0.9.2/temp/gentoo_common_config.cmake              
-- The C compiler identification is GNU                                                                              
-- The CXX compiler identification is GNU                                                                            
-- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc                                                      
-- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc -- works                                              
-- Detecting C compiler ABI info                                                                                      
-- Detecting C compiler ABI info - done                                                                              
-- Check for working CXX compiler: /usr/bin/i686-pc-linux-gnu-g++                                                    
-- Check for working CXX compiler: /usr/bin/i686-pc-linux-gnu-g++ -- works                                            
-- Detecting CXX compiler ABI info                                                                                    
-- Detecting CXX compiler ABI info - done                                                                            
-- Looking for Q_WS_X11                                                                                              
-- Looking for Q_WS_X11 - found                                                                                      
-- Looking for Q_WS_WIN                                                                                              
-- Looking for Q_WS_WIN - not found.                                                                                  
-- Looking for Q_WS_QWS                                                                                              
-- Looking for Q_WS_QWS - not found.                                                                                  
-- Looking for Q_WS_MAC                                                                                              
-- Looking for Q_WS_MAC - not found.                                                                                  
-- Found Qt-Version 4.5.1 (using /usr/bin/qmake)                                                                      
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so                                                
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found                                        
-- Looking for gethostbyname                                                                                          
-- Looking for gethostbyname - found                                                                                  
-- Looking for connect                                                                                                
-- Looking for connect - found                                                                                        
-- Looking for remove                                                                                                
-- Looking for remove - found                                                                                        
-- Looking for shmat                                                                                                  
-- Looking for shmat - found                                                                                          
-- Looking for IceConnectionNumber in ICE                                                                            
-- Looking for IceConnectionNumber in ICE - found                                                                    
-- Found X11: /usr/lib/libX11.so                                                                                      
-- Looking for include files CMAKE_HAVE_PTHREAD_H                                                                    
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found                                                            
-- Looking for pthread_create in pthreads                                                                            
-- Looking for pthread_create in pthreads - not found                                                                
-- Looking for pthread_create in pthread                                                                              
-- Looking for pthread_create in pthread - found                                                                      
-- Found Threads: TRUE                                                                                                
-- Found Automoc4: /usr/bin/automoc4                                                                                  
-- checking for module 'polkit>=0.8'                                                                                  
--   package 'polkit>=0.8' not found                                                                                  
CMake Error at cmake/modules/FindPkgConfig.cmake:270 (message):                                                      
  A required package was not found                                                                                    
Call Stack (most recent call first):                                                                                  
  cmake/modules/FindPkgConfig.cmake:322 (_pkg_check_modules_internal)                                                
  CMakeLists.txt:17 (pkg_check_modules)                                                                              
 
 
-- checking for module 'polkit-dbus>=0.8'
--   package 'polkit-dbus>=0.8' not found
CMake Error at cmake/modules/FindPkgConfig.cmake:270 (message):
  A required package was not found                              
Call Stack (most recent call first):                            
  cmake/modules/FindPkgConfig.cmake:322 (_pkg_check_modules_internal)
  CMakeLists.txt:18 (pkg_check_modules)                              
 
 
-- checking for module 'polkit-grant>=0.8'
--   package 'polkit-grant>=0.8' not found
CMake Error at cmake/modules/FindPkgConfig.cmake:270 (message):
  A required package was not found                              
Call Stack (most recent call first):                            
  cmake/modules/FindPkgConfig.cmake:322 (_pkg_check_modules_internal)
  CMakeLists.txt:19 (pkg_check_modules)                              
 
 
--   ===========
-- <<< Gentoo configuration >>>
Build type: Gentoo              
Install path: /usr              
 
-- Configuring incomplete, errors occurred!
 *                                          
 * ERROR: sys-auth/policykit-qt-0.9.2 failed.
 * Call stack:                                
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 2831:  Called cmake-utils_src_configure
 *             environment, line  796:  Called die                      
 * The specific snippet of code:                                        
 *       cmake ${cmakeargs} "${CMAKE_USE_DIR}" || die "cmake failed";    
 *  The die message:                                                    
 *   cmake failed                                                        
 *                                                                      
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-auth/policykit-qt-0.9.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-auth/policykit-qt-0.9.2/temp/environment'.
 *                                                                                                            
 
>>> Failed to emerge sys-auth/policykit-qt-0.9.2, Log file:
 
>>>  '/var/tmp/portage/sys-auth/policykit-qt-0.9.2/temp/build.log'
 
 * Messages for package sys-auth/policykit-qt-0.9.2:
 
 *  
 * ERROR: sys-auth/policykit-qt-0.9.2 failed.
 * Call stack:                                
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 2831:  Called cmake-utils_src_configure
 *             environment, line  796:  Called die                      
 * The specific snippet of code:                                        
 *       cmake ${cmakeargs} "${CMAKE_USE_DIR}" || die "cmake failed";    
 *  The die message:                                                    
 *   cmake failed                                                        
 *                                                                      
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-auth/policykit-qt-0.9.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-auth/policykit-qt-0.9.2/temp/environment'.
 *                                                                                                  


 
Y eu une dépendance qui s'est installé mais avec un problème, ils'agit de sys-auth/policykit-0.92 =>
 

Citation :

PolicyKit-1.xml:5: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
]>                                                                                                                    
  ^                                                                                                                  
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/ [...] cbookx.dtd                  
polkitd-1.xml:5: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"  
]>                                                                                                                    
  ^                                                                                                                  
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/ [...] cbookx.dtd                  
pkexec.xml:5: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"      
]>                                                                                                                    
  ^                                                                                                                  
Note: Writing polkitd-1.8                                                                                            
Note: Writing pkexec.1                                                                                                
Note: Writing PolicyKit-1.8                                                                                          
/usr/bin/xsltproc -nonet --stringparam man.base.url.for.relative.links /usr/share/gtk-doc/html/polkit-1/ --xinclude http://docbook.sourceforge.net/rel [...] ocbook.xsl pkcheck.xml                                    
/usr/bin/xsltproc -nonet --stringparam man.base.url.for.relative.links /usr/share/gtk-doc/html/polkit-1/ --xinclude http://docbook.sourceforge.net/rel [...] ocbook.xsl pkaction.xml                                  
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/ [...] cbookx.dtd                  
pkcheck.xml:5: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"    
]>                                                                                                                    
  ^                                                                                                                  
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/ [...] cbookx.dtd                  
pkaction.xml:5: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"    
]>                                                                                                                    
  ^    

                                                                                                         
 
Je ne comprends rien, je suis pas assez calé là.... si qqun peut m'aider  :??:  
 
 :)

n°1155027
o'gure
Modérateur
Multi grognon de B_L
Posté le 13-08-2009 à 22:36:55  profilanswer
 

D'après le log il te manque des packages, suffit de lire et de savoir que "not found" signifie "non trouvé"
Gentoo ne gère pas automatiquement les dépendances ?
Tu fais comment pour installer ton truc ?

 

--   package 'polkit>=0.8' not found      
--   package 'polkit-dbus>=0.8' not found
--   package 'polkit-grant>=0.8' not found                        

Message cité 2 fois
Message édité par o'gure le 13-08-2009 à 22:37:49

---------------
Relax. Take a deep breath !
n°1155029
Tom_
Posté le 13-08-2009 à 22:51:50  profilanswer
 

o'gure a écrit :

Gentoo ne gère pas automatiquement les dépendances ?


Mdrr on parle de Gentoo et non pas Slackware   :whistle:  
Normalement Gentoo gère parfaitement les dépendances, sauf peut être pour policykit et ses amis, où ca a l'air d'être un peu le bordel en ce moment.  :pt1cable:  
Chez moi policykit-gnome et policykit-qt ne s'installent pas non plus. :(  
Pour Polkit, il a l'air présent dans l'overlay Gnome (il y a un bug report sur policykit-gnome qui parle de ca donc je suis allez voir) mais pour Qt je sais pas.
 
edit : il semble qu'en "downgradant" vers la version 0.9.1 ca fonctionne. Perso, je laisse comme ca en attendant qu'ils corrigent ca.
http://forums.gentoo.org/viewtopic [...] kitqt.html


Message édité par Tom_ le 13-08-2009 à 22:57:56
mood
Publicité
Posté le 13-08-2009 à 22:51:50  profilanswer
 

n°1155098
Mac Gyver ​974
Posté le 14-08-2009 à 10:01:13  profilanswer
 

o'gure a écrit :

D'après le log il te manque des packages, suffit de lire et de savoir que "not found" signifie "non trouvé"
Gentoo ne gère pas automatiquement les dépendances ?
Tu fais comment pour installer ton truc ?
 
--   package 'polkit>=0.8' not found        
--   package 'polkit-dbus>=0.8' not found
--   package 'polkit-grant>=0.8' not found                        


 
 
Gentoo gère bien les dépendances et les a d'ailleurs bien géré puisque polkit est installé:
 
sys-auth/policykit-0.92 est installé, et normalement c'est lui polkit :??: (j'ai installé par "emerge -av policykit-qt" )
 
Et Quand a ton msg Tom_, je suis obligé d'avoir la 9.2 si je veux une version valide pour k3b svn:
 

Citation :

* Polkit-Qt  <http://api.kde.org/kdesupport-api/kdesupport-apidocs/polkit-qt/html>
     Needed for K3bSetup to acquire administrator privileges. Version >= 0.9.2 is required.


 
Bref c'est le gros bordel et je ne vois pas de solution  :??:
 
Edit: je suis en train d'installer policykit manuellement et en version 0.94; peut être que policykit-qt en version 0.9.2 sera conten t et s'en satisfera comme dépendance valable :??:


Message édité par Mac Gyver 974 le 14-08-2009 à 10:43:34
n°1155150
Mac Gyver ​974
Posté le 14-08-2009 à 12:59:40  profilanswer
 

Bon j'abandonne c'est une merde sans nom l'installation de k3b svn, je me demande même si c'est possible.
Bref tant pis j'ai plus assez de temps de geekage.

n°1155153
Tom_
Posté le 14-08-2009 à 13:22:21  profilanswer
 

Euh .. tu l'installes comment k3b ?

 

Par curiosité, je viens d'installer k3b-9999 (donc la version svn) via l'overlay "kde-testing" (overlay officiel de l'équipe de dev KDE) et tout c'est très bien passé. Avant de le compiler j'ai vérifié une chose : sys-auth/policykit-qt n'est pas une dépendance de k3b, en tout pas dans l'ebuild.  :jap:

Message cité 1 fois
Message édité par Tom_ le 14-08-2009 à 13:23:53
n°1155155
Mac Gyver ​974
Posté le 14-08-2009 à 13:31:26  profilanswer
 

Tom_ a écrit :

Euh .. tu l'installes comment k3b ?
 
Par curiosité, je viens d'installer k3b-9999 (donc la version svn) via l'overlay "kde-testing" (overlay officiel de l'équipe de dev KDE) et tout c'est très bien passé. Avant de le compiler j'ai vérifié une chose : sys-auth/policykit-qt n'est pas une dépendance de k3b, en tout pas dans l'ebuild.  :jap:


 
Oui et non....c'est uné dépendance optionnelle, mais je la voulais absolument.
 

Citation :

-----------------------------------------------------------------------------
-- The following OPTIONAL dependencies could NOT be found.
-----------------------------------------------------------------------------
   * Polkit-Qt  <http://api.kde.org/kdesupport-api/kdesupport-apidocs/polkit-qt/html>
     Needed for K3bSetup to acquire administrator privileges. Version >= 0.9.2 is required.


 
Sinon j'ai pas pensé a utiliser l'ebuild, j'utilise le système svn en ligne de commande pour k3b de la façon indiqué sur le site de k3b.

n°1155161
Tom_
Posté le 14-08-2009 à 13:59:09  profilanswer
 

K3bsetup n'est installé sur Gentoo, c'est pour ca qu'il n'y a pas cette dépendance à policykit avec l'ebuild :  

* We don't install k3bsetup anymore because Gentoo doesn't need it.
 * If you get warnings on start-up, uncheck the "Check system
 * configuration" option in the "Misc" settings window.


 
Perso, je préfère passer par les ebuilds (surtout que la team KDE fait un excellent travail  :jap:) pour plusieurs raisons :  
- meilleure gestion des dépendances
- ca réduit le bordel dans mon système, on a un meilleure suivi de ce qui est installé ...

n°1155224
Mac Gyver ​974
Posté le 14-08-2009 à 16:40:11  profilanswer
 

Oui c'est sur pour les ebuild, j'ai pas imaginer qu'il pouvait y avoir du svn dans portage pour k3b.
 
Jvais installer k3b svn via portage du coup, et puis bon tant pis pour k3bsetup alors :??:

n°1155258
Mac Gyver ​974
Posté le 14-08-2009 à 19:35:58  profilanswer
 

installé a y est. :)
 
Mais bon j'ai un graveur de CD seulement sur le PC, et seulement des... DVD vierges.
 
Alors pour les tests on repassera :D :D (jvais m'acheter un graveur DVD mais je ne sais pas encore comment je vais m'y prendre pour ça....surement sur materiel.net car ils vendent en HT vers les DOM et ensuite ici on doit payer l'octroi de mer, c'est bien plus interessant que d'acheter chez des commerçant locaux spécialisés en général....)
 
merci Tom_ car visiblement k3b fonctionnera correctement ;)


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Installation

  policykit-qt, je n'arrive pas à l'installer [Gentoo]

 

Sujets relatifs
installer yafaray pour blender sous mandrivaComment installer un virus sur ubuntu 8.1
[Gentoo][sun-jdk] Installation impossible d'une dépendance.[MDV]installer flash 64 bit
Gros soucis de dépendances bluez sous GentooJe n'arrive pas à configurer proftpd comme je le souhaite.
Installer fichiers .bin sur xubuntu (planeshift)j'arrive pas à installer trixbox sur mon serveur supermicro
Installer Amsn sous Mandriva 2009 Spring 
Plus de sujets relatifs à : policykit-qt, je n'arrive pas à l'installer [Gentoo]


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR