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

Cannot build without help2man #49

Closed
hughsie opened this Issue May 21, 2018 · 2 comments

Comments

2 participants
@hughsie

hughsie commented May 21, 2018

This is when building as a flatpak when there is no help2man available:

make[3]: Leaving directory '/run/build/libsmbios_c'
false --output=out/smbios-sys-info-lite.1 --name=out/smbios-sys-info-lite out/smbios-sys-info-lite
make[2]: [Makefile:2969: out/smbios-sys-info-lite.1] Error 1 (ignored)
false --output=out/smbios-get-ut-data.1 --name=out/smbios-get-ut-data out/smbios-get-ut-data
make[2]: [Makefile:2969: out/smbios-get-ut-data.1] Error 1 (ignored)
false --output=out/smbios-state-byte-ctl.1 --name=out/smbios-state-byte-ctl out/smbios-state-byte-ctl
make[2]: [Makefile:2969: out/smbios-state-byte-ctl.1] Error 1 (ignored)
false --output=out/smbios-upflag-ctl.1 --name=out/smbios-upflag-ctl out/smbios-upflag-ctl
make[2]: [Makefile:2969: out/smbios-upflag-ctl.1] Error 1 (ignored)
 /usr/bin/mkdir -p '/app/share/man/man1'
 /usr/bin/install -c -m 644 ./out/smbios-sys-info-lite.1 ./out/smbios-get-ut-data.1 ./out/smbios-state-byte-ctl.1 ./out/smbios-upflag-ctl.1 '/app/share/man/man1'
/usr/bin/install: cannot stat './out/smbios-sys-info-lite.1': No such file or directory
/usr/bin/install: cannot stat './out/smbios-get-ut-data.1': No such file or directory
/usr/bin/install: cannot stat './out/smbios-state-byte-ctl.1': No such file or directory
/usr/bin/install: cannot stat './out/smbios-upflag-ctl.1': No such file or directory

Notice the false -- that needs to be conditionalized before trying to build the .1 files.

@superm1

This comment has been minimized.

Show comment
Hide comment
@superm1

superm1 May 22, 2018

Member

Is it not possible to install help2man while building? Autotools and I struggled getting it in there in the first place, but yeah I do see the need to conditionalize it.

Member

superm1 commented May 22, 2018

Is it not possible to install help2man while building? Autotools and I struggled getting it in there in the first place, but yeah I do see the need to conditionalize it.

superm1 added a commit that referenced this issue May 22, 2018

@hughsie

This comment has been minimized.

Show comment
Hide comment
@hughsie

hughsie May 22, 2018

Is it not possible to install help2man while building?

Sure you can, but it seems odd to install it, build the man pages, and then just delete them from the ostree.

hughsie commented May 22, 2018

Is it not possible to install help2man while building?

Sure you can, but it seems odd to install it, build the man pages, and then just delete them from the ostree.

@superm1 superm1 closed this in 055ddef May 22, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment