* Debian package not building
@ 2011-06-24 23:34 Jameson Graef Rollins
2011-06-28 6:39 ` Pieter Praet
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Jameson Graef Rollins @ 2011-06-24 23:34 UTC (permalink / raw)
To: Notmuch Mail
[-- Attachment #1: Type: text/plain, Size: 1823 bytes --]
Hey, folks. As of today I am for some reason no longer able to build
the Notmuch Debian package. I'm using the same build technique I have
been using for a while (git-buildpackage). The tail of the failing
build log is pasted at the bottom of this message. Is anyone else
encountering anything like this?
I don't see what of the recent packaging changes, other than the RPATH
stuff, could be affecting this, and I get the same failure even if I
revert the revert of the RPATH override (ie. RPATH_LDFLAGS auto-build
override in place). I did recently do a system upgrade, so it's
possible that something there could have caused the problem.
What could be preventing dpkg-shlibdeps from finding libpthread.so.0 or
libc.so.6?
jamie.
servo:~/src/notmuch/git [master] 1$ git buildpackage -us -uc --git-ignore-branch
...
dpkg-shlibdeps: error: couldn't find library libpthread.so.0 needed by debian/notmuch/usr/bin/notmuch (ELF format: 'elf64-x86-64'; RPATH: '').
dpkg-shlibdeps: error: couldn't find library libc.so.6 needed by debian/notmuch/usr/bin/notmuch (ELF format: 'elf64-x86-64'; RPATH: '').
dpkg-shlibdeps: error: Cannot continue due to the errors listed above.
Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.
dh_shlibdeps: dpkg-shlibdeps -Tdebian/notmuch.substvars debian/notmuch/usr/bin/notmuch returned exit code 2
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1340:
dpkg-buildpackage -rfakeroot -D -us -uc -i -I failed
gbp:error: debuild -i -I returned 29
gbp:error: Couldn't run 'debuild -i -I -us -uc'
servo:~/src/notmuch/git [master] 1$
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Debian package not building
2011-06-24 23:34 Debian package not building Jameson Graef Rollins
@ 2011-06-28 6:39 ` Pieter Praet
2011-06-28 19:33 ` Carl Worth
2011-07-10 19:54 ` Jameson Graef Rollins
2 siblings, 0 replies; 4+ messages in thread
From: Pieter Praet @ 2011-06-28 6:39 UTC (permalink / raw)
To: Jameson Graef Rollins, Notmuch Mail
On Fri, 24 Jun 2011 16:34:02 -0700, Jameson Graef Rollins <jrollins@finestructure.net> wrote:
Non-text part: multipart/mixed
Non-text part: multipart/signed
> Hey, folks. As of today I am for some reason no longer able to build
> the Notmuch Debian package. I'm using the same build technique I have
> been using for a while (git-buildpackage). The tail of the failing
> build log is pasted at the bottom of this message. Is anyone else
> encountering anything like this?
>
> I don't see what of the recent packaging changes, other than the RPATH
> stuff, could be affecting this, and I get the same failure even if I
> revert the revert of the RPATH override (ie. RPATH_LDFLAGS auto-build
> override in place). I did recently do a system upgrade, so it's
> possible that something there could have caused the problem.
>
> What could be preventing dpkg-shlibdeps from finding libpthread.so.0 or
> libc.so.6?
May be PKG_CONFIG_PATH related?
> jamie.
>
>
> servo:~/src/notmuch/git [master] 1$ git buildpackage -us -uc --git-ignore-branch
> ...
> dpkg-shlibdeps: error: couldn't find library libpthread.so.0 needed by debian/notmuch/usr/bin/notmuch (ELF format: 'elf64-x86-64'; RPATH: '').
> dpkg-shlibdeps: error: couldn't find library libc.so.6 needed by debian/notmuch/usr/bin/notmuch (ELF format: 'elf64-x86-64'; RPATH: '').
> dpkg-shlibdeps: error: Cannot continue due to the errors listed above.
> Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
> To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.
> dh_shlibdeps: dpkg-shlibdeps -Tdebian/notmuch.substvars debian/notmuch/usr/bin/notmuch returned exit code 2
> make: *** [binary] Error 2
> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
> debuild: fatal error at line 1340:
> dpkg-buildpackage -rfakeroot -D -us -uc -i -I failed
> gbp:error: debuild -i -I returned 29
> gbp:error: Couldn't run 'debuild -i -I -us -uc'
> servo:~/src/notmuch/git [master] 1$
Non-text part: application/pgp-signature
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch
Peace
--
Pieter
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Debian package not building
2011-06-24 23:34 Debian package not building Jameson Graef Rollins
2011-06-28 6:39 ` Pieter Praet
@ 2011-06-28 19:33 ` Carl Worth
2011-07-10 19:54 ` Jameson Graef Rollins
2 siblings, 0 replies; 4+ messages in thread
From: Carl Worth @ 2011-06-28 19:33 UTC (permalink / raw)
To: Jameson Graef Rollins, Notmuch Mail
[-- Attachment #1: Type: text/plain, Size: 1210 bytes --]
On Fri, 24 Jun 2011 16:34:02 -0700, Jameson Graef Rollins <jrollins@finestructure.net> wrote:
> Hey, folks. As of today I am for some reason no longer able to build
> the Notmuch Debian package. I'm using the same build technique I have
> been using for a while (git-buildpackage). The tail of the failing
> build log is pasted at the bottom of this message. Is anyone else
> encountering anything like this?
I use git-buildpackage as well. I did recently need to "apt-get install
python-all" for a recent build-dependency addition. But I'm not getting
any failure like you are getting here.
> I did recently do a system upgrade, so it's
> possible that something there could have caused the problem.
For what it's worth, I did hit some recent problems when doing a Debian
upgrade of libc6. The problem I hit manifested itself much worse, (no
dynamically-linked programs would run). That bug (and its fix) is
described here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629534
I don't know if it's related to your problem at all, but it's certainly
possible that something unrelated to notmuch is causing the failure
you're getting.
-Carl
--
carl.d.worth@intel.com
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Debian package not building
2011-06-24 23:34 Debian package not building Jameson Graef Rollins
2011-06-28 6:39 ` Pieter Praet
2011-06-28 19:33 ` Carl Worth
@ 2011-07-10 19:54 ` Jameson Graef Rollins
2 siblings, 0 replies; 4+ messages in thread
From: Jameson Graef Rollins @ 2011-07-10 19:54 UTC (permalink / raw)
To: Notmuch Mail
[-- Attachment #1: Type: text/plain, Size: 609 bytes --]
On Fri, 24 Jun 2011 16:34:02 -0700, Jameson Graef Rollins <jrollins@finestructure.net> wrote:
> What could be preventing dpkg-shlibdeps from finding libpthread.so.0
> or libc.so.6?
Hey, folks. For the curious, I was able to resolve this issue with some
help from the dpkg-dev maintainers [0]. It turns out that I was for
some reason missing the following important file:
/etc/ld.so.conf.d/x86_64-linux-gnu.conf
I have no idea how it got removed, but restoring it with dpkg cleared up
the issue, allowing me to build the package again.
jamie.
[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633406
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-07-10 19:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-24 23:34 Debian package not building Jameson Graef Rollins
2011-06-28 6:39 ` Pieter Praet
2011-06-28 19:33 ` Carl Worth
2011-07-10 19:54 ` Jameson Graef Rollins
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).