Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 668350 - media-gfx/sane-backends-1.0.27-r1 failed to build Error: /invalidfont in /findfont Helvetica
Summary: media-gfx/sane-backends-1.0.27-r1 failed to build Error: /invalidfont in /fin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-11 19:45 UTC by Boris Vingradov
Modified: 2018-10-20 16:36 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Sane build error. (sane-backends-1.0.27-r1_build.log,388.32 KB, text/x-log)
2018-10-11 19:45 UTC, Boris Vingradov
Details
Test ebuild for last stable source (sane-backends-1.0.27-r2.ebuild,7.61 KB, text/plain)
2018-10-12 17:59 UTC, Boris Vingradov
Details
Build log with disable and remove infinality (sane-backends-1.0.27-r1_build2.log,391.25 KB, text/x-log)
2018-10-12 18:31 UTC, Boris Vingradov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Vingradov 2018-10-11 19:45:54 UTC
Created attachment 550600 [details]
Sane build error.

I rebuild package and failed to build it with error (in attachment).

I found another bug with same build error: https://bugs.gentoo.org/620148.
Comment 1 Boris Vingradov 2018-10-12 17:57:29 UTC
I tried to build sane from last git snapshot of sane-backends: http://www.sane-project.org/snapshots/sane-backends-1.0.27-228-g54c42b04-dirty.tar.gz but I have same error such as previous build.
Comment 2 Boris Vingradov 2018-10-12 17:59:30 UTC
Created attachment 550944 [details]
Test ebuild for last stable source
Comment 3 Boris Vingradov 2018-10-12 18:29:26 UTC
Than I remove 'infinality' USE flag and everything infinality packages I have another error for this package.
Comment 4 Boris Vingradov 2018-10-12 18:31:27 UTC
Created attachment 550946 [details]
Build log with disable and remove infinality
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2018-10-12 19:14:09 UTC
Looks like a font was not found:

Generating index for /var/tmp/portage/media-gfx/sane-backends-1.0.27-r1/work/sane-backends-1.0.27/doc/sane.tex...
/usr/bin/fig2dev -L pdf /var/tmp/portage/media-gfx/sane-backends-1.0.27-r1/work/sane-backends-1.0.27/doc/figs/area.fig figs/area.pdf
Error: /invalidfont in /findfont
Operand stack:
   basefontdict   Helvetica
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   2015 
  1   3   %oparray_pop   2014   1   3   %oparray_pop   --nostringval--   1998   1   3   %oparray_pop   1884   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringv
al--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   1967   2   4   %oparray_pop
Dictionary stack:
   --dict:987/1684(ro)(G)--   --dict:0/20(G)--   --dict:112/200(L)--   --dict:3/12(L)--
Current allocation mode is local
Last OS error: No such file or directory
GPL Ghostscript 9.25: Unrecoverable error, exit code 1
Error in ghostcript command
command was: gs -q -dNOPAUSE -sAutoRotatePages=None -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -sOutputFile=figs/area.pdf - -c qui
t
make[1]: *** [Makefile:985: figs/area.pdf] Error 255
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/var/tmp/portage/media-gfx/sane-backends-1.0.27-r1/work/sane-backends-1.0.27-abi_x86_64.amd64/doc'
make: *** [Makefile:534: all-recursive] Error 1
Comment 6 Boris Vingradov 2018-10-12 20:21:35 UTC
(In reply to Sergei Trofimovich from comment #5)
> Looks like a font was not found:
> 
> Generating index for
> /var/tmp/portage/media-gfx/sane-backends-1.0.27-r1/work/sane-backends-1.0.27/
> doc/sane.tex...
> /usr/bin/fig2dev -L pdf
> /var/tmp/portage/media-gfx/sane-backends-1.0.27-r1/work/sane-backends-1.0.27/
> doc/figs/area.fig figs/area.pdf
> Error: /invalidfont in /findfont
> Operand stack:
>    basefontdict   Helvetica
> Execution stack:
>    %interp_exit   .runexec2   --nostringval--   --nostringval--  
> --nostringval--   2   %stopped_push   --nostringval--   --nostringval--  
> --nostringval--   false   1   %stopped_push   2015 
>   1   3   %oparray_pop   2014   1   3   %oparray_pop   --nostringval--  
> 1998   1   3   %oparray_pop   1884   1   3   %oparray_pop   --nostringval-- 
> %errorexec_pop   .runexec2   --nostringv
> al--   --nostringval--   --nostringval--   2   %stopped_push  
> --nostringval--   --nostringval--   1967   2   4   %oparray_pop
> Dictionary stack:
>    --dict:987/1684(ro)(G)--   --dict:0/20(G)--   --dict:112/200(L)--  
> --dict:3/12(L)--
> Current allocation mode is local
> Last OS error: No such file or directory
> GPL Ghostscript 9.25: Unrecoverable error, exit code 1
> Error in ghostcript command
> command was: gs -q -dNOPAUSE -sAutoRotatePages=None
> -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode
> -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -sOutputFile=figs/area.pdf - -c qui
> t
> make[1]: *** [Makefile:985: figs/area.pdf] Error 255
> make[1]: *** Waiting for unfinished jobs....
> make[1]: Leaving directory
> '/var/tmp/portage/media-gfx/sane-backends-1.0.27-r1/work/sane-backends-1.0.
> 27-abi_x86_64.amd64/doc'
> make: *** [Makefile:534: all-recursive] Error 1

I install htmldoc with this font and have an error as last log (disable and remove infinality). I tried to create sane.pdf manually and there isn't have any errors( I modify makefile for document directory - change from:
@$(am_TEXINPUTS) $(PDFLATEX) $< >/dev/null
to:
@$(am_TEXINPUTS) $(PDFLATEX) -interaction=nonstopmode $< >/dev/null
and run make sane.pdf from this directory).
Comment 7 Larry the Git Cow gentoo-dev 2018-10-20 16:36:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4a4aa9c04d755547aa82b881499fd7a6172bfc9

commit b4a4aa9c04d755547aa82b881499fd7a6172bfc9
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2018-10-20 15:11:29 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-10-20 16:35:31 +0000

    media-gfx/sane-backends: Fixes from Fedora and Debian...
    
    They fix an important bug with Samsung devices not being properly recognized
    and noises in some devices.
    
    We also start disabling locking as all the other distributions and stop
    trying to randomly generate extra documentation files that are not really
    needed and add a lot of hidden dependencies tend to break in several ways.
    
    Closes: https://bugs.gentoo.org/636202
    Closes: https://bugs.gentoo.org/653300
    Closes: https://bugs.gentoo.org/668232
    Closes: https://bugs.gentoo.org/668350
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 .../sane-backends-1.0.27-revert-samsung.patch      | 406 +++++++++++++++++++++
 ...ne-backends-1.0.27-uninitialized-variable.patch |  25 ++
 .../sane-backends/sane-backends-1.0.27-r2.ebuild   | 344 +++++++++++++++++
 3 files changed, 775 insertions(+)