[MacPorts] #52211: bzip2 refuses to work, attempts to create /opt/local/bin/bzip2.bz2 file

MacPorts noreply at macports.org
Mon Sep 12 02:49:51 CEST 2016


#52211: bzip2 refuses to work, attempts to create /opt/local/bin/bzip2.bz2 file
---------------------+--------------------------
  Reporter:  uri@…   |      Owner:  ryandesign@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.3.4
Resolution:          |   Keywords:
      Port:  bzip2   |
---------------------+--------------------------

Comment (by uri@…):

 > Sounds like a misconfiguration of some sort on your system.

 Based on what I'm observing, I rather doubt that - but would be happy to
 hear suggestions how to find this out.


 > Maybe an alias or function overriding MacPorts bzip2

 I don't think so - see below.


 > What do you get when you run...

 This:

 {{{
 $ type bzip2
 bzip2 is hashed (/opt/local/bin/bzip2)
 $ type bunzip2
 bunzip2 is hashed (/opt/local/bin/bunzip2)
 $ bzip2 --version
 bzip2, a block-sorting file compressor.  Version 1.0.6, 6-Sept-2010.

    Copyright (C) 1996-2010 by Julian Seward.

    This program is free software; you can redistribute it and/or modify
    it under the terms set out in the LICENSE file, which is included
    in the bzip2-1.0.6 source distribution.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    LICENSE file for more details.

 bzip2: Can't create output file /opt/local/bin/bzip2.bz2: Permission
 denied.
 $ bunzip2 --version
 bzip2, a block-sorting file compressor.  Version 1.0.6, 6-Sept-2010.

    Copyright (C) 1996-2010 by Julian Seward.

    This program is free software; you can redistribute it and/or modify
    it under the terms set out in the LICENSE file, which is included
    in the bzip2-1.0.6 source distribution.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    LICENSE file for more details.

 bunzip2: Can't guess original name for /opt/local/bin/bzip2 -- using
 /opt/local/bin/bzip2.out
 bunzip2: Can't create output file /opt/local/bin/bzip2.out: Permission
 denied.
 $ alias bzip2
 -bash: alias: bzip2: not found
 $ alias bunzip2
 -bash: alias: bunzip2: not found
 $
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/52211#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list