[Pkg-pascal-devel] Bug#892285: /usr/bin/fpcmake: fpcmake should find units in Debian without fiddling with FPCDIR
Paul Gevers
elbrus at debian.org
Wed Mar 7 20:29:32 UTC 2018
Package: fp-utils-3.0.4
Version: 3.0.4+dfsg-15
Severity: normal
File: /usr/bin/fpcmake
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
fpcmake doesn't work out of the box in Debian (maybe since the multiarch
changes, but I am not sure about that). E.g. in the Lazarus source tree I get this:
paul at testavoira ~/lazarus $ fpcmake -r -v
FPCMake Version 2.0.0 [2017-02-13 rev 35434]
Processing Makefile.fpc
Targets: "x86_64-linux"
Globals:
FPCDIR = ""
PACKAGESDIR = "$(FPCDIR)/packages $(FPCDIR)/packages/base $(FPCDIR)/packages/extra $(FPCDIR)/packages"
UNITSDIR = "$(FPCDIR)/units/$(FULLTARGET)"
BASEDIR = "/home/paul/packages/freepascal/lazarus"
Required packages for linux-x86_64: rtl regexpr
Package "rtl": Looking for Makefile.fpc: " /packages/rtl/Makefile.fpc /packages/base/rtl/Makefile.fpc /packages/extra/rtl/Makefile.fpc /packages/rtl/Makefile.fpc "
Package "rtl": Looking for Package.fpc: " /units/x86_64-linux/rtl/Package.fpc "
Error: Target "linux", package "rtl" not found
Lazarus is defining FPCDIR in its d/rules file to prevent this like:
FPCDIR=/usr/share/fpcsrc/${FPCVER}
Transgui is/was doing it like:
FPCDIR=/usr/lib/fpc/${FPCDIR}
I believe neither should be needed. Also, which one of the two is correct (or
better, if neither is really correct)?
Paul
- -- System Information:
Debian Release: buster/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing'), (200, 'testing'), (50, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.14.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages fp-utils-3.0.4 depends on:
ii fpc-source-3.0.4 3.0.4+dfsg-15
ii libc6 2.26-6
Versions of packages fp-utils-3.0.4 recommends:
ii fp-compiler-3.0.4 3.0.4+dfsg-15
fp-utils-3.0.4 suggests no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEWLZtSHNr6TsFLeZynFyZ6wW9dQoFAlqgS6YACgkQnFyZ6wW9
dQpVjAf/WKH9mpTybtk9CC29DdxupoZ0yvpsA3fnGcbPC9cNLUGm5CqG7EtC2jY1
25mKsm+QzZXMu/gbexZfnqFK4mhEGCWfoXSK47QUsEspu+c3cuao97ySE75iIXJY
OSHtNUB9uHeN0jjbVXAE7fI2IEiTKYBwlSxXvhTC65tYikjcdqgdbFNa1jsYdjA3
Z/tNM2iI7SsSmubLvQiCQq/ZP3fYkAA9vydE+dw1/uIUh3/z7gIzVlpT2nd2uXpb
iidAMmLsMQ0gyZ079u8Yt+X2eNrAb3sre3mGjyRfjYkprqoWrbICHJZ8eN5Tc001
SjAE1D68CBzuvFAtyErMudwg06AWGg==
=4I4S
-----END PGP SIGNATURE-----
More information about the Pkg-pascal-devel
mailing list