Проблема обновления

# USE=“openssl” emerge -uaDN world

/usr/lib/libgio-2.0.so.0: undefined reference to `inflateGetHeader@ZLIB_1.2.2'
/usr/lib/libxml2.so.2: undefined reference to `gzopen64@ZLIB_1.2.3.3'
../../dist/bin/libxul.so: undefined reference to `compressBound@ZLIB_1.2.0'
/usr/lib/libxml2.so.2: undefined reference to `gzdirect@ZLIB_1.2.2.3'
/usr/lib/libgio-2.0.so.0: undefined reference to `deflateSetHeader@ZLIB_1.2.2'
collect2: ld returned 1 exit status
make[6]: *** [plugin-container] Error 1
make[6]: Leaving directory `/var/calculate/tmp/portage/www-client/firefox-17.0.6/work/mozilla-esr17/obj-x86_64-unknown-linux-gnu/ipc/app'
make[5]: *** [tools] Error 2
make[5]: Leaving directory `/var/calculate/tmp/portage/www-client/firefox-17.0.6/work/mozilla-esr17/obj-x86_64-unknown-linux-gnu/ipc'
make[4]: *** [tools_tier_platform] Error 2
make[4]: Leaving directory `/var/calculate/tmp/portage/www-client/firefox-17.0.6/work/mozilla-esr17/obj-x86_64-unknown-linux-gnu'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `/var/calculate/tmp/portage/www-client/firefox-17.0.6/work/mozilla-esr17/obj-x86_64-unknown-linux-gnu'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/var/calculate/tmp/portage/www-client/firefox-17.0.6/work/mozilla-esr17/obj-x86_64-unknown-linux-gnu'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/var/calculate/tmp/portage/www-client/firefox-17.0.6/work/mozilla-esr17'
make: *** [build] Error 2
emake failed
 * ERROR: www-client/firefox-17.0.6 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 5325:  Called die
 * The specific snippet of code:
 *           CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" MOZ_MAKE_FLAGS="${MAKEOPTS}" emake -f client.mk || die "emake failed";
 * 
 * If you need support, post the output of `emerge --info '=www-client/firefox-17.0.6'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-17.0.6'`.
 * The complete build log is located at '/var/calculate/tmp/portage/www-client/firefox-17.0.6/temp/build.log'.
 * The ebuild environment file is located at '/var/calculate/tmp/portage/www-client/firefox-17.0.6/temp/environment'.
 * Working directory: '/var/calculate/tmp/portage/www-client/firefox-17.0.6/work/mozilla-esr17'
 * S: '/var/calculate/tmp/portage/www-client/firefox-17.0.6/work/mozilla-esr17'

>>> Failed to emerge www-client/firefox-17.0.6, Log file:

>>>  '/var/calculate/tmp/portage/www-client/firefox-17.0.6/temp/build.log'

 * Messages for package www-client/firefox-17.0.6:

 * You are enabling official branding. You may not redistribute this build
 * to any users on your network or the internet. Doing so puts yourself into
 * a legal problem with Mozilla Foundation
 * You can disable it by emerging firefox _with_ the bindist USE-flag
 * ERROR: www-client/firefox-17.0.6 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 5325:  Called die
 * The specific snippet of code:
 *           CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" MOZ_MAKE_FLAGS="${MAKEOPTS}" emake -f client.mk || die "emake failed";
 * 
 * If you need support, post the output of `emerge --info '=www-client/firefox-17.0.6'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-17.0.6'`.
 * The complete build log is located at '/var/calculate/tmp/portage/www-client/firefox-17.0.6/temp/build.log'.
 * The ebuild environment file is located at '/var/calculate/tmp/portage/www-client/firefox-17.0.6/temp/environment'.
 * Working directory: '/var/calculate/tmp/portage/www-client/firefox-17.0.6/work/mozilla-esr17'
 * S: '/var/calculate/tmp/portage/www-client/firefox-17.0.6/work/mozilla-esr17'

Как исправить не подскажете?

Андрей Петров wrote:

# USE=“openssl” emerge -uaDN world

Так делать не хорошо. Добавьте флаг в /etc/make.conf

По самой же ошибке:

revdep-rebuild -i

для начала прогоните. Еще попробуйте пересобрать zlib.

Еще можно проигнорировать проблему с firefox и продолжить установку:

emerge --resume --skip-first

Portage пропустит проблемный пакет и продолжит установку со следующего.

Если пользуетесь бинарным профилем, стоит поставить бинарный же firefox-bin. Разницы в производительности не заметите всё равно.

