williamsjokvist / cfn-tracker

Track the live ranked match data of any Street Fighter 6 player
https://cfn.williamsjokvist.se/
Other
46 stars 5 forks source link

Linux: Build failing during compliing application step #158

Open godofgrunts opened 1 month ago

godofgrunts commented 1 month ago

Trying to build from source on Linux and I get the following error:

Compiling application: -seed chosen at random: Igy64+hsVCpDrQOlezgi7g
# github.com/remyoudompheng/bigfft
/tmp/garble-shared3287645007/aup25FJ/ljP_LTtgk4dz.s:7: expected '(', found /
/tmp/garble-shared3287645007/aup25FJ/ljP_LTtgk4dz.s:12: expected '(', found /
/tmp/garble-shared3287645007/aup25FJ/ljP_LTtgk4dz.s:16: expected '(', found /
/tmp/garble-shared3287645007/aup25FJ/ljP_LTtgk4dz.s:21: expected '(', found /
/tmp/garble-shared3287645007/aup25FJ/ljP_LTtgk4dz.s:25: expected '(', found /
/tmp/garble-shared3287645007/aup25FJ/ljP_LTtgk4dz.s:29: expected '(', found /
/tmp/garble-shared3287645007/aup25FJ/ljP_LTtgk4dz.s:33: expected '(', found /
/tmp/garble-shared3287645007/aup25FJ/ljP_LTtgk4dz.s:37: expected '(', found /
asm: assembly of /tmp/garble-shared3287645007/aup25FJ/ljP_LTtgk4dz.s failed

I'm not sure how that error is happening though, because this is what that tmp file contains:

// Trampolines to math/big assembly implementations.

#include "textflag.h"

// func addVV(z, x, y []Word) (c Word)
TEXT ·i5InR5cT(SB),NOSPLIT,$0
    JMP math/big·oA16bI6(SB)

// func subVV(z, x, y []Word) (c Word)
// (same as addVV except for SBBQ instead of ADCQ and label names)
TEXT ·o8eL3KEXM(SB),NOSPLIT,$0
    JMP math/big·_mp126nST(SB)

// func addVW(z, x []Word, y Word) (c Word)
TEXT ·lSPpo9x(SB),NOSPLIT,$0
    JMP math/big·swisKb9Ed6(SB)

// func subVW(z, x []Word, y Word) (c Word)
// (same as addVW except for SUBQ/SBBQ instead of ADDQ/ADCQ and label names)
TEXT ·iTe68FltK(SB),NOSPLIT,$0
    JMP math/big·h4iUT1(SB)

// func shlVU(z, x []Word, s uint) (c Word)
TEXT ·_Ddj6f(SB),NOSPLIT,$0
    JMP math/big·i5cebiu0(SB)

// func shrVU(z, x []Word, s uint) (c Word)
TEXT ·pMenSZ(SB),NOSPLIT,$0
    JMP math/big·kLpzdkGc2(SB)

// func mulAddVWW(z, x []Word, y, r Word) (c Word)
TEXT ·sMu7QtvjH(SB),NOSPLIT,$0
    JMP math/big·bJx7X7jhiu(SB)

// func addMulVVW(z, x []Word, y Word) (c Word)
TEXT ·xWMaWNt_v4H(SB),NOSPLIT,$0
    JMP math/big·mmchSr1JVM5m(SB)
godofgrunts commented 1 month ago

Just for giggles I disabled obfuscation in wails.json and wails.node.json and it did build successfully.

godofgrunts commented 1 month ago

Although after launching the program it seems to be stuck

image

williamsjokvist commented 1 month ago

Hi, yeah obfuscation isn't working well for mac and linux. It's not in prod only on master.

Regarding getting stuck, just to make sure, did you enter your credentials in .env in the project root with these variables: example.env?

godofgrunts commented 1 month ago

Sorry for the long delay, but yes I did. I have them in my password manager so I know they were correct.

godofgrunts commented 1 month ago

I think it's trying to open a webpage or something to get me to authenticate, but it never opens a page.

2024/07/29 11:29:20 auth.go:74: Waiting for gateway to pass... 52s
2024/07/29 11:29:20 auth.go:75: On page:  https://auth.cid.capcom.com/login?state=
williamsjokvist commented 1 month ago

You could try setting HEADLESS=false in the .env file, it will spawn the browser window that normally runs in the background. Maybe that can clue us in to whats happening here

godofgrunts commented 1 month ago

Can't read Japanese but Screenshot from 2024-07-29 12-30-12

godofgrunts commented 1 month ago

I wonder if this is an issue because my password has special characters in it? If I copy my password out of the file and paste it in it works and brings me to the "one time code" page. After I put in my one time code the application starts working. image

williamsjokvist commented 1 month ago

The error message says The email address or password is incorrect.. I guess it could be certain special characters, i have {, ], * in mine without issue.

godofgrunts commented 1 month ago

Hmm. I have a !,$,*, and % in mine.

Next week I'll change it to something mundane and give it a try.

godofgrunts commented 1 month ago

So with my new password with no special characters it gets to the MFA screen so there is some issue there with the password, but now there's an issue with doing the MFA.

williamsjokvist commented 1 month ago

Aha, the bot definitely doesn't support passing the MFA check