[Решено] net-print/cups-2.4.7 build error

Sabayon, Calculate, Funtoo, Exherbo

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

Ответить
Аватара пользователя
bars
Сообщения: 940
ОС: BSD/LINUX
Контактная информация:

[Решено] net-print/cups-2.4.7 build error

Сообщение bars »

Привет.
Не пойму в чем дело, как исправить ошибку.
Пересобираю софт у системы, выскочила ошибка странная, для меня не понятная.
Моя система Linux 6.1.53-gentoo-r1 x86_64 .

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

a - ppd-custom.o
a - ppd-emit.o
a - ppd-localize.o
a - ppd-mark.o
a - ppd-page.o
a - ppd-util.o
a - raster-interpret.o
a - raster-interstub.o
a - sidechannel.o
a - snmp.o
x86_64-pc-linux-gnu-ranlib libcups.a
/bin/rm -f `basename libcups.so.2 .2`
ln -sf libcups.so.2 `basename libcups.so.2 .2`
echo Linking libcupsimage.so.2...
Linking libcupsimage.so.2...
x86_64-pc-linux-gnu-gcc  -L../cups   -Wl,-O1 -Wl,--as-needed -Wl,-soname,`basename libcupsimage.so.2` -shared -fPIC -Os -g -fstack-protector-strong -D_GNU_SOURCE -o libcupsimage.so.2 raster-interstub.o raster-stubs.o -L../cups -lcups
/bin/rm -f `basename libcupsimage.so.2 .2`
ln -sf libcupsimage.so.2 `basename libcupsimage.so.2 .2`
make[1]: выход из каталога «/mnt/tmp/portage/net-print/cups-2.4.7/work/cups-2.4.7-abi_x86_64.amd64/cups»
Making all in tools...
make[1]: вход в каталог «/mnt/tmp/portage/net-print/cups-2.4.7/work/cups-2.4.7-abi_x86_64.amd64/tools»
make[1]: предупреждение: в суб-Makefile принудительно задан -j8; сброс режима сервера заданий
echo Compiling ippevepcl.c...
echo Compiling ippeveps.c...
echo Compiling ippeveprinter.c...
Compiling ippevepcl.c...
echo Compiling ipptool.c...
x86_64-pc-linux-gnu-gcc  -fPIC -Os -g -fstack-protector-strong -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -march=core2 -O2 -pipe -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include  -DDBUS_API_SUBJECT_TO_CHANGE   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT  -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c -o ippevepcl.o ippevepcl.c
Compiling ippeveps.c...
x86_64-pc-linux-gnu-gcc  -fPIC -Os -g -fstack-protector-strong -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -march=core2 -O2 -pipe -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include  -DDBUS_API_SUBJECT_TO_CHANGE   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT  -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c -o ippeveps.o ippeveps.c
Compiling ipptool.c...
x86_64-pc-linux-gnu-gcc  -fPIC -Os -g -fstack-protector-strong -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -march=core2 -O2 -pipe -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include  -DDBUS_API_SUBJECT_TO_CHANGE   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT  -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c -o ipptool.o ipptool.c
Compiling ippeveprinter.c...
x86_64-pc-linux-gnu-gcc  -fPIC -Os -g -fstack-protector-strong -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -march=core2 -O2 -pipe -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include  -DDBUS_API_SUBJECT_TO_CHANGE   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT  -Wall -Wunused -Wno-char-subscripts -Wno-deprecated-declarations -Wno-format-truncation -Wno-format-y2k -Wno-switch -Wno-unused-result -c -o ippeveprinter.o ippeveprinter.c
echo Linking ippevepcl...
Linking ippevepcl...
x86_64-pc-linux-gnu-gcc -L../cups   -Wl,-O1 -Wl,--as-needed -fPIE -pie -fPIC -Os -g -fstack-protector-strong -D_GNU_SOURCE -o ippevepcl ippevepcl.o -L../cups -lcups
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: ../cups/libcups.so: неопределённая ссылка на «gnutls_hash_deinit»
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: ../cups/libcups.so: неопределённая ссылка на «gnutls_hash_init»
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: ../cups/libcups.so: неопределённая ссылка на «gnutls_hash_get_len»
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: ../cups/libcups.so: неопределённая ссылка на «gnutls_hash»
collect2: ошибка: выполнение ld завершилось с кодом возврата 1
make[1]: *** [Makefile:170: ippevepcl] Ошибка 1
make[1]: *** Ожидание завершения заданий…
make[1]: выход из каталога «/mnt/tmp/portage/net-print/cups-2.4.7/work/cups-2.4.7-abi_x86_64.amd64/tools»
make: *** [Makefile:43: all] Ошибка 1
 * ERROR: net-print/cups-2.4.7::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-print/cups-2.4.7::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-print/cups-2.4.7::gentoo'`.
 * The complete build log is located at '/mnt/tmp/portage/net-print/cups-2.4.7/temp/build.log'.
 * The ebuild environment file is located at '/mnt/tmp/portage/net-print/cups-2.4.7/temp/environment'.
 * Working directory: '/mnt/tmp/portage/net-print/cups-2.4.7/work/cups-2.4.7-abi_x86_64.amd64'
 * S: '/mnt/tmp/portage/net-print/cups-2.4.7/work/cups-2.4.7'

 * Messages for package net-print/cups-2.4.7:

 * If you plan to use USB printers you should enable the USB_PRINTER
 * support in your kernel.
 * Please enable it:
 *     CONFIG_USB_PRINTER=y
 * in /usr/src/linux/.config or
 *     Device Drivers --->
 *         USB support  --->
 *             [*] USB Printer support
 * Alternatively, enable the usb useflag for cups and use the libusb code.
 * ERROR: net-print/cups-2.4.7::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-print/cups-2.4.7::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-print/cups-2.4.7::gentoo'`.
 * The complete build log is located at '/mnt/tmp/portage/net-print/cups-2.4.7/temp/build.log'.
 * The ebuild environment file is located at '/mnt/tmp/portage/net-print/cups-2.4.7/temp/environment'.
 * Working directory: '/mnt/tmp/portage/net-print/cups-2.4.7/work/cups-2.4.7-abi_x86_64.amd64'
 * S: '/mnt/tmp/portage/net-print/cups-2.4.7/work/cups-2.4.7'

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

[ebuild     U  ] net-print/cups-2.4.7::gentoo [2.4.6::gentoo] USE="acl dbus pam -X -debug -kerberos -openssl (-selinux) -ssl -static-libs -systemd -test -usb -xinetd -zeroconf" 0 KiB
В make.conf

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

DISABLE_USE="-kde -gnome -samba -cups -joystick -consolekit -systemd -arts -ipv6 -sudo -multilib"
USE="${ENABLE_USE} ${DISABLE_USE}"
Последний раз редактировалось bars 04.10.2023 19:10, всего редактировалось 1 раз.
Настройка BSD систем
Знание сила, незнание Рабочая сила!
Спасибо сказали:
Аватара пользователя
bars
Сообщения: 940
ОС: BSD/LINUX
Контактная информация:

Re: net-print/cups-2.4.7 build error

Сообщение bars »

Походу косяк какой-то с ssl сертификатами.
Уже народ создал подобную проблему в багрепорте.
https://bugs.gentoo.org/914869
Добавлено (19:10):
Проблема решена, капс собран с ssl.
Настройка BSD систем
Знание сила, незнание Рабочая сила!
Спасибо сказали:
Ответить