WebCord: PKGBUILD errors
[itai@ManjaroPi4 linux]$ makepkg -s
==> Making package: webcord-git v1.1.0_pre1.r67.cbfb1a7-1 (Fri 16 Apr 2021 05:37:48 PM IDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Cloning webcord git repo...
Cloning into bare repository '/home/itai/Downloads/electron-discord-webapp/build/linux/webcord'...
Username for 'https://github.com': ^C
==> ERROR: Aborted by user! Exiting...
[itai@ManjaroPi4 linux]$
I fixed it by replacing
source=("${pkgname%-git}::git+https://github.com/${_author}/${_repo}.git"
with
source=("${pkgname%-git}::git+https://github.com/SpacingBat3/electron-discord-webapp.git"
but now I get this error:
-> Found webcord.desktop
==> ERROR: Integrity checks (md5) differ in size from the source array.
[itai@ManjaroPi4 linux]$
I’m guessing it should skip checking the md5sums because of this line: md5sums=('SKIP')
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 24 (24 by maintainers)
Commits related to this issue
- Fixed PKGBUILD (#43). Added missing value to 'mdsums' array in the PKGBUILD. — committed to SpacingBat3/WebCord by SpacingBat3 3 years ago
- Fixed PKGBUILD (#43). Added missing value to 'mdsums' array in the PKGBUILD. — committed to SpacingBat3/WebCord by SpacingBat3 3 years ago
- Other PKGBUILD fixes (#43). — committed to SpacingBat3/WebCord by SpacingBat3 3 years ago
It worked!
Cannot reproduce on my side, check if
docsfolder exists in${srcdir}or${srcdir}/${pkgname%-git}.I still need to do some minior changes in PKGBUILD to remove some unecessary packages while building app…
@Itai-Nelken OK, I’ve already pushed the changes (commit 80a3c1c) and tested them on Manjaro ARM. You can test it yourself now.
I’m closing this issue.
Yea, I’ve noticed where I made an mistake. I’ll push changes soon.
Once this PKGBUILD will work without any issues, I’ll push it into AUR.
Also, reopening this issue yet again 😕️…
@Itai-Nelken
You don’t have Electron installed globally. I’m pretty sure it is in dependencies…Actually, it seems there’s notypescriptpackage installedeitherin your environment, which is weird that it could execute thetsc(typescriptpackage provides/usr/lib/node_modules/typescriptfolder, which is not present there for some reason). However,makepkg -sshould install these dependencies if they’re missing, which is next weird behaviour that I have no idea why it didn’t happened. To test, iftypescriptpackage provides its folder innode_modules, I used this command:EDIT: (I left the original part of the comment that I wrote earlier to describe the difference between my environment and yours) I just realised that
electronpackage does not providenode_modules, which basically means that it cannot be used for the app development (it seems I installed this part usingnpm, which is the reason why it builds for me). For that reason, I need to installelectronmanually just sotsccan detect the module and types I used earlier… I’ll also remove the globalnode_modulespath from thetsconfig.json, I added it before because ofPKGBUILD, but because the modules from this path aren’t really used for the building, I’ll just remove it…Also, reopenning that issue again 😕️…
Ok, I’ll reopen this issue and try to reproduce this…
This should be now fixed. I tested this and it seems to build fine now.
Not yet fixed, see above…
Oh, I haven’t touched
PKGBUILDa quite long time, mostly because I want to adapt it for AUR.It should be now fixed.