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

man apt #2419

Closed
Neo-Oli opened this issue May 12, 2018 · 11 comments
Closed

man apt #2419

Neo-Oli opened this issue May 12, 2018 · 11 comments
Labels
enhancement help wanted Help is wanted in order to solve the issue.

Comments

@Neo-Oli
Copy link
Member

Neo-Oli commented May 12, 2018

Can we package the man page for apt?

@fornwall fornwall added enhancement help wanted Help is wanted in order to solve the issue. labels Jun 8, 2018
@kb-1000
Copy link
Contributor

kb-1000 commented Feb 23, 2019

No actions since many months... please do something!

@ghost
Copy link

ghost commented Feb 23, 2019

No actions since many months... please do something!

Because manpage cannot be built for unknown reason. I tried to install necessary tools but no success.
Will be okay if I just copy apt 1.4.x manpage from somewhere ?

@kb-1000
Copy link
Contributor

kb-1000 commented Feb 23, 2019

I think I've seen something in the build.sh of apt, but I don't remember anymore

@kb-1000
Copy link
Contributor

kb-1000 commented Feb 23, 2019

screenshot_20190223-134222

@ghost
Copy link

ghost commented Feb 23, 2019

This is done intentionally to prevent build error.

@kb-1000
Copy link
Contributor

kb-1000 commented Feb 23, 2019

Which error? Got any log?

@ghost
Copy link

ghost commented Feb 23, 2019

CMake Error at CMake/Documentation.cmake:44 (message):
  Could not find docbook xsl
Call Stack (most recent call first):
  doc/CMakeLists.txt:1 (include)

This error happens even if docbook and docbook-xsl are installed.
And no matter if build is done for Termux or for host.

@kb-1000
Copy link
Contributor

kb-1000 commented Feb 23, 2019

🤔 hmmm...
Is it possible to build apt on-device? I might try to find a solution

@ghost
Copy link

ghost commented Feb 23, 2019

I might try to find a solution

Other solution is to just copy manpage from somewhere.
Intresting, that I can't find anything about problems with docbook in CMakeOutput.log or CMakeError.log.

@ghost
Copy link

ghost commented Feb 23, 2019

Now I know why it fails:

find_path(DOCBOOK_XSL manpages/docbook.xsl
         # Debian
         /usr/share/xml/docbook/stylesheet/docbook-xsl
         /usr/share/xml/docbook/stylesheet/nwalsh
         # OpenSUSE
         /usr/share/xml/docbook/stylesheet/nwalsh/current
         # Arch
          /usr/share/xml/docbook/xsl-stylesheets
         # Fedora
         /usr/share/sgml/docbook/xsl-stylesheets
         # Fink
         ${CMAKE_INSTALL_PREFIX}/share/xml/xsl/docbook-xsl
         # FreeBSD
         ${CMAKE_INSTALL_PREFIX}/share/xsl/docbook/
         NO_DEFAULT_PATH)

if(NOT DOCBOOK_XSL)
    message(FATAL_ERROR "Could not find docbook xsl")
endif()

Some of these paths are outdated and no longer valid. So cmake will fail in most cases.

@kb-1000
Copy link
Contributor

kb-1000 commented Feb 23, 2019

I'd probably have found it too if I had enough time...
But great that I asked about it so that you could find it ;-)

@ghost ghost closed this as completed in 9da9bfb Sep 23, 2019
ghost pushed a commit that referenced this issue Sep 23, 2019
amuramatsu pushed a commit to amuramatsu/termux-packages that referenced this issue Dec 7, 2019
@ghost ghost locked and limited conversation to collaborators Oct 9, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement help wanted Help is wanted in order to solve the issue.
Projects
None yet
Development

No branches or pull requests

3 participants