Skip to content
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

zita-at1 fails to start #27002

Closed
jrigg opened this issue Dec 6, 2020 · 5 comments
Closed

zita-at1 fails to start #27002

jrigg opened this issue Dec 6, 2020 · 5 comments

Comments

@jrigg
Copy link
Contributor

jrigg commented Dec 6, 2020

Tried running zita-at1 (autotune program used for music pitch correction) but it fails to start.

System

Void x86_64 glibc

  • xuname:

  • package: zita-at1-0.6.2_1

Expected behavior

Start jackd then start zita-at1 and it should launch

Actual behavior

Fails with error message:
Can't open '/usr/local/share/zita-at1/notesect.png'

Steps to reproduce the behavior

Attempt to start zita-at1

The 'missing' file is actually installed in the correct place, but the program is looking in /usr/local instead of /usr. Workaround:
cd /usr/local/share
ln -s /usr/share/zita-at1 zita-at1

ericonr added a commit to ericonr/void-packages that referenced this issue Dec 6, 2020
It install resources in /usr/share, but was built with
PREFIX=/usr/local/share. This commit passes PREFIX=/usr during build
time to fix that.

Also:

- Use vsed instead of sed
- Remove unnecessary sed for -march=native, issue now fixed in the
gnu-makefile style

Fixes void-linux#27002.
@ericonr
Copy link
Member

ericonr commented Dec 6, 2020

@jrigg could you please try #27003? It should fix this.

Thanks for the great bug report!

@jrigg
Copy link
Contributor Author

jrigg commented Dec 6, 2020

@jrigg could you please try #27003? It should fix this.

That was quick!

I still need to get familiar with building packages from xbps templates. I've just switched my production DAWs from Debian to Void. The fix looks good, but I'll confirm as soon as I've worked out how to use the build system.

@ericonr
Copy link
Member

ericonr commented Dec 6, 2020

Just take a look at https://github.com/void-linux/void-packages#quick-start

That covers all the steps. (though you will want to clone from my branch instead of the main one)

@ericonr ericonr closed this as completed in f3d06c1 Dec 7, 2020
@ericonr
Copy link
Member

ericonr commented Dec 7, 2020

I just checked that it does start up now, so it should be good to go. Update your system in a bit and you'll have it :)

@jrigg
Copy link
Contributor Author

jrigg commented Dec 7, 2020

I confirm it starts now. Thanks for the quick fix!

tsndqst pushed a commit to tsndqst/void-packages that referenced this issue Dec 8, 2020
It install resources in /usr/share, but was built with
PREFIX=/usr/local/share. This commit passes PREFIX=/usr during build
time to fix that.

Also:

- Use vsed instead of sed
- Remove unnecessary sed for -march=native, issue now fixed in the
gnu-makefile style

Fixes void-linux#27002.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants