Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] man uses more instead of less when cross built
@ 2022-06-11 11:17 lfdebrux
  2022-06-11 16:08 ` classabbyamp
  2022-06-13  8:25 ` [ISSUE] [CLOSED] " leahneukirchen
  0 siblings, 2 replies; 3+ messages in thread
From: lfdebrux @ 2022-06-11 11:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1285 bytes --]

New issue by lfdebrux on void-packages repository

https://github.com/void-linux/void-packages/issues/37512

Description:
<!-- Don't request update of package. We have a script for that. https://repo-default.voidlinux.org/void-updates/void-updates.txt. However, a quality pull request may help. -->
### System

* xuname: Void 5.15.41_1 x86_64-musl GenuineIntel notuptodate rFFFF

* package:  mdocml-1.14.6_3

### Expected behavior

`man` uses `less` as the default pager.

### Actual behavior

`man` uses `more` as the default pager.

### Steps to reproduce the behavior

- check out latest version of void-packages repo
- crossbuild mdocml (for instance with `./xbps-src -a armv5tel-musl pkg mdocml`
- install mdocml on target device
- open a man page (for instance `man man`)

### Notes

I think this happens because although less is a build dependency of mdocml, the configure script for mandoc tries to run less to check whether it is present, but the cross version gets installed in `usr/arm-linux-musleabi/bin`, which isn't in PATH (and probably wouldn't run anyway being a non-native binary).

I'm not sure of the right way to fix this, setting `BINM_PAGER` in `configure.local` would probably do the job, but maybe there is a more standard way of fixing this sort of problem?


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-13  8:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-11 11:17 [ISSUE] man uses more instead of less when cross built lfdebrux
2022-06-11 16:08 ` classabbyamp
2022-06-13  8:25 ` [ISSUE] [CLOSED] " leahneukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).