[Pkg-salt-team] build squeeze backport

Florian Zavatzki florian at zavatzki.name
Tue May 14 09:13:01 UTC 2013


On 05/14/2013 11:03 AM, Julien Cristau wrote:
> On Tue, May 14, 2013 at 10:38:42 +0200, Florian Zavatzki wrote:
> 
>> Hi,
>>
>> I'm trying to build the latest version 0.15.1 from git with
>> git-buildpackage to create a package for my squeeze environment to test
>> salt.
>>
>> During the build I run into a error, where I'm not sure why this error
>> occurs:
>> I try to build the package with git-buildpackage and git-pbuilder on a
>> wheezy but ran into the following error:
>> dpkg-source: info: local changes detected, the modified files are:
>>  salt-0.15.1/.gitignore
>> dpkg-source: error: aborting due to unexpected upstream changes, see
>> /tmp/salt_0.15.1-1.diff.6WeZkU
>> dpkg-source: info: you can integrate the local changes with dpkg-source
>> --commit
>> dpkg-buildpackage: error: dpkg-source
>> -i(?:^|/)\.git(attributes)?(?:$|/.*$) -I.git -b salt-0.15.1 gave error
>> exit status 2
>>
>> As I understand the messages, the problem is the additional .gitignore
>> file. dpkg-source complains that .gitignore is not in the upstream
>> package, so I think the file should be added by by quilt instead
>> directly or do I miss something?
>>
> You should call dpkg-buildpackage with "-i", to tell it to ignore
> version-control-related files.  I imagine git-buildpackage must have a
> way to pass that.
> 

Thanks. Now it's working.
Wasn't aware of this flag.

Bye,
Florian




More information about the pkg-salt-team mailing list