Code Monkey home page Code Monkey logo

Comments (8)

saturneric avatar saturneric commented on May 20, 2024 1

Git LFS of this repo is off now. The AUR maintainer of GpgFrontend may need to update the installation progress. It may be a surprise that I am not the maintainer. ;)

from gpgfrontend.

Konsonanz avatar Konsonanz commented on May 20, 2024 1

AUR pkgbuild is now updated for removed lfs by cherry-picking e60faa7 for current v2.1.0 release and should be building again.

from gpgfrontend.

firstdorsal avatar firstdorsal commented on May 20, 2024

I contacted them through the AUR.
Thank you for creating this project!

from gpgfrontend.

benjamb avatar benjamb commented on May 20, 2024

Looks like this has been fixed in the AUR. Any chance of a release that includes this change though? Would be a little nicer to have a clean build without having to cherry-pick the un-lfs commit.

from gpgfrontend.

Ichimikichiki avatar Ichimikichiki commented on May 20, 2024

This didn't fix it.

Downloading resource/lfs/app-image/gpgfrontend/usr/share/applications/gpgfrontend.desktop (155 B)
Error downloading object: resource/lfs/app-image/gpgfrontend/usr/share/applications/gpgfrontend.desktop (370d5e7): 
Smudge error: Error downloading resource/lfs/app-image/gpgfrontend/usr/share/applications/gpgfrontend.desktop 
(370d5e78f3c3035e770b1641163fbf945e0a293155a6fecee0808d70ccba59ac): error transferring 
"370d5e78f3c3035e770b1641163fbf945e0a293155a6fecee0808d70ccba59ac": [0] remote missing object 
370d5e78f3c3035e770b1641163fbf945e0a293155a6fecee0808d70ccba59ac

Removed git-lfs since your PKGBUILD has it removed.
Found cache in weird location. Deleted.

Cloning into 'gpgfrontend'...
done.
git-lfs filter-process: line 1: git-lfs: command not found
fatal: the remote end hung up unexpectedly
==> ERROR: Failure while creating working copy of gpgfrontend git repo
    Aborting...
 -> error making: gpgfrontend-exit status 1
 -> Failed to install the following packages. Manual intervention is required:
gpgfrontend - exit status 1

Re-added git-lfs....
Removed cache from weird location.

Cloning into 'gpgfrontend'...
done.
Downloading resource/lfs/app-image/gpgfrontend/usr/share/applications/gpgfrontend.desktop (155 B)
Error downloading object: resource/lfs/app-image/gpgfrontend/usr/share/applications/gpgfrontend.desktop (370d5e7): 
Smudge error: Error downloading resource/lfs/app-image/gpgfrontend/usr/share/applications/gpgfrontend.desktop 
(370d5e78f3c3035e770b1641163fbf945e0a293155a6fecee0808d70ccba59ac): error transferring 
"370d5e78f3c3035e770b1641163fbf945e0a293155a6fecee0808d70ccba59ac": [0] remote missing object 
370d5e78f3c3035e770b1641163fbf945e0a293155a6fecee0808d70ccba59ac
 
Errors logged to '/home/null/.cache/xdg_cache/yay/gpgfrontend/src/gpgfrontend/.git/lfs/logs/20230608T122611.350095058.log'.
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: resource/lfs/app-image/gpgfrontend/usr/share/applications/gpgfrontend.desktop: smudge filter lfs failed
==> ERROR: Failure while creating working copy of gpgfrontend git repo
    Aborting...
 -> error making: gpgfrontend-exit status 1
 -> Failed to install the following packages. Manual intervention is required:
gpgfrontend - exit status 1

from gpgfrontend.

Konsonanz avatar Konsonanz commented on May 20, 2024

@Ichimikichiki If you judge this as a AUR package issue, then please move the discussion to the AUR package page.

Regardless, for AUR gpgfrontend-2.1.0-2 I just tried the build in a clean chroot and the package was created successfully. Your logs read as if you are still trying to build version 2.1.0-1 without the now required cherry-pick commit. Please check if your sources are up to date and if you still run into problems, I'd be happy to help you in the AUR page discussion section.

from gpgfrontend.

Ichimikichiki avatar Ichimikichiki commented on May 20, 2024

Is that right

