Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
ddd: fix Makefile build race condition
- be0ify
- fix race condition for parallel builds

```
make[2]: Leaving directory '/scratch/local2/beehive/ddd-3.3.12-0/buildroot/ddd/ddd-3.3.12-0/build/ddd'
make stringify
make[2]: Entering directory '/scratch/local2/beehive/ddd-3.3.12-0/buildroot/ddd/ddd-3.3.12-0/build/ddd'
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2   -o ctest ctest.o  -lm
gcc -g -O2 -o ctest ctest.o  -lm
make[2]: Leaving directory '/scratch/local2/beehive/ddd-3.3.12-0/buildroot/ddd/ddd-3.3.12-0/build/ddd'
make[3]: 'stringify' is up to date.
make[2]: Entering directory '/scratch/local2/beehive/ddd-3.3.12-0/buildroot/ddd/ddd-3.3.12-0/build/ddd'
./stringify < /scratch/local2/beehive/ddd-3.3.12-0/buildroot/ddd/ddd-3.3.12-0/source/ddd/ddd.info.txt.gz > /scratch/local2/beehive/ddd-3.3.12-0/buildroot/ddd/ddd-3.3.12-0/source/ddd/ddd.info.txt.gz.C~ && mv /scratch/local2/beehive/ddd-3.3.12-0/buildroot/ddd/ddd-3.3.12-0/source/ddd/ddd.info.txt.gz.C~ /scratch/local2/beehive/ddd-3.3.12-0/buildroot/ddd/ddd-3.3.12-0/source/ddd/ddd.info.txt.gz.C
/bin/sh: ./stringify: Permission denied
make[2]: [Makefile:2696: /scratch/local2/beehive/ddd-3.3.12-0/buildroot/ddd/ddd-3.3.12-0/source/ddd/ddd.info.txt.gz.C] Error 126 (ignored)
make[2]: Leaving directory '/scratch/local2/beehive/ddd-3.3.12-0/buildroot/ddd/ddd-3.3.12-0/build/ddd'
make[2]: Entering directory '/scratch/local2/beehive/ddd-3.3.12-0/buildroot/ddd/ddd-3.3.12-0/build/ddd'
/bin/sh ../libtool --tag=CXX   --mode=link g++  -O2 -g -Wall -W -Wwrite-strings -trigraphs    -o userinfo userinfo.o  -lm
mkdir .libs
g++ -O2 -g -Wall -W -Wwrite-strings -trigraphs -o userinfo userinfo.o  -lm
make[2]: Leaving directory '/scratch/local2/beehive/ddd-3.3.12-0/buildroot/ddd/ddd-3.3.12-0/build/ddd'
make[2]: Entering directory '/scratch/local2/beehive/ddd-3.3.12-0/buildroot/ddd/ddd-3.3.12-0/build/ddd'
/bin/sh ../libtool --tag=CXX   --mode=link g++  -O2 -g -Wall -W -Wwrite-strings -trigraphs    -o stringify stringify.o  -lm
```
  • Loading branch information
wwwutz committed Jan 20, 2020
1 parent 4149e1a commit 229b586
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 33 deletions.
33 changes: 0 additions & 33 deletions ddd-3.3.12-0.bee

This file was deleted.

37 changes: 37 additions & 0 deletions ddd.be0
@@ -0,0 +1,37 @@
#!/usr/bin/env beesh

# BEE_VERSION ddd-3.3.12-1

# more info: https://foo.bar.com

SRCURL[0]="https://ftp.gnu.org/gnu/ddd/ddd-${PKGVERSION}.tar.gz"

PATCHURL+=( /src/mariux/patches/ddd-fix-race-stringify.patch )

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}

#mee_build() {
# bee_build
#}

#mee_install() {
# bee_install
#}

#mee_install_post() {
# exit
#}

0 comments on commit 229b586

Please sign in to comment.