Проблема с обновлением пакетов.

Sabayon, Calculate, Funtoo, Exherbo

Модератор: /dev/random

Аватара пользователя
saikov
Сообщения: 183
ОС: Mageia

Re: Проблема с обновлением пакетов.

Сообщение saikov »

То есть emerge полностью развязали руки? Учитывая 9999
Спасибо сказали:
Аватара пользователя
/dev/random
Администратор
Сообщения: 5282
ОС: Gentoo

Re: Проблема с обновлением пакетов.

Сообщение /dev/random »

saikov писал(а):
14.05.2017 13:47
То есть emerge полностью развязали руки? Учитывая 9999

Да, развязали, в смысле "мне плевать сколько времени это займёт, главное, найди решение, если оно есть". Но, разумеется, не развязывали в смысле "можешь делать то, чего я не просил".
Спасибо сказали:
Аватара пользователя
yoricI
Сообщения: 2345
ОС: gentoo fluxbox

Re: Проблема с обновлением пакетов.

Сообщение yoricI »

Столкнувшись недавно с этой же проблемой с perl, нашё в инете такое решение:

Код: Выделить всё

# emerge -va1D dev-lang/perl $(qlist -CI dev-perl/) $(qlist -CI virtual/perl)
# perl-cleaner --reallyall

Сработало. Пересобрало dev-perl/ и virtual/ и ещё парочку пакетов. Если результат одинаков, то решения равнозначны? :)
Спасибо сказали:
Аватара пользователя
saikov
Сообщения: 183
ОС: Mageia

Re: Проблема с обновлением пакетов.

Сообщение saikov »

И снова приветствую. Не понимаю почему такие проблемы с обновлением. Ничего не ставлю, т.к. это сервер.

Код: Выделить всё

mail portage # emerge -pvuND world
--- Invalid atom in /etc/portage/package.keywords: =net-print/cups-filters

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

Calculating dependencies... done!
[ebuild  N     ] net-print/cups-filters-1.13.5::gentoo  USE="foomatic postscript -dbus -jpeg -ldap -pdf -perl -png -static-libs -tiff -zeroconf" 0 KiB
[ebuild     U  ] app-eselect/eselect-postgresql-2.1::gentoo [1.2.1::gentoo] 0 KiB
[ebuild     U  ] dev-db/postgresql-9.5.7:9.5::gentoo [9.5.5:9.5::gentoo] USE="kerberos nls pam python readline server ssl zlib -doc -ldap (-libressl) -perl -pg_legacytimestamp (-selinux) -static-libs -tcl -threads -uuid -xml" LINGUAS="ru -af -cs -de -en -es -fa -fr -hr -hu -it -ko -nb -pl -pt_BR -ro -sk -sl -sv -tr -zh_CN -zh_TW" PYTHON_SINGLE_TARGET="python3_4 -python2_7 (-python3_5) (-python3_6)" PYTHON_TARGETS="python2_7 python3_4 (-python3_5) (-python3_6)" 0 KiB
[blocks b      ] <dev-db/postgresql-9.5.6-r1:9.5 ("<dev-db/postgresql-9.5.6-r1:9.5" is blocking app-eselect/eselect-postgresql-2.1)
[ebuild     U  ] dev-db/postgresql-9.2.21:9.2::gentoo [9.2.19:9.2::gentoo] USE="kerberos nls pam python readline server ssl zlib -doc -ldap (-libressl) -perl -pg_legacytimestamp (-selinux) -static-libs -tcl -threads -uuid -xml" LINGUAS="ru -af -cs -de -en -es -fa -fr -hr -hu -it -ko -nb -pl -pt_BR -ro -sk -sl -sv -tr -zh_CN -zh_TW" PYTHON_SINGLE_TARGET="python3_4 -python2_7" PYTHON_TARGETS="python2_7 python3_4" 0 KiB
[blocks b      ] <dev-db/postgresql-9.2.20-r1 ("<dev-db/postgresql-9.2.20-r1" is blocking app-eselect/eselect-postgresql-2.1)



net-print/cups-filters не обновляется

Код: Выделить всё

const&, QPDFObjectHandle const&, QPDFObjectHandle const&)'
urftopdf-urftopdf.o: In function `add_pdf_page(pdf_info*, int, unsigned int, unsigned int, int, unsigned int)':
urftopdf.cpp:(.text+0x425b): undefined reference to `QPDFObjectHandle::parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
urftopdf.cpp:(.text+0x42d8): undefined reference to `QPDFObjectHandle::replaceKey(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, QPDFObjectHandle const&)'
urftopdf.cpp:(.text+0x43e8): undefined reference to `QPDFObjectHandle::replaceKey(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, QPDFObjectHandle const&)'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:2485: urftopdf] Ошибка 1
make[1]: *** Ожидание завершения заданий…
make[1]: выход из каталога «/var/tmp/portage/net-print/cups-filters-1.13.5/work/cups-filters-1.13.5»
make: *** [Makefile:1915: all] Ошибка 2
 * ERROR: net-print/cups-filters-1.13.5::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-print/cups-filters-1.13.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-print/cups-filters-1.13.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-print/cups-filters-1.13.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-print/cups-filters-1.13.5/temp/environment'.
 * Working directory: '/var/tmp/portage/net-print/cups-filters-1.13.5/work/cups-filters-1.13.5'
 * S: '/var/tmp/portage/net-print/cups-filters-1.13.5/work/cups-filters-1.13.5'

Потом блокировки с postgresql. На сервере используется только postgresql 9.2 - там все базы. 9.5 даже не запущкна.
Как обновиться? Не подскажите?
Спасибо сказали:
Аватара пользователя
/dev/random
Администратор
Сообщения: 5282
ОС: Gentoo

Re: Проблема с обновлением пакетов.

Сообщение /dev/random »

Попробуйте пересобрать qpdf.
Спасибо сказали:
Аватара пользователя
saikov
Сообщения: 183
ОС: Mageia

Re: Проблема с обновлением пакетов.

Сообщение saikov »

/dev/random писал(а):
28.05.2017 19:49
Попробуйте пересобрать qpdf.

Вот что значит человек на опыте. Спасибо помогло.
Спасибо сказали:
Аватара пользователя
ormorph
Сообщения: 2604
ОС: Gentoo

Re: Проблема с обновлением пакетов.

Сообщение ormorph »

saikov писал(а):
28.05.2017 22:54
/dev/random писал(а):
28.05.2017 19:49
Попробуйте пересобрать qpdf.

Вот что значит человек на опыте. Спасибо помогло.

Что бы в таких случаях больше не задавать такие вопросы, как то писал уже на другом форуме тыц
Спасибо сказали:
Аватара пользователя
dimonchik
Сообщения: 99
ОС: Gentoo

Re: Проблема с обновлением пакетов.

Сообщение dimonchik »

Здравствуйте, нужна помощь!
Перестал собираться пакет perl. Не смог разобраться своими силами.
Выдает такую ошибку:

Код:

chmod 644 "IO.bs" "../../miniperl" "-I../../lib" "-I../../lib" "../../lib/ExtUtils/xsubpp" -typemap "../../lib/ExtUtils/typemap" IO.xs > IO.xsc && mv IO.xsc IO.c x86_64-pc-linux-gnu-gcc -c -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"1.36_01\" -DXS_VERSION=\"1.36_01\" -fPIC "-I../.." poll.c x86_64-pc-linux-gnu-gcc -c -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"1.36_01\" -DXS_VERSION=\"1.36_01\" -fPIC "-I../.." IO.c Making pod file In file included from ../../perl.h:5617:0, from IO.xs:12: IO.xs: In function 'XS_IO__Poll__poll': IO.xs:321:40: error: invalid application of 'sizeof' to incomplete type 'struct pollfd' SV *tmpsv = NEWSV(999,nfd * sizeof(struct pollfd)); ^ ../../embed.h:395:36: note: in definition of macro 'newSV' #define newSV(a) Perl_newSV(aTHX_ a) ^ IO.xs:321:17: note: in expansion of macro 'NEWSV' SV *tmpsv = NEWSV(999,nfd * sizeof(struct pollfd)); ^ IO.xs:328:2: error: invalid use of undefined type 'struct pollfd' fds[j].fd = SvIV(ST(i)); ^ IO.xs:328:5: error: dereferencing pointer to incomplete type 'struct pollfd' fds[j].fd = SvIV(ST(i)); ^ IO.xs:330:2: error: invalid use of undefined type 'struct pollfd' fds[j].events = (short)SvIV(ST(i)); ^ IO.xs:332:2: error: invalid use of undefined type 'struct pollfd' fds[j].revents = 0; ^ IO.xs:334:15: warning: implicit declaration of function 'poll' [-Wimplicit-function-declaration] if((ret = poll(fds,nfd,timeout)) >= 0) { ^ IO.xs:336:6: error: invalid use of undefined type 'struct pollfd' sv_setiv(ST(i), fds[j].fd); i++; ^ IO.xs:337:6: error: invalid use of undefined type 'struct pollfd' sv_setiv(ST(i), fds[j].revents); i++; ^ make[1]: *** [Makefile:366: IO.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1/dist/IO' make[1]: Entering directory '/var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1/dist/IO' Running Mkbootstrap for IO () chmod 644 "IO.bs" x86_64-pc-linux-gnu-gcc -c -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"1.36_01\" -DXS_VERSION=\"1.36_01\" -fPIC "-I../.." IO.c In file included from ../../perl.h:5617:0, from IO.xs:12: IO.xs: In function 'XS_IO__Poll__poll': IO.xs:321:40: error: invalid application of 'sizeof' to incomplete type 'struct pollfd' SV *tmpsv = NEWSV(999,nfd * sizeof(struct pollfd)); ^ ../../embed.h:395:36: note: in definition of macro 'newSV' #define newSV(a) Perl_newSV(aTHX_ a) ^ IO.xs:321:17: note: in expansion of macro 'NEWSV' SV *tmpsv = NEWSV(999,nfd * sizeof(struct pollfd)); ^ IO.xs:328:2: error: invalid use of undefined type 'struct pollfd' fds[j].fd = SvIV(ST(i)); ^ IO.xs:328:5: error: dereferencing pointer to incomplete type 'struct pollfd' fds[j].fd = SvIV(ST(i)); ^ IO.xs:330:2: error: invalid use of undefined type 'struct pollfd' fds[j].events = (short)SvIV(ST(i)); ^ IO.xs:332:2: error: invalid use of undefined type 'struct pollfd' fds[j].revents = 0; ^ IO.xs:334:15: warning: implicit declaration of function 'poll' [-Wimplicit-function-declaration] if((ret = poll(fds,nfd,timeout)) >= 0) { ^ IO.xs:336:6: error: invalid use of undefined type 'struct pollfd' sv_setiv(ST(i), fds[j].fd); i++; ^ IO.xs:337:6: error: invalid use of undefined type 'struct pollfd' sv_setiv(ST(i), fds[j].revents); i++; ^ make[1]: *** [Makefile:366: IO.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1/dist/IO' Unsuccessful make(dist/IO): code=512 at make_ext.pl line 569. make: *** [makefile:599: lib/auto/IO/IO.so] Error 25 make: *** Waiting for unfinished jobs.... "../../../miniperl" "-I../../../lib" ../bin/enc2xs -"Q" -o ji_02_t.c -f ji_02_t.fnm Reading jis0201-raw (jis0201-raw) "../../../miniperl" "-I../../../lib" ../bin/enc2xs -"Q" -o ji_03_t.c -f ji_03_t.fnm Reading jis0208-raw (jis0208-raw) "../../../miniperl" "-I../../../lib" ../bin/enc2xs -"Q" -o ji_04_t.c -f ji_04_t.fnm Making test script Reading jis0212-raw (jis0212-raw) "../../../miniperl" "-I../../../lib" ../bin/enc2xs -"Q" -o ma_05_t.c -f ma_05_t.fnm Reading MacJapanese (MacJapanese) "../../../miniperl" "-I../../../lib" ../bin/enc2xs -"Q" -o sh_06_t.c -f sh_06_t.fnm Reading shiftjis (shiftjis) x86_64-pc-linux-gnu-gcc -c -I../Encode -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"2.04\" -DXS_VERSION=\"2.04\" -fPIC "-I../../.." cp_00_t.c x86_64-pc-linux-gnu-gcc -c -I../Encode -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"2.04\" -DXS_VERSION=\"2.04\" -fPIC "-I../../.." eu_01_t.c x86_64-pc-linux-gnu-gcc -c -I../Encode -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"2.04\" -DXS_VERSION=\"2.04\" -fPIC "-I../../.." ji_02_t.c x86_64-pc-linux-gnu-gcc -c -I../Encode -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"2.04\" -DXS_VERSION=\"2.04\" -fPIC "-I../../.." ji_03_t.c x86_64-pc-linux-gnu-gcc -c -I../Encode -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"2.04\" -DXS_VERSION=\"2.04\" -fPIC "-I../../.." ji_04_t.c x86_64-pc-linux-gnu-gcc -c -I../Encode -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"2.04\" -DXS_VERSION=\"2.04\" -fPIC "-I../../.." ma_05_t.c x86_64-pc-linux-gnu-gcc -c -I../Encode -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"2.04\" -DXS_VERSION=\"2.04\" -fPIC "-I../../.." sh_06_t.c "../../../miniperl" "-I../../../lib" "-I../../../lib" "../../../lib/ExtUtils/xsubpp" -nolinenumbers -typemap "../../../lib/ExtUtils/typemap" JP.xs > JP.xsc && mv JP.xsc JP.c x86_64-pc-linux-gnu-gcc -c -I../Encode -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"2.04\" -DXS_VERSION=\"2.04\" -fPIC "-I../../.." JP.c rm -f ../../../lib/auto/Encode/JP/JP.so x86_64-pc-linux-gnu-gcc -shared -O2 -pipe -Wl,-O1 -Wl,--as-needed JP.o cp_00_t.o eu_01_t.o ji_02_t.o ji_03_t.o ji_04_t.o ma_05_t.o sh_06_t.o -o ../../../lib/auto/Encode/JP/JP.so \ \ chmod 755 ../../../lib/auto/Encode/JP/JP.so /var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1/cpan/Encode/JP/../../../miniperl "-I../../../lib" "-I../../../lib" -MExtUtils::Command::MM -e 'cp_nonempty' -- JP.bs ../../../lib/auto/Encode/JP/JP.bs 644 make[2]: Leaving directory '/var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1/cpan/Encode/JP' make[2]: Entering directory '/var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1/cpan/Encode/KR' Running Mkbootstrap for Encode::KR () chmod 644 "KR.bs" "../../../miniperl" "-I../../../lib" ../bin/enc2xs -"Q" -o cp_00_t.c -f cp_00_t.fnm "../../../miniperl" "-I../../../lib" ../bin/enc2xs -"Q" -o eu_01_t.c -f eu_01_t.fnm Reading cp949 (cp949) Reading euc-kr (euc-kr) "../../../miniperl" "-I../../../lib" ../bin/enc2xs -"Q" -o jo_02_t.c -f jo_02_t.fnm Reading johab (johab) "../../../miniperl" "-I../../../lib" ../bin/enc2xs -"Q" -o ks_03_t.c -f ks_03_t.fnm Reading ksc5601-raw (ksc5601-raw) "../../../miniperl" "-I../../../lib" ../bin/enc2xs -"Q" -o ma_04_t.c -f ma_04_t.fnm Reading MacKorean (MacKorean) x86_64-pc-linux-gnu-gcc -c -I../Encode -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"2.03\" -DXS_VERSION=\"2.03\" -fPIC "-I../../.." cp_00_t.c x86_64-pc-linux-gnu-gcc -c -I../Encode -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"2.03\" -DXS_VERSION=\"2.03\" -fPIC "-I../../.." eu_01_t.c x86_64-pc-linux-gnu-gcc -c -I../Encode -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"2.03\" -DXS_VERSION=\"2.03\" -fPIC "-I../../.." jo_02_t.c x86_64-pc-linux-gnu-gcc -c -I../Encode -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"2.03\" -DXS_VERSION=\"2.03\" -fPIC "-I../../.." ks_03_t.c x86_64-pc-linux-gnu-gcc -c -I../Encode -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"2.03\" -DXS_VERSION=\"2.03\" -fPIC "-I../../.." ma_04_t.c "../../../miniperl" "-I../../../lib" "-I../../../lib" "../../../lib/ExtUtils/xsubpp" -nolinenumbers -typemap "../../../lib/ExtUtils/typemap" KR.xs > KR.xsc && mv KR.xsc KR.c x86_64-pc-linux-gnu-gcc -c -I../Encode -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"2.03\" -DXS_VERSION=\"2.03\" -fPIC "-I../../.." KR.c rm -f ../../../lib/auto/Encode/KR/KR.so x86_64-pc-linux-gnu-gcc -shared -O2 -pipe -Wl,-O1 -Wl,--as-needed KR.o cp_00_t.o eu_01_t.o jo_02_t.o ks_03_t.o ma_04_t.o -o ../../../lib/auto/Encode/KR/KR.so \ \ chmod 755 ../../../lib/auto/Encode/KR/KR.so /var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1/cpan/Encode/KR/../../../miniperl "-I../../../lib" "-I../../../lib" -MExtUtils::Command::MM -e 'cp_nonempty' -- KR.bs ../../../lib/auto/Encode/KR/KR.bs 644 make[2]: Leaving directory '/var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1/cpan/Encode/KR' make[2]: Entering directory '/var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1/cpan/Encode/Symbol' Running Mkbootstrap for Encode::Symbol () chmod 644 "Symbol.bs" "../../../miniperl" "-I../../../lib" ../bin/enc2xs -"Q" -"O" -o symbol_t.c -f symbol_t.fnm Reading AdobeSymbol (AdobeSymbol) Reading AdobeZdingbat (AdobeZdingbat) Reading dingbats (dingbats) Reading MacDingbats (MacDingbats) Reading MacSymbol (MacSymbol) Reading symbol (symbol) "../../../miniperl" "-I../../../lib" "-I../../../lib" "../../../lib/ExtUtils/xsubpp" -nolinenumbers -typemap "../../../lib/ExtUtils/typemap" Symbol.xs > Symbol.xsc && mv Symbol.xsc Symbol.c x86_64-pc-linux-gnu-gcc -c -I../Encode -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"2.02\" -DXS_VERSION=\"2.02\" -fPIC "-I../../.." symbol_t.c x86_64-pc-linux-gnu-gcc -c -I../Encode -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"2.02\" -DXS_VERSION=\"2.02\" -fPIC "-I../../.." Symbol.c Updating 'mktables.lst' rm -f ../../../lib/auto/Encode/Symbol/Symbol.so x86_64-pc-linux-gnu-gcc -shared -O2 -pipe -Wl,-O1 -Wl,--as-needed Symbol.o symbol_t.o -o ../../../lib/auto/Encode/Symbol/Symbol.so \ \ chmod 755 ../../../lib/auto/Encode/Symbol/Symbol.so /var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1/cpan/Encode/Symbol/../../../miniperl "-I../../../lib" "-I../../../lib" -MExtUtils::Command::MM -e 'cp_nonempty' -- Symbol.bs ../../../lib/auto/Encode/Symbol/Symbol.bs 644 make[2]: Leaving directory '/var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1/cpan/Encode/Symbol' make[2]: Entering directory '/var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1/cpan/Encode/TW' "../../../miniperl" "-I../../../lib" ../bin/enc2xs -"Q" -o bi_00_t.c -f bi_00_t.fnm "../../../miniperl" "-I../../../lib" ../bin/enc2xs -"Q" -o bi_01_t.c -f bi_01_t.fnm Reading big5-eten (big5-eten) "../../../miniperl" "-I../../../lib" ../bin/enc2xs -"Q" -o cp_02_t.c -f cp_02_t.fnm Reading big5-hkscs (big5-hkscs) Reading cp950 (cp950) "../../../miniperl" "-I../../../lib" ../bin/enc2xs -"Q" -o ma_03_t.c -f ma_03_t.fnm Reading MacChineseTrad (MacChineseTrad) x86_64-pc-linux-gnu-gcc -c -I../Encode -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"2.03\" -DXS_VERSION=\"2.03\" -fPIC "-I../../.." bi_00_t.c x86_64-pc-linux-gnu-gcc -c -I../Encode -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"2.03\" -DXS_VERSION=\"2.03\" -fPIC "-I../../.." bi_01_t.c x86_64-pc-linux-gnu-gcc -c -I../Encode -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"2.03\" -DXS_VERSION=\"2.03\" -fPIC "-I../../.." cp_02_t.c x86_64-pc-linux-gnu-gcc -c -I../Encode -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"2.03\" -DXS_VERSION=\"2.03\" -fPIC "-I../../.." ma_03_t.c "../../../miniperl" "-I../../../lib" "-I../../../lib" "../../../lib/ExtUtils/xsubpp" -nolinenumbers -typemap "../../../lib/ExtUtils/typemap" TW.xs > TW.xsc && mv TW.xsc TW.c x86_64-pc-linux-gnu-gcc -c -I../Encode -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"2.03\" -DXS_VERSION=\"2.03\" -fPIC "-I../../.." TW.c Running Mkbootstrap for Encode::TW () chmod 644 "TW.bs" rm -f ../../../lib/auto/Encode/TW/TW.so x86_64-pc-linux-gnu-gcc -shared -O2 -pipe -Wl,-O1 -Wl,--as-needed TW.o bi_00_t.o bi_01_t.o cp_02_t.o ma_03_t.o -o ../../../lib/auto/Encode/TW/TW.so \ \ chmod 755 ../../../lib/auto/Encode/TW/TW.so /var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1/cpan/Encode/TW/../../../miniperl "-I../../../lib" "-I../../../lib" -MExtUtils::Command::MM -e 'cp_nonempty' -- TW.bs ../../../lib/auto/Encode/TW/TW.bs 644 make[2]: Leaving directory '/var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1/cpan/Encode/TW' make[2]: Entering directory '/var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1/cpan/Encode/Unicode' "../../../miniperl" "-I../../../lib" "-I../../../lib" "../../../lib/ExtUtils/xsubpp" -typemap "../../../lib/ExtUtils/typemap" Unicode.xs > Unicode.xsc && mv Unicode.xsc Unicode.c Running Mkbootstrap for Encode::Unicode () chmod 644 "Unicode.bs" x86_64-pc-linux-gnu-gcc -c -I../Encode -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -pipe -DVERSION=\"2.15\" -DXS_VERSION=\"2.15\" -fPIC "-I../../.." Unicode.c rm -f ../../../lib/auto/Encode/Unicode/Unicode.so x86_64-pc-linux-gnu-gcc -shared -O2 -pipe -Wl,-O1 -Wl,--as-needed Unicode.o -o ../../../lib/auto/Encode/Unicode/Unicode.so \ \ chmod 755 ../../../lib/auto/Encode/Unicode/Unicode.so /var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1/cpan/Encode/Unicode/../../../miniperl "-I../../../lib" "-I../../../lib" -MExtUtils::Command::MM -e 'cp_nonempty' -- Unicode.bs ../../../lib/auto/Encode/Unicode/Unicode.bs 644 make[2]: Leaving directory '/var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1/cpan/Encode/Unicode' cp bin/encguess blib/script/encguess cp bin/piconv blib/script/piconv cp bin/enc2xs blib/script/enc2xs /var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1/cpan/Encode/../../miniperl "-I../../lib" "-I../../lib" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/piconv /var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1/cpan/Encode/../../miniperl "-I../../lib" "-I../../lib" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/encguess /var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1/cpan/Encode/../../miniperl "-I../../lib" "-I../../lib" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/enc2xs make[1]: Leaving directory '/var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1/cpan/Encode' * ERROR: dev-lang/perl-5.24.1-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-lang/perl-5.24.1-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lang/perl-5.24.1-r2::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-lang/perl-5.24.1-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/perl-5.24.1-r2/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1' * S: '/var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1' >>> Failed to emerge dev-lang/perl-5.24.1-r2, Log file: >>> '/var/tmp/portage/dev-lang/perl-5.24.1-r2/temp/build.log' * Messages for package dev-lang/perl-5.24.1-r2: * ERROR: dev-lang/perl-5.24.1-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-lang/perl-5.24.1-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lang/perl-5.24.1-r2::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-lang/perl-5.24.1-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/perl-5.24.1-r2/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1' * S: '/var/tmp/portage/dev-lang/perl-5.24.1-r2/work/perl-5.24.1'

