question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[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')

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:24 (24 by maintainers)

github_iconTop GitHub Comments

1reaction
Itai-Nelkencommented, May 11, 2021

It worked!

1reaction
SpacingBat3commented, May 10, 2021

now I get this 😦

==> Entering fakeroot environment...       
==> Starting package()...
cp: cannot stat 'docs/': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
[itai@pinebookpro linux]$ 

Cannot reproduce on my side, check if docs folder 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…

Read more comments on GitHub >

github_iconTop Results From Across the Web

PKGBUILD - ArchWiki
Tip: Use namcap to check PKGBUILD s for common packaging mistakes. Package name. pkgbase. When building regular packages, this variable should ...
Read more >
ERROR: PKGBUILD does not exist. [Arch Linux]
The problem is that when downloading PKGBUILD , the browser added an unwanted extension to the file which turned out to be PKGBUILD...
Read more >
PKGBUILD example - OviOS Linux
ERROR : Unknown download protocol: http. Aborting... Download the source before and and change the source line in PKGBUILD to point to the...
Read more >
pkgbuild - README
The goal of pkgbuild is to make it easy to build packages with compiled code. ... if it is set to TRUE ,...
Read more >
Help patching PKGBUILD - failing validity check
==> ERROR: One or more files did not pass the validity check! I tried putting the patch file in a directory called “src”...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found