LinuxForum.Fans
Тема

Ошибки при обновлении

Автор: zenon 24 сообщений 6615 просмотров
#194202

smplayer не хочет собираться:

text
findsubtitles/filedownloader -Ifindsubtitles/quazip -I.moc -I.ui -o .obj/ioapi.o findsubtitles/quazip/ioapi.c
In file included from findsubtitles/quazip/ioapi.c:14:0:
findsubtitles/quazip/ioapi.h:38:44: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
findsubtitles/quazip/ioapi.h:39:44: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
findsubtitles/quazip/ioapi.h:40:45: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
findsubtitles/quazip/ioapi.h:41:44: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
findsubtitles/quazip/ioapi.h:42:44: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
findsubtitles/quazip/ioapi.h:43:45: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
findsubtitles/quazip/ioapi.h:44:49: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
findsubtitles/quazip/ioapi.h:48:5: ошибка: expected specifier-qualifier-list before ‘open_file_func’
findsubtitles/quazip/ioapi.h:60:26: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
findsubtitles/quazip/ioapi.c:32:34: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
findsubtitles/quazip/ioapi.c:37:33: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
findsubtitles/quazip/ioapi.c:43:34: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
findsubtitles/quazip/ioapi.c:49:32: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
findsubtitles/quazip/ioapi.c:53:32: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
findsubtitles/quazip/ioapi.c:59:32: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
findsubtitles/quazip/ioapi.c:63:32: ошибка: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
findsubtitles/quazip/ioapi.c: В функции ‘fill_fopen_filefunc’:
findsubtitles/quazip/ioapi.c:176:23: ошибка: ‘zlib_filefunc_def’ не содержит элемента с именем ‘zopen_file’
findsubtitles/quazip/ioapi.c:177:23: ошибка: ‘zlib_filefunc_def’ не содержит элемента с именем ‘zread_file’
findsubtitles/quazip/ioapi.c:178:23: ошибка: ‘zlib_filefunc_def’ не содержит элемента с именем ‘zwrite_file’
findsubtitles/quazip/ioapi.c:179:23: ошибка: ‘zlib_filefunc_def’ не содержит элемента с именем ‘ztell_file’
findsubtitles/quazip/ioapi.c:180:23: ошибка: ‘zlib_filefunc_def’ не содержит элемента с именем ‘zseek_file’
findsubtitles/quazip/ioapi.c:181:23: ошибка: ‘zlib_filefunc_def’ не содержит элемента с именем ‘zclose_file’
findsubtitles/quazip/ioapi.c:182:23: ошибка: ‘zlib_filefunc_def’ не содержит элемента с именем ‘zerror_file’
findsubtitles/quazip/ioapi.c:183:23: ошибка: ‘zlib_filefunc_def’ не содержит элемента с именем ‘opaque’
make[1]: *** [.obj/ioapi.o] Ошибка 1
make[1]: *** Ожидание завершения заданий...
make[1]: Выход из каталога `/var/tmp/portage/media-video/smplayer-0.6.9-r1/work/smplayer-0.6.9/src'
make: *** [src/smplayer] Ошибка 2
emake failed
 * ERROR: media-video/smplayer-0.6.9-r1 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  91:  Called src_compile
 *   environment, line 2456:  Called die
 * The specific snippet of code:
 *       emake || die;
 * 
 * If you need support, post the output of 'emerge --info =media-video/smplayer-0.6.9-r1',
 * the complete build log and the output of 'emerge -pqv =media-video/smplayer-0.6.9-r1'.
 * The complete build log is located at '/var/tmp/portage/media-video/smplayer-0.6.9-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/smplayer-0.6.9-r1/temp/environment'.
 * S: '/var/tmp/portage/media-video/smplayer-0.6.9-r1/work/smplayer-0.6.9'

>>> Failed to emerge media-video/smplayer-0.6.9-r1, Log file:

>>> '/var/tmp/portage/media-video/smplayer-0.6.9-r1/temp/build.log'

* Messages for package media-video/smplayer-0.6.9-r1:

* ERROR: media-video/smplayer-0.6.9-r1 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 91: Called src_compile * environment, line 2456: Called die * The specific snippet of code: * emake || die; * * If you need support, post the output of 'emerge --info =media-video/smplayer-0.6.9-r1', * the complete build log and the output of 'emerge -pqv =media-video/smplayer-0.6.9-r1'. * The complete build log is located at '/var/tmp/portage/media-video/smplayer-0.6.9-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/smplayer-0.6.9-r1/temp/environment'. * S: '/var/tmp/portage/media-video/smplayer-0.6.9-r1/work/smplayer-0.6.9'

Может zlib'у downgrade сделать надо?

#194205
text
# qlist -Iv zlib
sys-libs/zlib-1.2.5.1

В /etc/portage/package.mask добавил:

text
=sys-libs/zlib-1.2.5.1-r1

smplayer собрался, теперь запнулся на media-libs/opencv-2.3.0

text
[ 48%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/grfmt_png.o
/var/tmp/portage/media-libs/opencv-2.3.0/work/OpenCV-2.3.0/modules/highgui/src/grfmt_png.cpp: В функции-члене ‘virtual bool cv::PngEncoder::write(const cv::Mat&, const std::vector<int>&)’:
/var/tmp/portage/media-libs/opencv-2.3.0/work/OpenCV-2.3.0/modules/highgui/src/grfmt_png.cpp:308:33: ошибка: нет декларации ‘MAX_MEM_LEVEL’ в этой области видимости
/var/tmp/portage/media-libs/opencv-2.3.0/work/OpenCV-2.3.0/modules/highgui/src/grfmt_png.cpp:354:60: ошибка: нет декларации ‘Z_BEST_SPEED’ в этой области видимости
/var/tmp/portage/media-libs/opencv-2.3.0/work/OpenCV-2.3.0/modules/highgui/src/grfmt_png.cpp:356:59: ошибка: нет декларации ‘Z_HUFFMAN_ONLY’ в этой области видимости
make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/grfmt_png.o] Ошибка 1
make[2]: *** Ожидание завершения заданий...
make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Ошибка 2
make: *** [all] Ошибка 2
emake failed
 * ERROR: media-libs/opencv-2.3.0 failed (compile phase):
 *   Make failed!
 * 
 * Call stack:
 *     ebuild.sh, line   91:  Called src_compile
 *   environment, line 5598:  Called cmake-utils_src_compile
 *   environment, line 1524:  Called _execute_optionaly 'src_compile'
 *   environment, line  480:  Called enable_cmake-utils_src_compile
 *   environment, line 1763:  Called cmake-utils_src_make
 *   environment, line 1543:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 * 
 * If you need support, post the output of 'emerge --info =media-libs/opencv-2.3.0',
 * the complete build log and the output of 'emerge -pqv =media-libs/opencv-2.3.0'.
 * The complete build log is located at '/var/tmp/portage/media-libs/opencv-2.3.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/opencv-2.3.0/temp/environment'.
 * S: '/var/tmp/portage/media-libs/opencv-2.3.0/work/OpenCV-2.3.0'

>>> Failed to emerge media-libs/opencv-2.3.0, Log file:

>>> '/var/tmp/portage/media-libs/opencv-2.3.0/temp/build.log'

* Messages for package media-libs/opencv-2.3.0:

* ERROR: media-libs/opencv-2.3.0 failed (compile phase): * Make failed! * * Call stack: * ebuild.sh, line 91: Called src_compile * environment, line 5598: Called cmake-utils_src_compile * environment, line 1524: Called _execute_optionaly 'src_compile' * environment, line 480: Called enable_cmake-utils_src_compile * environment, line 1763: Called cmake-utils_src_make * environment, line 1543: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * * If you need support, post the output of 'emerge --info =media-libs/opencv-2.3.0', * the complete build log and the output of 'emerge -pqv =media-libs/opencv-2.3.0'. * The complete build log is located at '/var/tmp/portage/media-libs/opencv-2.3.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/opencv-2.3.0/temp/environment'. * S: '/var/tmp/portage/media-libs/opencv-2.3.0/work/OpenCV-2.3.0'

#194208

ну и opepncv тоже можно даунгрейднуть...

#194264
Fat-Zer написал:
ну и opepncv тоже можно даунгрейднуть...

Откатил, нормально.
emerge попросила сделать:

text
# java-config -L 
# java-config -S icedtea6-bin 

Сделал, но что?

#194266
newzenon написал:
Сделал, но что?

всмысле что? выбрал java-машину...

#194268

Семён Семёныч! .... :( :lol:

3.000. О.

#197896

Новая установка, glib-2.30.0 никак не могу собрать.
revdep-rebuild застревает на этом:

text
checking for zlib.h... yes
checking for LIBFFI... no
configure: error: in `/var/tmp/portage/dev-libs/glib-2.30.0/work/glib-2.30.0':
configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables LIBFFI_CFLAGS and LIBFFI_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>. See `config.log' for more details

!!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-libs/glib-2.30.0/work/glib-2.30.0/config.log * ERROR: dev-libs/glib-2.30.0 failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 91: Called src_configure * environment, line 3541: Called econf '--disable-xattr' '--disable-man' '--disable-gtk-doc' '--enable-fam' '--disable-selinux' '--enable-static' '--disable-dtrace' '--disable-systemtap' '--enable-regex' '--with-pcre=internal' '--with-threads=posix' * phase-helpers.sh, line 454: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =dev-libs/glib-2.30.0', * the complete build log and the output of 'emerge -pqv =dev-libs/glib-2.30.0'. * The complete build log is located at '/var/tmp/portage/dev-libs/glib-2.30.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/glib-2.30.0/temp/environment'. * S: '/var/tmp/portage/dev-libs/glib-2.30.0/work/glib-2.30.0'

>>> Failed to emerge dev-libs/glib-2.30.0, Log file:

>>> '/var/tmp/portage/dev-libs/glib-2.30.0/temp/build.log' *** Resuming merge...

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

Calculating dependencies ... done! * emerge --keep-going: dev-lang/python-2.7.2-r3 dropped due to unsatisfied * dependency. * emerge --keep-going: dev-lang/python-3.1.4-r3 dropped due to unsatisfied * dependency. * emerge --keep-going: dev-util/pkgconfig-0.26 dropped due to unsatisfied * dependency. * * The following 4 packages have failed to build or install: * * (dev-libs/glib-2.30.0::gentoo, ebuild scheduled for merge), Log file: * '/var/tmp/portage/dev-libs/glib-2.30.0/temp/build.log' * (dev-lang/python-2.7.2-r3::gentoo, ebuild scheduled for merge) * (dev-lang/python-3.1.4-r3::gentoo, ebuild scheduled for merge) * (dev-util/pkgconfig-0.26::gentoo, ebuild scheduled for merge) *

* Regenerating GNU info directory index... * Processed 84 info files. * Build finished correctly. Removing temporary files... * You can re-run revdep-rebuild to verify that all libraries and binaries * are fixed. Possible reasons for remaining inconsistencies include: * orphaned files * deep dependencies * packages installed outside of portage's control * specially-evaluated libraries (chroot) tux / #

make.conf

text
ACCEPT_KEYWORDS="~amd64"
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5"
CC=gcc
CXX=g++
AUTOCLEAN="yes"
PORTAGE_ELOG_CLASSES="error"
PORTAGE_ELOG_SYSTEM="save"
FEATURES="parallel-fetch userfetch buildsyspkg candy metadata-transfer sandbox"
LINGUAS="ru en"
VIDEO_CARDS="nvidia nv vdpau"   # vesa nouveau fbdev v4l
INPUT_DEVICES="evdev keyboard mouse"
EMERGE_DEFAULT_OPTS="-v --keep-going" # --jobs=4"

USE="mmx sse sse2 sse3 ssse3 sse4 sse4.1 sse4.2 sse4a sse5 ssl unicode utf8 opengl udev dbus locale jpeg gif tiff png svg alsa symlink pam audio mad vidix asf win32codecs mp4 aac x264 xvid nsplugin mp3 zsh man-db real gstreamer ogg vorbis semantic-desktop cleartype type1 nano vdpau v412 wxwidgets ntfs fat ext4 reiserfs fpu vme de pse tsc msr pae mce pat pse36 mmx fxsr 3dnowext 3dnow up -hal -ipv6 -mdev -cups -bluetooth -ieee1394 -foomaticdb -networkmanager -yahoo -handbook -ipv6 -sane -bluez http http-cache pcre ssl vim-syntax* -aio -debug -ipv6 -libatomic"

NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_req limit_zone map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi addition cache_purge dav degradation flv geoip gzip_static headers_more image_filter perl push random_index realip secure_link slowfs_cache stub_status sub upload upload_progress xslt" NGINX_MODULES_MAIL="imap pop3 smtp"

PATCH_OVERLAY=/etc/portage/autopatch GENTOO_MIRRORS="http://mirror2.corbina.ru/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles/ http://gentoo.bloodhost.ru/"

#197906

у меня configure отрабатывает нормально...
а если попробовать как он просит:
PKG_CONFIG="/usr/bin/pkg-config" emerge -1 dev-libs/glib

ну и вообще проверить, что pkgconfig последней версии...

#197913

То же самое:

text
tux / # PKG_CONFIG="/usr/bin/pkg-config" emerge -1 dev-libs/glib

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

Calculating dependencies ... done! [ebuild N ] dev-libs/glib-2.30.0 USE="fam static-libs -debug -doc (-selinux) -systemtap -test -xattr" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-libs/glib-2.30.0 openpty failed: 'out of pty devices' * glib-2.30.0.tar.xz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * pkg-config-0.26.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking glib-2.30.0.tar.xz to /var/tmp/portage/dev-libs/glib-2.30.0/work >>> Unpacking pkg-config-0.26.tar.gz to /var/tmp/portage/dev-libs/glib-2.30.0/work >>> Source unpacked in /var/tmp/portage/dev-libs/glib-2.30.0/work >>> Preparing source in /var/tmp/portage/dev-libs/glib-2.30.0/work/glib-2.30.0 ... «/var/tmp/portage/dev-libs/glib-2.30.0/work/pkg-config-0.26/pkg.m4» -> «/var/tmp/portage/dev-libs/glib-2.30.0/work/pkg.m4» * Applying glib-2.18.1-workaround-gio-test-failure-without-userpriv.patch ... ....

.... checking zlib.h presence... yes checking for zlib.h... yes checking for LIBFFI... no configure: error: in `/var/tmp/portage/dev-libs/glib-2.30.0/work/glib-2.30.0': configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config.