вот только как USE=“openssl” с Firefox связаны??

Сергей Сиделев wrote:

вот только как USE=“openssl” с Firefox связаны??

Никак :slight_smile:
Просто одна проблема наложилась на другую.

Спасибо огромное! Сейчас попробую

Ядро обновилось, firefox так и пересобрался, иксы не стартуют из-за дров. Драйвер ставил в иксах из консоли calculate (nvidia). Сейчас на работе, зашел по nx, в консоли дров нащал ок, что-то обновилось, проверить смогу только дома… Как правильно пересобирать дрова под новое ядро?

Андрей Петров wrote:

Ядро обновилось, firefox так и пересобрался, иксы не стартуют из-за дров. Драйвер ставил в иксах из консоли calculate (nvidia). Сейчас на работе, зашел по nx, в консоли дров нащал ок, что-то обновилось, проверить смогу только дома… Как правильно пересобирать дрова под новое ядро?

Драйверы X по-умолчанию не пересобираются. А это после каждого обновления ядра делать необходимо. Иначе получается то, что получается - X не стартуют.

Пересобрать их нужно так:

emerge @x11-module-rebuild

Сторонние модули ядра так:

module-rebuild -X rebuild

Проверить, что драйверы X на месте, можно просто выполнив

modprobe nvidia # если карта nvidia

Если команда молча завершится, значит драйвер установлен правильно.

Спасибо! Драйвера обновил :slight_smile:

Остался firefox…
Я попробовал его снести и поставить заново, не поставился… скажу чуть позже что пишет…

Долго компилится зараза :slight_smile:

Firefox так и не собрался

>>> Failed to emerge www-client/firefox-17.0.6, Log file:

>>>  '/var/calculate/tmp/portage/www-client/firefox-17.0.6/temp/build.log'

 * Messages for package www-client/firefox-17.0.6:

 * You are enabling official branding. You may not redistribute this build
 * to any users on your network or the internet. Doing so puts yourself into
 * a legal problem with Mozilla Foundation
 * You can disable it by emerging firefox _with_ the bindist USE-flag
 * ERROR: www-client/firefox-17.0.6 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 5325:  Called die
 * The specific snippet of code:
 *           CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" MOZ_MAKE_FLAGS="${MAKEOPTS}" emake -f client.mk || die "emake failed";
 * 
 * If you need support, post the output of `emerge --info '=www-client/firefox-17.0.6'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-17.0.6'`.
 * The complete build log is located at '/var/calculate/tmp/portage/www-client/firefox-17.0.6/temp/build.log'.
 * The ebuild environment file is located at '/var/calculate/tmp/portage/www-client/firefox-17.0.6/temp/environment'.
 * Working directory: '/var/calculate/tmp/portage/www-client/firefox-17.0.6/work/mozilla-esr17'
 * S: '/var/calculate/tmp/portage/www-client/firefox-17.0.6/work/mozilla-esr17'

/var/calculate/tmp/portage/www-client/firefox-17.0.6/temp/build.log

.......

make[6]: *** [plugin-container] Error 1
make[6]: Leaving directory `/var/calculate/tmp/portage/www-client/firefox-17.0.6/work/mozilla-esr17/obj-x86_64-unknown-linux-gnu/ipc/app'
make[5]: *** [tools] Error 2
make[5]: Leaving directory `/var/calculate/tmp/portage/www-client/firefox-17.0.6/work/mozilla-esr17/obj-x86_64-unknown-linux-gnu/ipc'
make[4]: *** [tools_tier_platform] Error 2
make[4]: Leaving directory `/var/calculate/tmp/portage/www-client/firefox-17.0.6/work/mozilla-esr17/obj-x86_64-unknown-linux-gnu'
make[3]: *** [tier_platform] Error 2
make[3]: Leaving directory `/var/calculate/tmp/portage/www-client/firefox-17.0.6/work/mozilla-esr17/obj-x86_64-unknown-linux-gnu'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/var/calculate/tmp/portage/www-client/firefox-17.0.6/work/mozilla-esr17/obj-x86_64-unknown-linux-gnu'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/var/calculate/tmp/portage/www-client/firefox-17.0.6/work/mozilla-esr17'
make: *** [build] Error 2
emake failed
 * ERROR: www-client/firefox-17.0.6 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 5325:  Called die
 * The specific snippet of code:
 *           CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" MOZ_MAKE_FLAGS="${MAKEOPTS}" emake -f client.mk || die "emake failed";
 * 
 * If you need support, post the output of `emerge --info '=www-client/firefox-17.0.6'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-17.0.6'`.
 * The complete build log is located at '/var/calculate/tmp/portage/www-client/firefox-17.0.6/temp/build.log'.
 * The ebuild environment file is located at '/var/calculate/tmp/portage/www-client/firefox-17.0.6/temp/environment'.
 * Working directory: '/var/calculate/tmp/portage/www-client/firefox-17.0.6/work/mozilla-esr17'
 * S: '/var/calculate/tmp/portage/www-client/firefox-17.0.6/work/mozilla-esr17'

