Build fails with "File series fully applied, ends at patch..."

58 views
Skip to first unread message

Raphael Tryster

unread,
Oct 19, 2021, 9:45:41 AM10/19/21
to sonicproject
Some of my builds have been failing lately like this:

File series fully applied, ends at patch patches/0001-Add-plugin-support-to-bash.patch^M
make[1]: *** [Makefile:8: /sonic/target/debs/buster/bash_5.1-2_amd64.deb] Error 2^M
make[1]: Leaving directory '/sonic/src/bash'^M
[  FAIL LOG END  ] [ target/debs/buster/bash_5.1-2_amd64.deb ]^M
make: *** [slave.mk:450: target/debs/buster/bash_5.1-2_amd64.deb] Error 1^M

by liuh-80.  Several commands were added to the file, including the one that fails:

quilt push -a

Here is some more detailed information.  The failure occurs in the second invocation of this Makefile.  In the first invocation, there are no files in the current directory, and

MAIN_TARGET = bash_5.1-2_amd64.deb
BASH_VERSION_MAJOR = 5.1
BASH_VERSION_FULL = 5.1-2
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -us -uc -b -j64 --admindir /sonic/dpkg/tmp.YgMzj6AEX7
Last line: mv bash_5.1-2_amd64.deb /sonic/target/debs/buster/


In the second invocation, the current directory contains:

Makefile^M
bash-5.1^M
bash-builtins-dbgsym_5.1-2_amd64.deb^M
bash-builtins_5.1-2_amd64.deb^M
bash-dbgsym_5.1-2_amd64.deb^M
bash-doc_5.1-2_all.deb^M
bash-static-dbgsym_5.1-2_amd64.deb^M
bash-static_5.1-2_amd64.deb^M
bash_5.1-2.debian.tar.xz^M
bash_5.1-2.dsc^M
bash_5.1-2_amd64.buildinfo^M
bash_5.1-2_amd64.changes^M
bash_5.1.orig.tar.xz^M
patches^M

bash-5.1 disappears after the rm command and reappears after the dget command.

MAIN_TARGET = bash_5.1-2_amd64.deb
BASH_VERSION_MAJOR = 5.1
BASH_VERSION_FULL = 5.1-2

dget: using existing bash_5.1.orig.tar.xz^M
dget: using existing bash_5.1-2.debian.tar.xz^M
dpkg-source: info: extracting bash in bash-5.1^M
dpkg-source: info: unpacking bash_5.1.orig.tar.xz^M
dpkg-source: info: unpacking bash_5.1-2.debian.tar.xz^M
dpkg-source: info: using patch list from debian/patches/series^M
dpkg-source: info: applying bash51-001.diff^M
dpkg-source: info: applying bash51-002.diff^M
dpkg-source: info: applying bash51-003.diff^M
dpkg-source: info: applying bash51-004.diff^M
dpkg-source: info: applying bashbug-editor.diff^M
dpkg-source: info: applying deb-bash-config.diff^M
dpkg-source: info: applying deb-examples.diff^M
dpkg-source: info: applying man-arithmetic.diff^M
dpkg-source: info: applying man-fignore.diff^M
dpkg-source: info: applying man-bashrc.diff^M
dpkg-source: info: applying man-bashlogout.diff^M
dpkg-source: info: applying man-nocaseglob.diff^M
dpkg-source: info: applying man-test.diff^M
dpkg-source: info: applying man-test2.diff^M
dpkg-source: info: applying rbash-manpage.diff^M
dpkg-source: info: applying bash-default-editor.diff^M
dpkg-source: info: applying input-err.diff^M
dpkg-source: info: applying exec-redirections-doc.diff^M
dpkg-source: info: applying bash-aliases-repeat.diff^M
dpkg-source: info: applying use-system-texi2html.diff^M
dpkg-source: info: applying bzero.diff^M
dpkg-source: info: applying man-macro-warnings.diff^M
dpkg-source: info: applying man-vx-opts.diff^M

And then quilt gives the output listed above.

Masaru OKI

unread,
Oct 21, 2021, 11:28:26 PM10/21/21
to Raphael Tryster, sonicproject
Me too.

In other package such as iptables, using stg instead of quilt.

2021年10月19日(火) 22:45 Raphael Tryster <rapi...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "sonicproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonicproject...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonicproject/bb60afc0-b5eb-462f-8f89-fe3d50e3caf7n%40googlegroups.com.

Jin zhang

unread,
Oct 22, 2021, 1:39:18 PM10/22/21
to Masaru OKI, Raphael Tryster, sonicproject
Can you check if the following fix is related?

redis-dump-load: Pin the redis package to use 3.5.3 (#9001)




Masaru OKI

unread,
Oct 22, 2021, 9:09:14 PM10/22/21
to Jin zhang, Raphael Tryster, sonicproject
Build successfully with below commit.  Thank you.
 
> Author: liuh-80 <58683130...@users.noreply.github.com>
> Date:   Fri Oct 22 10:29:12 2021 +0800

>     [Bash] Fix bash build break when re-build bash issue. (#9027)
Reply all
Reply to author
Forward
0 new messages