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

Confused about dev workflow #456

Open
sebastinas opened this issue Mar 23, 2024 · 1 comment
Open

Confused about dev workflow #456

sebastinas opened this issue Mar 23, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed

Comments

@sebastinas
Copy link
Member

On GitLab by @xezav on Mar 24, 2024, 24:46


Hey there,

I wanted to see if I could figure out what is wrong in #388. I want to bisect zathura, girara, and/or zathura-pdf-poppler in various combinations to try and pinpoint exactly when the problem started. (Or, if the problem is still there on very old versions like from 2022, then it would help attribute the issue to tabbed instead of zathura etc.)

To test each step in the bisections, I want to install everything into a custom directory like ~/tmp/zathura under my home directory. This way my test versions don't clobber the system-wide version of zathura installed by my package manager.

However, I am having trouble getting everything to compile properly. There is one particular error which is proving to be quite stubborn when I run my dev zathura:

error: Could not load plugin '/home/XXXXXXXXXXX/tmp/zathura/lib64/libpdf-poppler.so' (/home/XXXXXXXXXXX/tmp/zathura/lib64/libpdf-poppler.so: undefined symbol: zathura_signature_info_free).
error: Found no plugins. Please install at least one plugin.

I understand I may just be doing something dumb because I'm not familiar with meson/ninja. However, I've referred to the existing documentation, and also had a look over the gitlab-ci files to see if they have any hints, and nothing seems to help.

I wondered if it would be possible for the current developers to add a HACKING.md or similar, which would explain how to create development versions like this without clobbering system-wide installations, as well as any other notes about development workflows and so on?

@sebastinas
Copy link
Member Author

On GitLab by @gi1242 on Mar 24, 2024, 23:11


I second adding build / debug instructions. I was doing something similar and got the same error. In this case you can fix it by invoking it as:

ZATHURA_PLUGINS_PATH=/usr/lib/zathura zathura

Alternately you can use the -p option to specify the location of the plugin path. Not perfect, but good enough that I could run it and debug the issue I was having.

@sebastinas sebastinas added enhancement New feature or request documentation Improvements or additions to documentation help wanted Extra attention is needed and removed enhancement New feature or request labels May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant