Bug 283898 - sysutils/passwordsafe
Summary: sysutils/passwordsafe
Status: Closed DUPLICATE of bug 283899
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Bernard Spil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-07 03:14 UTC by Alex Matei
Modified: 2025-01-07 03:59 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (brnrd)


Attachments
dmesg.boot (12.13 KB, text/plain)
2025-01-07 03:14 UTC, Alex Matei
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Matei 2025-01-07 03:14:47 UTC
Created attachment 256490 [details]
dmesg.boot

$ 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
Comment 1 Alex Matei 2025-01-07 03:45:05 UTC
This is probably due to a bugzilla bug: it asked me to reload
the attachment dmesg.boot due to some errors, but it ended up 
with a duplicate bug report.
Also, it does not allow me upload multiple attachments...
How can we close this one?
Comment 2 Li-Wen Hsu freebsd_committer freebsd_triage 2025-01-07 03:59:49 UTC

*** This bug has been marked as a duplicate of bug 283899 ***