doc fails to build

Bug #1868937 reported by kenn
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nasm (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I am on Ubuntu 16.04 platform.
I cloned the source code of NASM from `git clone https://git.launchpad.net/ubuntu/+source/nasm`
then `./configure` ; `make everything`
It fails while building `doc` with the following error:

perl -I. ./rdsrc.pl -I./ dip nasmdoc.src
Reading input...done.
Fixing up cross-references...done.
Sorting index tags...done.
Producing Documentation Intermediate Paragraphs: done.
perl -I. ./genps.pl -epsdir "." \
 -headps ./head.ps nasmdoc.dip \
 > nasmdoc.ps
: no font found of: SourceSansPro-Semibold, ClearSans-Bold, Arial-Bold, Helvetica-Bold
Install one of these fonts or update psfonts.ph
Makefile:69: recipe for target 'nasmdoc.ps' failed
make[1]: *** [nasmdoc.ps] Error 29
make[1]: Leaving directory '/home/******/NewDesktop/Mart-2020/nasm/doc'
Makefile:412: recipe for target 'doc' failed
make: *** [doc] Error 2

How can I fix or work around that issue?

kenn (whatnext)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nasm (Ubuntu):
status: New → Confirmed
Revision history for this message
kamiccolo (kamicc) wrote :

Funnily, it also spills some errors while trying to install from DEB repo:

$ apt install nasm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  nasm
0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded.
Need to get 359 kB of archives.
After this operation, 2,831 kB of additional disk space will be used.
Get:1 http://ftp.litnet.lt/ubuntu bionic/universe amd64 nasm amd64 2.13.02-0.1 [359 kB]
Fetched 359 kB in 0s (2,574 kB/s)
Selecting previously unselected package nasm.
(Reading database ... 874729 files and directories currently installed.)
Preparing to unpack .../nasm_2.13.02-0.1_amd64.deb ...
Unpacking nasm (2.13.02-0.1) ...
Setting up nasm (2.13.02-0.1) ...
Processing triggers for doc-base (0.10.8) ...
Processing 1 added doc-base file...
Error in `/usr/share/doc-base/nasm-manual', line 14: all `Format' sections are invalid.
Note: `install-docs --verbose --check file_name' may give more details about the above error.
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Scanning processes...
Scanning processor microcode...
Scanning linux images...
Running kernel seems to be up-to-date.
The processor microcode seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.

Running the command mentioned on the error message:

$ install-docs --verbose --check /usr/share/doc-base/nasm-manual
Warning in `/usr/share/doc-base/nasm-manual', line 12: file `/usr/share/doc/nasm/html/nasmdoc0.html' does not exist.
Warning in `/usr/share/doc-base/nasm-manual', line 14: file mask `/usr/share/doc/nasm/nasmdoc.txt.gz' does not match any files.
Error in `/usr/share/doc-base/nasm-manual', line 14: all `Format' sections are invalid.
/usr/share/doc-base/nasm-manual: Fatal error found, the file won't be registered.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.