Opened 15 years ago

Closed 15 years ago

#22089 closed defect (worksforme)

Unable to compile libical

Reported by: jord.swart@… Owned by: jonas@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: libical

Description

I'm trying to install Amarok-devel and run into a problem with libical (not sure why I need it, but that is another topic). Port gives me the following error:

--->  Computing dependencies for libical.
--->  Building libical
/usr/bin/make  all-recursive
Making all in design-data
make[2]: Nothing to be done for `all'.
Making all in doc
make[2]: Nothing to be done for `all'.
Making all in scripts
make[2]: Nothing to be done for `all'.
Making all in test-data
make[2]: Nothing to be done for `all'.
Making all in src
Making all in libical
/usr/bin/make  all-am
make[4]: Nothing to be done for `all-am'.
Making all in libicalss
make[3]: Nothing to be done for `all'.
Making all in libicalvcal
make[3]: Nothing to be done for `all'.
Making all in test
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in examples
/bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.2  -O2 -arch x86_64  -L/opt/local/lib -o doesnothing  access_components.o access_properties_and_parameters.o errors.o main.o parse_text.o ../src/libical/libical.la ../src/libicalss/libicalss.la ../src/libicalvcal/libicalvcal.la -lpthread
/usr/bin/gcc-4.2 -O2 -arch x86_64 -o .libs/doesnothing access_components.o access_properties_and_parameters.o errors.o main.o parse_text.o  -L/opt/local/lib ../src/libical/.libs/libical.dylib ../src/libicalss/.libs/libicalss.dylib ../src/libicalvcal/.libs/libicalvcal.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libical/work/libical-0.43/src/libical/.libs/libical.dylib -lpthread
ld: warning: in ../src/libical/.libs/libical.dylib, missing required architecture x86_64 in file
ld: warning: in ../src/libicalss/.libs/libicalss.dylib, missing required architecture x86_64 in file
ld: warning: in ../src/libicalvcal/.libs/libicalvcal.dylib, missing required architecture x86_64 in file
ld: warning: in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libical/work/libical-0.43/src/libical/.libs/libical.dylib, missing required architecture x86_64 in file
Undefined symbols:
  "_icalerror_clear_errno", referenced from:
      _program_errors in errors.o
  "_icalparameter_new_partstat", referenced from:
      _update_attendees in access_properties_and_parameters.o
  "_icalvalue_as_ical_string_r", referenced from:
      _test_properties in access_properties_and_parameters.o
  "_icalproperty_get_attendee", referenced from:
      _get_required_attendees in access_properties_and_parameters.o
  "_icalparameter_new_tzid", referenced from:
      _create_new_component_with_va_args in access_components.o
      _create_new_component_with_va_args in access_components.o
      _create_new_component in access_components.o
      _create_new_component in access_components.o
  "_icalproperty_new_version", referenced from:
      _create_new_component_with_va_args in access_components.o
      _create_new_component in access_components.o
  "_icalproperty_vanew_organizer", referenced from:
      _create_new_component_with_va_args in access_components.o
  "_icalproperty_new_prodid", referenced from:
      _create_new_component_with_va_args in access_components.o
      _create_new_component in access_components.o
  "_icalproperty_new_uid", referenced from:
      _create_new_component_with_va_args in access_components.o
      _create_new_component in access_components.o
  "_icalparser_new", referenced from:
      _parse_text in parse_text.o
  "_icalparser_free", referenced from:
      _parse_text in parse_text.o
  "_icalparameter_new_cn", referenced from:
      _test_properties in access_properties_and_parameters.o
      _test_properties in access_properties_and_parameters.o
      _test_properties in access_properties_and_parameters.o
      _test_properties in access_properties_and_parameters.o
  "_icalproperty_vanew_dtend", referenced from:
      _create_new_component_with_va_args in access_components.o
  "_icalproperty_free", referenced from:
      _test_properties in access_properties_and_parameters.o
      _test_properties in access_properties_and_parameters.o
  "_icalproperty_add_parameter", referenced from:
      _create_new_component in access_components.o
      _create_new_component in access_components.o
      _create_new_component in access_components.o
      _create_new_component in access_components.o
      _create_new_component in access_components.o
      _create_new_component in access_components.o
      _update_attendees in access_properties_and_parameters.o
  "_icalcomponent_get_first_property", referenced from:
      _update_attendees in access_properties_and_parameters.o
      _get_required_attendees in access_properties_and_parameters.o
      _component_errors in errors.o
  "_icalcomponent_add_property", referenced from:
      _create_new_component in access_components.o
      _create_new_component in access_components.o
      _create_new_component in access_components.o
      _create_new_component in access_components.o
      _create_new_component in access_components.o
      _create_new_component in access_components.o
      _create_new_component in access_components.o
      _create_new_component in access_components.o
      _create_new_component in access_components.o
      _create_new_component in access_components.o
      _create_new_component in access_components.o
      _create_new_component in access_components.o
      _create_new_component in access_components.o
      _create_new_component in access_components.o
  "_icalproperty_new_clone", referenced from:
      _test_properties in access_properties_and_parameters.o
  "_icalcomponent_remove_component", referenced from:
      _remove_vevent_sub_components in access_components.o
  "_icalcomponent_get_first_component", referenced from:
      _remove_vevent_sub_components in access_components.o
      _find_sub_components in access_components.o
      _find_sub_components in access_components.o
  "_icaltime_from_timet", referenced from:
      _create_new_component_with_va_args in access_components.o
      _create_new_component_with_va_args in access_components.o
      _create_new_component_with_va_args in access_components.o
      _create_new_component in access_components.o
      _create_new_component in access_components.o
      _create_new_component in access_components.o
  "_icalparameter_new_rsvp", referenced from:
      _create_new_component_with_va_args in access_components.o
      _create_new_component in access_components.o
  "_icalcomponent_vanew", referenced from:
      _create_new_component_with_va_args in access_components.o
      _create_new_component_with_va_args in access_components.o
  "_icalcomponent_convert_errors", referenced from:
      _component_errors in errors.o
  "_icalproperty_new_organizer", referenced from:
      _create_new_component in access_components.o
  "_icalcomponent_get_next_property", referenced from:
      _update_attendees in access_properties_and_parameters.o
      _get_required_attendees in access_properties_and_parameters.o
      _component_errors in errors.o
  "_icalcomponent_new", referenced from:
      _create_new_component in access_components.o
      _create_new_component in access_components.o
      _program_errors in errors.o
  "_icalproperty_new_summary", referenced from:
      _create_new_component_with_va_args in access_components.o
      _create_new_component in access_components.o
  "_icalparameter_get_role", referenced from:
      _get_required_attendees in access_properties_and_parameters.o
  "_icalproperty_new_dtend", referenced from:
      _create_new_component in access_components.o
  "_icalparameter_get_partstat", referenced from:
      _update_attendees in access_properties_and_parameters.o
  "_icalproperty_new_location", referenced from:
      _create_new_component_with_va_args in access_components.o
      _create_new_component in access_components.o
  "_icalproperty_as_ical_string_r", referenced from:
      _test_properties in access_properties_and_parameters.o
  "_icalparameter_free", referenced from:
      _update_attendees in access_properties_and_parameters.o
  "_icalproperty_new_description", referenced from:
      _create_new_component_with_va_args in access_components.o
      _create_new_component in access_components.o
  "_icalparameter_new_role", referenced from:
      _create_new_component_with_va_args in access_components.o
      _create_new_component_with_va_args in access_components.o
      _create_new_component in access_components.o
      _create_new_component in access_components.o
  "_icalrestriction_check", referenced from:
      _component_errors in errors.o
  "_icalparser_set_gen_data", referenced from:
      _parse_text in parse_text.o
  "_icalerror_strerror", referenced from:
      _program_errors in errors.o
  "_icalproperty_new_dtstamp", referenced from:
      _create_new_component_with_va_args in access_components.o
      _create_new_component in access_components.o
  "_icalproperty_vanew_comment", referenced from:
      _test_properties in access_properties_and_parameters.o
  "_icalproperty_vanew_attendee", referenced from:
      _create_new_component_with_va_args in access_components.o
  "_icalproperty_new_class", referenced from:
      _create_new_component_with_va_args in access_components.o
      _create_new_component in access_components.o
  "_icalcomponent_as_ical_string_r", referenced from:
      _parse_text in parse_text.o
  "_icalproperty_remove_parameter", referenced from:
      _update_attendees in access_properties_and_parameters.o
  "_icalproperty_get_comment", referenced from:
      _test_properties in access_properties_and_parameters.o
  "_icalproperty_new_dtstart", referenced from:
      _create_new_component in access_components.o
  "_icalparser_get_line", referenced from:
      _parse_text in parse_text.o
  "_icalproperty_new_categories", referenced from:
      _create_new_component_with_va_args in access_components.o
      _create_new_component in access_components.o
  "_icalerrno_return", referenced from:
      _program_errors in errors.o
      _program_errors in errors.o
  "_icalproperty_new_created", referenced from:
      _create_new_component_with_va_args in access_components.o
      _create_new_component in access_components.o
  "_icalproperty_get_first_parameter", referenced from:
      _test_properties in access_properties_and_parameters.o
      _update_attendees in access_properties_and_parameters.o
      _get_required_attendees in access_properties_and_parameters.o
  "_icalproperty_get_value", referenced from:
      _test_properties in access_properties_and_parameters.o
  "_icalproperty_new_attendee", referenced from:
      _create_new_component in access_components.o
  "_icalproperty_get_xlicerror", referenced from:
      _component_errors in errors.o
  "_icalparameter_get_cn", referenced from:
      _test_properties in access_properties_and_parameters.o
  "_icalparameter_new_cutype", referenced from:
      _create_new_component_with_va_args in access_components.o
      _create_new_component in access_components.o
  "_icalcomponent_add_component", referenced from:
      _create_new_component in access_components.o
  "_icalparser_add_line", referenced from:
      _parse_text in parse_text.o
  "_icalcomponent_isa", referenced from:
      _update_attendees in access_properties_and_parameters.o
      _get_required_attendees in access_properties_and_parameters.o
  "_icalproperty_get_next_parameter", referenced from:
      _test_properties in access_properties_and_parameters.o
  "_icalcomponent_free", referenced from:
      _parse_text in parse_text.o
  "_icalcomponent_count_errors", referenced from:
      _component_errors in errors.o
      _component_errors in errors.o
  "_icalproperty_vanew_dtstart", referenced from:
      _create_new_component_with_va_args in access_components.o
  "_icalcomponent_get_next_component", referenced from:
      _remove_vevent_sub_components in access_components.o
      _find_sub_components in access_components.o
      _find_sub_components in access_components.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [doesnothing] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libical/work/libical-0.43" && /usr/bin/make -j2 all " returned error 2
Command output:   "_icalparameter_get_cn", referenced from:
      _test_properties in access_properties_and_parameters.o
  "_icalparameter_new_cutype", referenced from:
      _create_new_component_with_va_args in access_components.o
      _create_new_component in access_components.o
  "_icalcomponent_add_component", referenced from:
      _create_new_component in access_components.o
  "_icalparser_add_line", referenced from:
      _parse_text in parse_text.o
  "_icalcomponent_isa", referenced from:
      _update_attendees in access_properties_and_parameters.o
      _get_required_attendees in access_properties_and_parameters.o
  "_icalproperty_get_next_parameter", referenced from:
      _test_properties in access_properties_and_parameters.o
  "_icalcomponent_free", referenced from:
      _parse_text in parse_text.o
  "_icalcomponent_count_errors", referenced from:
      _component_errors in errors.o
      _component_errors in errors.o
  "_icalproperty_vanew_dtstart", referenced from:
      _create_new_component_with_va_args in access_components.o
  "_icalcomponent_get_next_component", referenced from:
      _remove_vevent_sub_components in access_components.o
      _find_sub_components in access_components.o
      _find_sub_components in access_components.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [doesnothing] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Warning: the following items did not execute (for libical): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Seems that the issue is because of 10.6.1; it used to work with 10.5.8.

Change History (3)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Keywords: libical 10.6.1 link compile fail removed
Milestone: MacPorts 1.8.2
Owner: changed from macports-tickets@… to jonas@…

comment:2 in reply to:  description Changed 15 years ago by jord.swart@…

Since I got no reply I tried the old trick: remove everything and start all over. This time however I started with libical. And that did the trick. It compiled and installed. You can close the case.

comment:3 Changed 15 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.