Re: [packages/file] - this version breaks rpmbuild, good testcase is gnome-initial-setup package - rel 1.1

2016-04-18 Thread Elan Ruusamäe
On 18.04.2016 12:04, Jeff Johnson wrote: On Apr 18, 2016, at 4:52 AM, Elan Ruusamäe wrote: pld rpm links with system libmagic, not using bundled version. i think this is something broken on library level. Perhaps the libmagic code is broken, yes. Usually the issue is new definitions, which

Re: [packages/file] - this version breaks rpmbuild, good testcase is gnome-initial-setup package - rel 1.1

2016-04-18 Thread Elan Ruusamäe
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/u

Re: [packages/file] - this version breaks rpmbuild, good testcase is gnome-initial-setup package - rel 1.1

2016-04-18 Thread Elan Ruusamäe
On 18.04.2016 19:16, Elan Ruusamäe wrote: but from previous post, seems the "lockup" problem being that libtooldeps expect input from stdin, but rpm side it was already closed? added "set -x" to libtooldeps script: --- Processing files: libmagic-devel-5.26-1.2.x86_64 + '[' 3 -ge 2 ']' + pkgna

Re: [packages/file] - this version breaks rpmbuild, good testcase is gnome-initial-setup package - rel 1.1

2016-04-18 Thread Elan Ruusamäe
On 18.04.2016 12:04, Jeff Johnson wrote: Perhaps the libmagic code is broken, yes. Usually the issue is new definitions, which are increasingly using *RE patterns. If so, then using a known good version of /usr/share/misc/../file/magic might help. i installed file 5.26 replacing magic

Re: [packages/file] - this version breaks rpmbuild, good testcase is gnome-initial-setup package - rel 1.1

2016-04-18 Thread Elan Ruusamäe
On 18.04.2016 12:04, Jeff Johnson wrote: Perhaps the libmagic code is broken, yes. here's process "stopped" with following output (will post complete outputs in separate post): build-5.4.so --> rpmmgFile(0x25e7000, /home/users/glen/tmp/rpm-5.4.15-root-glen/usr/lib64/librpmbuild.so) <-- rpmmgF

Re: [packages/file] - this version breaks rpmbuild, good testcase is gnome-initial-setup package - rel 1.1

2016-04-18 Thread Elan Ruusamäe
On 18.04.2016 19:10, Elan Ruusamäe wrote: On 18.04.2016 12:04, Jeff Johnson wrote: Perhaps the libmagic code is broken, yes. here's process "stopped" with following output (will post complete outputs in separate post): weird if i run rpmbuild --short-circuit -bi then it stalls: http://carme.

Re: [packages/file] - this version breaks rpmbuild, good testcase is gnome-initial-setup package - rel 1.1

2016-04-18 Thread Elan Ruusamäe
On 18.04.2016 11:52, Elan Ruusamäe wrote: should try build file 5.26 and rebuild rpm with that version, it could help. eh. this is rather impossible task, as having file 5.26 installed and producing rpm package will also fail -- glen ___ pld-de

Re: [packages/file] - this version breaks rpmbuild, good testcase is gnome-initial-setup package - rel 1.1

2016-04-18 Thread Jeff Johnson
On Apr 18, 2016, at 4:52 AM, Elan Ruusamäe wrote: > > pld rpm links with system libmagic, not using bundled version. i think this > is something broken on library level. > Perhaps the libmagic code is broken, yes. Usually the issue is new definitions, which are increasingly using *RE pattern

Re: [packages/file] - this version breaks rpmbuild, good testcase is gnome-initial-setup package - rel 1.1

2016-04-18 Thread Elan Ruusamäe
On 18.04.2016 11:06, Jeff Johnson wrote: On Apr 17, 2016, at 9:44 AM, Jan Rękorajski wrote: I removed it from ftp and downgraded on builders, building gnome-initial-setup or jbig2dec causes rpm to hang indefinitely on "processing files" step. The coupling between rpmbuild <-> file is through

Re: [packages/file] - this version breaks rpmbuild, good testcase is gnome-initial-setup package - rel 1.1

2016-04-18 Thread Jeff Johnson
On Apr 17, 2016, at 9:44 AM, Jan Rękorajski wrote: > I removed it from ftp and downgraded on builders, building > gnome-initial-setup or jbig2dec causes rpm to hang indefinitely on > "processing files" step. > The coupling between rpmbuild <-> file is through /etc/magic rules (whatever path is