New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debian install hook error #769
Comments
Hi! very cool photo! There's been some sort of mixup with the debian tags which probably happened when my luakit fork was moved back to the mainline repo. There should be a file
Hope that works, and let me know if you have any more questions! |
Alright, gave it another try. Since there was no debian/source folder, I created it and then nano'd the file as described (admittedly I hand-typed it, but I did a bunch of rereads to make sure I got it right). Either way, the file is not being detected, so I don't think the contents matter (yet). The error message seems identical to the previous one (and in fact, is now claiming something that ought to be wrong - the file does now exist). Maybe the error message is wrong, or the script lacks the ability to look where it's claiming there is nothing, or the actual location ought to be different? (I'm not sure how "debian/source/gitpkg-deb-export-hook" is being read, is it from HOME or from another, cryptic location?) On a hunch, I tried making the file executable but that didn't change anything either (same error message). Thanks for attempting to help and sorry for needing more help! EDIT: I have no idea whether this could be relevant at all, but I noticed an "error" message on the PocketCHIP device's setup that said there was no root device (or something to that effect). It's usually no big deal, sudo works as usual, but maybe something's up with that here? |
Sorry, I wasn't clear earlier: the file is relative to the root of the repository, inside the clone. Since you clone luakit to The hook location is set by the No worries, happy to help :) |
Okay, that's much clearer. Since the directory didn't exist in the clone I had I assumed it wasn't supposed to be here, but upon re-inspection I realized the debian/sid branch had the directory so I switched to it after removing the previous clone with a rm -Rf.
Then I entered the folder, checked that debian/source was indeed there (it was), looked for the The location looks good, though, so I have no idea why it's not being read. (Again, I attempted a chmod u+x on the file but that didn't change anything, but that's probably because attempting this is useless in the first place.) |
I suspect it checks out a copy of the repository into a temp dir and then continues from there (the If that's not the issue, I would suggest using strace to check the path it's attempting to open; something like Sorry I can't be of more help; I am completely unfamiliar with the debian packaging workflow and haven't had time to try to debug this myself yet. |
Good guess. From the debian directory created earlier in the procedure:
Successfully built the debian source packages in At the very least I'm pretty sure the debian/sid's current state is wrong on GitHub by virtue of lacking the hook file. I don't (yet) know how pushing works, but I can push the change I made if you want me to (I simply pasted the file in the right location on my local copy of the branch). I actually attempted the homepage install a couple days ago, and it failed as well, but now I'm thinking maybe I can press on to get it to work. Will try that for now. Thanks again for your help, at the very least I learned stuff. EDIT: Didn't notice, but the amount of stuff downloaded in the process of building the updated pbuilder build chroot environment nearly overflowed my (admittedly very tiny) device's drive. I will be reflashing from start (can't attempt the other path from current state), so if logs are of interest please tell me where to grab them for you soonish. |
Sorry for the slow response; you should be able to specify a logfile with |
Hi,
I'm doing a very straightforward "follow the instructions to the letter" of this https://luakit.github.io/docs/pages/07-build-debian-package.html, but the hooking process appears to be failing.
As a reminder, the hooking process line is:
Cast from within the luakit cloned source on local.
Attempting to install on a PocketCHIP (ARM processor if I'm not mistaken, also Jessie because CHIP runs on that - for now I'm trying to pull this off without installing another distro.
The recipe breaks here:
Which I edited to:
Since there was no visible tagged -1 version. (I attempted the first version, it straight up refuses to do it.)
Git archive starts exporting / preparing, but then it throws this:
As a sidenote, because I'm on Jessie, I took the liberty of replacing names like this at the pbuilder stage:
It appeared to work without a problem. Beyond a couple installs, this is a fresh, stock PocketCHIP-customized Jessie installation.
I'm presuming something is wrong with the hook, since that's the error that's being thrown. But I also don't know how to wield this command.
Any idea how to press on? I really like the idea of using luakit but I haven't been able to install it on the PocketCHIP. (I also followed other instructions -- the ones on the homepage -- and got blocked by Jessie only having old versions of webkit2gtk, iirc.)
https://imgur.com/a/d1wAhPh <-- The installation bug happening in case that helps.
The text was updated successfully, but these errors were encountered: