[Bug 283899] sysutils/passwordsafe

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 07 Jan 2025 03:16:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283899

            Bug ID: 283899
           Summary: sysutils/passwordsafe
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: brnrd@freebsd.org
          Reporter: alex@dawnmail.net
             Flags: maintainer-feedback?(brnrd@freebsd.org)
          Assignee: brnrd@freebsd.org

$ freebsd-version
14.2-RELEASE
$
$ pkg info -a | grep passwordsafe
passwordsafe-1.12.0_2          Popular secure and convenient password manager
$

When starting 'pwsafe', I get the error:
   "Could not initialize help susbsystem. Help will not be available"
as shown in the attached file.
Indeed, help is not available.

The error is generated because the macro DEBUG is defined in
pwsafe-1.12.0/src/os/unix/dir.cpp, line 184:

#undef DEBUG   <--- WORKAROUND

stringT pws_os::gethelpdir(void)   <--- line 184
{
#if defined(__FreeBSD__) && !(defined(_DEBUG) || defined(DEBUG))
  return _S("/usr/local/share/doc/passwordsafe/help/");
#elif defined(_DEBUG) || defined(DEBUG)
  return _S("help/");
#else
  return _S("/usr/share/passwordsafe/help/");
#endif
}

As a workaround, I undefined the macro as you can see above.

I attach two files:
- dmesg.boot
- screenshot_pwsafe_01062025.pdf

-- 
You are receiving this mail because:
You are the assignee for the bug.