Alternatively, you may set the environment variables LIBFFI_CFLAGS and LIBFFI_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>. See `config.log' for more details

!!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-libs/glib-2.30.0/work/glib-2.30.0/config.log * ERROR: dev-libs/glib-2.30.0 failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 91: Called src_configure * environment, line 3542: Called econf '--disable-xattr' '--disable-man' '--disable-gtk-doc' '--enable-fam' '--disable-selinux' '--enable-static' '--disable-dtrace' '--disable-systemtap' '--enable-regex' '--with-pcre=internal' '--with-threads=posix' * phase-helpers.sh, line 454: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =dev-libs/glib-2.30.0', * the complete build log and the output of 'emerge -pqv =dev-libs/glib-2.30.0'. * The complete build log is located at '/var/tmp/portage/dev-libs/glib-2.30.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/glib-2.30.0/temp/environment'. * S: '/var/tmp/portage/dev-libs/glib-2.30.0/work/glib-2.30.0'

>>> Failed to emerge dev-libs/glib-2.30.0, Log file:

>>> '/var/tmp/portage/dev-libs/glib-2.30.0/temp/build.log' * * The following package has failed to build or install: * * (dev-libs/glib-2.30.0::gentoo, ebuild scheduled for merge), Log file: * '/var/tmp/portage/dev-libs/glib-2.30.0/temp/build.log' *

#197914
Fat-Zer написал:

ну и вообще проверить, что pkgconfig последней версии...
text
tux / # emerge -pv pkgconfig

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

Calculating dependencies ... done! [ebuild N ] dev-libs/glib-2.30.0 USE="fam static-libs -debug -doc (-selinux) -systemtap -test -xattr" 0 kB [ebuild N ] dev-util/pkgconfig-0.26 USE="-hardened" 0 kB

Total: 2 packages (2 new), Size of downloads: 0 kB tux / #

#197924

просмотрел, что это новая установка... тестинг на то и тестинг, что не всё может работать...
как вариант:
1. собрать старую.
2. собрать pkgconfig.
3. собрать новую.
4. проверить багзиллу и отписаться, если ни кто не заметил.
5. ??????
6. PROFIT

#197932

Fat-Zer, с месяц назад тестинг собирался на ура, на предмет glib-2.30.0 пролез все что смог найти...
Сейчас попробую заново распаковать stage3 и сразу собрать pkgconfig, потом уже emerge -auvDN @system.

#197940

Не вышло. :(

#197945

newzenon, старый glib тоже не собирается?

#197946

Fat-Zer, сейчас замаскирую этот пакет.
А так, сократил на всякий make.conf, развернул stage3, chrootнулся , emerge --sync && emerge pkgconfig - и точно такой же затык.

#197949
newzenon написал:
сейчас замаскирую этот пакет.

зачем маскировать... надо же только на один раз... можно проще:
emerge -1 ~dev-libs/glib-2.28.8 pkgconfig

#197953

Замаскировал, 2.28.8 собрался.

text
[ebuild  N     ] dev-libs/glib-2.28.8  USE="fam static-libs -debug -doc (-introspection) (-selinux) -test -xattr" 5,102 kB
[ebuild  N     ] dev-util/pkgconfig-0.26  USE="-hardened" 0 kB

Самое интересное что на хосте с которого ставлю стоит и нормально работает 2.30.0, конфиги одинаковые.
Попробую обновиться.

#197954
newzenon написал:
Самое интересное что на хосте с которого ставлю стоит и нормально работает 2.30.0, конфиги одинаковые.

ну дык перед тем как 30-ю собирать там же стояла более старая версия.... обновится - без проблем будет... а вот на голую систему сборка не пройдёт...

#197955

newzenon Ну а пакет libffi при этом собран?
Ато у вас смотрю выводит, что не найдена библиотека libffi
Посмотрел на ебилд там зависимости с данной библиотекой прописаны.
[console]RDEPEND="virtual/libiconv
virtual/libffi[/console]

#197961

ormorph, отдельно libffi собирался нормально. wink
У меня подозрение что pkg-config не настраивался нормално, те PKG_CONFIG не настроена была.

Войдите или зарегистрируйтесь, чтобы ответить.