Editing Mika/Notes/Computer Stuff/Debian Maintenance

From WikiDotMako

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 4: Line 4:


* I can check what's happening in ubuntu here: http://changelogs.ubuntu.com/changelogs/pool/universe/b/bfm/bfm_0.6.4-5ubuntu1/changelog
* I can check what's happening in ubuntu here: http://changelogs.ubuntu.com/changelogs/pool/universe/b/bfm/bfm_0.6.4-5ubuntu1/changelog
* I accidentally deleted my deb-src lines in /etc/apt/source.list. When I tried to run apt-get source (package), I got this error: E: You must put some 'source' URIs in your sources.list . Added deb-src lines back in, ran apt-get update, and now it's all good.
* Tried to switch to 3.0 (quilt) source format (https://wiki.debian.org/Projects/DebSrc3.0#How_to_convert_a_source_package.3F) but I kept getting an error message (dpkg-buildpackage: error: dpkg-source -b  gave error exit status 2) when I tried to dpkg-buildpackage. The solution was to run dpkg-source --commit.
* man 7 intro gives introduction to overview, convention (i.e. (1) means sub-man page etc).
* READ on dh_auto_build and dh_auto_install!


==Basic Steps==
==Basic Steps==
Line 21: Line 16:


::dpkg-buildpackage (-us -uc skips the signing stage) -rfakeroot: This makes dsc and changes and diff.gz files in the *parent* directory (i.e. /home/mika/).
::dpkg-buildpackage (-us -uc skips the signing stage) -rfakeroot: This makes dsc and changes and diff.gz files in the *parent* directory (i.e. /home/mika/).
:::if it gives an error dpkg-checkbuilddeps: error: Unmet build dependencies x y z, run apt build-dep bfm.


4. Run lintian on changes to check errors in the directory where .changes files exist:
4. Run lintian on changes to check errors in the directory where .changes files exist:
Line 43: Line 36:




7. Upload .dsc and <s>.diff.gz</s> .debian.tar. and orig.tar somewhere, so that the sponsor can get it.  
7. Upload .dsc and .diff.gz somewhere, so that the sponsor can get it.  


8. pbuilder can help simulate the problems in sid (problems if using Ubuntu. Just use Debian):
8. pbuilder can help simulate the problems in sid (problems if using Ubuntu. Just use Debian):
Line 50: Line 43:


==Bug reports==
==Bug reports==
* switch to 3.0 (quilt) -- followed this instruction https://wiki.debian.org/Projects/DebSrc3.0#How_to_convert_a_source_package.3F and dpkg-source --commit
   
   
* Homepage update in control
* 667112 on gcc command line option -Wl
* 667112 on gcc command line option -Wl


Please note that all contributions to WikiDotMako are considered to be released under the Attribution-Share Alike 3.0 Unported (see WikiDotMako:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)