Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Spanish
  • Search

[SOLVED]ERROR: media-sound/amarok-2.0.1.1 failed

Foro en español para los usuarios Hispanos de Gentoo.

Moderator: Stolz

Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
Author
Message
afkael
Apprentice
Apprentice
User avatar
Posts: 199
Joined: Tue Jul 01, 2008 2:53 pm

[SOLVED]ERROR: media-sound/amarok-2.0.1.1 failed

  • Quote

Post by afkael » Sun Feb 15, 2009 4:02 am

bueno.. no he podido subir el error ni aqui, ni en pastebin, ni en nopaste.. quiza es demasiado grande o hay algo malo con mi conexion

la cuestion es asi:

Code: Select all

[ 94%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_gui.dir/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QWizard.o                                                      
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok_build/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QWindowsStyle.cpp: In member function 'virtual QPixmap QtScriptShell_QWindowsStyle::standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*) const':                                                                                             
/var/tmp/portage/media-sound/amarok-2.0.1.1/work/amarok_build/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QWindowsStyle.cpp:342: warning: control reaches end of non-void function                                                                                      
[ 94%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_gui.dir/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QWizardPage.o                                                  
[ 94%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_gui.dir/generated_cpp/com_trolltech_qt_gui/qtscriptshell_QWorkspace.o                                                   
Linking CXX shared module ../../../../lib/libqtscript_gui.so                                          
[ 94%] Built target qtscript_gui                                                                      
make: *** [all] Error 2                                                                               
 *                                                                                                    
 * ERROR: media-sound/amarok-2.0.1.1 failed.                                                          
 * Call stack:                                                                                        
 *               ebuild.sh, line   49:  Called src_compile                                            
 *             environment, line 3175:  Called kde4-base_src_compile                                  
 *             environment, line 2304:  Called kde4-base_src_make                                     
 *             environment, line 2364:  Called cmake-utils_src_make                                   
 *             environment, line  829:  Called die                                                    
 * The specific snippet of code:                                                                      
 *           emake "$@" || die "Make failed!";                                                        
 *  The die message:                                                                                  
 *   Make 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/media-sound/amarok-2.0.1.1/temp/build.log'.   
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/amarok-2.0.1.1/temp/environment'.                                                                                                
 *
portage me advierte de esto..

Code: Select all

* 
 * Compilation will fail if dev-db/mysql[-community] is built without -fPIC in your CFLAGS!
 * Related bug: http://bugs.gentoo.org/show_bug.cgi?id=238487                              
 *                                                                                         
 * To fix this, and to avoid using -fPIC globally in your make.conf     (which is not recommended),
 * put the following into /etc/portage/env/dev-db/mysql (or     mysql-community, depending on which you use;                                                                                                
 * create dirs and the file if they don't exist):                                                     
 *                                                                                                    
 * CFLAGS="-march=athlon64 -O2 -pipe -DPIC -fPIC"                                                     
 * CXXFLAGS="-march=athlon64 -O2 -pipe -DPIC -fPIC"                                                   
 * 
yo que apenas hablo el español cree un make.conf en /etc/portage/env/dev-db/mysql y otro en /etc/portage/env/dev-db/mysql-community con el texto:

Code: Select all

CFLAGS="-march=athlon64 -O2 -pipe -DPIC -fPIC"                                                     
 CXXFLAGS="-march=athlon64 -O2 -pipe -DPIC -fPIC"
lo hice de ambos porque... si, por las dudas.

la cuestion es que siempre queda ahi, y no se como solucionarlo.

En fin, cualquier informacion que pueda hacer falta nomas la piden. Yo por mi parte no tengo mas que agradecerles la buena voluntad que tienen. Saludos
Last edited by afkael on Mon Feb 16, 2009 10:44 pm, edited 1 time in total.
Top
achaw
l33t
l33t
User avatar
Posts: 689
Joined: Wed Aug 09, 2006 3:36 am
Location: Argentina

  • Quote

Post by achaw » Sun Feb 15, 2009 7:37 pm

No se si entendi bien lo que hiciste, pero no se crean make.conf en esos directorios, sino archivos de texto plano con las flags individuales para cada paquete. Si lo que hiciste es crear el dir /etc/portage/env/dev-db/mysql-community con un make.conf adentro esta mal.
Lo que debes hacer es crear el archivo de texto /etc/portage/env/dev-db/mysql-community y asi si poner las flags.
Pero como no entendi bien lo que quisiste explicar, si hiciste lo primero, es incorrecto. El procedimiento adecuado seria el segundo.

Saludos
Usuario GNU/Linux #398133
Fluxbox + ROX
NO al canon!
Top
artic
Veteran
Veteran
User avatar
Posts: 1208
Joined: Sat Nov 22, 2003 3:09 pm

Re: ERROR: media-sound/amarok-2.0.1.1 failed

  • Quote

Post by artic » Sun Feb 15, 2009 11:53 pm

Si no hablas ingles , los de google han sacado una herramienta de idiomas ,muy eficaz con sólo darle a un botón te traduce cualquier idioma , a esta te invito yo :

Code: Select all

 * La compilación fallará si dev-db/mysql[-community] es construido sin -fPIC en tus CFLAGS!
 * Bug relacionado: http://bugs.gentoo.org/show_bug.cgi?id=238487                             
 *                                                                                         
 * Para solucionar esto, y evitar usar -fPIC como global en tu make.conf     (lo cual no está recomendado),
 * pon lo siguiente en /etc/portage/env/dev-db/mysql (o     mysql-community, dependiendo cual uses;                                                                                               
 * crea un directorio y el archivo , si no existen):                                                     
 *                                                                                                   
 * CFLAGS="-march=athlon64 -O2 -pipe -DPIC -fPIC"                                                     
 * CXXFLAGS="-march=athlon64 -O2 -pipe -DPIC -fPIC"                                                   
 
Un saludo
Pwd by Gentoo | 2.6.28-gentoo-x64 | kde4.2| ext4 | xorg 7.4 |
Top
afkael
Apprentice
Apprentice
User avatar
Posts: 199
Joined: Tue Jul 01, 2008 2:53 pm

  • Quote

Post by afkael » Mon Feb 16, 2009 3:13 am

Bien.. ya solucioné lo de amarok creando el archivo mysql y mysql-community en lugar de las carpetas con un make.conf dentro (si, hay uno que está de vicio.. pero no quise arriesgar a otro error de compilación al 94%). En realidad es lo que en principio habia echo pero ahora que pienso no se si reemergí mysql con esas características ántes de intentar con amarok.
Ahora se me presentan dificulatedes por otro lado... al intentar un

Code: Select all

emerge --update --newuse --deep @system @world
se intenta instalar mysql-community, que se blockea con mysql... lo raro es que desistale el mysql e incluso el amarok.. hago de nuevo

Code: Select all

emerge --update --newuse --deep @system @world
y se instala mysql-community, no se porque..
cuando instalo nuevamente amarok se instala mysql y desinstala el mysql-community, pero al actualizar intenta instalarse de nuevo y otra vez el bloqueo..

Sin amarok no se porque se instenta instalar mysql-community, si no es dependencia de nada

Code: Select all

inferno afkael # emerge -p --update --newuse --deep @system @world

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

Calculating dependencies... done!
[ebuild  N    ] dev-db/mysql-community-5.1.21_beta  USE="perl ssl -big-tables -cluster -debug -embedded -extraengine -innodb -latin1 -max-idx-128 -minimal -pbxt (-selinux) -static"    
[ebuild     U ] virtual/mysql-5.1 [5.0]                                                     
[uninstall    ] dev-db/mysql-5.0.70-r1                                                      
[blocks b     ] dev-db/mysql-community ("dev-db/mysql-community" is blocking dev-db/mysql-5.0.70-r1)                                                                                    
[blocks b     ] dev-db/mysql ("dev-db/mysql" is blocking dev-db/mysql-community-5.1.21_beta)
inferno afkael # equery depends dev-db/mysql-community
[ Searching for packages depending on dev-db/mysql-community... ]
inferno afkael #
revdep-rebuild tambien intenta instalar mysql-community:

Code: Select all

inferno afkael # revdep-rebuild -p
 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.                                                     

 * Collecting system binaries and libraries
 * Found existing 1_files.rr               
 * Collecting complete LD_LIBRARY_PATH     
 * Found existing 2_ldpath.rr.             
 * Checking dynamic linking consistency    
 * Found existing 3_broken.rr.             
 * Assigning files to packages
 * Found existing 4_raw.rr
 * Cleaning list of packages to rebuild
 * Found existing 4_pkgs.rr
 * Assigning packages to ebuilds
 * Found existing 4_ebuilds.rr
 * Evaluating package order
 * Found existing 5_order.rr
 * Generated new 5_order.rr
 * All prepared. Starting rebuild
emerge --oneshot --pretend dev-perl/DBD-mysql:0
x11-libs/qt-sql:4

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

Calculating dependencies... done!
[ebuild  N    ] dev-db/mysql-community-5.1.21_beta  USE="perl ssl -big-tables -cluster -debug -embedded -extraengine -innodb -latin1 -max-idx-128 -minimal -pbxt (-selinux) -static"
[ebuild     U ] virtual/mysql-5.1 [5.0]
[ebuild   R   ] dev-perl/DBD-mysql-4.00.5
[ebuild   R   ] x11-libs/qt-sql-4.4.2
[uninstall    ] dev-db/mysql-5.0.70-r1
[blocks b     ] dev-db/mysql-community ("dev-db/mysql-community" is blocking dev-db/mysql-5.0.70-r1)
[blocks b     ] dev-db/mysql ("dev-db/mysql" is blocking dev-db/mysql-community-5.1.21_beta)
 * Now you can remove -p (or --pretend) from arguments and re-run revdep-rebuild.
y cuando esta instalado amarok tanto mysql como mysql-community son dependecias de este (¿?)

no se si se entiende lo que he explicado.. creo que puedo bloquear mysql-community poniendolo en package.mask, pero igual no me explico porqu´e quiere instalarse. Saludos
Top
afkael
Apprentice
Apprentice
User avatar
Posts: 199
Joined: Tue Jul 01, 2008 2:53 pm

  • Quote

Post by afkael » Mon Feb 16, 2009 10:43 pm

bueno, ya esta totalmente resuelto el problema de los mysql, me quedé con el community.. sólo que en mi package.use tenía

Code: Select all

dev-db/mysql embedded -minimal

Asi que desinstalé mysql y amarok y reemplazé esa linea por:

Code: Select all

dev-db/mysql-community embedded -minimal
actualicé e instalé amaroy contra las librerias mysql-community.

Gracias por la ayuda. Saludos
Top
Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Spanish”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic