Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mock build fail: patch would repeat action that has been done #86

Open
dhodovsk opened this issue Sep 24, 2020 · 0 comments
Open

mock build fail: patch would repeat action that has been done #86

dhodovsk opened this issue Sep 24, 2020 · 0 comments

Comments

@dhodovsk
Copy link
Contributor

dhodovsk commented Sep 24, 2020

  • next patch would empty out the file which is already empty:
    • c8: jabberpy, libburn, libisoburn, libisofs, libthai, libXp, lua, mdadm, mingw-bzip2, mingw-openssl, mingw-zlib, mt-st, opensc, openssl, pam, papi, patch, patchutils, qpdf, scrub, shadow-utils, sudo, tftp, tog-pegasus, wget, wordnet, aspell, compat-openssl10, cracklib, crash-gcore-command, ctags, cups, cups-filters, cyrus-sasl, docbook-style-xsl, dovecot, enchant, enscript, esc, festival, fetchmail, flite, foomatic, ftp, icu, pidgin, xinetd, openssh, bind, guile, gzip, pnm2ppa, arpwatch, dvd+rw-tools, gcc
  • next patch would create the file which already exists:
    • c8: resource-agents, ncompress, sendmail, virt-top, coreutils
  • next patch would delete the file:
    • c8: python3, spamassassin, ghc
  • Reversed (or previously applied) patch detected
    • c8: mingw-jasper, mutt, postfix, gutenprint, hplip, perl-Tk

Build output (tail)

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.X808O0
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf zlib-1.2.8
+ /usr/bin/gzip -dc /builddir/build/SOURCES/zlib-1.2.8.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd zlib-1.2.8
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
Patch #3 (mingw32-zlib-1.2.7-autotools.patch):
+ echo 'Patch #3 (mingw32-zlib-1.2.7-autotools.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .atools --fuzz=0
patching file Makefile.am
The next patch would empty out the file Makefile.am.atools,
which is already empty!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
patching file configure.ac
The next patch would empty out the file configure.ac.atools,
which is already empty!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
patching file minizip.pc.in
The next patch would empty out the file minizip.pc.in.atools,
which is already empty!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
patching file zlib.pc.in
patching file zlib.pc.in.atools
error: Bad exit status from /var/tmp/rpm-tmp.X808O0 (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.X808O0 (%prep)
Finish: rpmbuild mingw-zlib-1.2.8-10.g60a5d81b.fc30.src.rpm
Finish: build phase for mingw-zlib-1.2.8-10.g60a5d81b.fc30.src.rpm
ERROR: Exception(/tmp/playground/mingw-zlib-1.2.8-10.g60a5d81b.fc30.src.rpm) Config(centos-stream-x86_64) 0 minutes 34 seconds
INFO: Results and/or logs in: /var/lib/mock/centos-stream-x86_64/result
ERROR: Command failed: 
 # /usr/bin/systemd-nspawn -q -M dbb5335f7c4f45ac920dc27d07b3d037 -D /var/lib/mock/centos-stream-x86_64/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.alrtrqli:/etc/resolv.conf --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v\$  --setenv=LANG=en_US.UTF-8 -u mockbuild bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mingw-zlib.spec
@dhodovsk dhodovsk changed the title mock build fail: patch would empty emptied out file mock build fail: patch would repeat action that has been done Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant