pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/53765: net/glib-networking build error (PLIST entry) on x64 Linux



The following reply was made to PR pkg/53765; it has been noted by GNATS.

From: Leonardo Taccari <leot%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/53765: net/glib-networking build error (PLIST entry) on x64 Linux
Date: Mon, 17 Dec 2018 10:29:40 +0100

 Hello Alex,
 
 alexwgarvin%gmail.com@localhost writes:
 > [...]
 > >Environment:
 > Linux -- 4.19.5-300.fc29.x86_64 #1 SMP Tue Nov 27 19:29:23 UTC 2018 x86_=
 64 GNU/Linux
 > >Description:
 > In PLIST, incorrect location of:
 >
 > libgiognomeproxy.so
 > libgiognutls.so
 > libgiolibproxy.so
 >
 > >How-To-Repeat:
 > cd /usr/pkgsrc/net/glib-networking && bmake install
 > >Fix:
 > in PLIST, change:
 >
 > lib/gio/modules/libgiognomeproxy.so
 > lib/gio/modules/libgiognutls.so
 > lib/gio/modules/libgiolibproxy.so
 >
 > to =
 
 >
 > lib/x86_64-linux-gnu/gio/modules/libgiognomeproxy.so
 > lib/x86_64-linux-gnu/gio/modules/libgiognutls.so
 > lib/x86_64-linux-gnu/gio/modules/libgiolibproxy.so
 > [...]
 
 It seems that glib-networking uses
 `pkg-config --variable=3Dgiomoduledir gio-2.0' to retrieve that path and
 devel/glib2 is responsable for that.
 
 devel/glib2 set GIO_MODULES_DIR in modules.mk seems to assume that
 modules are installed in ${BUILDLINK_PREFIX.glib2}/lib/gio/modules.
 
 The glib2 configure script support a `--with-gio-module-dir' argument
 to set it, and if not passed (as it is actually done in pkgsrc),
 the default value should be LIBDIR/gio/modules (I do not see where
 the extra `x86_64-linux-gnu' come from though).
 
 Can you please share the output of:
 
  % pkg-config --variable=3Dgiomoduledir gio-2.0
 
 ...and share the output of:
 
  % cd pkgsrc/devel/glib2
  % bmake configure
  % grep -E '^(GIO_MODULE_DIR|libdir|exec_prefix|prefix)=3D' `bmake show-va=
 r VARNAME=3DWRKSRC`/config.log
 
 
 Thank you!
 


Home | Main Index | Thread Index | Old Index