[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with unusual upstream source directory



2014/1/3 Dariusz Dwornikowski <dariusz.dwornikowski@cs.put.poznan.pl>:
> hi again,
>
> So I have got a problem, upstream has localization files in po/ directory.
> When make is called, it traverses to po/ and also calls make, then .po files
> change (they are updated with the current date) like in the example below.
> Unfortunately, debuild when using quilt 3.0 format crashes with message that
> upstream has changed. Is there a way to somehow ignore these files in
> debuild. I cannot do dpkg-source --commit because these file would be
> updated anyway in every build.
>
> dpkg-source: info: using source format `3.0 (quilt)'
> dpkg-source: info: building linuxlogo using existing
> ./linuxlogo_5.11.orig.tar.gz
> dpkg-source: info: local changes detected, the modified files are:
>  linuxlogo-5.11/po/da.po
>  linuxlogo-5.11/po/de.po
>  linuxlogo-5.11/po/es.po
>  linuxlogo-5.11/po/fr.po
>  linuxlogo-5.11/po/it.po
>  linuxlogo-5.11/po/nb.po
>  linuxlogo-5.11/po/nl.po
>  linuxlogo-5.11/po/pl.po
>  linuxlogo-5.11/po/pt_BR.po
>  linuxlogo-5.11/po/ru.po
>  linuxlogo-5.11/po/sv.po
>  linuxlogo-5.11/po/uk.po
>  linuxlogo-5.11/po/zh_TW.po
> dpkg-source: error: aborting due to unexpected upstream changes, see
> /tmp/linuxlogo_5.11-4.diff.Cqjk6_
> dpkg-source: info: you can integrate the local changes with dpkg-source
> --commit
> dpkg-buildpackage: error: dpkg-source -b linuxlogo-5.11 gave error exit
> status 2

You can make a copy before build and then restore original files when cleaning.

If this happens at the second build, I use "patch -R -p1 <
/tmp/linuxlogo_5.11-4.diff.Cqjk6_" ;-)


Reply to: