Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Dec 2015 00:48:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 204984] net/samba42: UTMP is enabled by default port option, but disabled by samba build tool (waf)
Message-ID:  <bug-204984-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204984

            Bug ID: 204984
           Summary: net/samba42: UTMP is enabled by default port option,
                    but disabled by samba build tool (waf)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: timur@FreeBSD.org
          Reporter: crest@sahiro.org
             Flags: maintainer-feedback?(timur@FreeBSD.org)
          Assignee: timur@FreeBSD.org

Created attachment 163792
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163792&action=edit
log file of "make configure" for net/samba42

waf seems to fail with checking FreeBSD utmpx as below.
---
|% sudo make configure
|===>  License GPLv3 accepted by the user
|===>  Found saved configuration for samba41-4.1.21
|===>   samba41-4.1.21 depends on file: /usr/local/sbin/pkg - found
|...
|Checking for header utmpx.h                              : 09:14:07 runner cc
-pipe -fno-omit-frame-pointer -DLIBICONV_PLUG -fno-color-diagnostics -g
-fstack-protector -DLDAP_DEPRECATED -fno-strict-aliasing -MD -DLIBICONV_PLUG
-I/usr/local/include -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1
-D_XOPEN_SOURCE_EXTENDED=1 ../test.c -c -o default/test_1.o
|yes
|...
|Checking size of ((struct utmp |*)NULL)->ut_line                              
                  : 09:14:43 |runner cc -pipe -fno-omit-frame-pointer
-DLIBICONV_PLUG -fno-color-diagnostics -g -fstack-protector -DLDAP_DEPRECATED
-fno-strict-aliasing -MD -DLIBICONV_PLUG -Idefault -I.. -Idefault -I..
-I/usr/local/include -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1
-D_XOPEN_SOURCE_EXTENDED=1 ../test.c -c -o default/test_1.o
|not found
|--with-utmp but utmp support not sufficient
|...
---
| % cat /portbuild/usr/ports/net/samba42/work/samba-4.2.5/bina/config.log
|...
|Checking for getutmpx
|==>
|...
|[1/1] Compiling test.c
|../test.c:968:59: error: no member named 'ut_syslen' in 'struct utmpx'
| int main(void) { struct utmpx s; void *_x; _x=(void *)&s.ut_syslen; return 0;
}
|                                                        ~ ^
|1 error generated.
|...

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204984-13>