control: tag -1 patch
control: affects -1 =
control: reassign -1 src:sdcc 3.5.0+dfsg-2

Am 02.04.2018 um 17:01 schrieb Adrian Bunk:
> Package: lyx
> Version: 2.3.0-2
> Severity: serious
> Control: affects -1 src:sdcc
> 
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/sdcc.html
> 
> ...
> This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) 
> (preloaded format=latex)
>  restricted \write18 enabled.
> entering extended mode
> (./sdccman.tex
> LaTeX2e <2017-04-15>
> Babel <3.18> and hyphenation patterns for 3 language(s) loaded.
> 
> support/Systemcall.cpp (294): Systemcall: 'latex "sdccman.tex"' finished with 
> exit code 1
> This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) 
> (preloaded format=latex)
>  restricted \write18 enabled.
> entering extended mode
> (./sdccman.tex
> LaTeX2e <2017-04-15>
> Babel <3.18> and hyphenation patterns for 3 language(s) loaded.
> 
> support/Systemcall.cpp (294): Systemcall: 'latex "sdccman.tex"' finished with 
> exit code 1
> make: *** [debian/rules:71: build-indep-stamp] Error 1

Hi,

thanks a lot for filing this bug. However, I'm not convinced that this
is really a bug in lyx. The file leading to the FTBFS is rather old
(created with lyx 2.1) and uses some syntax no longer supported by
lyx 2.3.

Therefore, I think the correct course of action would be to fix the file
in question in the sdcc package. I've attached a minimal patch which
accomplishes just that. With the patch, sdcc builds fine in an unstable
chroot on my machine. It can be dropped into d/patches and added to
d/series.

The latest upstream version (3.7.0) also builds fine, as the
documentation file has been created with lyx 2.3. So this bug could also
be solved by packaging the new upstream version, also requested here:

https://bugs.debian.org/892869

Regards,
Tobias
--- a/doc/sdccman.lyx
+++ b/doc/sdccman.lyx
@@ -13,14 +13,6 @@
   \mbox{\ifx\def@pt\pas@pt\cite@rig{#2}\else\cite@rig[#1]{#2}\fi}}
 \renewcommand{\underbar}[1]{{\let\cite\b@xcite\uline{#1}}}
 \pdfoptionpdfminorversion=3
-\usepackage[
-  pdftitle={SDCC Compiler User Guide},
-  pdfauthor={SDCC development team},
-  pdfsubject={installation, user manual},
-  pdfkeywords={68hc08 8032 8051 ansi iso c compiler assembler CPU DS390 embedded development free Floating Point Arithmetic Freescale GPL HC08 S08 inline Intel ISO/IEC 9899:1990 Linux MAC OS X manual Maxim mcs51 Microchip microcontroller open source PIC Unix Windows Z80 Z180 Zilog Rabbit},
-  pdfpagemode=UseOutlines,
-  colorlinks=true,
-  linkcolor=blue] {hyperref}
 %
 \sloppy
 \tolerance=500          
@@ -51,7 +43,20 @@
 \index_command default
 \paperfontsize default
 \spacing single
-\use_hyperref false
+\use_hyperref true
+\pdf_title "SDCC Compiler User Guide"
+\pdf_author "SDCC development team"
+\pdf_subject "installation, user manual"
+\pdf_keywords "68hc08 8032 8051 ansi iso c compiler assembler CPU DS390 embedded development free Floating Point Arithmetic Freescale GPL HC08 S08 inline Intel ISO/IEC 9899:1990 Linux MAC OS X manual Maxim mcs51 Microchip microcontroller open source PIC Unix Windows Z80 Z180 Zilog Rabbit"
+\pdf_bookmarks true
+\pdf_bookmarksnumbered false
+\pdf_bookmarksopen false
+\pdf_bookmarksopenlevel 1
+\pdf_breaklinks false
+\pdf_pdfborder false
+\pdf_colorlinks true
+\pdf_backref false
+\pdf_pdfusetitle true
 \papersize letterpaper
 \use_geometry true
 \use_package amsmath 1

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to