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

perl and its components broken #13

Closed
petkar opened this issue Aug 4, 2020 · 5 comments
Closed

perl and its components broken #13

petkar opened this issue Aug 4, 2020 · 5 comments

Comments

@petkar
Copy link
Member

petkar commented Aug 4, 2020

This is exclusive to this repository. I installed a fresh copy twice and tested it on both repos (this one and the /SDRausty/TermuxArch). Perl and many packages that depend on it like po4a and cpan are broken (binaries missing).
On the other repo, it works perfectly fine, but on this repo it is failing. I'm not sure of the cause. Steps to reproduce :

  • clone this repo and install TermuxArch
  • install po4a and perl (perl is optional since it's installed by default)
  • try executing po4a or cpan and it returns error bash: cpan: command not found

Note that I already tried this with the stable repo too and these work normally. What commit do you think caused this regression?

@github-actions
Copy link

github-actions bot commented Aug 4, 2020

Thank you for contributing to make this project better😎 Keep up and follow to solve this issue.

@petkar
Copy link
Member Author

petkar commented Aug 4, 2020

Note that due to this step failing, fakeroot-tcp can't be installed either because po4a is one of its dependencies. And since the normal fakeroot doesn't work now (it used to, I'm not sure why it stopped, fakeroot-tcp needs to be used), fakeroot-tcp is the only choice remaining and that too can't be installed because one of its dependencies is having an error.

@SDRausty
Copy link
Contributor

SDRausty commented Aug 5, 2020

This is exclusive to this repository

Can you try this in both repositories please; Comment out lines L125&&L126 in knownconfigurations.bash:

# printf "%s\\n" "$PROOTSTMNT"
# exit

Is there any difference in PROOTSTMNT?

@SDRausty
Copy link
Contributor

SDRausty commented Aug 5, 2020

error bash: cpan: command not found

[user12:17~]$ cpan
Loading internal logger. Log::Log4perl recommended for better logging
Terminal does not support AddHistory.

To fix that, maybe try>  install Term::ReadLine::Perl


cpan shell -- CPAN exploration and modules installation (v2.27)
Enter 'h' for help.

cpan[1]>
[user12:20~]$ pcss | grep \\[installed | grep perl
core/perl 5.32.0-1 [installed]
extra/perl-error 0.17029-2 [installed]
extra/perl-mailtools 2.21-4 [installed]
extra/perl-timedate 2.33-2 [installed]
community/perl-yaml-tiny 1.73-4 [installed]
[user12:20~]$ pcss | grep \\[installed | grep po4a
community/po4a 0.59.1-2 [installed]

@SDRausty
Copy link
Contributor

SDRausty commented Aug 6, 2020

This 9d9c91d commit adds /etc/profile.d/perlbin.sh support. This enables the path for po4a. The pacman -Fl po4a command helped answer this question.

@SDRausty SDRausty closed this as completed Aug 6, 2020
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