λ null gpgfrontend → λ git master →  makepkg -siCL
==> Making package: gpgfrontend 2.1.0-2 (Thu 08 Jun 2023 08:24:46 PM AEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning gpgfrontend git repo...
Cloning into bare repository '/home/null/.cache/yay/gpgfrontend/gpgfrontend'...
remote: Enumerating objects: 12184, done.
remote: Counting objects: 100% (2946/2946), done.
remote: Compressing objects: 100% (809/809), done.
remote: Total 12184 (delta 2077), reused 2869 (delta 2047), pack-reused 9238
Receiving objects: 100% (12184/12184), 73.79 MiB | 11.97 MiB/s, done.
Resolving deltas: 100% (8544/8544), done.
  -> Cloning json git repo...
Cloning into bare repository '/home/null/.cache/yay/gpgfrontend/json'...
remote: Enumerating objects: 72526, done.
remote: Counting objects: 100% (72526/72526), done.
remote: Compressing objects: 100% (14893/14893), done.
remote: Total 72526 (delta 52933), reused 71155 (delta 51962), pack-reused 0
Receiving objects: 100% (72526/72526), 202.19 MiB | 5.69 MiB/s, done.
Resolving deltas: 100% (52933/52933), done.
  -> Cloning Qt-AES git repo...
Cloning into bare repository '/home/null/.cache/yay/gpgfrontend/Qt-AES'...
remote: Enumerating objects: 570, done.
remote: Counting objects: 100% (570/570), done.
remote: Compressing objects: 100% (236/236), done.
remote: Total 570 (delta 335), reused 561 (delta 330), pack-reused 0
Receiving objects: 100% (570/570), 2.93 MiB | 1.39 MiB/s, done.
Resolving deltas: 100% (335/335), done.
  -> Cloning spdlog git repo...
Cloning into bare repository '/home/null/.cache/yay/gpgfrontend/spdlog'...
remote: Enumerating objects: 30796, done.
remote: Counting objects: 100% (30796/30796), done.
remote: Compressing objects: 100% (7986/7986), done.
remote: Total 30796 (delta 20465), reused 29652 (delta 19727), pack-reused 0
Receiving objects: 100% (30796/30796), 87.74 MiB | 5.31 MiB/s, done.
Resolving deltas: 100% (20465/20465), done.
==> Validating source files with sha256sums...
    gpgfrontend ... Skipped
    json ... Skipped
    Qt-AES ... Skipped
    spdlog ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of gpgfrontend git repo...
Cloning into 'gpgfrontend'...
done.
Downloading resource/lfs/app-image/gpgfrontend/usr/share/applications/gpgfrontend.desktop (155 B)
Error downloading object: resource/lfs/app-image/gpgfrontend/usr/share/applications/gpgfrontend.desktop (370d5e7): Smudge error: Error downloading resource/lfs/app-image/gpgfrontend/usr/share/applications/gpgfrontend.desktop (370d5e78f3c3035e770b1641163fbf945e0a293155a6fecee0808d70ccba59ac): error transferring "370d5e78f3c3035e770b1641163fbf945e0a293155a6fecee0808d70ccba59ac": [0] remote missing object 370d5e78f3c3035e770b1641163fbf945e0a293155a6fecee0808d70ccba59ac

Errors logged to '/home/null/.cache/yay/gpgfrontend/src/gpgfrontend/.git/lfs/logs/20230608T202603.820288861.log'.
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: resource/lfs/app-image/gpgfrontend/usr/share/applications/gpgfrontend.desktop: smudge filter lfs failed
==> ERROR: Failure while creating working copy of gpgfrontend git repo
    Aborting...

That was an empty folder with just PKGBUILD in it. After running yay -Scc.

Perhaps you forgot something
Screenshot_2023-06-08_20-34-48

git-lfs/3.3.0 (GitHub; linux amd64; go 1.19.4)
git version 2.41.0

$ git-lfs filter-process
Error downloading object: resource/lfs/app-image/gpgfrontend/usr/share/applications/gpgfrontend.desktop (370d5e7): Smudge error: Error downloading resource/lfs/app-image/gpgfrontend/usr/share/applications/gpgfrontend.desktop (370d5e78f3c3035e770b1641163fbf945e0a293155a6fecee0808d70ccba59ac): error transferring "370d5e78f3c3035e770b1641163fbf945e0a293155a6fecee0808d70ccba59ac": [0] remote missing object 370d5e78f3c3035e770b1641163fbf945e0a293155a6fecee0808d70ccba59ac

error transferring "370d5e78f3c3035e770b1641163fbf945e0a293155a6fecee0808d70ccba59ac": [0] remote missing object 370d5e78f3c3035e770b1641163fbf945e0a293155a6fecee0808d70ccba59ac
github.com/git-lfs/git-lfs/v3/errors.New
	github.com/git-lfs/git-lfs/v3/errors/errors.go:62
github.com/git-lfs/git-lfs/v3/tq.(*customAdapter).DoTransfer
	github.com/git-lfs/git-lfs/v3/tq/custom.go:311
github.com/git-lfs/git-lfs/v3/tq.(*adapterBase).worker
	github.com/git-lfs/git-lfs/v3/tq/adapterbase.go:183
runtime.goexit
	runtime/asm_amd64.s:1594
Error downloading resource/lfs/app-image/gpgfrontend/usr/share/applications/gpgfrontend.desktop (370d5e78f3c3035e770b1641163fbf945e0a293155a6fecee0808d70ccba59ac)
github.com/git-lfs/git-lfs/v3/errors.newWrappedError
	github.com/git-lfs/git-lfs/v3/errors/types.go:229
github.com/git-lfs/git-lfs/v3/errors.Wrapf
	github.com/git-lfs/git-lfs/v3/errors/errors.go:85
github.com/git-lfs/git-lfs/v3/lfs.(*GitFilter).downloadFile
	github.com/git-lfs/git-lfs/v3/lfs/gitfilter_smudge.go:128
github.com/git-lfs/git-lfs/v3/lfs.(*GitFilter).Smudge
	github.com/git-lfs/git-lfs/v3/lfs/gitfilter_smudge.go:79
github.com/git-lfs/git-lfs/v3/commands.smudge
	github.com/git-lfs/git-lfs/v3/commands/command_smudge.go:128
github.com/git-lfs/git-lfs/v3/commands.filterCommand
	github.com/git-lfs/git-lfs/v3/commands/command_filter_process.go:131
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/[email protected]/command.go:766
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/[email protected]/command.go:852
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/[email protected]/command.go:800
github.com/git-lfs/git-lfs/v3/commands.Run
	github.com/git-lfs/git-lfs/v3/commands/run.go:108
main.main
	github.com/git-lfs/git-lfs/v3/git-lfs.go:34
runtime.main
	runtime/proc.go:250
runtime.goexit
	runtime/asm_amd64.s:1594
Smudge error
github.com/git-lfs/git-lfs/v3/errors.newWrappedError
	github.com/git-lfs/git-lfs/v3/errors/types.go:229
github.com/git-lfs/git-lfs/v3/errors.NewSmudgeError
	github.com/git-lfs/git-lfs/v3/errors/types.go:315
github.com/git-lfs/git-lfs/v3/lfs.(*GitFilter).Smudge
	github.com/git-lfs/git-lfs/v3/lfs/gitfilter_smudge.go:96
github.com/git-lfs/git-lfs/v3/commands.smudge
	github.com/git-lfs/git-lfs/v3/commands/command_smudge.go:128
github.com/git-lfs/git-lfs/v3/commands.filterCommand
	github.com/git-lfs/git-lfs/v3/commands/command_filter_process.go:131
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/[email protected]/command.go:766
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/[email protected]/command.go:852
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/[email protected]/command.go:800
github.com/git-lfs/git-lfs/v3/commands.Run
	github.com/git-lfs/git-lfs/v3/commands/run.go:108
main.main
	github.com/git-lfs/git-lfs/v3/git-lfs.go:34
runtime.main
	runtime/proc.go:250
runtime.goexit
	runtime/asm_amd64.s:1594

Current time in UTC:
2023-06-08 10:26:03

Environment:
LocalWorkingDir=/home/null/.cache/yay/gpgfrontend/src/gpgfrontend
LocalGitDir=/home/null/.cache/yay/gpgfrontend/src/gpgfrontend/.git
LocalGitStorageDir=/home/null/.cache/yay/gpgfrontend/src/gpgfrontend/.git
LocalMediaDir=/home/null/.cache/yay/gpgfrontend/src/gpgfrontend/.git/lfs/objects
LocalReferenceDirs=
TempDir=/home/null/.cache/yay/gpgfrontend/src/gpgfrontend/.git/lfs/tmp
ConcurrentTransfers=8
TusTransfers=false
BasicTransfersOnly=false
SkipDownloadErrors=false
FetchRecentAlways=false
FetchRecentRefsDays=7
FetchRecentCommitsDays=0
FetchRecentRefsIncludeRemotes=true
PruneOffsetDays=3
PruneVerifyRemoteAlways=false
PruneRemoteName=origin
LfsStorageDir=/home/null/.cache/yay/gpgfrontend/src/gpgfrontend/.git/lfs
AccessDownload=none
AccessUpload=none
DownloadTransfers=basic,lfs-standalone-file,ssh
UploadTransfers=basic,lfs-standalone-file,ssh
GIT_EXEC_PATH=/usr/lib/git-core
GIT_PREFIX=

Look closer.
actions/runner-images#6002

The Ubuntu 18.04 Actions runner image will begin deprecation on 2022/08/08 
and will be fully unsupported by 2023/04/03

from gpgfrontend.

Konsonanz avatar Konsonanz commented on May 20, 2024

Ah I see, error: external filter 'git-lfs filter-process' failed is indicating that during cloning the lfs-step is forced (which does not work with the checked out commit), because the lfs filters are still globally set in the ~/.gitconfig file. I could reproduce the build fail with those settings.

Unfortunately, that is ultimately a build environment problem:
You can either execute git lfs uninstall, makepkg -siC and git lfs install, to build without forced lfs and restore global .gitconfig afterwards.
But since this is cumbersome, I recommend building with a clean chroot where git lfs is never installed or configured in the first place by using the extra-x86_64-build command (it's buildpkg for manjaro), at least until a new release gets made where these workarounds are not needed anymore.

from gpgfrontend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.