Bug 381788 - kile changes Linux or perl path and causes different command to be executed
Summary: kile changes Linux or perl path and causes different command to be executed
Status: RESOLVED WORKSFORME
Alias: None
Product: kile
Classification: Applications
Component: user interface (show other bugs)
Version: 2.1.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-29 08:46 UTC by krichter
Modified: 2022-12-06 05:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description krichter 2017-06-29 08:46:43 UTC
Setting up a "Biber" command with the binary `/home/richter/perl5/bin/biber` and the arguments `'%S'` causes a different binary to be executed or the perl path to be changed so that according to the `kile` output field

```
*****
*****     Biber Ausgabe: 
*****     cd "/mnt/data/home/Dateien/issues/biber/default-ubuntu-biber-compatibility-mismatch"
*****     /home/richter/perl5/bin/biber ubuntu_biber
*****
Use of uninitialized value $bltxversion in concatenation (.) or string at /usr/share/perl5/Biber.pm line 425.
INFO - This is Biber 2.7 (beta)
INFO - Logfile is 'ubuntu_biber.blg'
INFO - Reading 'ubuntu_biber.bcf'
ERROR - Error: Found biblatex control file version 3.0, expected version 3.3.
This means that your biber (2.7) and biblatex () versions are incompatible.
See compat matrix in biblatex or biber PDF documentation.
INFO - ERRORS: 1
```

happens instead of

```
> pdflatex ubuntu_biber.tex 
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./ubuntu_biber.tex
LaTeX2e <2017/01/01> patch level 3
Babel <3.9r> and hyphenation patterns for 83 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def
(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu)
(/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu)
(/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu)))
(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty
(/usr/share/texlive/texmf-dist/tex/generic/babel-german/german.ldf
(/usr/share/texlive/texmf-dist/tex/generic/babel-german/germanb.ldf
(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.def)))
(/usr/share/texlive/texmf-dist/tex/generic/babel-german/ngerman.ldf
(/usr/share/texlive/texmf-dist/tex/generic/babel-german/ngermanb.ldf)))
(/usr/share/texlive/texmf-dist/tex/latex/csquotes/csquotes.sty
(/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/latex/csquotes/csquotes.def)
(/usr/share/texlive/texmf-dist/tex/latex/csquotes/csquotes.cfg))
(/home/richter/texmf/tex/latex/biblatex/biblatex.sty
(/home/richter/texmf/tex/latex/biblatex/biblatex_.sty
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(/usr/share/texlive/texmf-dist/tex/latex/logreq/logreq.sty
(/usr/share/texlive/texmf-dist/tex/latex/logreq/logreq.def))
(/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/share/texlive/texmf-dist/tex/latex/url/url.sty)
(/home/richter/texmf/tex/latex/biblatex/blx-dm.def)
(/home/richter/texmf/tex/latex/biblatex/blx-compat.def)
(/home/richter/texmf/tex/latex/biblatex/biblatex_.def)
(/home/richter/texmf/tex/latex/biblatex/bbx/authoryear.bbx
(/home/richter/texmf/tex/latex/biblatex/bbx/standard.bbx))
(/home/richter/texmf/tex/latex/biblatex/cbx/authoryear.cbx)
(/home/richter/texmf/tex/latex/biblatex/biblatex.cfg)))
(/home/richter/texmf/tex/latex/biblatex/lbx/ngerman.lbx
(/home/richter/texmf/tex/latex/biblatex/lbx/german.lbx))
No file ubuntu_biber.aux.
No file ubuntu_biber.bbl.

LaTeX Warning: Citation 'bibtexkey1' on page 1 undefined on input line 16.

[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./ubuntu_biber.aux)

LaTeX Warning: There were undefined references.


Package biblatex Warning: Please (re)run Biber on the file:
(biblatex)                ubuntu_biber
(biblatex)                and rerun LaTeX afterwards.

 )</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb></us
r/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></usr/shar
e/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texli
ve/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb></usr/share/texlive/texm
f-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb>
Output written on ubuntu_biber.pdf (1 page, 48109 bytes).
Transcript written on ubuntu_biber.log.
> biber ubuntu_biber
INFO - This is Biber 2.4
INFO - Logfile is 'ubuntu_biber.blg'
INFO - Reading 'ubuntu_biber.bcf'
INFO - Found 1 citekeys in bib section 0
INFO - Processing section 0
INFO - Looking for bibtex format file 'ubuntu_biber.bib' for section 0
INFO - Decoding LaTeX character macros into UTF-8
INFO - Found BibTeX data source 'ubuntu_biber.bib'
INFO - Overriding locale 'de-DE' defaults 'normalization = NFD' with 'normalization = prenormalized'
INFO - Overriding locale 'de-DE' defaults 'variable = shifted' with 'variable = non-ignorable'
INFO - Sorting list 'nyt/global' of type 'entry' with scheme 'nyt' and locale 'de-DE'
INFO - No sort tailoring available for locale 'de-DE'
INFO - Writing 'ubuntu_biber.bbl' with encoding 'UTF-8'
INFO - Output to ubuntu_biber.bbl
```

This might be cause by perl pathes (interpreter of `biber`) changed through environment variables by kile.

As a workaround one can run `biber [name]` in the `kile` console which works fine, but makes it even more weird (different environment for tools and console?).

experienced with 2.1.3/KDE 4.14.30 on Ubuntu 17.04
Comment 1 krichter 2017-06-29 08:48:03 UTC
`biber` is `/home/richter/perl5/bin/biber` outside `biber` according to `which biber`.
Comment 2 Justin Zobel 2022-11-06 09:25:34 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 3 krichter 2022-11-06 10:13:09 UTC
I no longer have a Kile/LaTeX setup at hand to test the issue. It can be closed.
Comment 4 Bug Janitor Service 2022-11-21 05:14:16 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2022-12-06 05:20:58 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!