Bug 284618 - games/prismlauncher: Failed to get Microsoft account online because of missing dependency
Summary: games/prismlauncher: Failed to get Microsoft account online because of missin...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-06 15:35 UTC by Yusuf Yaman
Modified: 2025-02-06 16:45 UTC (History)
3 users (show)

See Also:
Alexander88207: maintainer-feedback+


Attachments
games/prismlauncher: Add missing dependency (1.06 KB, patch)
2025-02-06 15:45 UTC, Yusuf Yaman
Alexander88207: maintainer-approval+
Details | Diff
games/prismlauncher: Add missing dependency (1.16 KB, patch)
2025-02-06 15:48 UTC, Yusuf Yaman
Alexander88207: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yusuf Yaman 2025-02-06 15:35:25 UTC
Hi. I am unable to get my Microsoft account in online state due to security/ca_root_nss isn't installed. After installing it, Microsoft account can became online and no issues whatsoever.

I tested it with/without ca_root_nss and it seems to be the cause.

I think we should add it as a runtime dependency to the prismlauncher port.

Thanks in advance.
Comment 1 Yusuf Yaman 2025-02-06 15:41:12 UTC
This is  the log.


    12.589 D | AccountList: Pushed account with internal ID  "xxxxxxxxxxxxxxxxxxxxxxx"  to the front of the queue
    12.589 D | AuthFlow: "Logging in with Microsoft account."
    12.590 D | RefreshSchedule: Processing account  "nxjoseph"  with internal ID  "xxxxxxxxxxxxxxxxxxxxxxx"
    12.758 W | [qt.networkauth.oauth2]: Token request failed: "SSL handshake failed: The issuer certificate of a locally looked up certificate could not be found"
    12.758 W | "Failed to refresh token."
    12.758 D | RefreshSchedule: Background account refresh failed:  "Failed to refresh token."
Comment 2 Yusuf Yaman 2025-02-06 15:45:07 UTC
Created attachment 257295 [details]
games/prismlauncher: Add missing dependency
Comment 3 Yusuf Yaman 2025-02-06 15:45:52 UTC
# pkg ins -n prismlauncher
Updating Poudriere repository catalogue...
Poudriere repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        ca_root_nss: 3.104
        prismlauncher: 9.2_1

Number of packages to be installed: 2

The process will require 13 MiB more space.


I made patch and tested it with poudriere and it seems to depend on ca_root_nss now.
Comment 4 Yusuf Yaman 2025-02-06 15:48:20 UTC
Created attachment 257296 [details]
games/prismlauncher: Add missing dependency

Fixed RUN_DEPENDS order.
Comment 5 Alexander Vereeken freebsd_triage 2025-02-06 15:50:53 UTC
Comment on attachment 257295 [details]
games/prismlauncher: Add missing dependency

Thank you, i wish you a good weekend.
Comment 6 Alexander Vereeken freebsd_triage 2025-02-06 15:52:08 UTC
Which file now?
Comment 7 Yusuf Yaman 2025-02-06 15:53:52 UTC
(In reply to Alexander Vereeken from comment #5)
You are welcome, i wish you a good weekend too!

(In reply to Alexander Vereeken from comment #6)
Sorry, I forgot to mark old one obsolete, i did it now. Thanks.
Comment 8 commit-hook freebsd_committer freebsd_triage 2025-02-06 16:44:42 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9135117d5f0808ab00c74fcbb88a2b95563765e8

commit 9135117d5f0808ab00c74fcbb88a2b95563765e8
Author:     Yusuf Yaman <nxjoseph@protonmail.com>
AuthorDate: 2025-02-06 16:40:12 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-02-06 16:43:24 +0000

    games/prismlauncher: Add missing dependency

    Fix SSL handshake error due to missing dependency security/ca_root_nss
    causing offline Microsoft account.

    PR:             284618
    Approved by:    Alexander Vereeken <Alexander88207@protonmail.com> (maintainer)

 games/prismlauncher/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 9 Vladimir Druzenko freebsd_committer freebsd_triage 2025-02-06 16:45:10 UTC
Thanks.