Description
For the context of trying to build gccrs on Fedora Silverblue, I know others might recommend toolbox usage, but I'm a big fan of installing stuff like this directly in the base layer without toolbox. I figured out what to install as a replacement for build-essential with the following commands via "toolbox enter":
toolbox enter
dnf group info "C Development Tools and Libraries"
dnf group info "Development Tools"
This following command is intended for the README to help fetch dependencies for Fedora Silverblue:
sudo rpm-ostree install gmp-devel mpfr-devel libmpc-devel flex bison autogen dejagnu autoconf automake binutils bison flex gcc gcc-c++ gdb glibc-devel libtool make pkgconf strace byacc ccache cscope ctags elfutils indent ltrace perf valgrind gettext diffstat doxygen git patch patchutils subversion systemtap cmake
You might encounter install errors such as "already provided" or "already requested". It means there was a package already installed or the package was already requested to be installed by another package you've listed in the install command. The solution is to simply remove it from the list of packages to install. The following is what happened to me and what I needed to resolve it.
$ sudo rpm-ostree install gmp-devel mpfr-devel libmpc-devel flex bison autogen dejagnu autoconf automake binutils bison flex gcc gcc-c++ gdb glibc-devel libtool make pkgconf strace byacc ccache cscope ctags elfutils indent ltrace perf valgrind gettext diffstat doxygen git patch patchutils subversion systemtap cmake
error: "pkgconf" is already provided by: pkgconf-1.8.0-2.fc36.x86_64. Use --allow-inactive to explicitly require it.
$ sudo rpm-ostree install gmp-devel mpfr-devel libmpc-devel flex bison autogen dejagnu autoconf automake binutils bison flex gcc gcc-c++ gdb glibc-devel libtool make strace byacc ccache cscope ctags elfutils indent ltrace perf valgrind gettext diffstat doxygen git patch patchutils subversion systemtap cmake
error: "gettext" is already provided by: gettext-0.21-9.fc36.x86_64. Use --allow-inactive to explicitly require it.
$ sudo rpm-ostree install gmp-devel mpfr-devel libmpc-devel flex bison autogen dejagnu autoconf automake binutils bison flex gcc gcc-c++ gdb glibc-devel libtool make strace byacc ccache cscope ctags elfutils indent ltrace perf valgrind diffstat doxygen git patch patchutils subversion systemtap cmake
error: Package/capability 'autoconf' is already requested
$ sudo rpm-ostree install gmp-devel mpfr-devel libmpc-devel flex bison autogen dejagnu automake binutils bison flex gcc gcc-c++ gdb glibc-devel libtool make strace byacc ccache cscope ctags elfutils indent ltrace perf valgrind diffstat doxygen git patch patchutils subversion systemtap cmake
$ sudo rpm-ostree install gmp-devel mpfr-devel libmpc-devel flex bison autogen dejagnu binutils bison flex gcc gcc-c++ gdb glibc-devel libtool make strace byacc ccache cscope ctags elfutils indent ltrace perf valgrind diffstat doxygen git patch patchutils subversion systemtap cmake
error: Package/capability 'gcc' is already requested
$ sudo rpm-ostree install gmp-devel mpfr-devel libmpc-devel flex bison autogen dejagnu binutils bison flex gcc-c++ gdb glibc-devel libtool make strace byacc ccache cscope ctags elfutils indent ltrace perf valgrind diffstat doxygen git patch patchutils subversion systemtap cmake
error: Package/capability 'gcc-c++' is already requested
$ sudo rpm-ostree install gmp-devel mpfr-devel libmpc-devel flex bison autogen dejagnu binutils bison flex gdb glibc-devel libtool make strace byacc ccache cscope ctags elfutils indent ltrace perf valgrind diffstat doxygen git patch patchutils subversion systemtap cmake
error: Package/capability 'cmake' is already requested
$ sudo rpm-ostree install gmp-devel mpfr-devel libmpc-devel flex bison autogen dejagnu binutils bison flex gdb glibc-devel libtool make strace byacc ccache cscope ctags elfutils indent ltrace perf valgrind diffstat doxygen git patch patchutils subversion systemtap
Checking out tree 53f0aad... done
Enabled rpm-md repositories: fedora-modular updates-modular updates fedora fedora-cisco-openh264 phracek-PyCharm google-chrome updates-archive
Updating metadata for 'fedora-modular'... done
Updating metadata for 'updates-modular'... done
Updating metadata for 'updates'... done
Updating metadata for 'fedora'... done
Updating metadata for 'fedora-cisco-openh264'... done
Updating metadata for 'phracek-PyCharm'... done
Updating metadata for 'google-chrome'... done
Updating metadata for 'updates-archive'... done
Importing rpm-md... done
rpm-md repo 'fedora-modular'; generated: 2022-05-04T21:12:01Z solvables: 825
rpm-md repo 'updates-modular'; generated: 2022-08-30T09:36:47Z solvables: 1419
rpm-md repo 'updates'; generated: 2022-09-02T09:43:17Z solvables: 23215
rpm-md repo 'fedora'; generated: 2022-05-04T21:16:11Z solvables: 67992
rpm-md repo 'fedora-cisco-openh264'; generated: 2022-08-26T07:01:49Z solvables: 4
rpm-md repo 'phracek-PyCharm'; generated: 2022-08-24T04:55:21Z solvables: 5
rpm-md repo 'google-chrome'; generated: 2022-09-01T21:38:56Z solvables: 3
rpm-md repo 'updates-archive'; generated: 2022-09-02T10:17:54Z solvables: 34486
Resolving dependencies... done
Will download: 65 packages (89.1 MB)
Downloading from 'fedora'... done
Downloading from 'updates'... done
Importing packages... done
Checking out packages... done
Running pre scripts... done
Running post scripts... done
Running posttrans scripts... done
Writing rpmdb... done
Writing OSTree commit... done
Staging deployment... done
Freed: 332.6 MB (pkgcache branches: 3)
Removed:
gdb-minimal-12.1-1.fc36.x86_64
Added:
autogen-5.18.16-10.fc36.x86_64
autogen-libopts-5.18.16-10.fc36.x86_64
bison-3.8.2-2.fc36.x86_64
boost-filesystem-1.76.0-12.fc36.x86_64
boost-regex-1.76.0-12.fc36.x86_64
byacc-2.0.20210808-3.fc36.x86_64
clang13-libs-13.0.1-1.fc36.x86_64
clang13-resource-filesystem-13.0.1-1.fc36.x86_64
cscope-15.9-15.fc36.x86_64
ctags-5.9-3.20220206.0.fc36.x86_64
dejagnu-1:1.6.3-4.fc36.noarch
deltarpm-3.6.2-11.fc36.x86_64
diffstat-1.64-6.fc36.x86_64
dnf-data-4.13.0-1.fc36.noarch
dnf-plugins-core-4.2.1-1.fc36.noarch
doxygen-2:1.9.1-13.fc36.x86_64
dyninst-12.0.1-3.fc36.x86_64
expect-5.45.4-15.fc36.x86_64
flex-2.6.4-10.fc36.x86_64
gcc-gdb-plugin-12.2.1-1.fc36.x86_64
gdb-12.1-1.fc36.x86_64
gdb-headless-12.1-1.fc36.x86_64
git-2.37.2-1.fc36.x86_64
git-core-doc-2.37.2-1.fc36.noarch
gmp-c++-1:6.2.1-2.fc36.x86_64
gmp-devel-1:6.2.1-2.fc36.x86_64
indent-2.2.12-9.fc36.x86_64
libbabeltrace-1.5.8-9.fc36.x86_64
libcomps-0.1.18-2.fc36.x86_64
libipt-2.0.5-1.fc36.x86_64
libmpc-devel-1.2.1-4.fc36.x86_64
libserf-1.3.9-23.fc36.x86_64
libtraceevent-1.5.3-2.fc36.x86_64
llvm13-libs-13.0.1-1.fc36.x86_64
ltrace-0.7.91-42.fc35.x86_64
mpfr-devel-4.1.0-9.fc36.x86_64
numactl-libs-2.0.14-5.fc36.x86_64
patchutils-0.4.2-7.fc36.x86_64
perf-5.19.4-200.fc36.x86_64
perl-Error-1:0.17029-8.fc36.noarch
perl-Git-2.37.2-1.fc36.noarch
perl-TermReadKey-2.38-12.fc36.x86_64
perl-lib-0.65-486.fc36.x86_64
python3-dateutil-1:2.8.1-8.fc36.noarch
python3-dnf-4.13.0-1.fc36.noarch
python3-dnf-plugins-core-4.2.1-1.fc36.noarch
python3-gpg-1.15.1-6.fc36.x86_64
python3-hawkey-0.68.0-1.fc36.x86_64
python3-libcomps-0.1.18-2.fc36.x86_64
python3-libdnf-0.68.0-1.fc36.x86_64
python3-unbound-1.16.2-3.fc36.x86_64
rpm-plugin-systemd-inhibit-4.17.1-3.fc36.x86_64
source-highlight-3.1.9-12.fc36.1.x86_64
strace-5.16-1.fc36.x86_64
subversion-1.14.2-5.fc36.x86_64
subversion-libs-1.14.2-5.fc36.x86_64
systemtap-4.7-1.fc36.x86_64
systemtap-client-4.7-1.fc36.x86_64
systemtap-devel-4.7-1.fc36.x86_64
systemtap-runtime-4.7-1.fc36.x86_64
unbound-anchor-1.16.2-3.fc36.x86_64
unbound-libs-1.16.2-3.fc36.x86_64
utf8proc-2.7.0-2.fc36.x86_64
valgrind-1:3.19.0-3.fc36.x86_64
xapian-core-libs-1.4.20-1.fc36.x86_64
Changes queued for next boot. Run "systemctl reboot" to start a reboot
I do hope others find this useful.
Metadata
Metadata
Assignees
Type
Projects
Status