Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#21493 closed defect (invalid)

sudo port update outdated doesn't work on Snow Leopard

Reported by: turci@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port:

Description

Hi.

I've recently updated to Snow Leopard and i was trying to install eog with port. To do so i first tried to update my outdated packages but i have the following output:

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.
Warning: Skipping upgrade since readline 6.0.000_1 >= readline 6.0.000_1, even though installed variants "" do not match "+darwin". Use 'upgrade --enforce-variants' to switch to the requested variants.
--->  Computing dependencies for gnutls
--->  Fetching gnutls
--->  Verifying checksum(s) for gnutls
--->  Extracting gnutls
--->  Configuring gnutls
--->  Building gnutls
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_gnutls/work/gnutls-2.8.3" && /usr/bin/make -j2 all " returned error 2
Command output:       _wrap_gcry_pk_generate_params in pk-libgcrypt.o
      _wrap_gcry_pk_generate_params in pk-libgcrypt.o
      _wrap_gcry_pk_generate_params in pk-libgcrypt.o
      _wrap_gcry_pk_generate_params in pk-libgcrypt.o
      _wrap_gcry_pk_generate_params in pk-libgcrypt.o
      _wrap_gcry_pk_generate_params in pk-libgcrypt.o
      _wrap_gcry_pk_generate_params in pk-libgcrypt.o
      _wrap_gcry_pk_generate_params in pk-libgcrypt.o
      __wrap_gcry_pk_sign in pk-libgcrypt.o
      __wrap_gcry_pk_sign in pk-libgcrypt.o
      __wrap_gcry_pk_sign in pk-libgcrypt.o
      __wrap_gcry_pk_encrypt in pk-libgcrypt.o
  "_gcry_prime_group_generator", referenced from:
      _wrap_gcry_generate_group in mpi-libgcrypt.o
  "_gcry_mpi_scan", referenced from:
      _wrap_gcry_mpi_scan in mpi-libgcrypt.o
  "_gcry_mpi_powm", referenced from:
      _wrap_gcry_mpi_powm in mpi-libgcrypt.o
  "_gcry_prime_check", referenced from:
      _wrap_gcry_prime_check in mpi-libgcrypt.o
      _wrap_gcry_generate_group in mpi-libgcrypt.o
  "_gcry_mpi_sub_ui", referenced from:
      _wrap_gcry_mpi_sub_ui in mpi-libgcrypt.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [libgnutls.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

any idea to interpret and solve this?

Change History (5)

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

Did you follow the migration procedure?

comment:2 in reply to:  1 Changed 15 years ago by turci@…

Replying to macsforever2000@…:

Did you follow the migration procedure?

After your suggestion, i folllowed the procedure and made a new fresh install of macports. But, for example, installing geany i get the following stuff:

Error: Target org.macports.activate returned: Image error: /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/Getopt/Long/.packlist already exists and does not belong to a registered port.  Unable to activate port p5-getopt-long.
Error: The following dependencies failed to build: vte gtk2 atk gtk-doc gnome-doc-utils rarian intltool p5-getopt-long p5-pathtools p5-scalar-list-utils cairo libpixman jasper pango shared-mime-info tiff xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto py25-gtk libglade2 py25-cairo py25-numpy fftw-3 py25-nose py25-setuptools python25 py25-gobject
Error: Status 1 encountered during processing.

What's the problem?

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

Resolution: invalid
Status: newclosed

You clearly have left over files from the old installation. I would recommend starting from scratch at this point. Remove macports entirely using the rm command and then reinstall. Otherwise, you can simply force the installs. i.e. sudo port -f install geany

comment:4 Changed 15 years ago by turci@…

i unistalled macports with the follofing commands:

sudo rm -rf /opt/local \
/Applications/MacPorts \
/Applications/DarwinPorts \
/Library/Tcl/macports1.0 \
/Library/Tcl/darwinports1.0 \
/Library/LaunchDaemons/org.macports.* \
/Library/StartupItems/DarwinPortsStartup \
/Library/Receipts/MacPorts*.pkg \
/Library/Receipts/DarwinPorts*.pkg \
~/.macports

i installed gnuplot, and it worked. I tried to install another package (i choose DateLine) but i got this error, which i think is in any case related to Snow Leopard, isn't it?

Error: Target org.macports.build returned: shell command "cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_DateLine/work/DateLine" && xcodebuild  -alltargets -configuration Deployment build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.6 ARCHS=x86_64 SDKROOT= " returned error 1

Sorry for the trial and error succession....

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

That is a problem with the Dateline port. Please file a new ticket for it and post the complete error output.

Note: See TracTickets for help on using tickets.