Opened 15 years ago

Closed 14 years ago

#22369 closed defect (invalid)

Centerim linking fails on OSX10.6 (_gg_login in liblibgadu.a(libgadu.o)

Reported by: bjorn@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: centerim

Description (last modified by jmroot (Joshua Root))

andbjorn@galois~> sudo port install centerim
Password:
Warning: Skipping upgrade since ncursesw 5.7_0 >= ncursesw 5.7_0, even though installed variants "" do not match "+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since ncurses 5.7_0 >= ncurses 5.7_0, even though installed variants "" do not match "+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since openssl 0.9.8k_0 >= openssl 0.9.8k_0, even though installed variants "" do not match "+darwin". Use 'upgrade --enforce-variants' to switch to the requested variants.
--->  Computing dependencies for centerim
--->  Building centerim
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_centerim/work/centerim-4.22.7" && /usr/bin/gnumake -j2 all " returned error 2
Command output:       _gg_login in liblibgadu.a(libgadu.o)
  "_SSL_accept", referenced from:
      _cw_accept in libconnwrap.a(connwrap.o)
  "_SSL_CTX_set_verify", referenced from:
      _gg_login in liblibgadu.a(libgadu.o)
  "_SSL_get_error", referenced from:
      _cw_nb_connect in libconnwrap.a(connwrap.o)
      _gg_write in liblibgadu.a(libgadu.o)
      _gg_read in liblibgadu.a(libgadu.o)
      _gg_watch_fd in liblibgadu.a(events.o)
  "_SSL_load_error_strings", referenced from:
      _addsock in libconnwrap.a(connwrap.o)
  "_SSL_CIPHER_get_name", referenced from:
      _gg_watch_fd in liblibgadu.a(events.o)
  "_SSL_write", referenced from:
      _cw_write in libconnwrap.a(connwrap.o)
      _gg_write in liblibgadu.a(libgadu.o)
  "_SSL_CTX_new", referenced from:
      _addsock in libconnwrap.a(connwrap.o)
      _gg_login in liblibgadu.a(libgadu.o)
  "_SSL_get_current_cipher", referenced from:
      _gg_watch_fd in liblibgadu.a(events.o)
  "_OPENSSL_add_all_algorithms_noconf", referenced from:
      _addsock in libconnwrap.a(connwrap.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
gnumake[3]: *** [centerim] Error 1
gnumake[2]: *** [all-recursive] Error 1
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all] Error 2

Error: Status 1 encountered during processing.
~ 

Change History (5)

comment:1 in reply to:  description Changed 15 years ago by bjorn@…

Replying to bjorn@…:

andbjorn@galois~> sudo port install centerim
Password:
Warning: Skipping upgrade since ncursesw 5.7_0 >= ncursesw 5.7_0, even though installed variants "" do not match "+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since ncurses 5.7_0 >= ncurses 5.7_0, even though installed variants "" do not match "+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested variants.
--->  Computing dependencies for zlib
--->  Fetching zlib
--->  Verifying checksum(s) for zlib
--->  Extracting zlib
--->  Applying patches to zlib
--->  Configuring zlib
--->  Building zlib
--->  Staging zlib into destroot
--->  Deactivating zlib @1.2.3_2
--->  Computing dependencies for zlib
--->  Installing zlib @1.2.3_3
--->  Activating zlib @1.2.3_3
--->  Cleaning zlib
Warning: Skipping upgrade since openssl 0.9.8k_0 >= openssl 0.9.8k_0, even though installed variants "" do not match "+darwin". Use 'upgrade --enforce-variants' to switch to the requested variants.
--->  Computing dependencies for centerim
--->  Fetching bzip2
--->  Attempting to fetch bzip2-1.0.5.tar.gz from http://www.bzip.org/1.0.5
--->  Verifying checksum(s) for bzip2
--->  Extracting bzip2
--->  Applying patches to bzip2
--->  Configuring bzip2
--->  Building bzip2
--->  Staging bzip2 into destroot
--->  Installing bzip2 @1.0.5_3+darwin
--->  Activating bzip2 @1.0.5_3+darwin
--->  Cleaning bzip2
--->  Fetching readline
--->  Attempting to fetch readline-6.0.tar.gz from ftp://ftp.funet.fi/pub/gnu/prep/readline
--->  Verifying checksum(s) for readline
--->  Extracting readline
--->  Applying patches to readline
--->  Configuring readline
--->  Building readline
--->  Staging readline into destroot
--->  Installing readline @6.0.000_2+darwin
--->  Activating readline @6.0.000_2+darwin
--->  Cleaning readline
--->  Fetching gnupg
--->  Attempting to fetch gnupg-1.4.10.tar.bz2 from ftp://ftp.jyu.fi/pub/crypt/gcrypt/gnupg/
--->  Verifying checksum(s) for gnupg
--->  Extracting gnupg
--->  Configuring gnupg
--->  Building gnupg
--->  Staging gnupg into destroot
--->  Installing gnupg @1.4.10_0
--->  Activating gnupg @1.4.10_0
--->  Cleaning gnupg
--->  Fetching libgpg-error
--->  Attempting to fetch libgpg-error-1.7.tar.bz2 from http://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/libgpg-error
--->  Verifying checksum(s) for libgpg-error
--->  Extracting libgpg-error
--->  Applying patches to libgpg-error
--->  Configuring libgpg-error
--->  Building libgpg-error
--->  Staging libgpg-error into destroot
--->  Installing libgpg-error @1.7_0
--->  Activating libgpg-error @1.7_0
--->  Cleaning libgpg-error
--->  Fetching pth
--->  Attempting to fetch pth-2.0.7.tar.gz from http://arn.se.distfiles.macports.org/pth
--->  Verifying checksum(s) for pth
--->  Extracting pth
--->  Configuring pth
--->  Building pth
--->  Staging pth into destroot
--->  Installing pth @2.0.7_0
--->  Activating pth @2.0.7_0
--->  Cleaning pth
--->  Fetching gpgme
--->  Attempting to fetch gpgme-1.2.0.tar.bz2 from http://arn.se.distfiles.macports.org/gpgme
--->  Verifying checksum(s) for gpgme
--->  Extracting gpgme
--->  Configuring gpgme
--->  Building gpgme
--->  Staging gpgme into destroot
--->  Installing gpgme @1.2.0_0
--->  Activating gpgme @1.2.0_0
--->  Cleaning gpgme
--->  Fetching centerim
--->  Attempting to fetch centerim-4.22.7.tar.bz2 from http://arn.se.distfiles.macports.org/centerim
--->  Verifying checksum(s) for centerim
--->  Extracting centerim
--->  Applying patches to centerim
--->  Configuring centerim
--->  Building centerim
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_centerim/work/centerim-4.22.7" && /usr/bin/gnumake -j2 all " returned error 2
Command output:       _gg_login in liblibgadu.a(libgadu.o)
  "_SSL_accept", referenced from:
      _cw_accept in libconnwrap.a(connwrap.o)
  "_SSL_CTX_set_verify", referenced from:
      _gg_login in liblibgadu.a(libgadu.o)
  "_SSL_get_error", referenced from:
      _cw_nb_connect in libconnwrap.a(connwrap.o)
      _gg_write in liblibgadu.a(libgadu.o)
      _gg_read in liblibgadu.a(libgadu.o)
      _gg_watch_fd in liblibgadu.a(events.o)
  "_SSL_load_error_strings", referenced from:
      _addsock in libconnwrap.a(connwrap.o)
  "_SSL_CIPHER_get_name", referenced from:
      _gg_watch_fd in liblibgadu.a(events.o)
  "_SSL_write", referenced from:
      _cw_write in libconnwrap.a(connwrap.o)
      _gg_write in liblibgadu.a(libgadu.o)
  "_SSL_CTX_new", referenced from:
      _addsock in libconnwrap.a(connwrap.o)
      _gg_login in liblibgadu.a(libgadu.o)
  "_SSL_get_current_cipher", referenced from:
      _gg_watch_fd in liblibgadu.a(events.o)
  "_OPENSSL_add_all_algorithms_noconf", referenced from:
      _addsock in libconnwrap.a(connwrap.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
gnumake[3]: *** [centerim] Error 1
gnumake[2]: *** [all-recursive] Error 1
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all] Error 2

Error: Status 1 encountered during processing.
~ 

Using: i686-apple-darwin10-gcc-4.2.1:

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Description: modified (diff)

Missing +darwin_10 variants? Did you follow the Migration procedure when you upgraded to Snow Leopard?

comment:3 Changed 15 years ago by bjorn@…

Thanks for the hint - i didn't upgrade to SL, I installed macports after upgrade. I will try to look at the Migration procedure and see if I am missing something.

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

This could just be the "darwin variants weren't recorded in the registry" bug that got fixed.

Please selfupdate and upgrade outdated ports to make sure you have the latest software, then try again with the debug switch:

sudo port selfupdate
sudo port upgrade outdated
sudo port clean centerim
sudo port -d install centerim 2>&1 | tee ~/Desktop/centerim.txt
bzip2 ~/Desktop/centerim.txt

If it fails again, please attach the file centerim.txt.bz2 from your desktop to this ticket; this will let us see the full problem, instead of just the last few lines of it as we see in your earlier comments.

comment:5 Changed 14 years ago by jmroot (Joshua Root)

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