Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-cypari2.spec'], chrootPath='/var/lib/mock/f29-build-11480-5201/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-cypari2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/python-cypari2-1.1.4-1.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-cypari2.spec'], chrootPath='/var/lib/mock/f29-build-11480-5201/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-cypari2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QTTUec + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cypari2-1.1.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/cypari2-1.1.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cypari2-1.1.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (python-cypari2-pari.patch):' Patch #0 (python-cypari2-pari.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file cypari2/paridecl.pxd patching file cypari2/pari_instance.pyx + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MvHpSl + umask 022 + cd /builddir/build/BUILD + cd cypari2-1.1.4 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib.linux-riscv64-2.7 creating build/lib.linux-riscv64-2.7/cypari2 copying cypari2/__init__.py -> build/lib.linux-riscv64-2.7/cypari2 copying cypari2/paridecl.pxd -> build/lib.linux-riscv64-2.7/cypari2 copying cypari2/paripriv.pxd -> build/lib.linux-riscv64-2.7/cypari2 copying cypari2/closure.pxd -> build/lib.linux-riscv64-2.7/cypari2 copying cypari2/convert.pxd -> build/lib.linux-riscv64-2.7/cypari2 copying cypari2/handle_error.pxd -> build/lib.linux-riscv64-2.7/cypari2 copying cypari2/gen.pxd -> build/lib.linux-riscv64-2.7/cypari2 copying cypari2/types.pxd -> build/lib.linux-riscv64-2.7/cypari2 copying cypari2/stack.pxd -> build/lib.linux-riscv64-2.7/cypari2 copying cypari2/pari_instance.pxd -> build/lib.linux-riscv64-2.7/cypari2 copying cypari2/string_utils.pxd -> build/lib.linux-riscv64-2.7/cypari2 copying cypari2/cypari.h -> build/lib.linux-riscv64-2.7/cypari2 running build_ext Generating PARI functions: (!_) (#_) (%) (%#) (+_) (-_) Catalan Col Colrev (DEBUGLEVEL) Euler I List Map Mat Mod (O) (O(_^_)) Pi Pol Polrev Qfb Ser Set Str Strchr Strexpand Strprintf Strtex Vec Vecrev Vecsmall ([_.._]) ([_|_<-_,_;_]) ([_|_<-_,_]) (_!) (_!=_) (_%=_) (_%_) (_&&_) (_') (_(_)) (_*=_) (_*_) (_++) (_+=_) (_+_) (_--) (_-=_) (_-_) (_.a1) (_.a2) (_.a3) (_.a4) (_.a6) (_.area) (_.b2) (_.b4) (_.b6) (_.b8) (_.bid) (_.bnf) (_.c4) (_.c6) (_.clgp) (_.codiff) (_.cyc) (_.diff) (_.disc) (_.e) (_.eta) (_.f) (_.fu) (_.futu) (_.gen) (_.group) (_.index) (_.j) (_.mod) (_.nf) (_.no) (_.omega) (_.orders) (_.p) (_.pol) (_.polabs) (_.r1) (_.r2) (_.reg) (_.roots) (_.sign) (_.t2) (_.tate) (_.tu) (_.tufu) (_.zk) (_.zkst) (_/=_) (_/_) (_<<=_) (_<<_) (_<=_) (_<_) (_===_) (_==_) (_>=_) (_>>=_) (_>>_) (_>_) (_ZX_resultant_worker) (_[_,]) (_[_,_]) (_[_.._,_.._]) (_[_.._]) (_\/=_) (_\/_) (_\=_) (_\_) (_^_) (_^s) (__) (_avma) (_badtype) (_cast) (_cgetg) (_const_expr) (_const_quote) (_const_real) (_const_smallreal) (_decl_base) (_decl_ext) (_def_TeXstyle) (_def_breakloop) (_def_colors) (_def_compatible) (_def_datadir) (_def_debug) (_def_debugfiles) (_def_debugmem) (_def_echo) (_def_factor_add_primes) (_def_factor_proven) (_def_format) (_def_graphcolormap) (_def_graphcolors) (_def_help) (_def_histfile) (_def_histsize) (_def_lines) (_def_linewrap) (_def_log) (_def_logfile) (_def_nbthreads) (_def_new_galois_format) (_def_output) (_def_parisize) (_def_parisizemax) (_def_path) (_def_prettyprinter) (_def_primelimit) (_def_prompt) (_def_prompt_cont) (_def_psfile) (_def_readline) (_def_realbitprecision) (_def_realprecision) (_def_recover) (_def_secure) (_def_seriesprecision) (_def_simplify) (_def_sopath) (_def_strictargs) (_def_strictmatch) (_def_threadsize) (_def_threadsizemax) (_def_timer) (_default_check) (_default_marker) (_derivfun) (_diffptr) (_err_primes) (_err_type) (_eval_mnemonic) (_factor_Aurifeuille) (_factor_Aurifeuille_prime) (_forcomposite_init) (_forcomposite_next) (_formatcode) (_forpart_init) (_forpart_next) (_forprime_init) (_forprime_next) (_forprime_next_) (_forvec_init) (_forvec_next) (_gc_needed) (_gerepileall) (_gerepileupto) (_iferr_CATCH) (_iferr_CATCH_reset) (_iferr_ENDCATCH) (_iferr_error) (_iferr_rethrow) (_low_stack_lim) (_maxprime) (_multi_if) (_ndec2nbits) (_ndec2prec) (_norange) (_parapply_worker) (_pareval_worker) (_parfor_worker) (_parvector_worker) (_polint_worker) (_polmodular_worker) (_proto_code) (_proto_max_args) (_proto_ret) (_safecoeff) (_stack_lim) (_strtoclosure) (_tovec) (_tovecprec) (_type_preorder) (_typedef) (_u_forprime_init) (_u_forprime_next) (_void_if) (_wrap_G) (_wrap_GG) (_wrap_Gp) (_wrap_bG) (_wrap_vG) (_||_) (_~) abs acos acosh addhelp addprimes agm alarm algabsdim algadd algalgtobasis algaut algb algbasis algbasistoalg algcenter algcentralproj algchar algcharpoly algdecomposition algdegree algdep algdim algdisc algdivl algdivr alggroup alghasse alghassef alghassei algindex alginit alginv alginvbasis algisassociative algiscommutative algisdivision algisdivl algisinv algisramified algissemisimple algissimple algissplit alglathnf algleftmultable algmul algmultable algneg algnorm algpoleval algpow algprimesubalg algquotient algradical algramifiedplaces algrandom algrelmultable algsimpledec algsplittingdata algsplittingfield algsplittingmatrix algsqr algsub algsubalg algtableinit algtensor algtrace algtype (alias) (allocatemem) apply arg asin asinh asympnum atan atanh bernfrac bernpol bernreal bernvec besselh1 besselh2 besseli besselj besseljh besselk besseln bestappr bestapprPade bezout bezoutres bigomega binary binomial bitand bitneg bitnegimply bitor bitprecision bittest bitxor bnfcertify bnfcompress bnfdecodemodule bnfinit bnfisintnorm bnfisnorm bnfisprincipal bnfissunit bnfisunit bnflog bnflogdegree bnflogef bnfnarrow bnfsignunit bnfsunit bnrL1 bnrchar bnrclassno bnrclassnolist bnrconductor bnrconductorofchar bnrdisc bnrdisclist bnrgaloisapply bnrgaloismatrix bnrinit bnrisconductor bnrisgalois bnrisprincipal bnrrootnumber bnrstark (break) (breakpoint) call ceil centerlift characteristic charconj chardiv chareval charker charmul charorder charpoly chinese (clone) cmp component concat conj conjvec content contfrac contfraceval contfracinit contfracpnqn (copy) core coredisc cos cosh cotan cotanh (dbg_down) (dbg_err) (dbg_up) (dbg_x) default denominator deriv derivnum diffop digits dilog dirdiv direuler dirmul dirzetak divisors divrem eint1 ellL1 elladd ellak ellan ellanalyticrank ellap ellbil ellcard ellchangecurve ellchangepoint ellchangepointinv ellconvertname elldivpol elleisnum elleta ellformaldifferential ellformalexp ellformallog ellformalpoint ellformalw ellfromeqn ellfromj ellgenerators ellglobalred ellgroup ellheegner ellheight ellheightmatrix ellidentify ellinit ellintegralmodel ellisdivisible ellisogeny ellisogenyapply ellisomat ellisoncurve ellissupersingular ellj elllocalred elllog elllseries ellminimalmodel ellminimaltwist ellmoddegree ellmodulareqn ellmul ellneg ellnonsingularmultiple ellorder ellordinate ellpadicL ellpadicfrobenius ellpadicheight ellpadicheightmatrix ellpadiclog ellpadics2 ellperiods ellpointtoz ellpow ellratpoints ellrootno ellsea ellsearch ellsigma ellsub elltaniyama elltatepairing elltors elltwist ellweilpairing ellwp ellxn ellzeta ellztopoint erfc errname error eta eulerphi eval exp expm1 extern externstr factor factorback factorcantor factorff factorial factorint factormod factornf factorpadic ffgen ffinit fflog ffnbirred fforder ffprimroot fibonacci floor fold (for) (forcomposite) (fordiv) (forell) (forpart) (forprime) forqfvec (forstep) (forsubgroup) (forvec) frac fromdigits galoisexport galoisfixedfield galoisgetpol galoisidentify galoisinit galoisisabelian galoisisnormal galoispermtopol galoissubcyclo galoissubfields galoissubgroups gamma gammah gammamellininv gammamellininvasymp gammamellininvinit gcd gcdext genus2red getabstime getenv getheap getrand getstack gettime getwalltime (global) hammingweight hilbert hyperellcharpoly hyperellpadicfrobenius hyperellratpoints hyperu idealadd idealaddtoone idealappr idealchinese idealcoprime idealdiv idealfactor idealfactorback idealfrobenius idealhnf idealintersect idealinv ideallist ideallistarch ideallog idealmin idealmul idealnorm idealnumden idealpow idealprimedec idealprincipalunits idealramgroups idealred idealstar idealtwoelt idealval (if) (iferr) imag incgam incgamc (inline) input install intcirc intformal intfuncinit intnum intnumgauss intnumgaussinit intnuminit intnumromb isfundamental ispolygonal ispower ispowerful isprime isprimepower ispseudoprime ispseudoprimepower issquare issquarefree istotient kill kronecker lambertw lcm length lex lfun lfunabelianrelinit lfunan lfunartin lfuncheckfeq lfunconductor lfuncost lfuncreate lfundiv lfunetaquo lfungenus2 lfunhardy lfuninit lfunlambda lfunmfspec lfunmul lfunorderzero lfunqf lfunrootres lfuntheta lfunthetacost lfunthetainit lfunzeros lift liftall liftint liftpol limitnum lindep (listcreate) listinsert listkill listpop listput listsort lngamma (local) localbitprec localprec log logint mapdelete mapget mapisdefined mapput matadjoint matalgtobasis matbasistoalg matcompanion matconcat matdet matdetint matdiagonal mateigen matfrobenius mathess mathilbert mathnf mathnfmod mathnfmodid mathouseholder matid matimage matimagecompl matindexrank matintersect matinverseimage matisdiagonal matker matkerint matmuldiagonal matmultodiagonal matpascal matqr matrank matrix matrixqz matsize matsnf matsolve matsolvemod matsupplement mattranspose max min minpoly modreverse moebius msatkinlehner mscuspidal mseisenstein mseval msfromcusp msfromell msfromhecke msgetlevel msgetsign msgetweight mshecke msinit msissymbol msnew msomseval mspadicL mspadicinit mspadicmoments mspadicseries mspathgens mspathlog msqexpansion mssplit msstar mstooms (my) newtonpoly (next) nextprime nfalgtobasis nfbasis nfbasistoalg nfcertify nfcompositum nfdetint nfdisc nfeltadd nfeltdiv nfeltdiveuc nfeltdivmodpr nfeltdivrem nfeltmod nfeltmul nfeltmulmodpr nfeltnorm nfeltpow nfeltpowmodpr nfeltreduce nfeltreducemodpr nfelttrace nfeltval nffactor nffactorback nffactormod nfgaloisapply nfgaloisconj nfgrunwaldwang nfhilbert nfhnf nfhnfmod nfinit nfisideal nfisincl nfisisom nfislocalpower nfkermodpr nfmodpr nfmodprinit nfmodprlift nfnewprec nfroots nfrootsof1 nfsnf nfsolvemodpr nfsplitting nfsubfields norm norml2 normlp numbpart numdiv numerator numtoperm omega oo padicappr padicfields padicprec parapply pareval parfor parforprime parforvec parselect parsum partitions parvector permtonum plot (plotbox) (plotclip) (plotcolor) (plotcopy) (plotcursor) (plotdraw) (ploth) (plothraw) (plothsizes) (plotinit) (plotkill) (plotlines) (plotlinetype) (plotmove) (plotpoints) (plotpointsize) (plotpointtype) (plotrbox) (plotrecth) (plotrecthraw) (plotrline) (plotrmove) (plotrpoint) (plotscale) (plotstring) polchebyshev polclass polcoeff polcompositum polcyclo polcyclofactors poldegree poldisc poldiscreduced polgalois polgraeffe polhensellift polhermite polinterpolate poliscyclo poliscycloprod polisirreducible pollead pollegendre polmodular polrecip polred polredabs polredbest polredord polresultant polresultantext polroots polrootsff polrootsmod polrootspadic polrootsreal polsturm polsubcyclo polsylvestermatrix polsym poltchebi poltschirnhaus polylog polzagier powers precision precprime prime primepi primes print print1 printf printsep printsep1 printtex prod prodeuler prodinf (psdraw) psi (psploth) (psplothraw) qfauto qfautoexport qfbclassno qfbcompraw qfbhclassno qfbil qfbnucomp qfbnupow qfbpowraw qfbprimeform qfbred qfbredsl2 qfbsolve qfeval qfgaussred qfisom qfisominit qfjacobi qflll qflllgram qfminim qfnorm qforbits qfparam qfperfection qfrep qfsign qfsolve quadclassunit quaddisc quadgen quadhilbert quadpoly quadray quadregulator quadunit (quit) ramanujantau random randomprime read readstr readvec real removeprimes (return) rnfalgtobasis rnfbasis rnfbasistoalg rnfcharpoly rnfconductor rnfdedekind rnfdet rnfdisc rnfeltabstorel rnfeltdown rnfeltnorm rnfeltreltoabs rnfelttrace rnfeltup rnfequation rnfhnfbasis rnfidealabstorel rnfidealdown rnfidealfactor rnfidealhnf rnfidealmul rnfidealnormabs rnfidealnormrel rnfidealprimedec rnfidealreltoabs rnfidealtwoelt rnfidealup rnfinit rnfisabelian rnfisfree rnfislocalcyclo rnfisnorm rnfisnorminit rnfkummer rnflllgram rnfnormgroup rnfpolred rnfpolredabs rnfpolredbest rnfpseudobasis rnfsteinitz round select self seralgdep serconvol serlaplace serprec serreverse setbinop setintersect setisset setminus setrand setsearch setunion shift shiftmul sigma sign simplify sin sinc sinh sizebyte sizedigit solve solvestep sqr sqrt sqrtint sqrtn sqrtnint stirling subgrouplist subst substpol substvec sum sumalt sumdedekind sumdigits sumdiv sumdivmult sumformal suminf sumnum sumnuminit sumnummonien sumnummonieninit sumpos system tan tanh taylor teichmuller theta thetanullk thue thueinit trace trap truncate type (unclone) (uninline) (until) valuation varhigher variable variables varlower vecextract vecmax vecmin vecsearch vecsort vecsum vector vectorsmall vectorv version warning weber (whatnow) (while) write write1 writebin writetex zeta zetamult zncharinduce zncharisodd znchartokronecker znconreychar znconreyconductor znconreyexp znconreylog zncoppersmith znlog znorder znprimroot znstar Compiling cypari2/closure.pyx because it changed. Compiling cypari2/convert.pyx because it changed. Compiling cypari2/gen.pyx because it changed. Compiling cypari2/handle_error.pyx because it changed. Compiling cypari2/pari_instance.pyx because it changed. Compiling cypari2/stack.pyx because it changed. Compiling cypari2/string_utils.pyx because it changed. [1/7] Cythonizing cypari2/closure.pyx [2/7] Cythonizing cypari2/convert.pyx [3/7] Cythonizing cypari2/gen.pyx [4/7] Cythonizing cypari2/handle_error.pyx [5/7] Cythonizing cypari2/pari_instance.pyx [6/7] Cythonizing cypari2/stack.pyx [7/7] Cythonizing cypari2/string_utils.pyx building 'cypari2.closure' extension creating build/temp.linux-riscv64-2.7 creating build/temp.linux-riscv64-2.7/cypari2 gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I./cypari2 -I/usr/lib64/python2.7/site-packages/cysignals -I/usr/include -I/usr/include/python2.7 -c cypari2/closure.c -o build/temp.linux-riscv64-2.7/cypari2/closure.o BUILDSTDERR: In file included from cypari2/closure.c:557: BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h: In function '_sig_on_prejmp': BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:102:5: error: 'cysigs' undeclared (first use in this function); did you mean 'cysigs_t'? BUILDSTDERR: cysigs.s = message; BUILDSTDERR: ^~~~~~ BUILDSTDERR: cysigs_t BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:102:5: note: each undeclared identifier is reported only once for each function it appears in BUILDSTDERR: In file included from cypari2/closure.c:557: BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h: In function '_sig_on_postjmp': BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:135:9: warning: implicit declaration of function '_sig_on_recover'; did you mean '_sig_on_prejmp'? [-Wimplicit-function-declaration] BUILDSTDERR: _sig_on_recover(); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: _sig_on_prejmp BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:141:5: error: 'cysigs' undeclared (first use in this function); did you mean 'cysigs_t'? BUILDSTDERR: cysigs.sig_on_count = 1; BUILDSTDERR: ^~~~~~ BUILDSTDERR: cysigs_t BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:151:9: warning: implicit declaration of function '_sig_on_interrupt_received' [-Wimplicit-function-declaration] BUILDSTDERR: _sig_on_interrupt_received(); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from cypari2/closure.c:556: BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h: In function '_sig_off_': BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:172:18: error: 'cysigs' undeclared (first use in this function); did you mean 'cysigs_t'? BUILDSTDERR: if (unlikely(cysigs.sig_on_count <= 0)) BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/struct_signals.h:34:43: note: in definition of macro 'unlikely' BUILDSTDERR: #define unlikely(x) __builtin_expect(!!(x), 0) BUILDSTDERR: ^ BUILDSTDERR: In file included from cypari2/closure.c:557: BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:174:9: warning: implicit declaration of function '_sig_off_warning'; did you mean '_sig_off_'? [-Wimplicit-function-declaration] BUILDSTDERR: _sig_off_warning(file, line); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: _sig_off_ BUILDSTDERR: In file included from cypari2/closure.c:556: BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h: In function 'sig_check': BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:200:18: error: 'cysigs' undeclared (first use in this function); did you mean 'cysigs_t'? BUILDSTDERR: if (unlikely(cysigs.interrupt_received) && cysigs.sig_on_count == 0) BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/struct_signals.h:34:43: note: in definition of macro 'unlikely' BUILDSTDERR: #define unlikely(x) __builtin_expect(!!(x), 0) BUILDSTDERR: ^ BUILDSTDERR: In file included from cypari2/closure.c:557: BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h: In function 'sig_block': BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:234:7: error: 'cysigs' undeclared (first use in this function); did you mean 'cysigs_t'? BUILDSTDERR: ++cysigs.block_sigint; BUILDSTDERR: ^~~~~~ BUILDSTDERR: cysigs_t BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h: In function 'sig_unblock': BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:246:7: error: 'cysigs' undeclared (first use in this function); did you mean 'cysigs_t'? BUILDSTDERR: --cysigs.block_sigint; BUILDSTDERR: ^~~~~~ BUILDSTDERR: cysigs_t BUILDSTDERR: In file included from cypari2/closure.c:556: BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h: In function 'sig_retry': BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:262:18: error: 'cysigs' undeclared (first use in this function); did you mean 'cysigs_t'? BUILDSTDERR: if (unlikely(cysigs.sig_on_count <= 0)) BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/struct_signals.h:34:43: note: in definition of macro 'unlikely' BUILDSTDERR: #define unlikely(x) __builtin_expect(!!(x), 0) BUILDSTDERR: ^ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h: In function 'sig_error': BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:275:18: error: 'cysigs' undeclared (first use in this function); did you mean 'cysigs_t'? BUILDSTDERR: if (unlikely(cysigs.sig_on_count <= 0)) BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/struct_signals.h:34:43: note: in definition of macro 'unlikely' BUILDSTDERR: #define unlikely(x) __builtin_expect(!!(x), 0) BUILDSTDERR: ^ BUILDSTDERR: cypari2/closure.c: At top level: BUILDSTDERR: cypari2/closure.c:1112:15: error: '_sig_on_interrupt_received' redeclared as different kind of symbol BUILDSTDERR: static void (*_sig_on_interrupt_received)(void); /*proto*/ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from cypari2/closure.c:557: BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:151:9: note: previous implicit declaration of '_sig_on_interrupt_received' was here BUILDSTDERR: _sig_on_interrupt_received(); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cypari2/closure.c:1113:15: error: '_sig_on_recover' redeclared as different kind of symbol BUILDSTDERR: static void (*_sig_on_recover)(void); /*proto*/ BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from cypari2/closure.c:557: BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:135:9: note: previous implicit declaration of '_sig_on_recover' was here BUILDSTDERR: _sig_on_recover(); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: cypari2/closure.c:1114:15: error: '_sig_off_warning' redeclared as different kind of symbol BUILDSTDERR: static void (*_sig_off_warning)(char const *, int); /*proto*/ BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from cypari2/closure.c:557: BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:174:9: note: previous implicit declaration of '_sig_off_warning' was here BUILDSTDERR: _sig_off_warning(file, line); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: cypari2/closure.c: In function '__pyx_f_9cysignals_7signals___generate_declarations': BUILDSTDERR: cypari2/closure.c:1111:17: warning: statement with no effect [-Wunused-value] BUILDSTDERR: #define cysigs (*__pyx_vp_9cysignals_7signals_cysigs) BUILDSTDERR: ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cypari2/closure.c:1792:3: note: in expansion of macro 'cysigs' BUILDSTDERR: cysigs; BUILDSTDERR: ^~~~~~ BUILDSTDERR: cypari2/closure.c:1801:3: warning: statement with no effect [-Wunused-value] BUILDSTDERR: _sig_on_interrupt_received; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cypari2/closure.c:1810:3: warning: statement with no effect [-Wunused-value] BUILDSTDERR: _sig_on_recover; BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: cypari2/closure.c:1818:3: warning: statement with no effect [-Wunused-value] BUILDSTDERR: _sig_off_warning; BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: cypari2/closure.c:1825:3: warning: statement with no effect [-Wunused-value] BUILDSTDERR: print_backtrace; BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: error: command 'gcc' failed with exit status 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.MvHpSl (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.MvHpSl (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-cypari2.spec