[MacPorts] #44786: list of dependencies to be installed can be inaccurate

MacPorts noreply at macports.org
Sat Aug 30 18:34:44 PDT 2014


#44786: list of dependencies to be installed can be inaccurate
-----------------------+----------------------
  Reporter:  larryv@…  |      Owner:  shasha@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  base      |    Version:  2.3.99
Resolution:            |   Keywords:
      Port:            |
-----------------------+----------------------

Comment (by larryv@…):

 Replying to [comment:7 jmr@…]:
 > I think maybe this also would work correctly if you set
 > configure.build_arch in the portfile rather than overriding it on the
 > command line. (The override gets passed on to the dependencies, so
 > they parse with build_arch=i386 rather than their actual installed
 > arch.)

 This seems right. After adding “`configure.build_arch i386`” to
 `libgcrypt`’s Portfile:
 {{{
 % port edit libgcrypt
 % sudo port -k install libgcrypt
 Portfile changed since last build; discarding previous state.
 --->  Computing dependencies for libgcrypt
 The following dependencies will be installed:
  expat
  gettext
  gperf
  libgpg-error
  libiconv
  ncurses
 Continue? [Y/n]:
 --->  Fetching source for expat
 --->  Verifying checksums for expat
 --->  Extracting expat
 --->  Configuring expat
 --->  Building expat
 --->  Staging expat into destroot
 --->  Installing expat @2.1.0_0+universal
 --->  Deactivating expat @2.1.0_0
 --->  Cleaning expat
 --->  Activating expat @2.1.0_0+universal
 --->  Fetching source for gperf
 --->  Verifying checksums for gperf
 --->  Extracting gperf
 --->  Applying patches to gperf
 --->  Configuring gperf
 --->  Building gperf
 --->  Staging gperf into destroot
 --->  Installing gperf @3.0.4_2+universal
 --->  Activating gperf @3.0.4_2+universal
 --->  Fetching source for libiconv
 --->  Verifying checksums for libiconv
 --->  Extracting libiconv
 --->  Applying patches to libiconv
 --->  Configuring libiconv
 ^CError: Failed to configure libiconv, consult
 /opt/local/var/macports/build/_Users_larryv_Projects_MacPorts_git-
 svn_trunk_dports_textproc_libiconv/libiconv/work/libiconv-1.14-x86_64/config.log
 Error: Failed to configure libiconv: configure failure: checking for
 CFLocaleCopyCurrent... SIGINT signal received
 Error: See /opt/local/var/macports/logs
 /_Users_larryv_Projects_MacPorts_git-
 svn_trunk_dports_textproc_libiconv/libiconv/main.log for details.
 Error: Follow http://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port libgcrypt failed
 sudo port -k install libgcrypt  10.56s user 7.26s system 37% cpu 47.921
 total
 %
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/44786#comment:10>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list