* [RFC] packaging fio 2.1.1 for Debian: make clean does not remove all generated files
@ 2013-07-08 13:06 Martin Steigerwald
2013-07-10 12:41 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Martin Steigerwald @ 2013-07-08 13:06 UTC (permalink / raw)
To: fio
Hi Jens!
I am in the process of upgrading Debian packaging of fio to current version
2.1.1, but run into this error:
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building fio using existing ./fio_2.1.1.orig.tar.gz
dpkg-source: info: local changes detected, the modified files are:
fio/config.log
fio/crc/crc16.d
fio/crc/crc32.d
[…]
fio/engines/binject.d
fio/engines/cpu.d
[…]
fio/lib/axmap.d
fio/lib/flist_sort.d
[…]
fio/profiles/act.d
fio/profiles/tiobench.d
dpkg-source: info: you can integrate the local changes with dpkg-source --commit
dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/fio_2.1.1-1.diff.eLtKfe
dpkg-buildpackage: error: dpkg-source -b fio gave error exit status 2
I added the following patch to debian package which fixes it:
Description: Delete config log and .d-files on clean.
Makefile of fio 2.1.1 leaves them which prevents repeated builds
with dpkg-buildpackage due to:
dpkg-source: info: local changes detected, …
Author: Martin Steigerwald <ms@teamix.de>
---
--- a/Makefile
+++ b/Makefile
@@ -265,7 +265,7 @@
$(QUIET_LINK)$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(T_LFSR_TEST_OBJS) $(LIBS) $(LDFLAGS)
clean: FORCE
- -rm -f .depend $(FIO_OBJS) $(GFIO_OBJS) $(OBJS) $(T_OBJS) $(PROGS) $(T_PROGS) core.* core gfio FIO-VERSION-FILE *.d
config-host.mak config-host.h
+ -rm -f .depend $(FIO_OBJS) $(GFIO_OBJS) $(OBJS) $(T_OBJS) $(PROGS) $(T_PROGS) core.* core gfio FIO-VERSION-FILE *.d */*.d
config.log config-host.mak config-host.h
distclean: clean FORCE
@rm -f cscope.out
Any other suggestion? If thats good to go, maybe makes sense to apply
upstream?
Ciao,
--
Martin Steigerwald - teamix GmbH - http://www.teamix.de
gpg: 19E3 8D42 896F D004 08AC A0CA 1E10 C593 0399 AE90
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [RFC] packaging fio 2.1.1 for Debian: make clean does not remove all generated files
2013-07-08 13:06 [RFC] packaging fio 2.1.1 for Debian: make clean does not remove all generated files Martin Steigerwald
@ 2013-07-10 12:41 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2013-07-10 12:41 UTC (permalink / raw)
To: Martin Steigerwald; +Cc: fio
On Mon, Jul 08 2013, Martin Steigerwald wrote:
> Hi Jens!
>
> I am in the process of upgrading Debian packaging of fio to current version
> 2.1.1, but run into this error:
>
> dpkg-source: info: using source format `3.0 (quilt)'
> dpkg-source: info: building fio using existing ./fio_2.1.1.orig.tar.gz
> dpkg-source: info: local changes detected, the modified files are:
> fio/config.log
> fio/crc/crc16.d
> fio/crc/crc32.d
> […]
> fio/engines/binject.d
> fio/engines/cpu.d
> […]
> fio/lib/axmap.d
> fio/lib/flist_sort.d
> […]
> fio/profiles/act.d
> fio/profiles/tiobench.d
> dpkg-source: info: you can integrate the local changes with dpkg-source --commit
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/fio_2.1.1-1.diff.eLtKfe
> dpkg-buildpackage: error: dpkg-source -b fio gave error exit status 2
>
>
>
> I added the following patch to debian package which fixes it:
>
> Description: Delete config log and .d-files on clean.
> Makefile of fio 2.1.1 leaves them which prevents repeated builds
> with dpkg-buildpackage due to:
> dpkg-source: info: local changes detected, …
> Author: Martin Steigerwald <ms@teamix.de>
>
> ---
> --- a/Makefile
> +++ b/Makefile
> @@ -265,7 +265,7 @@
> $(QUIET_LINK)$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(T_LFSR_TEST_OBJS) $(LIBS) $(LDFLAGS)
>
> clean: FORCE
> - -rm -f .depend $(FIO_OBJS) $(GFIO_OBJS) $(OBJS) $(T_OBJS) $(PROGS) $(T_PROGS) core.* core gfio FIO-VERSION-FILE *.d
> config-host.mak config-host.h
> + -rm -f .depend $(FIO_OBJS) $(GFIO_OBJS) $(OBJS) $(T_OBJS) $(PROGS) $(T_PROGS) core.* core gfio FIO-VERSION-FILE *.d */*.d
> config.log config-host.mak config-host.h
>
> distclean: clean FORCE
> @rm -f cscope.out
>
>
>
>
> Any other suggestion? If thats good to go, maybe makes sense to apply
> upstream?
I think that makes sense, I'll add it upstream too.
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-10 12:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-08 13:06 [RFC] packaging fio 2.1.1 for Debian: make clean does not remove all generated files Martin Steigerwald
2013-07-10 12:41 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox