Package: lyx Version: 2.1.4-2 Severity: normal Dear Maintainer,
while preparing my tango package, I need to build the documentation with lyx. But when I started to build the package with sbuild, I got an FTBFS with this message. make[5]: Entering directory '/<<BUILDDIR>>/tango-9.2.0~a+dfsg/build/doc/src' cd ../../../doc/src; /usr/bin/lyx --export pdf2 tango.lyx LyX: Creating directory /sbuild-nonexistent/.lyx/ Failed to create directory. Exiting. support/lassert.cpp (42): ASSERTION pimpl_->application_.get() VIOLATED IN ../../src/LyX.cpp:443 Makefile:700: recipe for target 'tango.pdf' failed It seems that it is not allow to write outside the source directory except /tmp during the build process. I see at least two problems. 1) lyx try to create a $HOME/.lyx even if $HOME does not exist 2) it would be great to avoir creating this .lyx directory by default. thanks Frederic -- System Information: Debian Release: stretch/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 4.4.0-1-686 (SMP w/1 CPU core) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages lyx depends on: ii libboost-regex1.58.0 1.58.0+dfsg-5+b1 ii libboost-signals1.58.0 1.58.0+dfsg-5+b1 ii libc6 2.21-9 ii libenchant1c2a 1.6.0-10.1 ii libgcc1 1:5.3.1-10 ii libmagic1 1:5.25-2 ii libmythes-1.2-0 2:1.2.4-1 ii libqtcore4 4:4.8.7+dfsg-6 ii libqtgui4 4:4.8.7+dfsg-6 ii libstdc++6 5.3.1-10 ii lyx-common 2.1.4-2 ii xdg-utils 1.1.1-1 ii zlib1g 1:1.2.8.dfsg-2+b1 Versions of packages lyx recommends: ii dvipng 1.14-2+b1 ii elyxer 1.2.5-1 ii evince [pdf-viewer] 3.18.2-1 ii evince-gtk 3.18.2-1 ii fonts-lyx 2.1.4-2 ii ghostscript 9.18~dfsg-4 ii imagemagick 8:6.8.9.9-7+b1 ii poppler-utils 0.38.0-2 ii preview-latex-style 11.88-1.1 ii psutils 1.17.dfsg-2 ii texlive-fonts-recommended 2015.20160215-1 ii texlive-generic-extra 2015.20160215-1 ii texlive-generic-recommended 2015.20160215-1 ii texlive-latex-extra 2015.20160215-1 ii texlive-latex-recommended 2015.20160215-1 ii texlive-science 2015.20160215-1 Versions of packages lyx suggests: pn chktex <none> pn etoolbox <none> pn gnuhtml2latex <none> pn groff <none> pn latex2rtf <none> pn librsvg2-bin | inkscape <none> pn libtiff-tools <none> pn linuxdoc-tools <none> pn lyx-dbg <none> pn noweb <none> pn rcs <none> pn sgmltools-lite <none> ii texlive-latex-recommended [latex-xcolor] 2015.20160215-1 pn texlive-xetex <none> pn writer2latex <none> pn wv <none> -- no debconf information