ports/129436: port net/samba32-devel don't build at libsmb/libsmb_cache.c

Зайков acc107_3 at acc.acc.tula.ru
Fri Dec 5 15:20:02 UTC 2008


>Number:         129436
>Category:       ports
>Synopsis:       port net/samba32-devel don't build at libsmb/libsmb_cache.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 05 15:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Зайков
>Release:        FreeBSD 7.0-RELEASE-p6 i386
>Organization:
Tula Stae University
>Environment:
System: FreeBSD acc.acc.tula.ru 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #60: Tue Dec 2 00:11:50 MSK 2008 root at acc.acc.tula.ru:/usr/obj/usr/src/sys/Z i386
Port name: net/samba32-devel
Port samba-3.0.32_2,1 is already installed
How to config:
	       +--------------------------------------------------------------------+
               |                    Options for samba 3.2.4_1                       |
               | +----------------------------------------------------------------+ |
               | |  [X] LDAP         With LDAP support                            | |
               | |  [ ] ADS          With Active Directory support                | |
               | |  [X] CUPS         With CUPS printing support                   | |
               | |  [X] WINBIND      With WinBIND support                         | |
               | |  [ ] SWAT         With SWAT                                    | |
               | |  [ ] ACL_SUPPORT  With ACL support                             | |
               | |  [ ] AIO_SUPPORT  With Asyncronous IO support                  | |
               | |  [ ] FAM_SUPPORT  With File Alteration Monitor                 | |
               | |  [ ] SYSLOG       With Syslog support                          | |
               | |  [ ] QUOTAS       With Disk quota support                      | |
               | |  [X] UTMP         With UTMP accounting support                 | |
               | |  [ ] PAM_SMBPASS  With PAM authentication vs passdb backends   | |
               | |  [ ] DNSUPDATE    With dynamic DNS update(require ADS)         | |
               | |  [ ] DNSSD        With DNS service discovery support           | |
               | |  [ ] EXP_MODULES  With experimental modules                    | |
               | |  [X] POPT         With system-wide POPT library                | |
               | |  [ ] MAX_DEBUG    With maximum debugging                       | |
               | |  [ ] SMBTORTURE   With smbtorture                              | |
	       +-+------v(+)------------------------------------------------------+-+

How to install:
sudo make install clean

Makefile:
# New ports collection makefile for:	samba32
# Date created:				1 Jul 2008
# Whom:					Timur Bakeyev <timur>
#
# $FreeBSD: ports/net/samba32-devel/Makefile,v 1.2 2008/11/29 18:23:52 miwi Exp $

/etc/make.conf:
KERNCONF=Z

CFLAGS+= -O1 -fno-strict-aliasing -pipe
CPUTYPE=core2
NO_ATM=YES
NO_GAMES=YES
NO_I4B=YES
NO_KERBEROS=YES
NO_PF=YES

DOC_LANG=      en_US.ISO8859-1 ru_RU.KOI8-R
#CVSup files
SUP_UPDATE=	YES
SUP=            /usr/bin/csup
SUPFLAGS=       -g -L 2
#SUPHOST=        cvsup.de.FreeBSD.org
SUPHOST=        cvsup.ru.FreeBSD.org
SUPFILE=	/etc/cvsup/cvs-supfile
PORTSSUPFILE=	/etc/cvsup/ports-supfile
DOCSUPFILE=	/etc/cvsup/doc-supfile
WITH_JADETEX=	yes

WITHOUT_X11=	YES
WITHOUT_JAVA=	YES
WITH_CUPS=YES
CUPS_OVERWRITE_BASE=YES
WITHOUT_LPR=YES

SU_CMD=         /usr/local/bin/sudo /bin/sh -c
# added by use.perl 2008-12-02 19:32:16
PERL_VER=5.8.8
PERL_VERSION=5.8.8

	
>Description:
Linking non-shared library bin/libnetapi.a
Compiling libsmb/libsmb_cache.c
In file included from libsmb/libsmb_cache.c:25:
include/libsmb_internal.h:176: error: expected specifier-qualifier-list before 'smbc_smb_encrypt_level'
libsmb/libsmb_cache.c: In function 'SMBC_add_cached_server':
libsmb/libsmb_cache.c:91: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c:91: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c:91: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c:91: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c:91: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c: In function 'SMBC_get_cached_server':
libsmb/libsmb_cache.c:121: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c:163: error: called object 'smbc_getFunctionRemoveCachedServer(context)' is not a function
libsmb/libsmb_cache.c:178: error: called object 'smbc_getFunctionRemoveCachedServer(context)' is not a function
libsmb/libsmb_cache.c: In function 'SMBC_remove_cached_server':
libsmb/libsmb_cache.c:203: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c:207: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c:207: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c:207: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c:207: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c:207: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c: In function 'SMBC_purge_cached_servers':
libsmb/libsmb_cache.c:232: error: dereferencing pointer to incomplete type
The following command failed:
cc -I. -I/usr/ports/net/samba32-devel/work/samba-3.2.4/source  -O -D_SAMBA_BUILD_=3 -I/usr/local/include  -I/usr/ports/net/samba32-devel/work/samba-3.2.4/source/iniparser/src -Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H  -I/usr/local/include -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -I./popt -I/usr/local/include -DLDAP_DEPRECATED   -I/include -I/usr/ports/net/samba32-devel/work/samba-3.2.4/source/lib -D_SAMBA_BUILD_=3 -fPIC -DPIC -c libsmb/libsmb_cache.c -o libsmb/libsmb_cache.o
gmake: *** [libsmb/libsmb_cache.o] Ошибка 1
*** Error code 2

Stop in /usr/ports/net/samba32-devel.
*** Error code 1

Stop in /usr/ports/net/samba32-devel.
	
>How-To-Repeat:
I have samba-3.0.32_2,1 port installed. When I try to:
sudo make install clean
I get the error (see Description)
	
>Fix:
	Sorry, have not
	


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list