Package: fp-utils-2.6.0
Version: 2.6.0
Severity: important


Steps to reproduce:

cp -r /usr/share/doc/fp-compiler/2.6.0/graph /tmp
cd /tmp/graph
fpcmake -v -w

results in

FPCMake Version 2.0.0 [2012/01/13]
Processing Makefile.fpc
 Targets: "i386-linux"
 Globals:
    FPCDIR = "/etc/alternatives"
PACKAGESDIR = "$(FPCDIR)/packages $(FPCDIR)/packages/base $(FPCDIR)/packages/extra $(FPCDIR)/packages"
    UNITSDIR = "$(FPCDIR)/units/$(FULLTARGET)"
    BASEDIR = "/tmp/graph"
 Required packages for linux-i386: rtl
Package "rtl": Looking for Makefile.fpc: "/etc/alternatives/rtl/Makefile.fpc /etc/alternatives/packages/rtl/Makefile.fpc /etc/alternatives/packages/base/rtl/Makefile.fpc /etc/alternatives/packages/extra/rtl/Makefile.fpc /etc/alternatives/packages/rtl/Makefile.fpc " Package "rtl": Looking for Package.fpc: "/etc/alternatives/rtl/Package.fpc /etc/alternatives/units/i386-linux/rtl/Package.fpc "
Error: Target "linux", package "rtl" not found


Obviously, the FPCDIR path is totally wrong, resulting in a useless search path for the rtl units.
Setting it explicitely by

export FPCDIR=/usr/lib/fpc

has no effect. I found no configuration file responsible for this, so I assume it is part of the binary file.

Please check if there is something like a reference to the path of args[0] hard-coded in the sources or build script.

With kind regards, Lutz Lehmann

--- System information. ---
Architecture: i386
Kernel: Linux 3.2.0-1-amd64

Debian Release: wheezy/sid
700 testing ftp.de.debian.org
600 stable security.debian.org
600 stable ftp.uni-kl.de
600 stable ftp.de.debian.org
200 unstable ftp.spline.de

--- Package information. ---
Package: fp-utils-2.6.0
State: installed
Automatically installed: yes
Version: 2.6.0-1
Priority: optional
Section: devel
Maintainer: Carlos Laviola <clavi...@debian.org>
Uncompressed Size: 12.4 M
Recommends: fp-compiler-2.6.0 (= 2.6.0-1)
Breaks: fp-compiler (<= 2.4.0-3), fp-units-gfx (<= 2.4.2-2), fp-units-gfx-2.4.2 (<= 2.4.2-2), fp-utils (<= 2.4.0-3)
Replaces: fp-compiler (<= 2.4.0-3), fp-utils (<= 2.4.0-3)
Provides: fp-utils





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to