Skip to content

Instantly share code, notes, and snippets.

@JeffLabonte
Created April 29, 2021 03:27
Show Gist options
  • Save JeffLabonte/844f0d82ae48d7412d7755b5e736ecfc to your computer and use it in GitHub Desktop.
Save JeffLabonte/844f0d82ae48d7412d7755b5e736ecfc to your computer and use it in GitHub Desktop.
OSC Build System76-acpi-dkms
Building system76-acpi-dkms.spec for openSUSE_Tumbleweed/x86_64
Getting buildconfig from server and store to /home/jflabonte/Development/home:jefflabonte/system76-acpi-dkms/.osc/_buildconfig-openSUSE_Tumbleweed-x86_64
Getting buildinfo from server and store to /home/jflabonte/Development/home:jefflabonte/system76-acpi-dkms/.osc/_buildinfo-openSUSE_Tumbleweed-x86_64.xml
Updating cache of required packages
0.0% cache miss. 157/157 dependencies cached.
Verifying integrity of cached packages
using keys from openSUSE:Tumbleweed
Writing build configuration
Running build
logging output to /var/tmp/build-root/openSUSE_Tumbleweed-x86_64/.build.log...
[ 0s] Memory limit set to 21657666KB
[ 0s] Using BUILD_ROOT=/var/tmp/build-root/openSUSE_Tumbleweed-x86_64
[ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386
[ 0s]
[ 0s]
[ 0s] localhost.localdomain started "build system76-acpi-dkms.spec" at Thu Apr 29 03:26:26 UTC 2021.
[ 0s]
[ 0s]
[ 0s] processing recipe /home/jflabonte/Development/home:jefflabonte/system76-acpi-dkms/system76-acpi-dkms.spec ...
[ 0s] running changelog2spec --target rpm --file /home/jflabonte/Development/home:jefflabonte/system76-acpi-dkms/system76-acpi-dkms.spec
[ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /var/cache/build --rpmlist /tmp/rpmlist.50fw14j8 /home/jflabonte/Development/home:jefflabonte/system76-acpi-dkms/system76-acpi-dkms.spec ...
[ 1s] reordering...cycle: libncurses6 -> terminfo-base
[ 1s] breaking dependency terminfo-base -> libncurses6
[ 1s] cycle: binutils -> libctf0
[ 1s] breaking dependency binutils -> libctf0
[ 1s] cycle: rpm -> rpm-config-SUSE
[ 1s] breaking dependency rpm -> rpm-config-SUSE
[ 1s] cycle: libpython3_8-1_0 -> python38-base
[ 1s] breaking dependency python38-base -> libpython3_8-1_0
[ 1s] cycle: pam_unix -> pam
[ 1s] breaking dependency pam -> pam_unix
[ 1s] done
[ 1s] querying package ids...
[ 2s] [1/157] keeping file-magic-5.39-2.1
[ 2s] [2/157] keeping kernel-obs-build-5.11.16-1.1
[ 2s] [3/157] keeping libsemanage-conf-3.2-1.3
[ 2s] [4/157] keeping libssh-config-0.9.5-1.3
[ 2s] [5/157] keeping pkgconf-m4-1.7.3-3.1
[ 2s] [6/157] keeping python-rpm-macros-20210204.937b8d8-1.6
[ 2s] [7/157] keeping system-user-root-20190513-1.24
[ 2s] [8/157] keeping vim-data-common-8.2.2725-1.2
[ 2s] [9/157] keeping filesystem-15.5-39.1
[ 2s] [10/157] keeping glibc-2.33-5.2
[ 2s] [11/157] keeping fillup-1.42-276.4
[ 2s] [12/157] keeping libacl1-2.2.53-5.5
[ 2s] [13/157] keeping libatomic1-11.0.0+git183291-1.5
[ 2s] [14/157] keeping libattr1-2.5.1-1.1
[ 2s] [15/157] keeping libaudit1-2.8.5-5.3
[ 2s] [16/157] keeping libblkid1-2.36.2-1.5
[ 2s] [17/157] keeping libbrotlicommon1-1.0.9-1.3
[ 2s] [18/157] keeping libbz2-1-1.0.8-2.22
[ 2s] [19/157] keeping libcap-ng0-0.7.10-1.18
[ 2s] [20/157] keeping libcap2-2.49-2.1
[ 2s] [21/157] keeping libcom_err2-1.46.2-1.1
[ 2s] [22/157] keeping libcrypt1-4.4.19-1.1
[ 2s] [23/157] keeping libeconf0-0.4.0+git20210413.fdb8025-1.1
[ 2s] [24/157] keeping libexpat1-2.3.0-1.1
[ 2s] [25/157] keeping libffi8-3.3.git30-1.15
[ 2s] [26/157] keeping libgcc_s1-11.0.0+git183291-1.5
[ 2s] [27/157] keeping libgdbm6-1.19-1.3
[ 2s] [28/157] keeping libgmp10-6.2.1-3.1
[ 2s] [29/157] keeping libgomp1-11.0.0+git183291-1.5
[ 2s] [30/157] keeping libgpg-error0-1.42-1.1
[ 2s] [31/157] keeping libitm1-11.0.0+git183291-1.5
[ 2s] [32/157] keeping libkeyutils1-1.6.3-1.3
[ 2s] [33/157] keeping liblua5_4-5-5.4.3-1.1
[ 2s] [34/157] keeping liblzma5-5.2.5-1.18
[ 2s] [35/157] keeping libmnl0-1.0.4-2.5
[ 2s] [36/157] keeping libnghttp2-14-1.43.0-1.3
[ 2s] [37/157] keeping libopenssl1_1-1.1.1k-2.1
[ 2s] [38/157] keeping libpcre1-8.44-3.2
[ 2s] [39/157] keeping libpcre2-8-0-10.36-2.1
[ 2s] [40/157] keeping libpkgconf3-1.7.3-3.1
[ 2s] [41/157] keeping libpopt0-1.18-2.4
[ 2s] [42/157] keeping libsasl2-3-2.1.27-5.3
[ 2s] [43/157] keeping libsepol2-3.2-1.1
[ 2s] [44/157] keeping libsmartcols1-2.36.2-1.5
[ 2s] [45/157] keeping libtextstyle0-0.21-2.4
[ 2s] [46/157] keeping libunistring2-0.9.10-2.10
[ 2s] [47/157] keeping libuuid1-2.36.2-1.5
[ 2s] [48/157] keeping libverto1-0.3.1-1.5
[ 2s] [49/157] keeping libz1-1.2.11-18.3
[ 2s] [50/157] keeping libzstd1-1.4.9-1.2
[ 2s] [51/157] keeping patch-2.7.6-3.31
[ 2s] [52/157] keeping rzsz-0.12.21~rc-4.3
[ 2s] [53/157] keeping update-alternatives-1.19.0.5-7.3
[ 2s] [54/157] keeping attr-2.5.1-1.1
[ 2s] [55/157] keeping libbrotlidec1-1.0.9-1.3
[ 2s] [56/157] keeping libctf-nobfd0-2.36-3.1
[ 2s] [57/157] keeping libelf1-0.183-2.1
[ 2s] [58/157] keeping libgcrypt20-1.9.3-1.1
[ 2s] [59/157] keeping libgdbm_compat4-1.19-1.3
[ 2s] [60/157] keeping libglib-2_0-0-2.68.1-1.1
[ 2s] [61/157] keeping libidn2-0-2.3.0-3.4
[ 2s] [62/157] keeping libisl23-0.23-2.3
[ 2s] [63/157] keeping libmpfr6-4.1.0-2.2
[ 2s] [64/157] keeping libselinux1-3.2-1.2
[ 2s] [65/157] keeping libstdc++6-11.0.0+git183291-1.5
[ 2s] [66/157] keeping perl-base-5.32.1-1.1
[ 2s] [67/157] keeping pkgconf-1.7.3-3.1
[ 2s] [68/157] keeping chkstat-1550_20210125-27.3
[ 2s] [69/157] keeping libfdisk1-2.36.2-1.5
[ 2s] [70/157] keeping libldap-2_4-2-2.4.58-66.2
[ 2s] [71/157] keeping libxml2-2-2.9.10-9.2
[ 2s] [72/157] keeping libmagic1-5.39-2.1
[ 2s] [73/157] keeping build-mkbaselibs-20210120-1.4
[ 2s] [74/157] keeping rpm-build-perl-4.16.1.3-1.2
[ 2s] [75/157] keeping dwz-0.14-1.1
[ 2s] [76/157] keeping file-5.39-2.1
[ 2s] [77/157] keeping findutils-4.8.0-2.1
[ 2s] [78/157] keeping libgmodule-2_0-0-2.68.1-1.1
[ 2s] [79/157] keeping libasan6-11.0.0+git183291-1.5
[ 2s] [80/157] keeping libdb-4_8-4.8.30-38.25
[ 2s] [81/157] keeping liblsan0-11.0.0+git183291-1.5
[ 2s] [82/157] keeping libmount1-2.36.2-1.5
[ 2s] [83/157] keeping libmpc3-1.2.1-1.3
[ 2s] [84/157] keeping libpsl5-0.21.1-1.4
[ 2s] [85/157] keeping libtsan0-11.0.0+git183291-1.5
[ 2s] [86/157] keeping libubsan1-11.0.0+git183291-1.5
[ 2s] [87/157] keeping tar-1.34-1.4
[ 2s] [88/157] keeping libdw1-0.183-2.1
[ 2s] [89/157] keeping krb5-1.19.1-2.2
[ 2s] [90/157] keeping libsemanage2-3.2-1.3
[ 2s] [91/157] keeping libssh4-0.9.5-1.3
[ 2s] [92/157] keeping babeltrace-1.5.8-2.5
[ 2s] [93/157] keeping cpp10-10.3.0+git1587-1.2
[ 2s] [94/157] keeping perl-5.32.1-1.1
[ 2s] [95/157] keeping brp-check-suse-84.87+git20210420.a4765d7-1.1
[ 2s] [96/157] keeping libcurl4-7.76.1-1.1
[ 2s] [97/157] keeping libdebuginfod1-0.183-2.1
[ 2s] [98/157] keeping terminfo-base-6.2.20210327-17.1
[ 2s] [99/157] keeping libncurses6-6.2.20210327-17.1
[ 2s] [100/157] keeping libreadline8-8.1-1.3
[ 2s] [101/157] keeping ncurses-utils-6.2.20210327-17.1
[ 2s] [102/157] keeping bash-5.1.4-1.4
[ 2s] [103/157] keeping login_defs-4.8.1-6.2
[ 2s] [104/157] keeping sysuser-shadow-3.0-10.2
[ 2s] [105/157] keeping cpio-2.13-2.3
[ 2s] [106/157] keeping cpp-10-3.3
[ 2s] [107/157] keeping diffutils-3.7-4.4
[ 2s] [108/157] keeping gzip-1.10-8.1
[ 2s] [109/157] keeping hostname-3.23-2.4
[ 2s] [110/157] keeping make-4.3-2.22
[ 2s] [111/157] keeping which-2.21-4.33
[ 2s] [112/157] keeping bzip2-1.0.8-2.22
[ 2s] [113/157] keeping gawk-5.1.0-2.5
[ 2s] [114/157] keeping grep-3.6-2.4
[ 2s] [115/157] keeping pkgconf-pkg-config-1.7.3-3.1
[ 2s] [116/157] keeping strace-5.11-1.3
[ 2s] [117/157] keeping xz-5.2.5-1.18
[ 2s] [118/157] keeping less-581-1.1
[ 2s] [119/157] keeping sed-4.8-3.5
[ 2s] [120/157] keeping gettext-runtime-0.21-2.4
[ 2s] [121/157] keeping iproute2-5.11-1.3
[ 2s] [122/157] keeping coreutils-8.32-7.4
[ 2s] [123/157] keeping binutils-2.36-3.1
[ 2s] [124/157] keeping vim-8.2.2725-1.2
[ 2s] [125/157] keeping python38-base-3.8.8-2.1
[ 2s] [126/157] keeping systemd-rpm-macros-11-1.1
[ 2s] [127/157] keeping libpython3_8-1_0-3.8.8-2.1
[ 2s] [128/157] keeping libxcrypt-devel-4.4.19-1.1
[ 2s] [129/157] keeping linux-glibc-devel-5.11-1.2
[ 2s] [130/157] keeping rpm-build-python-4.16.1.3-1.2
[ 2s] [131/157] keeping system-group-hardware-20170617-21.2
[ 2s] [132/157] keeping glibc-locale-base-2.33-5.2
[ 2s] [133/157] keeping libctf0-2.36-3.1
[ 2s] [134/157] keeping permissions-config-1550_20210125-27.3
[ 2s] [135/157] keeping gettext-tools-0.21-2.4
[ 2s] [136/157] keeping aaa_base-84.87+git20210317.2c04190-1.1
[ 2s] [137/157] keeping rpm-4.16.1.3-1.2
[ 2s] [138/157] keeping aaa_base-malloccheck-84.87+git20210317.2c04190-1.1
[ 2s] [139/157] keeping glibc-locale-2.33-5.2
[ 2s] [140/157] keeping permissions-20210125.1550-27.3
[ 2s] [141/157] keeping rpm-config-SUSE-0.g76-1.1
[ 2s] [142/157] keeping glibc-devel-2.33-5.2
[ 2s] [143/157] keeping librpmbuild9-4.16.1.3-1.2
[ 2s] [144/157] keeping build-compare-20200727T175347.d95eb35-1.6
[ 2s] [145/157] keeping gdb-10.1-4.1
[ 2s] [146/157] keeping libutempter0-1.2.0-3.3
[ 2s] [147/157] keeping post-build-checks-84.87+git20210304.df696a0-1.1
[ 2s] [148/157] keeping pam-1.5.1-4.2
[ 2s] [149/157] keeping rpmlint-mini-1.10-23.5
[ 2s] [150/157] keeping gcc10-10.3.0+git1587-1.2
[ 2s] [151/157] keeping rpmlint-Factory-1.0-99.1
[ 2s] [152/157] keeping gcc-10-3.3
[ 2s] [153/157] keeping pam_unix-1.5.1-4.2
[ 2s] [154/157] keeping shadow-4.8.1-6.2
[ 2s] [155/157] keeping util-linux-2.36.2-1.5
[ 2s] [156/157] keeping gcc-PIE-10-3.3
[ 2s] [157/157] keeping rpm-build-4.16.1.3-1.2
[ 2s] now finalizing build dir...
[ 2s] ... running 01-add_abuild_user_to_trusted_group
[ 2s] ... running 02-set_timezone_to_utc
[ 2s] ... running 11-hack_uname_version_to_kernel_version
[ 2s] -----------------------------------------------------------------
[ 2s] ----- building system76-acpi-dkms.spec (user abuild)
[ 2s] -----------------------------------------------------------------
[ 2s] -----------------------------------------------------------------
[ 2s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' /home/abuild/rpmbuild/SOURCES/system76-acpi-dkms.spec
[ 2s] error: Bad source: /home/abuild/rpmbuild/SOURCES/1.0.2.tar.gz: No such file or directory
[ 2s]
[ 2s] localhost.localdomain failed "build system76-acpi-dkms.spec" at Thu Apr 29 03:26:28 UTC 2021.
[ 2s]
The buildroot was: /var/tmp/build-root/openSUSE_Tumbleweed-x86_64
#
# spec file for package system76-acpi-dkms
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: system76-acpi-dkms
Version: 1.0.2
Release: 0.1
Summary: This provides the system76_acpi in-tree driver for systems missing it.
License: GPL-2.0+
URL: https://github.com/pop-os/system76-acpi-dkms
Source0: https://github.com/pop-os/system76-acpi-dkms/archive/refs/tags/1.0.2.tar.gz
Requires: dkms kernel-devel
%description
System76 ACPI DKMS
---
This provides the system76_acpi in-tree driver for systems missing it.
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
install -D -m 0644 %{_sourcedir}/*.c -t %{_buildrootdir}%{_prefix}/src/system76-acpi-%{version}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license add-license-file-here
%doc add-main-docs-here
%{_libdir}/*.so.*
%changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment