Opened 5 years ago

Closed 5 years ago

#48223 closed defect (invalid)

port install dpkg error

Reported by: xming.song@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port:

Description (last modified by larryv (Lawrence Velázquez))

$ sudo port install dpkg
--->  Computing dependencies for dpkg
--->  Dependencies to be installed: bzip2 coreutils gettext expat libiconv ncurses gmp gnutar perl5 perl5.16 gdbm xz zlib
--->  Installing bzip2 @1.0.6_0
Error: org.macports.install for port bzip2 returned: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/destroot
Error: Failed to install bzip2
Please see the log file for port bzip2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/main.log
Error: The following dependencies were not installed: bzip2 coreutils gettext expat libiconv ncurses gmp gnutar perl5 perl5.16 gdbm xz zlib
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port dpkg failed


/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/main.log

$ cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/main.log
version:1
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Executing org.macports.main (bzip2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.archivefetch (bzip2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (bzip2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (bzip2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (bzip2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (bzip2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (bzip2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.build (bzip2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.destroot (bzip2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:install install phase started at Thu Jul  2 20:11:31 CST 2015
:notice:install --->  Installing bzip2 @1.0.6_0
:debug:install Can't run install on this port without elevated privileges. Escalating privileges back to root.
:debug:install euid changed to: 0. egid changed to: 0.
:debug:install Executing org.macports.install (bzip2)
:debug:install Using /usr/bin/tar
:debug:install Using /usr/bin/bzip2
:error:install org.macports.install for port bzip2 returned: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/destroot
:debug:install Error code: NONE
:debug:install Backtrace: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/destroot
    while executing
"create_archive $location $portarchivetype"
    (procedure "portinstall::install_main" line 22)
    invoked from within
"portinstall::install_main org.macports.install"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:install Warning: targets not executed for bzip2: org.macports.activate org.macports.install
:error:install Failed to install bzip2
:debug:install Registry error: zlib not registered as installed & active.
    invoked from within
"registry_active $subport"
    invoked from within
"$workername eval registry_active \$subport"
:notice:install Please see the log file for port bzip2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/main.log

Change History (1)

comment:1 in reply to:  description Changed 5 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Keywords: dpkg removed
Resolution: invalid
Status: newclosed

Replying to xming.song@…:

--->  Installing bzip2 @1.0.6_0
Error: org.macports.install for port bzip2 returned: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/destroot
Error: Failed to install bzip2

A previous installation of bzip2 did not complete. Run sudo port clean bzip2 and try installing dpkg again.

Note: See TracTickets for help on using tickets.