You are not logged in.

#1 2018-01-04 17:16:35

joekiller
Member
Registered: 2015-07-31
Posts: 13

[SOLVED] apparmor-libapparmor checking for gcc pegging CPU

Hi,

I'm trying to build apparmor-libapparmor because it is linked in the newer docker installations. When I run yaourt -S apparmor-libapparmor the package starts to build and runs its configure step. It reaches checking for gcc... gcc and then gcc pegs the CPU at 100% and the process never comes back.

Any ideas how to diagnose those?

==> Making package: apparmor 2.12.0-1 (Thu Jan  4 12:10:34 EST 2018)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading apparmor-2.12.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 7088k  100 7088k    0     0  2362k      0  0:00:03  0:00:03 --:--:-- 3901k
  -> Downloading apparmor-2.12.tar.gz.asc...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   837  100   837    0     0    837      0  0:00:01 --:--:--  0:00:01   837
  -> Found apparmor_load.sh
  -> Found apparmor_unload.sh
  -> Found apparmor.service
==> Validating source files with sha512sums...
    apparmor-2.12.tar.gz ... Passed
    apparmor-2.12.tar.gz.asc ... Skipped
    apparmor_load.sh ... Passed
    apparmor_unload.sh ... Passed
    apparmor.service ... Passed
==> Verifying source file signatures with gpg...
    apparmor-2.12.tar.gz ... Passed
==> Extracting sources...
  -> Extracting apparmor-2.12.tar.gz with bsdtar
==> Starting prepare()...
==> Starting build()...
Running aclocal
Running autoconf
Running libtoolize
Running automake
configure.ac:8: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.ac:8: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.ac:10: installing './compile'
configure.ac:8: installing './missing'
doc/Makefile.am:10: warning: subst .2,.pod,$(man_MANS: non-POSIX variable name
doc/Makefile.am:10: (probably a GNU make extension)
doc/Makefile.am:10: warning: subst .3,.pod,$(man_MANS: non-POSIX variable name
doc/Makefile.am:10: (probably a GNU make extension)
doc/Makefile.am:17: warning: '%'-style pattern rules are a GNU make extension
doc/Makefile.am:26: warning: '%'-style pattern rules are a GNU make extension
src/Makefile.am:60: warning: '%'-style pattern rules are a GNU make extension
src/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/Makefile.am: installing './depcomp'
testsuite/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc

Last edited by joekiller (2018-01-04 20:19:33)

Offline

#2 2018-01-04 20:19:06

joekiller
Member
Registered: 2015-07-31
Posts: 13

Re: [SOLVED] apparmor-libapparmor checking for gcc pegging CPU

Turns out I had hardening-wrapper installed and that is deprecated.

https://www.archlinux.org/todo/hardenin … r-removal/

Offline

Board footer

Powered by FluxBB