pacstall / pacstall-programs

Pacstall's official program repository
https://pacstall.dev/packages
MIT License
176 stars 135 forks source link

Autoreconf error for rofi-calc #6149

Open sarmong opened 5 months ago

sarmong commented 5 months ago

Describe the bug

I have a pacscript for rofi-calc. It was working fine before 5.0, but now that I migrated it to new version, it no longer works.

This is the error I get after running autoreconf

/usr/bin/libtoolize: 1: eval: hookable_fns+=: not found
libtoolize:   error: 'func_options_prep' does not accept hook functions.
autoreconf: error: libtoolize failed with exit status: 1

To reproduce

  1. Download this pacscript
  2. pacstall -I rofi-calc.pacscript

Expected behavior

No errors

Screenshots

-

OS version

Debian 12

Pacstall version

5.1.1

Elsie19 commented 5 months ago

Can you try putting the line:

cd "${_archive}"

above line https://github.com/sarmong/pacstall-sarmong/blob/5f3b807936fc0094efa405334dc9b4ab0ef21246/packages/rofi-calc/rofi-calc.pacscript#L17

sarmong commented 5 months ago

Yeah, I forgot to put it in when pushing, but it fails on prepare step anyways.

Elsie19 commented 5 months ago

image Works for me. What issue do you get?

sarmong commented 5 months ago

It runs fine for me, I get errors only in pacstall

https://github.com/pacstall/pacstall/assets/42828375/72003a32-7c97-4e66-9586-15f7dd54e30a

Elsie19 commented 5 months ago

Run pacstall -V.

sarmong commented 5 months ago

I already mentioned pacstall version in the original post. It is 5.1.1.

Elsie19 commented 5 months ago

Can you copy the pacscript and run docker run -it --net=host --privileged ghcr.io/pacstall/pacstall:latest bash, and test it in there?

sarmong commented 5 months ago

it works. Did it succeed for you on Ubuntu? Could it be Debian-specific issue? Is there a Debian-based docker image to test with?

Elsie19 commented 5 months ago

it works. Did it succeed for you on Ubuntu? Could it be Debian-specific issue? Is there a Debian-based docker image to test with?

Yes, you can do any of the following:

$ docker run -it --net=host --privileged ghcr.io/pacstall/debian-stable:develop-978e2905 bash
$ docker run -it --net=host --privileged ghcr.io/pacstall/debian-unstable:develop-978e2905 bash
$ docker run -it --net=host --privileged ghcr.io/pacstall/debian-testing:develop-978e2905 bash
sarmong commented 5 months ago

Yep, same error on debian-stable docker as I have.

Elsie19 commented 5 months ago

Can you try installing libtool-bin and libtool in the docker before running the script?

sarmong commented 5 months ago

Didn't help.

sarmong commented 4 months ago

Hey, any updates?

Elsie19 commented 4 months ago

No, we couldn't find anything besides simply disallowing debian, unless that works for you.