[Evolution] Bug#564890: Bug#564890: FTBFS: objcopy:debian/evolution/usr/lib/evolution/2.28/sts0XZLs: cannot create debug link section `debian/evolution-dbg/usr/lib/debug//usr/lib/evolution/2.28/libevolution-addressbook-importers.so.0.0.0': Invalid operation
Sam Morris
sam at robots.org.uk
Tue Jan 12 18:56:28 UTC 2010
On Tue, 2010-01-12 at 17:21 +0100, Yves-Alexis Perez wrote:
> Sam Morris a écrit :
> > Package: evolution
> > Version: 2.28.2-1
> > Severity: serious
> > Justification: fails to build from source
> >
> > I am unable to build evolution. There is an error while creating the
> > evolution-dbg package.
> >
> > ...
> > dh_strip -pevolution --dbg-package=evolution-dbg
> > objcopy:debian/evolution/usr/lib/evolution/2.28/sts0XZLs: cannot create debug link section `debian/evolution-dbg/usr/lib/debug//usr/lib/evolution/2.28/libevolution-addressbook-importers.so.0.0.0': Invalid operation
> > dh_strip: objcopy --add-gnu-debuglink debian/evolution-dbg/usr/lib/debug//usr/lib/evolution/2.28/libevolution-addressbook-importers.so.0.0.0 debian/evolution/usr/lib/evolution/2.28/libevolution-addressbook-importers.so.0.0.0 returned exit code 1
> > make: *** [binary-strip-IMPL/evolution] Error 2
> > dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
> >
> > More detail:
> >
> > $ dh_strip -v -pevolution --dbg-package=evolution-dbg
> > strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/evolution/usr/lib/evolution/2.28/libevolution-addressbook-importers.so.0.0.0
> > strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/evolution/usr/lib/evolution/2.28/libeutil.so.0.0.0
> > objcopy --only-keep-debug debian/evolution/usr/lib/evolution/2.28/libefilterbar.so.0.0.0 debian/evolution-dbg/usr/lib/debug//usr/lib/evolution/2.28/libefilterbar.so.0.0.0
> > chmod 644 debian/evolution-dbg/usr/lib/debug//usr/lib/evolution/2.28/libefilterbar.so.0.0.0
> > strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/evolution/usr/lib/evolution/2.28/libefilterbar.so.0.0.0
> > objcopy --add-gnu-debuglink debian/evolution-dbg/usr/lib/debug//usr/lib/evolution/2.28/libefilterbar.so.0.0.0 debian/evolution/usr/lib/evolution/2.28/libefilterbar.so.0.0.0
> > objcopy:debian/evolution/usr/lib/evolution/2.28/stz8Sd5D: cannot create debug link section `debian/evolution-dbg/usr/lib/debug//usr/lib/evolution/2.28/libefilterbar.so.0.0.0': Invalid operation
> > dh_strip: objcopy --add-gnu-debuglink debian/evolution-dbg/usr/lib/debug//usr/lib/evolution/2.28/libefilterbar.so.0.0.0 debian/evolution/usr/lib/evolution/2.28/libefilterbar.so.0.0.0 returned exit code 1
> >
> > I've tried this on two different amd64 machine with the same result.
> >
>
> Do you use binutils-gold, and if yes, at which version. It might be
> related to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563366 fixed
> in binutils 2.20-5.
That fixed it. Thanks!
>
> evolution builds fine here (both with binutils and binutils-gold 2.20-5)
>
> Cheers,
--
Sam Morris <sam at robots.org.uk>
More information about the Pkg-evolution-maintainers
mailing list