dpkg-dev: bad absolute symlinks with dpkg-buildpackage

Seth Hasani sepheebear at gmail.com
Fri Dec 16 15:30:49 UTC 2005


<quote who="BenoƮt Rouits" on Tue, Dec 13, 2005 at 12:15:56PM EST>

> $ editor Makefile
> [...]
> install:
> 	install foo $DESTDIR/$(PREFIX)/bin
> 	ln -s $DESTDIR/$(PREFIX)/bin/foo $DESTDIR/$(PREFIX)/bin/bar
> #		^^^^^ this cause the corruption
> #<EOF>

In this case is where debhelper works really good. You could use dh_link
instead.

install:
    dh_install foo usr/bin/foo
    dh_link usr/bin/foo usr/bin/bar


Seth






More information about the ubuntu-users mailing list