Весь лог:
build.zip
(20.34 КБ) 8 скачиваний
Спасибо сказали:
Аватара пользователя
/dev/random
Администратор
Сообщения: 5282
ОС: Gentoo

Re: Проблема с обновлением пакетов.

Сообщение /dev/random »

Приведите вывод cpp -v < /dev/null
Спасибо сказали:
Аватара пользователя
dimonchik
Сообщения: 99
ОС: Gentoo

Re: Проблема с обновлением пакетов.

Сообщение dimonchik »

Код:

cpp -v < /dev/null Используются внутренние спецификации. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0/cpp Целевая архитектура: x86_64-pc-linux-gnu Параметры конфигурации: /var/tmp/portage/sys-devel/gcc-5.4.0-r3/work/gcc-5.4.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/5.4.0/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 5.4.0-r3 p1.3, pie-0.6.5' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --disable-libmpx --enable-vtable-verify --enable-libvtv --enable-lto --without-isl --enable-libsanitizer Модель многопоточности: posix gcc версия 5.4.0 (Gentoo 5.4.0-r3 p1.3, pie-0.6.5) COLLECT_GCC_OPTIONS='-E' '-v' '-mtune=generic' '-march=x86-64' /usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/cc1 -E -quiet -v - -mtune=generic -march=x86-64 -fstack-protector-strong несуществующий каталог "/usr/local/include" проигнорирован несуществующий каталог "/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/include" проигнорирован несуществующий каталог "/home/dima/usr/include" проигнорирован порядок поиска для #include "...": порядок поиска для #include <...>: . /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include-fixed /usr/include Конец списка поиска. # 1 "<stdin>" # 1 "<built-in>" # 1 "<command-line>" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "<command-line>" 2 # 1 "<stdin>" COMPILER_PATH=/usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/:/usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/:/usr/libexec/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-E' '-v' '-mtune=generic' '-march=x86-64'
/dev/random писал(а):
02.06.2017 20:50
Приведите вывод cpp -v < /dev/null

