Bug#1899: binary rpms and processes.pl

Sebastian Brandt brandt at I5.Informatik.RWTH-Aachen.de
Wed Sep 8 10:02:06 UTC 1999


Package: kdevelop
Version: 1.0beta2
Severity: grave

Bugreport ID : 10:56,08.09.99

Originator: Sebastian Brandt
E-Mail: brandt at I5.Informatik.RWTH-Aachen.de

Subject : binary rpms and processes.pl

Error Class: software bug
Error Location: installation process
Priority: high
Bug Description ---------------------------

"cannot open file: AUTHORS at
/opt/kde/share/apps/kdevelop/tools/processes.pl line 143.
Cannot find .//index.SGML"
Error messages when creating a new project, "Normal KDE".

Reason:
When creating a binary rpm of kdevelop, the .spec I have uses
a temporary installation directory. The files in it are then
packed into the binary distribution, which is installed
in /opt/kde.
During the compile process, the template path is hardcoded
from the installation path
into kdevelop/tools/processes.pl; therefore the templates
cannot be found during project generation

How to repeat the error -------------------

Use rpm with extra build root and install binary package;
then create a new project "KDE normal"

Bugfix or Workaround ----------------------

* Patch processes.pl after installation. This contradicts the rpm
goal of simple installation and is unusable for binary distribution.
* Use the KDEDIR variable in processes.pl instead

System Information ------------------------

KDevelop version: 1.0beta2
KDE version: 1.1.1
QT version: 1.44
OS/Distribution: Linux 2.2.9/SuSE 6.0
Compiler: egcs-2.91.66





More information about the KDevelop-devel mailing list