EHfive / pulseaudio-modules-bt

[Deprecated, see https://github.com/EHfive/pulseaudio-modules-bt/issues/154] Adds Sony LDAC, aptX, aptX HD, AAC codecs (A2DP Audio) support to PulseAudio on Linux
GNU General Public License v3.0
1.75k stars 86 forks source link

[BUG] error: pathspec 'v14.0' did not match any file(s) known to git #152

Closed EvanCarroll closed 3 years ago

EvanCarroll commented 3 years ago

Getting an error when I copy-paste commands,

$ git -C pa/ checkout v`pkg-config libpulse --modversion|sed 's/[^0-9.]*\([0-9.]*\).*/\1/'`
error: pathspec 'v14.0' did not match any file(s) known to git

This can be fixed with,

$ git submodule sync --recursive

After the submodule init to ensure that if already initialized, that the submodules are still in sync.

ZLima12 commented 3 years ago

If you solved your issue, why not share how you did it? That way, others who have the same issue will be able to solve it as well.

EvanCarroll commented 3 years ago

Because I'm not sure of what actually solved the problem @ZLima12. I isolated the problem to having an out of date submodule. That could be fixed by removing the pa/ directory and rerunning --init on it. I think you can also run git submodule sync --recursive. I don't know that either of these made it work though, upon building I was getting (from journalctl --user /usr/bin/pulseaudio)

pulseaudio[2523]: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files

and also,

pulseaudio[147717]: Assertion 'h' failed at pulsecore/hashmap.c:138, function pa_hashmap_put(). Aborting.

So alas I removed the pa/ directory rebuilt the whole thing and restarted. It works now, though I still get the above org.ofono message. but it's working the ldac codec works.

The documentation should be updated such that it doesn't require a clone each time, but I'm unsure how to do it. Documentation improvements should be to run git clone --recurse-submodules, rather than a git submodule --init. Then we should have instructions to do git submodule sync --recursive, but with all that I was not able to confirm that it would fix my problem (though it should have worked). And now I can't recreate it.