Opened 7 years ago
Last modified 7 years ago
#6769 closed defect
configure option ' --with-ld-shared' causes calling of 'yes' looping indefinitely. — at Version 1
Reported by: | dreieck | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | 2.1.1 |
Severity: | normal | Keywords: | build, compilation, ld-shared |
Cc: |
Description (last modified by )
When I compile gdal 2.1.1 on my arch linux system (64 bit) and I have the option --with-ld-shared
passed to configure
, at some point the process yes
runs for indefinite time and consumes all available CPU power. Compilation does not continue, stdout
outputs the same message over and over.
Looking at the output of the compilation, at some point the command
is issued where the compilation hang and looping output of yes
seems to occur.
While yes
loops, a look in a tree-like rendered ps
-output looks like (output of ps -e --cumulative --forest --headers --lines 60 k +comm -o "pid=----PID,size,%mem,%cpu,args=COMMAND----"
):
----PID SIZE %MEM %CPU COMMAND---- [...] 5438 2132 0.0 7.1 \_ /bin/bash -l 8356 540 0.0 0.2 | \_ /bin/sh ./build.sh 8358 2932 0.0 15.3 | \_ /usr/bin/bash /sbin/makepkg -f 3205 1372 0.0 7.3 | \_ make 5068 14352 0.2 1.9 | \_ make /var/abs/local/own/gdal-custom/src/gdal-2.1.1/libgdal.a /var/abs/local/own/gdal-custom/src/gdal-2.1.1/libgdal.so 5073 424 0.0 87.0 | \_ yes [...]
I use the following commands to build gdal (taken from the official Arch Linux PKGBUILD, and modified):
I attach the following additional information as files:
- The complete PKGBUILD to build the package in the way the error occurs,
- the log of
stdout
andstderr
(combined) when building the package that way, - the log of
stdout
andstderr
(combined) when succesfully building the package without--with-ld-shared
.
Change History (4)
by , 7 years ago
Attachment: | PKGBUILD.with-ld-shared added |
---|
by , 7 years ago
Attachment: | makepkg.with-ld-shared.log.xz added |
---|
Compile log (stdout and stderr) with '--with-ld-shared'.
by , 7 years ago
Attachment: | makepkg.not-with-ld-shared.log.xz added |
---|
Compile log (stdout and stderr) without '--with-ld-shared'.
comment:1 by , 7 years ago
Description: | modified (diff) |
---|
PKGBUILD with --with-ld-shared.