Skip to content

Instantly share code, notes, and snippets.

@bwann
Created August 29, 2016 21:23
Show Gist options
  • Save bwann/801fa0702c36032c5c3349cbeb172ec8 to your computer and use it in GitHub Desktop.
Save bwann/801fa0702c36032c5c3349cbeb172ec8 to your computer and use it in GitHub Desktop.
<mock-chroot> sh-4.3# cat fedora-release
Fedora release 26 (Rawhide)
<mock-chroot> sh-4.3# make -f Makefile.am install-buildrequires
srcdir="" && \
: ${srcdir:=.} && \
pkglist="$(grep ^BuildRequires: ${srcdir}/anaconda.spec.in | cut -d ' ' -f 2)" && \
if ! [[ $(uname -m) =~ s390x? ]]; then \
pkglist=$(echo "$pkglist" | grep -v s390utils) ; \
fi ; \
extra_pkgs="gettext-devel libtool glibc-langpack-en python3-pocketlint" ; \
dnf install $pkglist $extra_pkgs
Failed to set locale, defaulting to C
Last metadata expiration check: 0:09:38 ago on Mon Aug 29 13:34:04 2016.
Package systemd-231-4.fc26.x86_64 is already installed, skipping.
Package libxml2-2.9.3-4.fc25.x86_64 is already installed, skipping.
Error: package glib2-doc-2.49.5-1.fc26.noarch requires glib2 = 2.49.5-1.fc26, but none of the providers can be installed
(try to add '--allowerasing' to command line to replace conflicting packages)
Makefile.am:129: recipe for target 'install-buildrequires' failed
make: *** [install-buildrequires] Error 1
<mock-chroot> sh-4.3# dnf install audit-libs-devel gettext gtk3-devel gtk-doc gtk3-devel-docs glib2-doc gobject-introspection-devel glade-devel libgnomekbd-devel libxklavier-devel pango-devel python3-kickstart python3-bugzilla python3-devel python3-nose systemd rpm-devel libarchive-devel desktop-file-utils libtimezonemap-devel gdk-pixbuf2-devel libxml2 gsettings-desktop-schemas metacity gettext-devel libtool glibc-langpack-en python3-pocketlint
Failed to set locale, defaulting to C
Last metadata expiration check: 0:12:49 ago on Mon Aug 29 13:34:04 2016.
Package systemd-231-4.fc26.x86_64 is already installed, skipping.
Package libxml2-2.9.3-4.fc25.x86_64 is already installed, skipping.
Error: package glib2-doc-2.49.5-1.fc26.noarch requires glib2 = 2.49.5-1.fc26, but none of the providers can be installed
(try to add '--allowerasing' to command line to replace conflicting packages)
<mock-chroot> sh-4.3# dnf install glib2-doc
Failed to set locale, defaulting to C
Last metadata expiration check: 0:13:11 ago on Mon Aug 29 13:34:04 2016.
Error: package glib2-doc-2.49.5-1.fc26.noarch requires glib2 = 2.49.5-1.fc26, but none of the providers can be installed
(try to add '--allowerasing' to command line to replace conflicting packages)
<mock-chroot> sh-4.3#
Dependencies resolved.
================================================================================================================================================================
Package Arch Version Repository Size
================================================================================================================================================================
Installing:
shared-mime-info x86_64 1.6-3.fc25 rawhide 302 k
Downgrading:
glib2 x86_64 2.49.5-1.fc26 rawhide 2.3 M
Transaction Summary
================================================================================================================================================================
Install 1 Package
Downgrade 1 Package
Total download size: 2.6 M
Is this ok [y/N]: y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment