Package: fpc-3.2.0 Version: 3.2.0+dfsg-8 Severity: normal X-Debbugs-Cc: serfyo...@yandex.ru
Dear Maintainer, After installing "pascal 3.2.0" for " /usr/bin/x86_64-linux-gnu-fpcmkcfg-3.2.0" the fpcmkcfg symlink is not created, and this name is used in " /usr/lib/x86_64-linux-gnu/fpc/3.2.0/samplecfg " when creating"FPCMKCFGBIN". Adding into the "fp-compiler-3.2.0_3.2.0+dfsg-9_amd64.deb" package lines to "postinst" file --slave /usr/bin/fpcmkcfg fpcmkcfg /usr/bin/x86_64-linux-gnu-fpcmkcfg-3.2.0 into # add alternatives update-alternatives \ --install /usr/bin/fpc fpc /usr/bin/x86_64-linux-gnu-fpc-3.2.0 3020000 \ --slave /usr/bin/ppcx64 ppcx64 ${LIB_DIR}/3.2.0/ppcx64 \ --slave /usr/bin/fpc-depends fpc-depends /usr/bin/fpc-depends-3.2.0 \ --slave /usr/bin/fpcres fpcres /usr/bin/x86_64-linux-gnu-fpcres-3.2.0 \ --slave ${MAN_DIR}/ppcx64.1.gz ppcx64.1.gz ${MAN_DIR}/ppcx64-3.2.0.1.gz \ --slave ${MAN_DIR}/fpc.1.gz fpc.1.gz ${MAN_DIR}/fpc-3.2.0.1.gz \ --slave ${MAN_DIR}/fpc-depends.1.gz fpc-depends.1.gz ${MAN_DIR}/fpc-depends-3.2.0.1.gz \ --slave ${MAN_DIR}/fpcres.1.gz fpcres.1.gz ${MAN_DIR}/fpcres-3.2.0.1.gz and ${LIB_DIR}/3.2.0/samplecfg ${LIB_DIR}/3.2.0 at the end of the "postinst" file solves this problem. Also need to replace some links in "samplecfg" : #FPCBIN=`dirname "$1"`/../../bin/fpc FPCBIN='/usr/bin/fpc' #FPBIN=`dirname "$1"`/../../bin/fp FPBIN='/usr/bin/fp' #FPPKGBIN=`dirname "$1"`/../../bin/fppkg FPPKGBIN='/usr/bin/fppkg' #FPCMKCFGBIN=`dirname "$1"`/../../bin/fpcmkcfg FPCMKCFGBIN='/usr/bin/fpcmkcfg' #SHAREPATH=`dirname "$1"`/../../share/fpc/\$fpcversion SHAREPATH="/usr/share/fpcsrc/\$fpcversion" # set right path to FPC with $fpcversion #FPCPATH=`dirname "$1"`/\$fpcversion FPCPATH=/usr/lib/x86_64-linux-gnu/fpc/\$fpcversion # set right prefix to FPC #FPCGLOBALPATH=`dirname "$1"` FPCGLOBALPATH=/usr/lib/x86_64-linux-gnu/fpc #FPCGLOBALPREFIX="$FPCGLOBALPATH"/../../ FPCGLOBALPREFIX=/usr/ otherwise, after installing "Lazarus 2.1.0", an error occurs when starting it with an unintelligible description for "fppkg" (for "Lazarus" 2.0.10+dfsg-4 "fppkg" is not used). And files should be created in $HOME with this content: .config fppkg.cfg -------------------------------------------------------------------------------- [Defaults] ConfigVersion=5 InstallRepository=user LocalRepository={UserDir}.fppkg/ BuildDir={LocalRepository}build/ ArchivesDir={LocalRepository}archives/ Downloader=FPC CompilerConfig=default FPMakeCompilerConfig=default CompilerConfigDir=/etc/fppkg RemoteMirrors=https://www.freepascal.org/repository/mirrors.xml RemoteRepository=auto [Repository] Name=fpc Description=Packages which are installed along with the Free Pascal Compiler Path=/usr/lib/x86_64-linux-gnu/fpc/{CompilerVersion}/ Prefix=/usr/ #[IncludeFiles] #FileMask=/etc/fppkgconf.d/*.conf [Repository] Name=user Description=User-installed packages Path={LocalRepository}lib/fpc/{CompilerVersion} Prefix={LocalRepository} -------------------------------------------------------------------------------- .fppkg config default -------------------------------------------------------------------------------- [Defaults] ConfigVersion=5 GlobalPrefix=/usr/ LocalPrefix={LocalRepository} GlobalInstallDir={GlobalPrefix}lib/x86_64-linux-gnu/fpc/{CompilerVersion}/ LocalInstallDir={LocalPrefix}lib/fpc/{CompilerVersion}/ Compiler=/usr/bin/fpc OS=linux CPU=x86_64 Version=3.2.0 -------------------------------------------------------------------------------- or not created at all. -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.9.0-2-amd64 (SMP w/8 CPU threads) Locale: LANG=ru_RU.utf8, LC_CTYPE=ru_RU.utf8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages fpc-3.2.0 depends on: ii fp-compiler-3.2.0 3.2.0+dfsg-8 ii fp-ide-3.2.0 3.2.0+dfsg-8 ii fp-units-base-3.2.0 3.2.0+dfsg-8 ii fp-units-db-3.2.0 3.2.0+dfsg-8 ii fp-units-fcl-3.2.0 3.2.0+dfsg-8 ii fp-units-fv-3.2.0 3.2.0+dfsg-8 ii fp-units-gfx-3.2.0 3.2.0+dfsg-8 ii fp-units-gtk2-3.2.0 3.2.0+dfsg-8 ii fp-units-math-3.2.0 3.2.0+dfsg-8 ii fp-units-misc-3.2.0 3.2.0+dfsg-8 ii fp-units-multimedia-3.2.0 3.2.0+dfsg-8 ii fp-units-net-3.2.0 3.2.0+dfsg-8 ii fp-units-rtl-3.2.0 3.2.0+dfsg-8 Versions of packages fpc-3.2.0 recommends: ii fp-utils-3.2.0 3.2.0+dfsg-8 Versions of packages fpc-3.2.0 suggests: ii fp-docs-3.2.0 3.2.0+dfsg-8 pn lazarus <none> -- no debconf information