Sven Hoexter: dh, dpkg-buildflags, LDFLAGS and the ugly way to stop overlinking
I just got asked by someone I help out with sponsoring uploads from
time to time how to get rid of overlinking. Since wheezy or maybe even earlier
dpkg-shlipdeps will complain with a warning like this:
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/
foobar/usr/bin/foobar was not linked against libatk-1.0.so.0 (it uses none of the
library's symbols)
That usually requires some build system fixes, or pkg-config fixes or something else.
This one
should provide a starting point if you'd like to read a bit more.
But in case you're lucky, and you use debhelper, and the buildsystem is sane enough to
read the LDCONFIG environment variable
export DEB_LDFLAGS_MAINT_PREPEND := -Wl,-z,defs -Wl,--as-needed
in your debian/rules can be enough. I admit that's still a bit of a hack that requires
some luck to work out and can break in strange and nasty ways. But if it work's I'm fine
with it.
man 1 dpkg-buildflags
hold the details to the mechanics in use here regarding the environment variables.
Thanks to Mehdi Dogguy, here's a nice hook to generate a source
change file at build time (with pbuilder), so one can upload
source-only packages to the archive and have buildds rebuild for
all the architectures. Put it in .pbuilder/hooks/B10_source-build
so it gets called once the builds succeeds

On Thursday, October 22, 2015, Ubuntu 15.10 (Wily Werewolf) was released. To celebrate, some San Francisco members of the Ubuntu California LoCo Team held a small release party. Yelp was gracious enough to host the event and provide us with food and drinks. Canonical also sent us a box of swag for the event. Unfortunately, it did not arrive in time. Luckily, James Ouyang had some extra goodies from a previous event for us to hand out. Despite having a rather small turnout for the event, it was still a fun night. Several people borrowed the USB flash drives I had setup with Ubuntu, Kubuntu, and Xubuntu 15.10 in order to install Ubuntu on their machines. Other people were happy to play around with the new release in a virtual machine on my computer. Overall, it was a good night. Hopefully, we can put together an even better and larger release party for Ubuntu 16.04 LTS.
FOSDEM is one of the largest gatherings of Free Software contributors in the world and happens each February in Brussels (Belgium, Europe). One of the tracks will be the Desktops DevRoom (formerly known as CrossDesktop DevRoom ), which will host Desktop-related talks.
We are now inviting proposals for talks about Free/Libre/Open-source Software on the topics of Desktop development, Desktop applications and interoperability amongst Desktop Environments. This is a unique opportunity to show novel ideas and developments to a wide technical audience.
Topics accepted include, but are not limited to:
What happened in the
Last week I was in Tokyo, Japan for the
Here is my monthly update covering a large part of what I have been doing in the free software world (
Already November.
Back in March I was given an LG
Not bad for 23 lines of code, is that? Seems much less tedious to do things
this way than using ncurses. Even with its panels, ncurses requires you to
think about layout of various things on the screen, and many low-level
details. This, by contrast, is compositional, just add another region and a
thread to update it, and away it goes.
So, here's an apt-like download progress display, in 30 lines of code.
Not only does it have regions which are individual lines of the screen,
but those can have sub-regions within them as seen here (and so on).
And, log-type messages automatically scroll up above the regions.
External programs run by
This is a guest post by 
This is the third part in a series of articles about SRE, based on the talk I gave in the