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

MacPorts noreply at macports.org
Tue Aug 26 19:11:51 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
 Keywords:            |       Port:
----------------------+----------------------
 The `gsoc14-interactive` dependency list may incorrectly include ports
 that are not actually built and installed.
 {{{
 % port -v installed rdepof:libgcrypt
 The following ports are currently installed:
   expat @2.1.0_0 (active) platform='darwin 11' archs='x86_64'
   gettext @0.19.2_0 (active) platform='darwin 11' archs='x86_64'
   libiconv @1.14_0 (active) platform='darwin 11' archs='x86_64'
   ncurses @5.9_2 (active) platform='darwin 11' archs='x86_64'
 % sudo port install libgcrypt
 --->  Computing dependencies for libgcrypt
 The following dependencies will be installed:  libgpg-error
 Continue? [Y/n]: n
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 % sudo port install libgcrypt configure.build_arch=i386
 Password:
 --->  Computing dependencies for libgcrypt
 The following dependencies will be installed:
  expat
  gettext
  libgpg-error
  libiconv
  ncurses
 Continue? [Y/n]: Y
 --->  Fetching source for libgpg-error
 --->  Verifying checksums 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.13_0
 --->  Activating libgpg-error @1.13_0
 --->  Cleaning libgpg-error
 --->  Fetching source for libgcrypt
 --->  Verifying checksums for libgcrypt
 --->  Extracting libgcrypt
 --->  Applying patches to libgcrypt
 --->  Configuring libgcrypt
 --->  Building libgcrypt
 --->  Staging libgcrypt into destroot
 --->  Installing libgcrypt @1.6.1_0
 --->  Activating libgcrypt @1.6.1_0
 --->  Cleaning libgcrypt
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 sudo port install libgcrypt configure.build_arch=i386  20.57s user 12.60s
 system 117% cpu 28.283 total
 %
 }}}

 This is admittedly a bit of an odd bug: The dependency list is
 simultaneously correct (the dependencies ought to be rebuilt as
 `+universal`) and incorrect (it does not reflect what will actually
 happen). Of course, the actual install behavior is incorrect and should be
 fixed, but the dependency list should not be making false promises.

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


More information about the macports-tickets mailing list