Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#57362 closed defect (invalid)

Cannot install git

Reported by: ruipacheco (Rui Pacheco) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: libiconv

Description

Followed the upgrade guide for Mojava but cannot install git:

descartes:~ ruihpacheco$ sudo port install git
--->  Computing dependencies for git
The following dependencies will be installed: 
 bzip2
 curl
 db48
 expat
 gdbm
 gettext
 glib2
 kerberos5
 libcomerr
 libedit
 libffi
 libiconv
 libidn
 libidn2
 libpsl
 libunistring
 ncurses
 openssl
 p5.26-authen-sasl
 p5.26-cgi
 p5.26-digest-hmac
 p5.26-digest-sha1
 p5.26-error
 p5.26-gssapi
 p5.26-html-parser
 p5.26-html-tagset
 p5.26-io-socket-ssl
 p5.26-mozilla-ca
 p5.26-net-libidn
 p5.26-net-smtp-ssl
 p5.26-net-ssleay
 p5.26-sub-uplevel
 p5.26-term-readkey
 p5.26-test-exception
 p5.26-test-nowarnings
 p5.26-test-warn
 pcre
 pcre2
 perl5.26
 popt
 python27
 readline
 rsync
 sqlite3
 xz
 zlib
Continue? [Y/n]: Y
Error: Requested variants "" do not match those the build was started with: "+universal".
Error: Please use the same variants again, or run 'port clean libiconv' first to remove the existing partially completed build.
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libiconv/libiconv/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port git failed
descartes:~ ruihpacheco$

Change History (3)

comment:1 Changed 6 years ago by jmroot (Joshua Root)

Port: libiconv added; git removed
Resolution: invalid
Status: newclosed

You have an existing build directory for libiconv which contains a partially completed build (which was using different variants than you are currently using), and as the message says, you need to run sudo port clean libiconv.

comment:2 Changed 6 years ago by ruipacheco (Rui Pacheco)

I tried that but didn't help:

descartes:~ ruihpacheco$ sudo port clean libiconv
Password:
--->  Cleaning libiconv
descartes:~ ruihpacheco$ sudo port install git
--->  Computing dependencies for git
The following dependencies will be installed: 
 bzip2
 curl
 db48
 expat
 gdbm
 gettext
 glib2
 kerberos5
 libcomerr
 libedit
 libffi
 libiconv
 libidn
 libidn2
 libpsl
 libunistring
 ncurses
 openssl
 p5.26-authen-sasl
 p5.26-cgi
 p5.26-digest-hmac
 p5.26-digest-sha1
 p5.26-error
 p5.26-gssapi
 p5.26-html-parser
 p5.26-html-tagset
 p5.26-io-socket-ssl
 p5.26-mozilla-ca
 p5.26-net-libidn
 p5.26-net-smtp-ssl
 p5.26-net-ssleay
 p5.26-sub-uplevel
 p5.26-term-readkey
 p5.26-test-exception
 p5.26-test-nowarnings
 p5.26-test-warn
 pcre
 pcre2
 perl5.26
 popt
 python27
 readline
 rsync
 sqlite3
 xz
 zlib
Continue? [Y/n]: Y
--->  Fetching archive for libiconv
--->  Attempting to fetch libiconv-1.15_0.darwin_18.x86_64.tbz2 from http://lil.fr.packages.macports.org/libiconv
--->  Attempting to fetch libiconv-1.15_0.darwin_18.x86_64.tbz2.rmd160 from http://lil.fr.packages.macports.org/libiconv
--->  Installing libiconv @1.15_0
--->  Activating libiconv @1.15_0
--->  Cleaning libiconv
Error: Requested variants "" do not match those the build was started with: "+universal".
Error: Please use the same variants again, or run 'port clean ncurses' first to remove the existing partially completed build.
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port git failed
descartes:~ ruihpacheco$

This seems to affect other random packages like Postgresql and Mercurial so I suspect the issue is somewhere, although the error message is the same.

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

Trac is not for tech support. Follow-up on the Macports-Users mailing list instead.

Note: See TracTickets for help on using tickets.