On 18.04.2016 19:35, Elan Ruusamäe wrote:
i replaced libtool scripts interpreter /bin/sh -> /bin/bash, seems
bash handles io error better and reports error:
Processing files: libmagic-devel-5.26-1.2.x86_64
+ '[' 3 -ge 2 ']'
+ pkgname=libmagic-devel
+ case $1 in
+ shift
+ RPM_BUILD_ROOT=/home/users/glen/tmp/file-5.26-root-glen
+ read possible
/home/users/glen/libtooldeps.sh: line 16: read: read error: 0: Bad
file descriptor
+ exit 0
+ '[' 3 -ge 2 ']'
found the faulty commit,
seems file closes STDIN, doh
from commit message, he seems to think file opened the STDIN!
https://github.com/file/file/commit/c8581da4c79cfc3fe52bb6c398497ff3a9986abd
however that is not the only problem, next problem is the magic file
definition problem, which is very typical for file releases:
[~/rpm/packages/file(5.26) (master)⚡] ➔ file
/home/users/glen/tmp/file-5.26-root-glen/usr/share/python3.5/site-packages/file_magic-0.3.0-py3.5.egg-info/top_level.txt
/home/users/glen/tmp/file-5.26-root-glen/usr/share/python3.5/site-packages/file_magic-0.3.0-py3.5.egg-info/top_level.txt:
ERROR: Offset out of range
[~/rpm/packages/file(5.26) (master)⚡] ➔ echo $?
1
--
glen
_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en