Solved Gnome/Samba issue

Hello,
I'm sorry but I have several quad cores, here I have a gnome compilation problem and especially the samba port that I have isolated: I retained this port line /usr/ports/net/samba44/work/samba-4.4.15/third_party/ which shows me errors I tried with the command MAKE_JOBS_UNSAFE = yes, but I still have the error!
here is an excerpt of my output:

Code:
Waf: Entering directory `/usr/ports/net/samba44/work/samba-4.4.15/bin'
   Selected embedded Heimdal build
[1361/3877] Compiling source4/lib/socket/socket_ip.c
runner cc -pipe -DLIBICONV_PLUG -fno-color-diagnostics -D_FUNCTION_DEF -g -fstack-protector -DLDAP_DEPRECATED -fno-strict-aliasing -DDEVELOPER -DDEBUG_PASSWORD -fPIC -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Wcast-qual -fno-common -Werror=address -Werror=strict-prototypes -Wstrict-prototypes -Werror=write-strings -Wwrite-strings -Werror-implicit-function-declaration -Werror=pointer-arith -Wpointer-arith -Werror=declaration-after-statement -Wdeclaration-after-statement -Werror=return-type -Wreturn-type -Werror=uninitialized -Wuninitialized -Wformat=2 -Wno-format-y2k -Werror=format -DSTATIC_socket_ip_MODULES=NULL -DSTATIC_socket_ip_MODULES_PROTO=extern void __socket_ip_dummy_module_proto(void) -MD -Idefault/source4/lib/socket -I../source4/lib/socket -Idefault/include/public -I../include/public -Idefault/source4 -I../source4 -Idefault/lib -I../lib -Idefault/source4/lib -I../source4/lib -Idefault/source4/include -I../source4/include -Idefault/include -I../include -Idefault/lib/replace -I../lib/replace -Idefault -I.. -Idefault/libcli/util -I../libcli/util -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 ../source4/lib/socket/socket_ip.c -c -o default/source4/lib/socket/socket_ip_5.o
../source4/lib/socket/socket_ip.c:864:12: error: comparison of array
      'addr.__u6_addr.__u6_addr8' equal to a null pointer is always false
      [-Werror,-Wtautological-pointer-compare]
                if (addr.s6_addr == 0) {
                    ~~~~~^~~~~~~    ~
/usr/include/netinet6/in6.h:103:29: note: expanded from macro 's6_addr'
#define s6_addr   __u6_addr.__u6_addr8
                            ^
1 error generated.
Waf: Leaving directory `/usr/ports/net/samba44/work/samba-4.4.15/bin'
Build failed:  -> task failed (err #1):
   {task: cc socket_ip.c -> socket_ip_5.o}
  File "buildtools/bin/waf", line 76, in <module>
   Scripting.prepare(t, cwd, VERSION, wafdir)
  File "/usr/ports/net/samba44/work/samba-4.4.15/third_party/waf/wafadmin/Scripting.py", line 147, in prepare
   error(str(e))
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/net/samba44
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net/samba44
*** Error code 1

Stop.
make: stopped in /usr/ports/net/samba44
root@dct-isidor:/usr/ports/net/samba44 #



PS : i use FreeBSD 11.1 on I686 quad cores

Regards
philippe
 
Hello, I reinstall FreeBSD 11.1 (i386), I managed to bypass the samba 4.4.x bug, but I have a new error on port security/seahorse, I tried to compile separately but always this xloadimage error: I can not get around the seahorse bug. here is my output:

Code:
/seahorse/work/stage/usr/local/share/help/es/seahorse/media/seahorse.png
ln -s -f /usr/local/share/help/C/seahorse/media/seahorse.png /usr/ports/security/seahorse/work/stage/usr/local/share/help/fr/seahorse/media/seahorse.png
ln -s -f /usr/local/share/help/C/seahorse/media/seahorse.png /usr/ports/security/seahorse/work/stage/usr/local/share/help/hu/seahorse/media/seahorse.png
ln -s -f /usr/local/share/help/C/seahorse/media/seahorse.png /usr/ports/security/seahorse/work/stage/usr/local/share/help/ru/seahorse/media/seahorse.png
gmake[6]: Leaving directory '/usr/ports/security/seahorse/work/seahorse-3.18.0/help'
gmake[5]: Leaving directory '/usr/ports/security/seahorse/work/seahorse-3.18.0/help'
gmake[4]: Leaving directory '/usr/ports/security/seahorse/work/seahorse-3.18.0'
gmake[3]: Leaving directory '/usr/ports/security/seahorse/work/seahorse-3.18.0'
====> Compressing man pages (compress-man)
===>  Installing for seahorse-3.18.0_1
===>   Registering installation for seahorse-3.18.0_1
pkg-static: Unable to access file /usr/ports/security/seahorse/work/stage/usr/local/lib/seahorse/xloadimage:No such file or directory
*** Error code 74

Stop.
make[2]: stopped in /usr/ports/security/seahorse
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/security/seahorse
*** Error code 1

Stop.
make: stopped in /usr/ports/security/seahorse
root@dct-soleil:/usr/ports/security/seahorse #

Regards
Philippe
 
Last edited by a moderator:
For Mr. acheron,
Sorry but this is the first time I see a correlation by source code in "C", how to use the patch download you sent me could you explain how to implement the patch?


Code:
make configure not require a specific gnupg version..
Accept gnupg 2.2.0 (upstream)

--- configure.orig    2017-09-20 20:21:49.529005000 +0200
+++ configure    2017-09-20 20:22:01.538527000 +0200
@@ -2532,7 +2532,7 @@
 GTK_REQ=3.4.0
GTK_MAX=GTK_VERSION_3_4

-GNUPG_ACCEPTED="2.0.12 2.1.4"
+GNUPG_ACCEPTED="2.0.12 2.1.4 2.2.0"
GPGME_REQUIRED=1.0.0
LIBSECRET_REQUIRED=0.16
AVAHI_GLIB_REQUIRED=0.6
@@ -8640,7 +8640,6 @@
                 branch=`echo $ver | sed 's/\.[0-9]*$//'`
                 if test "$branch" = "$major.$minor"; then
                     min_micro=`echo $ver | sed 's/^[0-9]*\.[0-9]*\.//'`
-                    if test "$min_micro" -le "$micro"; then

cat >>confdefs.h <<_ACEOF
#define GPG_MAJOR $major
@@ -8657,8 +8656,6 @@
_ACEOF

                         ok="yes"
-                        break
-                    fi
                 fi
             done
         fi
 
Back
Top