You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We then tried make -j16 package, but we were then greeted with the following error.
[symlink] /opt/pbis/lib/libeventlog_norpc.so.0 -> libeventlog_norpc.so.0.0.0
../domainjoin/domainjoin-gui/gtk/main.c: In function ‘do_join’:
../domainjoin/domainjoin-gui/gtk/main.c:445:9: error: ‘g_thread_create’ is deprecated: Use 'g_thread_new' instead [-Werror=deprecated-declarations]
g_thread_create(join_worker, &info, FALSE, NULL);
^
In file included from /usr/include/glib-2.0/glib.h:107:0,
from /usr/include/libglade-2.0/glade/glade.h:25,
from ../domainjoin/domainjoin-gui/gtk/main.c:32:
/usr/include/glib-2.0/glib/deprecated/gthread.h:104:10: note: declared here
GThread *g_thread_create (GThreadFunc func,
^
../domainjoin/domainjoin-gui/gtk/main.c: In function ‘status_mode’:
[symlink] /opt/pbis/lib/libeventlog_norpc.so -> libeventlog_norpc.so.0.0.0
../domainjoin/domainjoin-gui/gtk/main.c:544:13: error: ‘g_thread_create’ is deprecated: Use 'g_thread_new' instead [-Werror=deprecated-declarations]
g_thread_create(leave_worker, progress_dialog, FALSE, NULL);
^
In file included from /usr/include/glib-2.0/glib.h:107:0,
from /usr/include/libglade-2.0/glade/glade.h:25,
from ../domainjoin/domainjoin-gui/gtk/main.c:32:
/usr/include/glib-2.0/glib/deprecated/gthread.h:104:10: note: declared here
GThread *g_thread_create (GThreadFunc func,
^
../domainjoin/domainjoin-gui/gtk/main.c: In function ‘main’:
../domainjoin/domainjoin-gui/gtk/main.c:601:5: error: ‘g_thread_init’ is deprecated [-Werror=deprecated-declarations]
g_thread_init(NULL);
^
In file included from /usr/include/glib-2.0/glib.h:107:0,
from /usr/include/libglade-2.0/glade/glade.h:25,
from ../domainjoin/domainjoin-gui/gtk/main.c:32:
/usr/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here
void g_thread_init (gpointer vtable);
^
[symlink] /opt/pbis/lib/liblsacommon.so -> liblsacommon.so.0.0.0
[symlink] /opt/pbis/lib/liblsacommon.so.0 -> liblsacommon.so.0.0.0
[symlink] /opt/pbis/lib/liblwnetcommon.so.0 -> liblwnetcommon.so.0.0.0
[la] /opt/pbis/lib/liblwadvapi.la (host/x86_64)
[la] /opt/pbis/lib/libeventlog_norpc.la (host/x86_64)
[group] netlogon/server/api/api (host/x86_64)
[link] /opt/pbis/lib/libcentutils.so.0.0.0 (host/x86_64)
[group] reapsysl/utils/utils (host/x86_64)
[link] /opt/pbis/lib/liblwsmcommon.so.0.0.0 (host/x86_64)
[group] reapsysl/server/api/api (host/x86_64)
[la] /opt/pbis/lib/liblsacommon.la (host/x86_64)
[symlink] /opt/likewise/bin/lwconfig -> /opt/pbis/bin/config
[group] samba-interop/pstore-plugin/samba-pstore-plugin (host/x86_64)
[link] /opt/pbis/lib/liblwdns.so.0.0.0 (host/x86_64)
[la] /opt/pbis/lib/liblwnetcommon.la (host/x86_64)
[group] lsass/client/api/api (host/x86_64)
[group] lsass/client/api/api_thr (host/x86_64)
[link] /opt/pbis/lib/liblsaclient_ntlm.so.0.0.0 (host/x86_64)
cc1: all warnings being treated as errors
[group] lsass/client/privilege/privilege (host/x86_64)
[compile] FAILED: 'gcc' '-m64' '-Wl,--no-as-needed' '-Wall' '-Werror' '-pthread' '-I../domainjoin/domainjoin-gui/gtk/.' '-Iobject/domainjoin/domainjoin-gui/gtk/.' '-I../domainjoin/domainjoin-gui/gtk/../../include' '-Iobject/domainjoin/domainjoin-gui/gtk/../../include' '-I../domainjoin/domainjoin-gui/gtk/../../libdomainjoin/include' '-Iobject/domainjoin/domainjoin-gui/gtk/../../libdomainjoin/include' '-DNDEBUG=1' '-I/usr/include/libglade-2.0' '-I/usr/include/gtk-2.0' '-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include' '-I/usr/include/gio-unix-2.0/' '-I/usr/include/cairo' '-I/usr/include/pango-1.0' '-I/usr/include/atk-1.0' '-I/usr/include/cairo' '-I/usr/include/pixman-1' '-I/usr/include/libpng12' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng12' '-I/usr/include/pango-1.0' '-I/usr/include/harfbuzz' '-I/usr/include/pango-1.0' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/freetype2' '-I/usr/include/libxml2' '-Istage/opt/pbis/include' '-DHAVE_CONFIG_H' '-D_MK_HOST_X86_64' '-D_MK_HOST' '-fPIC' '-MMD' '-MP' '-MF' '.MakeKitDeps/object_domainjoin_domainjoin-gui_gtk_main.domainjoin-gui.host.x86_64.dep' '-o' 'object/domainjoin/domainjoin-gui/gtk/main.domainjoin-gui.host.x86_64.o' '-c' '../domainjoin/domainjoin-gui/gtk/main.c'
Makefile:11771: recipe for target 'object/domainjoin/domainjoin-gui/gtk/main.domainjoin-gui.host.x86_64.o' failed
make: *** [object/domainjoin/domainjoin-gui/gtk/main.domainjoin-gui.host.x86_64.o] Error 1
make: *** Waiting for unfinished jobs....
[link] /opt/pbis/lib/lw-pstore/samba.so (host/x86_64)
[group] lsass/client/ad/ad (host/x86_64)
[link] /opt/pbis/lib/liblsapstore.so.0.0.0 (host/x86_64)
[link] /opt/pbis/lib/liblwnetclientapi.so.0.0.0 (host/x86_64)
[link] /opt/pbis/lib/libdsapi.so.0.0.0 (host/x86_64)
[symlink] /opt/pbis/lib/liblwsmcommon.so.0 -> liblwsmcommon.so.0.0.0
[group] netlogon/server/ipc/ipc (host/x86_64)
[symlink] /opt/pbis/lib/libcentutils.so.0 -> libcentutils.so.0.0.0
[configure] end curl (host/x86_64)
This looked like the "To build domainjoin-gui GTK application o 32bit development tools" dependencies issue even though we didn't want to build any of that so we installed all the dependencies "libglade2-dev libc6-dev-i386 gcc-multilib".
# make clean
# ../configure --dj-gui=no --build-isas=x86_64 CFLAGS=-Wl,--no-as-needed -ldl
# make -j16 package
This made it much further but we still ended up with errors.
[deb] begin pbis-open
[deb] begin pbis-open-legacy
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: source package pbis-open-legacy
dpkg-buildpackage: source version 8.5.0.0
dpkg-buildpackage: source distribution gutsy
dpkg-buildpackage: source changed by PBIS Support <[email protected]>
dpkg-source --before-build build
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/tmp/pbis/debug/object/package/open-legacy/.deb-pbis-open-legacy/build'
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
dh_clean
dh_clean: Pretending DH_COMPAT was set to 5
dh_clean: - this is a temporary measure to avoid FTBFS in packages
dh_clean: relying on cdbs to set debian/compat to 5 during the build
dh_clean: No compatibility level specified in debian/compat
dh_clean: This package will soon FTBFS; time to fix it!
make[1]: Leaving directory '/tmp/pbis/debug/object/package/open-legacy/.deb-pbis-open-legacy/build'
debian/rules build
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/tmp/pbis/debug/object/package/open-legacy/.deb-pbis-open-legacy/build'
dh_testdir
touch configure-stamp
dh_testdir
touch build-stamp
make[1]: Leaving directory '/tmp/pbis/debug/object/package/open-legacy/.deb-pbis-open-legacy/build'
fakeroot debian/rules binary
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/tmp/pbis/debug/object/package/open-legacy/.deb-pbis-open-legacy/build'
dh_testdir
dh_testroot
dh_clean -k
dh_clean: Pretending DH_COMPAT was set to 5
dh_clean: - this is a temporary measure to avoid FTBFS in packages
dh_clean: relying on cdbs to set debian/compat to 5 during the build
dh_clean: dh_clean -k is deprecated; use dh_prep instead
dh_clean: No compatibility level specified in debian/compat
dh_clean: This package will soon FTBFS; time to fix it!
dh_installdirs
dh_installdirs: No compatibility level specified in debian/compat
dh_installdirs: This package will soon FTBFS; time to fix it!
dh_installdirs: Compatibility levels before 4 are no longer supported (level 1 requested)
debian/rules:46: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/tmp/pbis/debug/object/package/open-legacy/.deb-pbis-open-legacy/build'
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
[deb] FAILED: 'dpkg-buildpackage' '-rfakeroot' '-uc' '-b'
Makefile:12991: recipe for target 'package/deb/pbis-open-legacy' failed
make: *** [package/deb/pbis-open-legacy] Error 1
make: *** Waiting for unfinished jobs....
[deb] built pbis-open-dev_8.5.0.0_amd64.deb
[deb] built pbis-open_8.5.0.0_amd64.deb
[deb] end pbis-open
We then did a clean and a make without the package argument.
# make clean
# make -j16
This ran through and succeded without error.
Packaged Up pbis/ for OptiPlex 7040
We now had a compiled and working pbis 8.5 on Ubuntu 16.04 LTS on the OptiPlex 7010 so we tared it and scped it to the 7040.
# tar cvfz pkbPBIS.tgz pbis/
# scp pkbPBIS.tgz <user>@<ip>:/tmp
On the 7040 we untared our .tgz.
# tar xvfz pkbPBIS.tgz
Then we changed the the pbis/debug/ directory and make install.
This solved the segmentation fault that was happening during the table population of lwsmd orginally.
This is where I had to stop due to work ending. I will see if I can get the .deb package to work or a cleaner way to install on the OptiPlex 7040 since this is a pretty hacky way to have a working pbis installation.
Any help as to how to get the package built or how to compile and make on the 7040 would be great.
The text was updated successfully, but these errors were encountered:
For the undefined references can you modify the lsass/tools/lw-lsa/MakeKitBuild file and add dl to the mk_program LIBDEPS line and see if that fixes it? I had the same problem and that fixed it for me.
I decided to start a new thread after troubleshooting with my boss on this issue today.
CPU Info
[ OptiPlex 7040]
OS: Ubuntu 16.04
Arch: x86_64
Tower: OptiPlex 7040
Memory: 32G
Processor: Intel Core i7-6700 x 8
[ OptiPlex 7010]
OS: Ubuntu 16.04
Arch: x86_64
Tower: OptiPlex 7010
Memory: 16G
Processor: Intel Core i7-3770 x 8
I had been having a lot of trouble with installing PBIS on an OptiPlex 7040. I ended up getting the following make error on the 7010 and the 7040.
PBIS Make Error on the OptiPlex 7010
Missing Configure Arguments to Pass the stage/opt/pbis/bin/lsa Error
It seems that the following CFLAGS: -Wl,--no-as-needed -ldl gets passed the the dl* errors.
We then tried make -j16 package, but we were then greeted with the following error.
This looked like the "To build domainjoin-gui GTK application o 32bit development tools" dependencies issue even though we didn't want to build any of that so we installed all the dependencies "libglade2-dev libc6-dev-i386 gcc-multilib".
We then cleaned, reconfigured, and tried to make.
We received this error again.
We edited /tmp/pbis/domainjoin/domainjoin-gui/gtk/main.c with vi and changed the deprecated issues.
We then cleaned, reconfigured, and tried to make.
This did not fix errors so we consulted the configure options and added "--dj-gui=no" to our configure command.
We then cleaned, reconfigured, and tried to make.
This made it much further but we still ended up with errors.
We then did a clean and a make without the package argument.
This ran through and succeded without error.
Packaged Up pbis/ for OptiPlex 7040
We now had a compiled and working pbis 8.5 on Ubuntu 16.04 LTS on the OptiPlex 7010 so we tared it and scped it to the 7040.
On the 7040 we untared our .tgz.
Then we changed the the pbis/debug/ directory and make install.
After this we were able to run lwsmd.
This solved the segmentation fault that was happening during the table population of lwsmd orginally.
This is where I had to stop due to work ending. I will see if I can get the .deb package to work or a cleaner way to install on the OptiPlex 7040 since this is a pretty hacky way to have a working pbis installation.
Any help as to how to get the package built or how to compile and make on the 7040 would be great.
The text was updated successfully, but these errors were encountered: