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

Installation fails on Archlinux: help needed, possible issue with podman ? help2man ? #258

Open
m040601 opened this issue May 4, 2023 · 0 comments

Comments

@m040601
Copy link

m040601 commented May 4, 2023

Thank for your work in this very usefull tool.

I'm on Archlinux. Like for other thousands of python tools, we have this AUR "user recipe" for installing python-xlsx2csv, https://aur.archlinux.org/packages/python-xlsx2csv

It should work, but for some reason it fails, I'm heaving a lot of trouble, finding the exact culprit.

I've already tried the usable sensible procedures. Building in clean environment etc.

For example, building it a python virtual environment,

python -m test_env_for_xlsx2csv

cd test_env_for_xlsx2csv

source bin/activate

pip install xlsx2cs

Worked. It built ok without any errors whatsover, and the tool works.

But still, I cant build it with the recipe, https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-xlsx2csv

At first I though it was something to do, not with "xslx2csv" itself, but something "wrong" in my Archlinux setup itself.

But now I am wondering if it could be something or some "odd" requirement" of "xlsx2csv" itself that is causing this.

The only error message I have is when the installation aborts, complaining "something" about pod2man. I have no idea. I'm not a programmer nor have python skills.

I wonder if you can give me same hints or tips how to troubleshoot this and find the root cause

==> Entering fakeroot environment...
==> Starting package()...
make -f pod2man.mk PACKAGE=xlsx2csv makeman
make[1]: Entering directory '/dev/shm/aurydesty/python-xlsx2csv/src/xlsx2csv-0.8.1/man'
pod2man.mk:55: *** target pattern contains no '%'.  Stop.
make[1]: Leaving directory '/dev/shm/aurydesty/python-xlsx2csv/src/xlsx2csv-0.8.1/man'
make: *** [Makefile:12: man] Error 2
==> ERROR: A failure occurred in package().
    Aborting...

The only thing I see in that 55 line is , nvim python-xlsx2csv/src/xlsx2csv-0.8.1/man/pod2man.mk,

 55 makeman: $(MANPAGE)

Hhhhmmm ... No idea.

This pod2man tool belongs to perl ? Am I correct ? #257,

currently it uses pod format for man files. I'm not sure should I replace it or not. ...

Is this really necessary ? Isnt there an easy simpler way to create the man page without complicated dependencies?

Thanks in advance.

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

1 participant