You are not logged in.

#1 2017-02-03 12:47:24

deoxys
Member
Registered: 2017-02-03
Posts: 9

Endless checking for gcc... when configuring mpdscribble

Hello!

On

configure

with sources from mpdscribble AUR or on

makepkg -s

with git-repo from mpdscribble AUR I am stuck with the same issue.

It stops at

checking for gcc... gcc

Here is the full output

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

Here is gcc

Repository      : core
Name            : gcc
Version         : 6.3.1-1
Description     : The GNU Compiler Collection - C and C++ frontends
Architecture    : x86_64
URL             : http://gcc.gnu.org
Licenses        : GPL  LGPL  FDL  custom
Groups          : base-devel
Provides        : None
Depends On      : gcc-libs=6.3.1-1  binutils>=2.26  libmpc
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 28.15 MiB
Installed Size  : 111.22 MiB
Packager        : Allan McRae <allan@archlinux.org>
Build Date      : Mon 09 Jan 2017 07:41:10 AM EET
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Last edited by deoxys (2017-02-03 13:04:57)

Offline

#2 2017-02-03 16:03:30

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Endless checking for gcc... when configuring mpdscribble

mpdscribble builds fine here using makepkg -Crs .

man makepkg wrote:

       -C, --cleanbuild
           Remove the $srcdir before building the package.

In my experience so many building problems have been solved just by starting with a clean $srcdir I now do it by default.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2017-02-03 16:29:05

deoxys
Member
Registered: 2017-02-03
Posts: 9

Re: Endless checking for gcc... when configuring mpdscribble

I experience the same behaviour with

$ makepkg -Crs
==> Making package: mpdscribble 0.22-12 (Fri Feb  3 18:10:41 EET 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading mpdscribble-0.22.tar.bz2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  114k  100  114k    0     0   571k      0 --:--:-- --:--:-- --:--:--  574k
  -> Found service
==> Validating source files with md5sums...
    mpdscribble-0.22.tar.bz2 ... Passed
    service ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting mpdscribble-0.22.tar.bz2 with bsdtar
==> Starting prepare()...
==> Starting build()...
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 for style of include used by make... GNU
checking for gcc... gcc

I found in htop the running process 

/bin/bash /usr/lib/hardening-wrapper/bin/gcc -B/usr/lib/hardening-wrapper/bin -pie -fstack-check -fstack-protector-strong -B/usr/lib/hardening-wrapper/bin -pie -fstack-check -fstack-protector-strong -B/usr/lib/hardening-wrapper/bin -pie -fstack-check -fstack-protector-strong ...

taking ~99% of CPU.

Offline

#4 2017-02-03 16:35:13

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: Endless checking for gcc... when configuring mpdscribble

So get rid of the hardening-wrapper package and see if anything changes.

Offline

#5 2017-02-03 16:45:55

deoxys
Member
Registered: 2017-02-03
Posts: 9

Re: Endless checking for gcc... when configuring mpdscribble

Thank you, it worked.

Offline

#6 2017-02-03 20:06:44

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Endless checking for gcc... when configuring mpdscribble

Please edit your first post and prepend "[Solved]" to the title of the thread. smile


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB