On Fri, Jan 19, 2024 at 10:09 AM Andrei Borzenkov <arvidjaar@gmail.com> wrote:
On Fri, Jan 19, 2024 at 12:00 PM Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
On Thu, Jan 18, 2024 at 6:26 PM Rainer Klier <r.klier@namirial.com>
hi,
Am 18.01.24 um 16:46 schrieb Roger Oberholtzer:
error: Failed dependencies: mono(System.Collections) = 6.0.0.0 is needed by
mono(System.ComponentModel.Primitives) = 6.0.0.0 is needed by
mono(System.Console) = 6.0.0.0 is needed by
mono(System.Diagnostics.Process) = 6.0.0.0 is needed by
mono(System.Linq) = 6.0.0.0 is needed by
mono(System.Runtime) = 6.0.0.0 is needed by
mono(System.Text.RegularExpressions) = 6.0.0.0 is needed by
mono(System.Threading) = 6.0.0.0 is needed by
mono(System.Threading.Thread) = 6.0.0.0 is needed by
mono(System.Xml.ReaderWriter) = 6.0.0.0 is needed by
mono(System.Xml.XmlSerializer) = 6.0.0.0 is needed by
could it be, that the used software really has an explicite dependency
on mono/.net 6.0?
there has to be some file in the ditribution of the used software,
where thedependency is configured.
if you find that, maybe you can change it to also accept 6.12.0
I will check that. The package is provided as a .deb. I use alien to make an .rpm, which is what I am installing. If I just have alien create
wrote: navsolve-cmd-1.2.1-2.x86_64 navsolve-cmd-1.2.1-2.x86_64 navsolve-cmd-1.2.1-2.x86_64 navsolve-cmd-1.2.1-2.x86_64 navsolve-cmd-1.2.1-2.x86_64 navsolve-cmd-1.2.1-2.x86_64 navsolve-cmd-1.2.1-2.x86_64 navsolve-cmd-1.2.1-2.x86_64 navsolve-cmd-1.2.1-2.x86_64 navsolve-cmd-1.2.1-2.x86_64 navsolve-cmd-1.2.1-2.x86_64 the directory that it will use to make the .rpm, I see that the .spec files is:
Buildroot:
/home/roger/source.18.00/Tools_OxTS/NAVsolve_CMD/navsolve-cmd-1.2.1
Name: navsolve-cmd Version: 1.2.1 Release: 2 Summary: NAVsolve Command Line Utility License: see /usr/share/doc/navsolve-cmd/copyright Distribution: Debian Group: Converted/base
%define _rpmdir ../ %define _rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm %define _unpackaged_files_terminate_build 0
%description Used to convert RT and xNAV raw data files into NCOM and CSV files.
(Converted from a deb package by alien version 8.95.6.)
%files "/usr/local/bin/NcomToCsv.exe" "/usr/local/bin/navsolve-cmd" %dir "/usr/local/share/navsolve-cmd_1.2.1_amd64/" "/usr/local/share/navsolve-cmd_1.2.1_amd64/NAVsolveNetCore" "/usr/local/share/navsolve-cmd_1.2.1_amd64/NAVsolveNetCore.deps.json" "/usr/local/share/navsolve-cmd_1.2.1_amd64/NAVsolveNetCore.dll" "/usr/local/share/navsolve-cmd_1.2.1_amd64/NAVsolveNetCore.pdb"
"/usr/local/share/navsolve-cmd_1.2.1_amd64/NAVsolveNetCore.runtimeconfig.json"
"/usr/local/share/navsolve-cmd_1.2.1_amd64/OxTS.NetCore.Utilities.dll" "/usr/local/share/navsolve-cmd_1.2.1_amd64/OxTS.NetCore.Utilities.pdb" %dir "/usr/local/share/navsolve-cmd_1.2.1_amd64/ref/" "/usr/local/share/navsolve-cmd_1.2.1_amd64/ref/NAVsolveNetCore.dll" %dir "/usr/share/doc/navsolve-cmd_1.2.1_amd64/" %dir "/usr/share/doc/navsolve-cmd_1.2.1_amd64/copyright/" "/usr/share/doc/navsolve-cmd_1.2.1_amd64/copyright/LICENSE.txt"
I don't see where the .spec file specifies a dependency for this. Is the rpm program looking inside the .rpm and coming up with dependencies?
Yes, rpmbuild calls plugins to generate a list of dependencies. For Mono there is such plugin (I do not know how you create your RPM so I do not know if it is actually used):
It is built by alien. When I build it myself, it reports: Processing files: navsolve-cmd-1.2.1-2.x86_64 Provides: mingw32(navsolvenetcore.dll) mingw32(oxts.netcore.utilities.dll) mono(NAVsolveNetCore) = 23.5.12.0 mono(OxTS.NetCore.Utilities) = 23.5.12.0 navsolve-cmd = 1.2.1-2 navsolve-cmd(x86-64) = 1.2.1-2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash libc.so.6 libc.so.6()(64bit) libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIB C_2.34)(64bit) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6 libm.so.6()(64bit) libm.so.6(GLIBC_2.0) libm.so.6(GLIBC_2.1) libst dc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIB CXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) mono(OxTS.NetCore.Utilities) = 23.5.12.0 mono(System.Collections) = 6.0.0.0 mono(System.ComponentModel.Primitives) = 6.0.0.0 mono(System.Console) = 6.0.0.0 mono(Syst em.Diagnostics.Process) = 6.0.0.0 mono(System.Linq) = 6.0.0.0 mono(System.Runtime) = 6.0.0.0 mono(System.Text.RegularExpressions) = 6.0.0.0 mono(System.Threading) = 6.0.0.0 mono(System.Threading.Thread) = 6.0.0.0 mono(Sys tem.Xml.ReaderWriter) = 6.0.0.0 mono(System.Xml.XmlSerializer) = 6.0.0.0 rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/roger/rpmbuild/BUILDROOT/navsolve-cmd-1.2.1-2.x86_64 warning: Installed (but unpackaged) file(s) found: /navsolve-cmd-1.2.1-2.spec Wrote: /home/roger/rpmbuild/SRPMS/navsolve-cmd-1.2.1-2.src.rpm Wrote: ../navsolve-cmd-1.2.1-2.x86_64.rpm Executing(%clean): /usr/bin/bash -e /var/tmp/rpm-tmp.wonSFD + umask 022 + cd /home/roger/rpmbuild/BUILD + /usr/bin/rm -rf /home/roger/rpmbuild/BUILDROOT/navsolve-cmd-1.2.1-2.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Executing(rmbuild): /usr/bin/bash -e /var/tmp/rpm-tmp.hyZeHO shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory + umask 022 + cd /home/roger/rpmbuild/BUILD chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: Installed (but unpackaged) file(s) found: /navsolve-cmd-1.2.1-2.spec So rpmbuild is adding these. I winder why it sets the require mono to 6.0.0.0. -- Roger Oberholtzer