[opensuse-buildservice] libtirpc build fails with Error: TOPDIR empty, when finalizing build dir
Hi, I seem to be unable to build libtirpc anymore, neither local nor on build service, neither version of Base:System, nor openSUSE:13.1:Update. [ 26s] now finalizing build dir... [ 27s] su: cannot open session: Module is unknown [ 27s] Error: TOPDIR empty Any idea, what's going wrong here? Stumbled, Pete -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Fri, May 09, 2014 at 06:19:23PM +0200, Hans-Peter Jansen wrote:
Hi,
I seem to be unable to build libtirpc anymore, neither local nor on build service, neither version of Base:System, nor openSUSE:13.1:Update.
[ 26s] now finalizing build dir... [ 27s] su: cannot open session: Module is unknown [ 27s] Error: TOPDIR empty
Any idea, what's going wrong here?
Yes, the pam_unix.so module needs libtirpc.so.1 to work. I don't know why it doesn't get installed, though... M. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Fri, May 09, 2014 at 06:54:29PM +0200, Michael Schroeder wrote:
On Fri, May 09, 2014 at 06:19:23PM +0200, Hans-Peter Jansen wrote:
Hi,
I seem to be unable to build libtirpc anymore, neither local nor on build service, neither version of Base:System, nor openSUSE:13.1:Update.
[ 26s] now finalizing build dir... [ 27s] su: cannot open session: Module is unknown [ 27s] Error: TOPDIR empty
Any idea, what's going wrong here?
Yes, the pam_unix.so module needs libtirpc.so.1 to work. I don't know why it doesn't get installed, though...
Ah, it's because you have: Keep: patch file libmagic1 file-magic in the project config for home:frispete:tools. Adding libtirpc1 here will fix the build. (As a side note, for distributions >= 12.3 it's better to have no 'Keep' line at all. This selects a different algorithm that does the right thing most of the time. So deleting the 'Keep' line will fix the build for 13.1, but it probably won't build anymore for 12.2...) Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Fri, May 09, 2014 at 07:06:20PM +0200, Michael Schroeder wrote:
(As a side note, for distributions >= 12.3 it's better to have no 'Keep' line at all. This selects a different algorithm that does the right thing most of the time. So deleting the 'Keep' line will fix the build for 13.1, but it probably won't build anymore for 12.2...)
Hmm, that probably means you should use %if 0%{?suse_version} && 0%{?suse_version} < 1230 Keep: ... %endif in your project config... M. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Dear Michael, On Freitag, 9. Mai 2014 19:11:53 Michael Schroeder wrote:
On Fri, May 09, 2014 at 07:06:20PM +0200, Michael Schroeder wrote:
(As a side note, for distributions >= 12.3 it's better to have no 'Keep' line at all. This selects a different algorithm that does the right thing most of the time. So deleting the 'Keep' line will fix the build for 13.1, but it probably won't build anymore for 12.2...)
Hmm, that probably means you should use
%if 0%{?suse_version} && 0%{?suse_version} < 1230 Keep: ... %endif
in your project config...
Thanks for these insights, very appreciated. I did exactly this right now: # necessary for building bootstrap packages before 12.3 %if 0%{?suse_version} && 0%{?suse_version} < 1230 Keep: patch file libmagic1 file-magic libtirpc %endif This works like a charm. Great! Unfortunately, autoreconf -fiv results in an aclocal failure on older distributions, hence an additional "mkdir m4" was needed.. Only 11.1 build failed after this (as usual ;) ), complaining about mixed lib paths, but I'm too tired right now to sort this out, therefor I kicked 11.1 support (again as usual..). Thanks again, Pete -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Hans-Peter Jansen
-
Michael Schroeder