Erro de compilacao, alguem pode me ajudar? [RESOLVIDO]

1. Erro de compilacao, alguem pode me ajudar? [RESOLVIDO]

Sandro Souza
novatterra

(usa Arch Linux)

Enviado em 22/10/2016 - 16:10h

estou tentando instalar o lxqt-config (dep essencial pra instalar o lxqt, mas aos 96% da compilacao acontece esse erro e eu nao sei como resolver

o sistema ta tentando instalar a 0.10, porem ja tem a 0.11, q ele nao ta instalando pq ta dando conflito
to meio perdido sem saber o q fazer,
kkkk


[ 96%] Linking CXX executable lxqt-config-input
cd /var/tmp/portage/lxqt-base/lxqt-config-0.10.0/work/lxqt-config-0.10.0_build/lxqt-config-input && /usr/bin/cmake -E cmake_link_script CMakeFiles/lxqt-config-input.dir/link.txt --verbose=1
/usr/bin/i686-pc-linux-gnu-g++ -march=native -O2 -pipe -fno-exceptions -Wall -std=c++11 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed CMakeFiles/lxqt-config-input.dir/lxqt-config-input.cpp.o CMakeFiles/lxqt-config-input.dir/keyboardconfig.cpp.o CMakeFiles/lxqt-config-input.dir/mouseconfig.cpp.o CMakeFiles/lxqt-config-input.dir/keyboardlayoutconfig.cpp.o CMakeFiles/lxqt-config-input.dir/selectkeyboardlayoutdialog.cpp.o CMakeFiles/lxqt-config-input.dir/LXQtAppTranslationLoader.cpp.o CMakeFiles/lxqt-config-input.dir/lxqt-config-input_automoc.cpp.o -o lxqt-config-input -rdynamic -lSM -lICE -lX11 -lXext ../liblxqt-config-cursor/liblxqt-config-cursor.so /usr/lib/liblxqt.so.0.10.0 /usr/lib/libKF5WindowSystem.so.5.26.0 /usr/lib/libQt5X11Extras.so.5.6.1 /usr/lib/libQt5Xdg.so.2.0.0 /usr/lib/libQt5XdgIconLoader.so.2.0.0 /usr/lib/libQt5Svg.so.5.6.1 /usr/lib/libQt5Widgets.so.5.6.1 /usr/lib/libQt5Gui.so.5.6.1 /usr/lib/libQt5DBus.so.5.6.1 -lxcb -lX11 /usr/lib/libQt5Xml.so.5.6.1 /usr/lib/libQt5Core.so.5.6.1 -lXcursor -lz -lXfixes -Wl,-rpath,/var/tmp/portage/lxqt-base/lxqt-config-0.10.0/work/lxqt-config-0.10.0_build/liblxqt-config-cursor:
make[2]: Leaving directory '/var/tmp/portage/lxqt-base/lxqt-config-0.10.0/work/lxqt-config-0.10.0_build'
[ 96%] Built target lxqt-config-input
make[1]: Leaving directory '/var/tmp/portage/lxqt-base/lxqt-config-0.10.0/work/lxqt-config-0.10.0_build'
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
* ERROR: lxqt-base/lxqt-config-0.10.0::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=lxqt-base/lxqt-config-0.10.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=lxqt-base/lxqt-config-0.10.0::gentoo'`.
* The complete build log is located at '/var/tmp/portage/lxqt-base/lxqt-config-0.10.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/lxqt-base/lxqt-config-0.10.0/temp/environment'.
* Working directory: '/var/tmp/portage/lxqt-base/lxqt-config-0.10.0/work/lxqt-config-0.10.0_build'
* S: '/var/tmp/portage/lxqt-base/lxqt-config-0.10.0/work/lxqt-config-0.10.0'

>>> Failed to emerge lxqt-base/lxqt-config-0.10.0, Log file:

>>> '/var/tmp/portage/lxqt-base/lxqt-config-0.10.0/temp/build.log'

* Messages for package lxqt-base/lxqt-config-0.10.0:

* ERROR: lxqt-base/lxqt-config-0.10.0::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=lxqt-base/lxqt-config-0.10.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=lxqt-base/lxqt-config-0.10.0::gentoo'`.
* The complete build log is located at '/var/tmp/portage/lxqt-base/lxqt-config-0.10.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/lxqt-base/lxqt-config-0.10.0/temp/environment'.
* Working directory: '/var/tmp/portage/lxqt-base/lxqt-config-0.10.0/work/lxqt-config-0.10.0_build'
* S: '/var/tmp/portage/lxqt-base/lxqt-config-0.10.0/work/lxqt-config-0.10.0'



olha como so falta esses dois:


novatterra sandro # emerge -auv lxqt-meta

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

Calculating dependencies... done!
[ebuild N ] lxqt-base/lxqt-meta-0.10.0::gentoo USE="about filemanager icons oxygen policykit -admin -lightdm -lximage -minimal -powermanagement -sddm -ssh-askpass -sudo" 0 KiB
[ebuild N ] lxqt-base/lxqt-config-0.10.0::gentoo 0 KiB

Total: 2 packages (2 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]



  


2. Re: Erro de compilacao, alguem pode me ajudar? [RESOLVIDO]

Luiz Santos
luiztux

(usa Gentoo)

Enviado em 22/10/2016 - 18:39h

Bom, de início, eu diria que a opção -u do emerge é apenas para o caso de atualizações de um pacote já instalado no sistema. Então não pegue vício de usar esta opção ao instalar novos pacotes, para isto, basta:

emerge -av pacote 


Tente mudar as flags de compilação para ver se o emerge completa a instalação. Primeiro, faça isto para descobrir a flag -march do teu processador:

gcc -c -Q -march=native --help=target | grep -i march 


Se a saída for como native mesmo não precisa mudar a variável no make.conf, mas se for diferente, você pode precisa alterá-la no arquivo.

Por último, mas não menos importante, compartilhe estes logs para tentarmos achar uma solução.


* If you need support, post the output of `emerge --info '=lxqt-base/lxqt-config-0.10.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=lxqt-base/lxqt-config-0.10.0::gentoo'`.
* The complete build log is located at '/var/tmp/portage/lxqt-base/lxqt-config-0.10.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/lxqt-base/lxqt-config-0.10.0/temp/environment'.


Acho que o LXQt não foi com tua cara...não é possível... Õ.o

-----------------------------------''----------------------------------

Larry, The Cow, uses Gentoo GNU/Linux

^__^
(oo)
(__)

"If it moves, compile it."




3. Re: Erro de compilacao, alguem pode me ajudar? [RESOLVIDO]

Sandro Souza
novatterra

(usa Arch Linux)

Enviado em 23/10/2016 - 13:55h

ola todos
ola luiz,
pois ''e parece q o Lxqt nao gostou muito de mim, kkkkkk\


Tente mudar as flags de compilação para ver se o emerge completa a instalação. Primeiro, faça isto para descobrir a flag -march do teu processador:

gcc -c -Q -march=native --help=target | grep -i march


o resultado foi esse:


novatterra # gcc -c -Q -march=native --help=target | grep -i march
-march= core2


entao fui no make.conf e troquei a flag de "native" para "core2"
mas mesmo assim a compilacao falhou no mesmo ponto, entao, eis aqui os logs q vc citou:


novatterra # emerge --info =lxqt-base/lxqt-config-0.10.0::gentoo
Portage 2.3.1 (python 2.7.12-final-0, funtoo/1.0/linux-gnu/arch/x86-32bit, gcc-4.9.3, glibc-2.22, 4.5.2-1 i686)
=================================================================
System Settings
=================================================================
System uname: [email protected]_2.13GHz-with-gentoo-2.2.1
KiB Mem: 1019000 total, 495964 free
KiB Swap: 1023996 total, 943236 free
sh bash 4.3_p42
ld GNU ld (Funtoo 2.25) 2.25.0
app-shells/bash: 4.3_p42::gentoo
dev-java/java-config: 2.2.0-r3::gentoo
dev-lang/perl: 5.22.2::gentoo
dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake: 3.6.2::gentoo
sys-apps/baselayout: 2.2.1::gentoo
sys-apps/openrc: 0.18.3-r2::gentoo
sys-apps/sandbox: 2.10-r2::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake: 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils: 2.25-r2::gentoo
sys-devel/gcc: 4.9.3-r3::gentoo
sys-devel/gcc-config: 1.8-r1::gentoo
sys-devel/libtool: 2.4.6-r2::gentoo
sys-devel/make: 4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc: 2.22::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: git
sync-uri: git://github.com/funtoo/ports-2012.git
priority: -1000

proaudio
location: /var/lib/layman/proaudio
masters: gentoo
priority: 50

sunrise
location: /var/lib/layman/sunrise
masters: gentoo
priority: 50

ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* [email protected] Oracle-BCLA-JavaSE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -mtune=generic -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pt_BR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="pt_BR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa apng berkdb bluray bzip2 cairo cdb cdda cddb cdinstall cdio cdparanoia cdr consolekit cracklib crypt css cups cxx dbus debug dri dts dvd dvdr dvdread encode evo exif faac faad ffmpeg flac gdbm gif gnome gpm gtk gzip ico iconv icu introspection ios ipod ipv6 jack java jpeg jpeg2k lame libass libcaca libguess libmpeg2 libnotify lock mad matroska mjpeg modules mp3 mp4 mpeg mplayer mtp mudflap musepack ncurses nls nptl nsplugin ogg opengl openmp oss pam pcre pdf png policykit postproc pppd python qt3support quicktime readline resolvconf sdl session sndfile sound ssl startup-notification svg taglib tcpd theora thunar tiff truetype twolame udev unicode v4l vorbis vpx wav wavpack webp win32codecs wmf x264 x265 x86 xattr xml xvid zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-32 pc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pt_BR" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386" QEMU_USER_TARGETS="i386" RUBY_TARGETS="ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS



novatterra # emerge -pqv =lxqt-base/lxqt-config-0.10.0::gentoo
[ebuild N ] lxqt-base/lxqt-config-0.10.0



/var/tmp/portage/lxqt-base/lxqt-config-0.10.0/temp/build.log

http://pastebin.com/Y6JdvMkg



/var/tmp/portage/lxqt-base/lxqt-config-0.10.0/temp/environment

http://pastebin.com/vs8fbtUv


eu ate tentei examinar esses docs, mas nao entendi muita coisa


P.S.: meu teclado esta no padrao americano sem acentos, e ainda nao consegui mudar, por isso to escrevendo meio errado

thx


4. Re: Erro de compilacao, alguem pode me ajudar? [RESOLVIDO]

Luiz Santos
luiztux

(usa Gentoo)

Enviado em 24/10/2016 - 09:21h

novatterra escreveu:


[Kfatal error: ?[m?[Kprivate/qtxdg/qiconloader_p.h: Arquivo ou diretório não encontrado
#include <private/qtxdg/qiconloader_p.h>


Bug! -> https://bugs.gentoo.org/show_bug.cgi?id=595486

Tente seguir as instruções do link e aplique o patch disponibilizado: https://595486.bugs.gentoo.org/attachment.cgi?id=448680

Ou então você pode esperar pelas versões mais novas que devem corrigir este bug.

-----------------------------------''----------------------------------

Larry, The Cow, uses Gentoo GNU/Linux

^__^
(oo)
(__)

"If it moves, compile it."



5. Re: Erro de compilacao, alguem pode me ajudar? [RESOLVIDO]

Sandro Souza
novatterra

(usa Arch Linux)

Enviado em 24/10/2016 - 21:49h

boa noite a todos,
boa noite luiz,

entao mano, nesse caso prefiro esperar outra versao, pois a ultima vez q apliquei um patch por arquivo corrompido meu sistema ficou doido, (no caso era o lumina desktop, eu queria testar o bixo e um dos pacotes tava com bug, apliquei o patch com a grande ajuda do @zezaocapoeira mas meu sistema ficou maluco, travava de repente, reiniciava sozinho, assim que desinstalei o lumina, o sistema voltou ao normal) prefiro nao correr esse risco novamente, sendo, assim, esperar 'e melhor, kkkkkk

obrigado por me ajudar a identificar o problema






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner
Linux banner
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts