Johannes Meixner changed bug 953149
What Removed Added
Flags   needinfo?(dimstar@opensuse.org)

Comment # 5 on bug 953149 from
Dominique Leuenberger,
it seems under certain circumstances your testing code
in the %prep section fails.

To verify whether or not it works with ghostscript-9.18
I copied X11:common:Factory/libspectre to home:jsmeix/libspectre
and Printing/ghostscript to home:jsmeix/ghostscript

Currently I have this state:
-----------------------------------------------------------------------------
$ osc results -v home:jsmeix libspectre | cut -b-140 \
 | egrep 'Factory|Tumbleweed|13.2'
openSUSE_Tumbleweed  i586       succeeded
openSUSE_Tumbleweed  x86_64     succeeded(unpublished)
openSUSE_Factory_ARM armv7l     blocked: ghostscript-devel, ghostscript
openSUSE_Factory     i586       outdated (was: succeeded)
openSUSE_Factory     x86_64     succeeded
openSUSE_13.2        i586       failed
openSUSE_13.2        x86_64     failed
-----------------------------------------------------------------------------

The interesting point is the build log on openSUSE_13.2
-----------------------------------------------------------------------------
$ osc rbl home:jsmeix libspectre openSUSE_13.2 x86_64 | less
...
[   42s] [114/115] cumulate ghostscript-9.18-1.1
[   42s] [115/115] cumulate ghostscript-devel-9.18-1.1
...
[   89s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zliGto
...
[   89s] + IFS=.
[   89s] + read GS_MAJ GS_MIN
[   89s] ++ rpm -q --qf '%{version}' ghostscript-devel
[   89s] + IFS='        
[   89s] '
[   89s] + '[' 9 18 -gt 9 -o 9 18 -eq 9 -a -gt 17 ']'
[   89s] /var/tmp/rpm-tmp.zliGto: line 40: [: too many arguments
[   89s] + exit 0
...
[  101s] spectre-gs.c: In function 'critic_error_code':
[  101s] spectre-gs.c:46:9: error: 'e_Fatal' undeclared (first use in this
function)
[  101s]     case e_Fatal:
[  101s]          ^
[  101s] spectre-gs.c:46:9: note: each undeclared identifier is reported only
once for each function it appears in
[  101s] spectre-gs.c:51:9: error: 'e_ExecStackUnderflow' undeclared (first use
in this function)
[  101s]     case e_ExecStackUnderflow:
[  101s]          ^
[  101s] spectre-gs.c: In function 'spectre_gs_process':
[  101s] spectre-gs.c:112:20: error: 'e_NeedInput' undeclared (first use in
this function)
[  101s]    error = error == e_NeedInput ? 0 : error;
[  101s]                     ^
-----------------------------------------------------------------------------
versus the build log on openSUSE_Factory
-----------------------------------------------------------------------------
$ osc rbl home:jsmeix libspectre openSUSE_Factory x86_64 | less
...
[   59s] [127/128] cumulate ghostscript-9.18-1.1
[   59s] [128/128] cumulate ghostscript-devel-9.18-1.1
...
[   94s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Tf0sPX
...
[   94s] + IFS=.
[   94s] + read GS_MAJ GS_MIN
[   94s] ++ rpm -q --qf '%{version}' ghostscript-devel
[   94s] + IFS='        
[   94s] '
[   94s] + '[' 9 -gt 9 -o 9 -eq 9 -a 18 -gt 17 ']'
[   94s] + echo 'Patch #0 (libspectre-gs-9.18.patch):'
[   94s] Patch #0 (libspectre-gs-9.18.patch):
[   94s] + /usr/bin/cat /home/abuild/rpmbuild/SOURCES/libspectre-gs-9.18.patch
[   94s] + /usr/bin/patch -p1 --fuzz=0
[   94s] patching file libspectre/spectre-gs.c
[   94s] + exit 0
-----------------------------------------------------------------------------


You are receiving this mail because: