Source: nx-libs
Version: 2:3.5.99.26-2
Severity: serious
Tags: patch ftbfs
Justification: fails to build from source (but built successfully in the past)

Dear maintainer,

The glibc SunRPC implementation has been marked obsolete for some time.
It has been removed upstream from glibc 2.32, and it got disabled in the
recent glibc uploads. The TI RPC implementation should be used instead.

Fortunately nx-libs already supports building libtirpc using the
-DUseTIRPC=1 option, so the fix is really simple. Please find attached a
patch fixing the FTBFS.

Regards,
Aurelien
--- nx-libs-3.5.99.26/debian/control
+++ nx-libs-3.5.99.26/debian/control
@@ -15,6 +15,7 @@
  libjpeg-dev,
  libpixman-1-dev (>= 0.13.2),
  libpng-dev,
+ libtirpc-dev,
  libtool,
  libxcomposite-dev,
  libxdamage-dev,
--- nx-libs-3.5.99.26/debian/rules
+++ nx-libs-3.5.99.26/debian/rules
@@ -58,7 +58,7 @@
 
 override_dh_auto_build:
 
-       PREFIX='/usr' dh_auto_build --no-parallel -- CDEBUGFLAGS="$(CPPFLAGS) 
$(CFLAGS)" LOCAL_LDFLAGS="$(LDFLAGS)" SHLIBGLOBALSFLAGS='$(filter-out 
-pie,$(LDFLAGS))'
+       PREFIX='/usr' dh_auto_build --no-parallel -- CDEBUGFLAGS="$(CPPFLAGS) 
$(CFLAGS)" LOCAL_LDFLAGS="$(LDFLAGS)" SHLIBGLOBALSFLAGS='$(filter-out 
-pie,$(LDFLAGS))' IMAKE_DEFINES="-DUseTIRPC=1"
 
 override_dh_makeshlibs:
        dh_makeshlibs -n

Reply via email to