You are not logged in.
Hi all
This is my first post.
I am having trouble building certain packages from AUR. This is an example:
==> Extracting sources...
-> Creating working copy of namebench git repo...
/usr/share/makepkg/util/util.sh: line 80: cd: namebench: No such file or directory
==> ERROR: Failed to change to directory namebench
Aborting...
It appears to happen with packages pointing to 'git+https' addresses. If that is the case how do I handle these?
Otherwise makepkg and pacman are performing normally.
Last edited by martynjy (2016-05-14 23:27:12)
Offline
start looking the PKGBUILD of that sertain package... and say what package.
Well, I suppose that this is somekind of signature, no?
Offline
The package is 'namebench':
https://aur.archlinux.org/packages.php?ID=245148
source=(namebench::git+https://github.com/google/$pkgname.git#branch=$pkgver)
That is an example. Another could be 'lightspark-git':
https://aur.archlinux.org/packages.php?ID=277263
source=("$_pkgname::git+https://github.com/lightspark/lightspark.git")
They both fail with the same error and both point to 'git+https://github.com/' addresses. This is the only common factor I can see.
As mentioned other packages build OK.
Last edited by martynjy (2016-05-14 20:05:42)
Offline
Create a new directory and post the full output from a clean attempt.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Please post the exact command you used and the full output (in code tags).
(edit: oops, this was cross posted with the above - I had this window open for 15 minutes while distracted apparently)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
namebench
makepkg -sic
==> Making package: namebench 1.3-1 (Sat 14 May 21:45:11 BST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Cloning namebench git repo...
==> Validating source files with sha512sums...
namebench ... Skipped
==> Extracting sources...
-> Creating working copy of namebench git repo...
/usr/share/makepkg/util/util.sh: line 80: cd: namebench: No such file or directory
==> ERROR: Failed to change to directory namebench
Aborting...
lightspark-git
makepkg -sic
==> Making package: lightspark-git 0.7.2.r461.g10b91ea-1 (Sat 14 May 21:52:59 BST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Cloning lightspark git repo...
==> Validating source files with md5sums...
lightspark ... Skipped
==> Extracting sources...
-> Creating working copy of lightspark git repo...
/usr/share/makepkg/util/util.sh: line 80: cd: lightspark: No such file or directory
==> ERROR: Failed to change to directory lightspark
Aborting...
Offline
That's from a clean directory, with no pre-existing "namebench" file or directory?
What is the "namebench" file?
file namebench
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
WorMzy
What are you referring to exactly?
Offline
namebench
.. ==> Retrieving sources... -> Cloning namebench git repo... ==> Validating source files with sha512sums...
You have trimmed the output... unless there was no output there!
Offline
Try these commands:
cd /tmp
mkdir anewdir
cd anewdir
git clone https://aur.archlinux.org/namebench.git
cd namebench
makepkg -s
Then post the output.
I've removed the i and c flags from makepkg, the i just because it's not needed yet, and the c so we can explore what's left if/when this fails.
EDIT: D'Oh, Allan is right. But blame him, he probably broke it (for OP, that's a joke). Can you clone from git directly?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Sorry for the delay but I have managed to solve it.
The problem was with git. Trilby (thanks) led me on the path. For some reason It was well and truly messed up.
I haven't used it for a long time so I don't know what happened or when!
Thank you everyone.
Offline
Great! If you could share some details about what the problem was, or at least how you resolved it, that may help somebody else with a similar problem down the line.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
WorMzy
As I say I haven't used git for a long time so I don't know what happened or when. I could not do anything with it including clone hence the original problem.
After trying to uninstall with pacman it said it had uninstalled git but had left most of the files behind. Result being a manual cleanup and reinstall.
Offline
Either you manually installed git and/or you were very very out of date. In case you aren't doing so already, you should run regular* system updates with `pacman -Syu`.
*regular has different meanings for different people, but at least once a week is a good baseline.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline