Bug 11157 - пересобрать evolution-exchange с -Wl,--as-needed
Summary: пересобрать evolution-exchange с -Wl,--as-needed
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: evolution-exchange (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-19 19:50 MSK by Igor Zubkov
Modified: 2007-11-21 16:15 MSK (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Zubkov 2007-03-19 19:50:37 MSK
пересобрать evolution-exchange с -Wl,--as-needed

Правда, проблема ещё более глубокая:
i586-alt-linux-gcc -pipe -Wall -O2 -march=i586 -mtune=i686 -Wall
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare
-Wno-sign-compare -o migr-test migr-test.o exchange-config-listener.o
exchange-migrate.o -Wl,-R/usr/lib/evolution/2.8 -pthread -Wl,--export-dynamic
-Wl,-R/usr/lib/evolution/2.8 -pthread  -lldap -llber -lresolv -lnsl
-L/usr/lib/evolution/2.8 -leutil -ledata-book-1.2 -ledata-cal-1.2 -lecal-1.2
-lgnomeprint-2-2 -lz -lcamel-1.2 -lcamel-provider-1.2 -leshell -lgnomeui-2 -lSM
-lICE -lbonoboui-2 -lgnome-keyring -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0
-ledataserverui-1.2 -lglade-2.0 -lebook-1.2 -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgnome-2
-lpopt -ledataserver-1.2 -lgnomevfs-2 -lexchange-storage-1.2 -lsoup-2.2 -lgnutls
-ltasn1 -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -ldl -lxml2 -lgconf-2
-lORBit-2 -lgthread-2.0 -lgobject-2.0 -lglib-2.0
/usr/lib/gcc/i586-alt-linux/4.1.1/../../../libexchange-storage-1.2.so: undefined
reference to `e_passwords_remember_password'
/usr/lib/gcc/i586-alt-linux/4.1.1/../../../libexchange-storage-1.2.so: undefined
reference to `e_passwords_get_password'
/usr/lib/gcc/i586-alt-linux/4.1.1/../../../libexchange-storage-1.2.so: undefined
reference to `e_passwords_forget_password'
/usr/lib/gcc/i586-alt-linux/4.1.1/../../../libexchange-storage-1.2.so: undefined
reference to `e_passwords_add_password'
/usr/lib/gcc/i586-alt-linux/4.1.1/../../../libexchange-storage-1.2.so: undefined
reference to `e_passwords_ask_password'
collect2: ld returned 1 exit status
make[2]: *** [migr-test] Error 1
make[2]: Leaving directory `/home/icesik/RPM/BUILD/evolution-exchange-2.8.3/storage'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/icesik/RPM/BUILD/evolution-exchange-2.8.3'
make: *** [all] Error 2
make: Leaving directory `/home/icesik/RPM/BUILD/evolution-exchange-2.8.3'
ошибка: Неверный код возврата из /home/icesik/tmp/rpm-tmp.43465 (%build)


Ошибки сборки пакетов:
    Неверный код возврата из /home/icesik/tmp/rpm-tmp.43465 (%build)
[icesik@iceberg SPECS]$
Comment 1 Ilya Mashkin 2007-04-07 02:28:59 MSD
мне кажется или у нас и так все пакеты в Сизифе собираются с 
-Wl,--as-needed
?

http://wiki.sisyphus.ru/devel/UpStream/AsNeeded?v=c1t
Comment 2 Ilya Mashkin 2007-11-09 23:35:41 MSK
Непонятно как там сейчас собрано
Comment 3 Alexey Shabalin 2007-11-21 15:43:26 MSK
в сизиф отправлены:
evolution-data-server-1.12.1-alt2
evolution-exchange-2.12.1-alt2
Всё необходимое было сделано в e-d-s(подсмотрел в gentoo).
В evolution-exchange просто убрал export LDFLAGS="$LDFLAGS -Wl,--no-as-needed".