You are not logged in.

#1 2022-09-14 01:36:25

jr_west
Member
Registered: 2022-09-13
Posts: 11

new install: makepkg is a fork bomb

running makepkg forks hundreds of `/usr/bin/bash /usr/bin/makepkg` a second. The processes are long lived. It will continue to fork-bomb until I ctrl-c.

The app gives no output. behavior is the same if I run it in a directory with a PKGBUILD file or not.

I've tried a few of the flags like --check or --Log. No change.

fresh OS install. First time trying a AUR build. Here is my makepkg.conf:

CFLAGS="-march=native -O2 -pipe -fno-plt"
CXXFLAGS="${CFLAGS}"
RUSTFLAGS="-C opt-level=2 -C target-cpu=native"
MAKEFLAGS="-j8"
PKGEXT='.pkg.tar' makepkg

rurnning a strace -f generate 15M of output in 2 seconds.

Here are the first 5K lines of the strace :
https://pastebin.com/7NaBzizs

Offline

#2 2022-09-14 01:39:18

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,785

Re: new install: makepkg is a fork bomb

Can you share the PKGBUILD you are trying to build?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2022-09-14 01:40:26

loqs
Member
Registered: 2014-03-06
Posts: 17,369

Re: new install: makepkg is a fork bomb

PKGEXT='.pkg.tar' makepkg

Do you really have makepkg.conf calling makepkg recursively?

Offline

#4 2022-09-14 01:58:49

jr_west
Member
Registered: 2022-09-13
Posts: 11

Re: new install: makepkg is a fork bomb

yes. I copied that from section 3.5 of this guide: https://wiki.archlinux.org/title/makepkg
But I wasn't paying close enough attention. That line is meant for the cmd-line, not the .conf file.

fixed

Offline

#5 2022-09-14 02:02:38

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: new install: makepkg is a fork bomb

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB