Dealing with custom/debug packages
I've been using yaourt and customizepkg to tag particular packages for debug building or occasionally changing the build options of a package (i.e. mainly configure switches).
I have two main problems with this set up. When an upgrade is found pacman always complains about the version requirements of the debug package. For example, my recent experience:
looking for conflicting packages... error: failed to prepare transaction (could not satisfy dependencies) :: binutils-debug: requires binutils=2.25.1-2
Then I must manually remove the -debug package before trying again.
The second issue is that I like to keep the build sources around for debugging (helps with gdb "list" command). But I'm constantly getting messages like
mkdir: cannot create directory ‘/home/build/binutils/src/binutils-build’: File exists
and I have to manually remove/clean the sources.
Does anyone else run custom or debug packages? Do you have a workaround for issues like this with yaourt? Do you use an alternative solution?
About this post
- Posted
- Archived
- Score
- 4 · 100% up
- Kind
- Text
- ID
- 3hs875
5 comments
So... you're using unsupported stuff and complaining that it doesn't work?
Edit: Did you by any chance come from Gentoo?
Is this an attempt to shoot the questioner?
I'm just after a way of smoothing the use of custom and debug package management. I try to help the developers of the software I use by giving them as much information/testing as I can.
PS Played with Gentoo for about 6 months back in 2004. (Does that even matter?)
The Gentoo part was more of a potshot. I've used Gentoo during 2010 and followed their bugtracker. Seen quite a few of insane build-flags.
For programs not being able to update with *-debug: There's no real reason for using debug packages as most of the time (over 99%) the regular exit codes or tracebacks are enough for the devs. Thus, Arch packages are only built against other regular packages and don't recognize -debug.
As for the build problem: I'm not sure how exactly you created them and you didn't specify what you did either, thus helping on this issue is difficult.
Personally, I just blocked a list of packages that shouldn't get updated automatically and use srcpac to update them manually afterwards (an example is rxvt-unicode, where the srcpac-file enables pixbuf).