Subject: Re: linux-next: Tree for Jul 17

From: "Darrick J. Wong" <[email-masked]>
Date: Wed, 17 Jul 2019 08:33:29 -0700

On Wed, Jul 17, 2019 at 05:30:47PM +0200, Sedat Dilek wrote:
> Hi Steven, Hi Darrick,
> 
> Unfortunately, my build-script is not working anymore.
> 
> I am using builddeb/mkdebian scripts.

Yeah, I accidentally uploaded an internal build patch yesterday which
got sucked into for-next.  It's been fixed in the iomap-for-next tree
and should disappear in Thursday's for-next tree.  Sorry about that. :(

--D

> [ BUILD-LOG ]
> ...
> set -e; mkdir -p include/config/; { echo "5.2.0$(/bin/bash
> ./scripts/setlocalversion .)"; } > include/config/kernel.release.tmp;
> if [ -r include/config/kernel.release ] && cmp -s
> include/config/kernel.release include/config/kernel.release.tmp; then
> rm -f include/config/kernel.release.tmp; else : '  UPD
> include/config/kernel.release'; mv -f
> include/config/kernel.release.tmp include/config/kernel.release; fi
> make -f ./scripts/Makefile.build obj=scripts/package bindeb-pkg
> /bin/bash ./scripts/package/mkdebian
> ./scripts/package/mkdebian: line 149: cd: source/: No such file or directory
> make[1]: *** [scripts/package/Makefile:79: bindeb-pkg] Error 1
> make: *** [Makefile:1442: bindeb-pkg] Error 2
> 
> Investigations revealed hardcoded stuff from the ...
> 
> Merge remote-tracking branch 'iomap/iomap-for-next'
> 
> $ git blame scripts/package/mkdebian | grep 'cd source'
> 87bdff62e470c (Darrick J. Wong    2019-06-27 17:30:15 -0700 149) (cd
> source/ ; stg ser | sed -e '/^-/d' -e 's/^. /  * /g') >>
> debian/changelog
> 
> $ git log --oneline --author="Darrick J. Wong" scripts/package/mkdebian
> 87bdff62e470 mtr: Build script adjustments
> 
> I do not think this was intended?
> 
> Reverting seems to be easy and fix it for me.
> 
> $ git revert --no-edit 87bdff62e470
> Führe Erkennung für ungenaue Umbenennung aus: 100% (2251440/2251440), Fertig.
> [5.2.0-3-amd64-cbl-asmgoto db8ec1968620] Revert "mtr: Build script adjustments"
>  Date: Wed Jul 17 17:27:26 2019 +0200
>  3 files changed, 10 insertions(+), 17 deletions(-)
> 
> Please make it work again for $WORLD.
> 
> Thanks.
> 
> Regards,
> - Sedat -
> 
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/log/scripts/package/mkdebian?h=next-20190717