Skip to content

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?

4 points5 comments
Open on Reddit
About this post
Posted
Archived
Score
4 · 100% up
Kind
Text
ID
3hs875

Author

4
posts
5
comments
0
media
View profile

5 comments

So... you're using unsupported stuff and complaining that it doesn't work?

Edit: Did you by any chance come from Gentoo?

2 points

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?)

1 points

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).

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.