Opened 16 years ago

Closed 14 years ago

#19271 closed defect (fixed)

samba4 @4.0.0alpha2 (net): build error

Reported by: senz@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: samba4

Description

install samba4
        --->  Fetching libgpg-error
--->  Verifying checksum(s) for libgpg-error
--->  Extracting libgpg-error
--->  Applying patches to libgpg-error
--->  Configuring libgpg-error
--->  Building libgpg-error
--->  Staging libgpg-error into destroot
--->  Installing libgpg-error @1.7_0
--->  Activating libgpg-error @1.7_0
--->  Cleaning libgpg-error
--->  Fetching libgcrypt
--->  Verifying checksum(s) for libgcrypt
--->  Extracting libgcrypt
--->  Configuring libgcrypt
--->  Building libgcrypt
--->  Staging libgcrypt into destroot
--->  Installing libgcrypt @1.4.4_0
--->  Activating libgcrypt @1.4.4_0
--->  Cleaning libgcrypt
--->  Fetching libtasn1
--->  Verifying checksum(s) for libtasn1
--->  Extracting libtasn1
--->  Configuring libtasn1
--->  Building libtasn1
--->  Staging libtasn1 into destroot
--->  Installing libtasn1 @1.7_0
--->  Activating libtasn1 @1.7_0
--->  Cleaning libtasn1
--->  Fetching lzo
--->  Verifying checksum(s) for lzo
--->  Extracting lzo
--->  Configuring lzo
--->  Building lzo
--->  Staging lzo into destroot
--->  Installing lzo @1.08_0
--->  Activating lzo @1.08_0
--->  Cleaning lzo
--->  Fetching opencdk
--->  Verifying checksum(s) for opencdk
--->  Extracting opencdk
--->  Configuring opencdk
--->  Building opencdk
--->  Staging opencdk into destroot
--->  Installing opencdk @0.6.6_0
--->  Activating opencdk @0.6.6_0
--->  Cleaning opencdk
--->  Fetching gnutls
--->  Verifying checksum(s) for gnutls
--->  Extracting gnutls
--->  Configuring gnutls
--->  Building gnutls
--->  Staging gnutls into destroot
--->  Installing gnutls @2.6.4_0
--->  Activating gnutls @2.6.4_0
--->  Cleaning gnutls
--->  Fetching popt
--->  Verifying checksum(s) for popt
--->  Extracting popt
--->  Configuring popt
--->  Building popt
--->  Staging popt into destroot
--->  Installing popt @1.14_0
--->  Activating popt @1.14_0
--->  Cleaning popt
--->  Fetching samba4
--->  Verifying checksum(s) for samba4
--->  Extracting samba4
--->  Configuring samba4
--->  Building samba4
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_samba4/work/samba-4.0.0alpha2/source" && make all " returned error 2
Command output: libcli/security/security_wrap.c:3986: error: syntax error before '*' token
libcli/security/security_wrap.c:3986: error: 'SWIG_Python_addvarlink' declared as function returning a function
libcli/security/security_wrap.c:3986: error: syntax error before 'int'
libcli/security/security_wrap.c:3988: error: syntax error before ')' token
libcli/security/security_wrap.c:4002: error: syntax error before '*' token
libcli/security/security_wrap.c: In function 'SWIG_globals':
libcli/security/security_wrap.c:4004: error: nested functions are disabled, use -fnested-functions to re-enable
libcli/security/security_wrap.c:4004: error: syntax error before '*' token
libcli/security/security_wrap.c:4005: error: '_SWIG_globals' undeclared (first use in this function)
libcli/security/security_wrap.c: At top level:
libcli/security/security_wrap.c:4015: error: syntax error before '*' token
libcli/security/security_wrap.c: In function 'SWIG_Python_InstallConstants':
libcli/security/security_wrap.c:4016: error: 'PyObject' undeclared (first use in this function)
libcli/security/security_wrap.c:4016: error: 'obj' undeclared (first use in this function)
libcli/security/security_wrap.c:4018: error: 'constants' undeclared (first use in this function)
libcli/security/security_wrap.c:4031: error: 'd' undeclared (first use in this function)
libcli/security/security_wrap.c: At top level:
libcli/security/security_wrap.c:4042: error: syntax error before '*' token
libcli/security/security_wrap.c: In function 'SWIG_Python_FixMethods':
libcli/security/security_wrap.c:4047: error: 'methods' undeclared (first use in this function)
libcli/security/security_wrap.c:4053: error: 'const_table' undeclared (first use in this function)
libcli/security/security_wrap.c:4061: error: 'types' undeclared (first use in this function)
libcli/security/security_wrap.c:4062: error: 'types_initial' undeclared (first use in this function)
libcli/security/security_wrap.c: In function 'init_security':
libcli/security/security_wrap.c:4095: error: 'PyObject' undeclared (first use in this function)
libcli/security/security_wrap.c:4095: error: 'm' undeclared (first use in this function)
libcli/security/security_wrap.c:4095: error: 'd' undeclared (first use in this function)
The following command failed:
/usr/bin/gcc-4.0  -Ilib/replace -Ilib/talloc -I/opt/local/include  -O2 -I./include -I. -I./lib -I./lib/replace -I./lib/talloc -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H  -I/opt/local/include -I/opt/local/include -I/opt/local/include -fno-common -c libcli/security/security_wrap.c -o libcli/security/security_wrap.o
make: *** [libcli/security/security_wrap.o] Error 1

Error: Status 1 encountered during processing.

Change History (3)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to mww@…
Priority: HighNormal

comment:2 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Keywords: samba4 build error removed
Resolution: fixed
Status: newclosed

4.0.0tp5 seems fine.

Note: See TracTickets for help on using tickets.