emerge --info ‘=www-client/firefox-17.0.6’

Portage 2.2.0_alpha177 (!../var/lib/layman/calculate/profiles/calculate/desktop/CLDG/amd64/binary, gcc-4.6.3, glibc-2.15-r3, 3.9.2-calculate x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.9.2-calculate-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-13.4.1
KiB Mem:     4047960 total,   1521292 free
KiB Swap:    5119996 total,   5112612 free
Timestamp of tree: Tue, 28 May 2013 14:00:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.3-r3
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo calculate underlay
Installed sets: @custom
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/neatx/home /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/var/calculate/remote/distfiles"
EMERGE_DEFAULT_OPTS="--binpkg-respect-use=y --quiet-build=n --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg merge-sync metadata-transfer parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/var/calculate/remote/packages/CLDG/x86_64"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/calculate/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/calculate /var/lib/layman/underlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amd64 amr audiofile avi bash-completion berkdb bittorrent bluetooth bzip2 cairo cdda cddb cdparanoia cdr chm clamav cli consolekit cpudetection cracklib crypt css cue cups cxx dbus djvu dri dv dvd dvdr dvdread ebook encode exif faac fbcon ffmpeg flac flash foomaticdb fortran ftp gd gdbm ggi gif gnome gnome-keyring gphoto2 gpm gstreamer gtk iconv id3tag ieee1394 imagemagick ios ipod ipv6 irc jabber jingle jpeg jpeg2k libcaca libnotify libwww lirc logrotate lzo mad matroska mbox mikmod mmx mmxext mng modules mp3 mpeg mplayer mudflap multilib musepack nas nautilus ncurses networkmanager nfs nls nptl nsplugin ogg oggvorbis openal opencore-amr openexr opengl openmp openssl oscar pam pcre pdf png policykit portaudio ppp qt3support quicktime raw readline samba scanner sdl session smp speex spell srt sse sse2 sse3 sse4.1 sse4.2 sse4a sse5 ssl ssse3 svg tcpd tga theora tiff truetype udev unicode usb userlocales v4l v4l2 vaapi vcd vdpau vhosts vorbis wavpack wimax wmf wxwindows x264 xanim xcomposite xinerama xpm xv xvid xvmc yahoo zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel 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="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="* ptp2" CDISTRO="CLDG desktop" CL="builder client desktop console consolegui" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="*" 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 ubx" GRUB_PLATFORMS="efi-64 efi-32 pc" INPUT_DEVICES="keyboard mouse evdev mutouch synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en bg de es fr it pl pt pt_BR ro ru ru_RU uk" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby18 ruby19" THEMES="CLDG" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware nouveau nvidia i915 i965 r100 r200 r300 r600 radeonhd dummy v4l" 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"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

а чем firefox-bin не угодил?

bin поставил… а вот почему не компилится… не понятно

И еще один вопрос… при обновлении php собрался, но не с теми флагами, которые я ему выставлял когда ставил. Как мне добиться чтобы флаги для нужных пакетов были четко заданы?

Андрей Петров wrote:

И еще один вопрос… при обновлении php собрался, но не с теми флагами, которые я ему выставлял когда ставил. Как мне добиться чтобы флаги для нужных пакетов были четко заданы?

надо флаги не в командной строке прописывать, а в /etc/portage
шоб навсегда.

Андрей Петров wrote:

И еще один вопрос… при обновлении php собрался, но не с теми флагами, которые я ему выставлял когда ставил. Как мне добиться чтобы флаги для нужных пакетов были четко заданы?

Вот почитайте

Спасибо! почитаю :slight_smile:

Еще проблема… оформление окон все полетело… мало того, выбираю установленное - ничего не происходит

http://dokazatelstvo-spora.ru/screenshots/11.png

Грубо говоря рамки окна теперь настраиваются крайне редко… далеко не все

Вероятно нужно удалить конфиги домашние… но какие? Новые темы устанавливаются, но оформление не меняется и при следующем логине пропадают вообще из списка…