Opened 10 years ago

Closed 10 years ago

#42002 closed defect (fixed)

pass @1.4.2 platform file not installed

Reported by: jmmills@… Owned by: g5pw (Aljaž Srebrnič)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: pass

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

The pass utility does a source call for platform specific overrides, macports does not seem to successfully install such a package (as provided in the original source repository). This will break the utility if GNU coreutils is not in path and also leaves a nasty NFD error:

/opt/local/bin/pass: line 124: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_pass/pass/work/destroot/opt/local/lib/password-store.platform.sh: No such file or directory

Proposed solution:

  • Fix package installation to put macports specific overrides in a sane place (e.g. /opt/local/var/local/password-store/macports.sh)
  • Fix source include line in the scripts it self to point to correct location

Interim fix:

  • Edit /opt/local/bin/pass and remove line 124 source of non-existent file
  • Edit GETOPT variable to point to /opt/local/bin/getopt

Change History (2)

comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Owner: changed from macports-tickets@… to g5pw@…
Port: pass added

comment:2 Changed 10 years ago by g5pw (Aljaž Srebrnič)

Resolution: fixed
Status: newclosed

Good catch! Fixed in r115516.

Note: See TracTickets for help on using tickets.