After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 766574 - Fails to build with --as-needed
Fails to build with --as-needed
Status: RESOLVED DUPLICATE of bug 766540
Product: evolution
Classification: Applications
Component: general
3.20.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2016-05-17 18:27 UTC by Michael Biebl
Modified: 2016-05-19 08:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[PATCH] Bug 766574 - Fix build failures with --as-needed (972 bytes, patch)
2016-05-17 18:31 UTC, Michael Biebl
none Details | Review

Description Michael Biebl 2016-05-17 18:27:07 UTC
Version: 3.20.2

Trying to build evolution 3.20.2 with --as-needed, I get

libtool: link: gcc -shared  -fPIC -DPIC  .libs/libevolution_calendar_la-calendar-config.o .libs/libevolution_calendar_la-calendar-view.o .libs/libevolution_calendar_la-comp-util.o .libs/libevolution_calendar_la-e-alarm-list.o .libs/libevolution_calendar_la-e-cal-component-preview.o .libs/libevolution_calendar_la-e-cal-config.o .libs/libevolution_calendar_la-e-cal-data-model.o .libs/libevolution_calendar_la-e-cal-data-model-subscriber.o .libs/libevolution_calendar_la-e-cal-dialogs.o .libs/libevolution_calendar_la-e-cal-event.o .libs/libevolution_calendar_la-e-cal-list-view.o .libs/libevolution_calendar_la-e-cal-model-calendar.o .libs/libevolution_calendar_la-e-cal-model.o .libs/libevolution_calendar_la-e-cal-model-memos.o .libs/libevolution_calendar_la-e-cal-model-tasks.o .libs/libevolution_calendar_la-e-cal-ops.o .libs/libevolution_calendar_la-e-calendar-view.o .libs/libevolution_calendar_la-e-cell-date-edit-text.o .libs/libevolution_calendar_la-e-comp-editor.o .libs/libevolution_calendar_la-e-comp-editor-event.o .libs/libevolution_calendar_la-e-comp-editor-memo.o .libs/libevolution_calendar_la-e-comp-editor-page-attachments.o .libs/libevolution_calendar_la-e-comp-editor-page-general.o .libs/libevolution_calendar_la-e-comp-editor-page-recurrence.o .libs/libevolution_calendar_la-e-comp-editor-page-reminders.o .libs/libevolution_calendar_la-e-comp-editor-page-schedule.o .libs/libevolution_calendar_la-e-comp-editor-page.o .libs/libevolution_calendar_la-e-comp-editor-property-part.o .libs/libevolution_calendar_la-e-comp-editor-property-parts.o .libs/libevolution_calendar_la-e-comp-editor-task.o .libs/libevolution_calendar_la-e-date-time-list.o .libs/libevolution_calendar_la-e-day-view-layout.o .libs/libevolution_calendar_la-e-day-view-main-item.o .libs/libevolution_calendar_la-e-day-view-time-item.o .libs/libevolution_calendar_la-e-day-view-top-item.o .libs/libevolution_calendar_la-e-day-view.o .libs/libevolution_calendar_la-e-meeting-attendee.o .libs/libevolution_calendar_la-e-meeting-list-view.o .libs/libevolution_calendar_la-e-meeting-store.o .libs/libevolution_calendar_la-e-meeting-time-sel.o .libs/libevolution_calendar_la-e-meeting-time-sel-item.o .libs/libevolution_calendar_la-e-meeting-utils.o .libs/libevolution_calendar_la-e-memo-table.o .libs/libevolution_calendar_la-e-month-view.o .libs/libevolution_calendar_la-e-select-names-editable.o .libs/libevolution_calendar_la-e-select-names-renderer.o .libs/libevolution_calendar_la-e-send-options-utils.o .libs/libevolution_calendar_la-e-task-table.o .libs/libevolution_calendar_la-e-week-view-event-item.o .libs/libevolution_calendar_la-e-week-view-layout.o .libs/libevolution_calendar_la-e-week-view-main-item.o .libs/libevolution_calendar_la-e-week-view-titles-item.o .libs/libevolution_calendar_la-e-week-view.o .libs/libevolution_calendar_la-e-weekday-chooser.o .libs/libevolution_calendar_la-e-timezone-entry.o .libs/libevolution_calendar_la-itip-utils.o .libs/libevolution_calendar_la-misc.o .libs/libevolution_calendar_la-print.o .libs/libevolution_calendar_la-tag-calendar.o .libs/libevolution_calendar_la-ea-calendar.o .libs/libevolution_calendar_la-ea-calendar-helpers.o .libs/libevolution_calendar_la-ea-cal-view.o .libs/libevolution_calendar_la-ea-cal-view-event.o .libs/libevolution_calendar_la-ea-day-view.o .libs/libevolution_calendar_la-ea-day-view-main-item.o .libs/libevolution_calendar_la-ea-day-view-cell.o .libs/libevolution_calendar_la-ea-week-view.o .libs/libevolution_calendar_la-ea-week-view-main-item.o .libs/libevolution_calendar_la-ea-week-view-cell.o .libs/libevolution_calendar_la-ea-jump-button.o   -Wl,-rpath -Wl,/build/evolution-3.20.2/composer/.libs -Wl,-rpath -Wl,/build/evolution-3.20.2/addressbook/gui/contact-editor/.libs -Wl,-rpath -Wl,/build/evolution-3.20.2/addressbook/gui/contact-list-editor/.libs -Wl,-rpath -Wl,/build/evolution-3.20.2/shell/.libs -Wl,-rpath -Wl,/build/evolution-3.20.2/calendar/importers/.libs -Wl,-rpath -Wl,/build/evolution-3.20.2/e-util/.libs -Wl,-rpath -Wl,/build/evolution-3.20.2/libgnomecanvas/.libs -Wl,-rpath -Wl,/usr/lib/evolution -Wl,--as-needed ../../composer/.libs/libevolution-mail-composer.so ../../addressbook/gui/contact-editor/.libs/libecontacteditor.so ../../addressbook/gui/contact-list-editor/.libs/libecontactlisteditor.so ../../shell/.libs/libevolution-shell.so ../../calendar/importers/.libs/libevolution-calendar-importers.so ../../e-util/.libs/libevolution-util.so ../../libgnomecanvas/.libs/libgnomecanvas.so -lebook-1.2 -ledata-book-1.2 -lebook-contacts-1.2 -lecal-1.2 -lical -licalss -licalvcal -lpthread -ledataserverui-1.2 -lebackend-1.2 -ledataserver-1.2 -lcamel-1.2 /usr/lib/x86_64-linux-gnu/libsqlite3.so -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4 -lsecret-1 -lgmodule-2.0 -lgailutil-3 -lgcr-ui-3 -lgcr-base-3 -lgck-1 -lp11-kit -lxml2 -lwebkitgtk-3.0 -ljavascriptcoregtk-3.0 -lgnome-desktop-3 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lm  -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,defs -Wl,-O1 -Wl,--no-undefined -Wl,--export-dynamic -pthread -Wl,--export-dynamic -pthread   -pthread -Wl,-soname -Wl,libevolution-calendar.so.0 -o .libs/libevolution-calendar.so.0.0.0
.libs/libevolution_calendar_la-e-meeting-list-view.o: In function `process_section':
/build/evolution-3.20.2/calendar/gui/e-meeting-list-view.c:954: undefined reference to `eab_parse_qp_email'
collect2: error: ld returned 1 exit status
Makefile:857: recipe for target 'libevolution-calendar.la' failed
make[5]: *** [libevolution-calendar.la] Error 1
make[5]: Leaving directory '/build/evolution-3.20.2/calendar/gui'
Makefile:549: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/build/evolution-3.20.2/calendar'
Makefile:482: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/build/evolution-3.20.2/calendar'
Makefile:763: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/build/evolution-3.20.2'
Makefile:647: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/build/evolution-3.20.2'
/usr/share/cdbs/1/class/makefile.mk:74: recipe for target 'debian/stamp-makefile-build' failed
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
I: copying local configuration
E: Failed autobuilding of package
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
 -> Cleaning COW directory
Comment 1 Michael Biebl 2016-05-17 18:31:00 UTC
Created attachment 328098 [details] [review]
[PATCH] Bug 766574 - Fix build failures with --as-needed
Comment 2 Milan Crha 2016-05-19 08:00:33 UTC
Thanks for a bug report and patch. This had been fixed only recently, within another bug, thus I mark this as a duplicate of that bug report.

*** This bug has been marked as a duplicate of bug 766540 ***