Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#26668 closed defect (worksforme)

bzip2 install fails on 10.6.4 with ports 1.9.1

Reported by: macports@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: bzip2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

SnowLeopard 10.6.4
XCode 3.2.3
MacPorts 1.9.1
bzip2 fails to install. Info below. Please let me know if more information is needed.


Mercury:~ rheilman$ sudo port selfupdate
--->  Updating the ports tree
--->  Updating MacPorts base sources using rsync
MacPorts base version 1.9.1 installed,
MacPorts base version 1.9.1 downloaded.
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated


Mercury:~ rheilman$ sudo port install bzip2
--->  Computing dependencies for bzip2
--->  Building bzip2
Error: Target org.macports.build returned: shell command failed
Log for bzip2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_bzip2/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>


Mercury:~ rheilman$ cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_bzip2/main.log
version:1
:msg:main --->  Computing dependencies for bzip2:info:main .:msg:main 
:debug:main Executing org.macports.main (bzip2)
:debug:main Skipping completed org.macports.fetch (bzip2)
:debug:main Skipping completed org.macports.checksum (bzip2)
:debug:main Skipping completed org.macports.extract (bzip2)
:debug:main Skipping completed org.macports.patch (bzip2)
:debug:main Skipping completed org.macports.configure (bzip2)
:msg:main --->  Building bzip2
:debug:build build phase started at Wed Sep 29 01:36:14 EDT 2010
:debug:build Executing org.macports.build (bzip2)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_bzip2/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_bzip2/work/bzip2-1.0.6" && /usr/bin/make -j2 all CC="/usr/bin/gcc-4.2 -arch x86_64" PREFIX=/opt/local'
:info:build sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_bzip2/work/bzip2-1.0.6: No such file or directory
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_bzip2/work/bzip2-1.0.6" && /usr/bin/make -j2 all CC="/usr/bin/gcc-4.2 -arch x86_64" PREFIX=/opt/local " returned error 1
:error:build Target org.macports.build returned: shell command failed
:debug:build Backtrace: shell command failed
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for bzip2): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for bzip2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_bzip2/main.log
Mercury:~ rheilman$ 

Change History (6)

comment:1 Changed 14 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Cc: macports@… removed
Owner: changed from macports-tickets@… to ryandesign@…

Please remember to cc the maintainer. Looks like you/someone/something deleted the source directory after running the configure phase, but left the statefile.

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

So, as should be your first step anytime any port fails, please clean the port and then try to install it again.

sudo port clean bzip2
sudo port install bzip2

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

Presumed fixed by cleaning and trying again. This was probably caused by #29233.

comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Typo: I meant #29223.

Note: See TracTickets for help on using tickets.