I try and build my package for Ubuntu but I can't understand the error. I get thisdebuild -S -sa dpkg-buildpackage -rfakeroot -d -us -uc -S -sadpkg-buildpackage: source package opshdpkg-buildpackage: source version 0.1-1dpkg-buildpackage: source distribution unstabledpkg-buildpackage: source changed by Niklas Rosencrantz <nik@kth.se> dpkg-source --before-build opsh fakeroot debian/rules cleandh clean  --with autotools_dev   dh_testdir   dh_auto_clean   dh_autotools-dev_restoreconfig   dh_clean dpkg-source -b opshdpkg-source: info: using source format '3.0 (quilt)'dpkg-source: info: building opsh using existing ./opsh_0.1.orig.tar.gzdpkg-source: info: local changes detected, the modified files are: opsh/src/check.tdpkg-source: error: aborting due to unexpected upstream changes, see /tmp/opsh_0.1-1.diff.TooA5fdpkg-source: info: you can integrate the local changes with dpkg-source --commitdpkg-buildpackage: error: dpkg-source -b opsh gave error exit status 2debuild: fatal error at line 1376:dpkg-buildpackage -rfakeroot -d -us -uc -S -sa failed
Fail to build for Ubuntu
ubuntu;dpkg;packaging
The error isdpkg-source: info: local changes detected, the modified files are: opsh/src/check.tThat means that opsh/src/check.t doesnt match the contents of opsh_0.1.orig.tar.gz. In Debian packages, any changes to a file outside the debian directory must be reversible. Since youre using 3.0 (quilt) packaging, the best way to handle this is to add a patch. The Debian wiki has the details, but the error message gives you a quick solution to turn your changes into a patch:dpkg-source --commitYoull need to rename and edit the patch appropriately (as generated, it should contain enough comments for you to figure things out).