Спасибо сказали:
Аватара пользователя
/dev/random
Администратор
Сообщения: 5282
ОС: Gentoo

Re: Проблема с обновлением пакетов.

Сообщение /dev/random »

dimonchik писал(а):
02.06.2017 20:56
...

Код:

порядок поиска для #include <...>: .
...

У вас где-то в переменных окружения затесалось что-то вроде "CPATH=." или "C_INCLUDE_PATH=.". Уберите.
Спасибо сказали:
Аватара пользователя
dimonchik
Сообщения: 99
ОС: Gentoo

Re: Проблема с обновлением пакетов.

Сообщение dimonchik »

/dev/random писал(а):
02.06.2017 21:01
dimonchik писал(а):
02.06.2017 20:56
...

Код:

порядок поиска для #include <...>: .
...

У вас где-то в переменных окружения затесалось что-то вроде "CPATH=." или "C_INCLUDE_PATH=.". Уберите.

Действительно в домашнем .bashrc было так:

Код:

# /etc/skel/.bashrc # # This file is sourced by all *interactive* bash shells on startup, # including some apparently interactive shells such as scp and rcp # that can't tolerate any output. So make sure this doesn't display # anything or bad things will happen ! # Test for an interactive shell. There is no need to set anything # past this point for scp and rcp, and it's important to refrain from # outputting anything in those cases. if [[ $- != *i* ]] ; then # Shell is non-interactive. Be done now! return fi # Put your fun stuff here. . /usr/libexec/mc/mc.sh PATH="$PATH:$HOME/bin" [ ! -d "$HOME/usr/src" ] && mkdir -p "$HOME/usr/src" export PKG_CONFIG_PATH="${HOME}/usr/lib/pkgconfig:${PKG_CONFIG_PATH}" export CPATH="${HOME}/usr/include:${CPATH}" export MANPATH="${HOME}/usr/share/man:${MANPATH}" export PATH="${HOME}/usr/bin:${PATH}" export LD_LIBRARY_PATH="${HOME}/usr/lib:${LD_LIBRARY_PATH}"

Спасибо еще раз!
Что из этого можно оставить, или убрать все кроме PATH="$PATH:$HOME/bin"
Спасибо сказали:
Аватара пользователя
/dev/random
Администратор
Сообщения: 5282
ОС: Gentoo

Re: Проблема с обновлением пакетов.

Сообщение /dev/random »

dimonchik писал(а):
02.06.2017 21:18
Что из этого можно оставить, или убрать все кроме PATH="$PATH:$HOME/bin"

Уберите то, чем не пользуетесь. Вы в ${HOME}/usr/ что-нибудь ставили? Если нет, то убирайте. Если же что-то нужно, то отредактируйте так: вместо имя="путь:${имя}" напишите имя="путь${имя:+:$имя}".

Суть проблемы в следующем. Эти переменные (если не пусты) должны содержать список путей, разделённых двоеточием. Если изначально переменная была пуста, то после команды имя="путь:${имя}" она будет содержать значение путь:, с лишним двоеточием на конце. Это двоеточие воспринимается как разделитель, а пустая строка после него - как ещё один, пустой путь. Он и вызывает ваши проблемы. Команда же имя="путь${имя:+:$имя}" указывает двоеточие только в том случае, если старое значение не пусто.
Спасибо сказали:
Аватара пользователя
Bizdelnick
Модератор
Сообщения: 20752
Статус: nulla salus bello
ОС: Debian GNU/Linux

Re: Проблема с обновлением пакетов.

Сообщение Bizdelnick »

LD_LIBRARY_PATH в .bashrc — прекрасный способ найти себе развлечение на пару вечеров. ☺
Пишите правильно:
в консоли
вку́пе (с чем-либо)
в общем
вообще
в течение (часа)
новичок
нюанс
по умолчанию
приемлемо
проблема
пробовать
трафик
Спасибо сказали:
Ответить