[MacPorts] #31462: Samba3 Undefined symbols for architecture x86_64
MacPorts
noreply at macports.org
Thu Sep 29 22:05:44 PDT 2011
#31462: Samba3 Undefined symbols for architecture x86_64
-----------------------------------------+----------------------------------
Reporter: the.ben.stevenson@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: lion | Port: samba3
-----------------------------------------+----------------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => mww@…
* keywords: osx lion, samba3, arch flag => lion
Old description:
> Everything goes fine, but then the compilation fails because of the arch
> flags.
>
> :info:build make: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_samba3/samba3/work/samba-3.2.15/source'
> :info:build Using FLAGS = -O2 -fno-common -arch x86_64 -O
> -D_SAMBA_BUILD_=3 -fno-common
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_samba3/samba3/work/samba-3.2.15/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/opt/local/include -DHAVE_STRUCT_TIMESPEC -Iinclude -I./include -I. -I.
> -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns
> -I./librpc -I./popt -DLDAP_DEPRECATED -I/include
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_samba3/samba3/work/samba-3.2.15/source/lib
> -D_SAMBA_BUILD_=3
> :info:build PICFLAG = -fPIE
> :info:build LIBS = -lresolv -liconv
> :info:build LDFLAGS = -dynamic -Wl,-search_paths_first -lkrb5
> -L/opt/local/lib -arch x86_64 -L./bin
> :info:build DYNEXP =
> :info:build LDSHFLAGS = -dynamiclib -flat_namespace -undefined
> suppress -dynamic -Wl,-search_paths_first -lkrb5 -L/opt/local/lib -arch
> x86_64 -L./bin
> :info:build SHLIBEXT = dylib
> :info:build SONAMEFLAG = #
> :info:build Linking bin/nmbd
> :info:build Undefined symbols for architecture x86_64:
> :info:build "_error_message", referenced from:
> :info:build _cli_session_setup_spnego in cliconnect.o
> :info:build _handle_krberror_packet in clikrb5.o
> :info:build _smb_krb5_verify_checksum in clikrb5.o
> :info:build _create_kerberos_key_from_string_direct in clikrb5.o
> :info:build _krb5_rd_req_return_keyblock_from_keytab in clikrb5.o
> :info:build _smb_krb5_renew_ticket in clikrb5.o
> :info:build _cli_krb5_get_ticket in clikrb5.o
> :info:build ...
> :info:build ld: symbol(s) not found for architecture x86_64
> :info:build collect2: ld returned 1 exit status
> :info:build make: *** [bin/nmbd] Error 1
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_samba3/samba3/work/samba-3.2.15/source'
> :info:build shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_samba3/samba3/work/samba-3.2.15/source"
> && /usr/bin/make -w all " returned error 2
> :error:build Target org.macports.build returned: shell command failed
> (see log for details)
> :debug:build Backtrace: shell command failed (see log for details)
> while executing
> "command_exec build"
> (procedure "portbuild::build_main" line 8)
> invoked from within
> "$procedure $targetname"
> :info:build Warning: the following items did not execute (for samba3):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> :notice:build Log for samba3 is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_samba3/samba3/main.log
New description:
Everything goes fine, but then the compilation fails because of the arch
flags.
{{{
:info:build make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_samba3/samba3/work/samba-3.2.15/source'
:info:build Using FLAGS = -O2 -fno-common -arch x86_64 -O
-D_SAMBA_BUILD_=3 -fno-common
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_samba3/samba3/work/samba-3.2.15/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/opt/local/include -DHAVE_STRUCT_TIMESPEC -Iinclude -I./include -I. -I.
-I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc
-I./popt -DLDAP_DEPRECATED -I/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_samba3/samba3/work/samba-3.2.15/source/lib
-D_SAMBA_BUILD_=3
:info:build PICFLAG = -fPIE
:info:build LIBS = -lresolv -liconv
:info:build LDFLAGS = -dynamic -Wl,-search_paths_first -lkrb5
-L/opt/local/lib -arch x86_64 -L./bin
:info:build DYNEXP =
:info:build LDSHFLAGS = -dynamiclib -flat_namespace -undefined
suppress -dynamic -Wl,-search_paths_first -lkrb5 -L/opt/local/lib -arch
x86_64 -L./bin
:info:build SHLIBEXT = dylib
:info:build SONAMEFLAG = #
:info:build Linking bin/nmbd
:info:build Undefined symbols for architecture x86_64:
:info:build "_error_message", referenced from:
:info:build _cli_session_setup_spnego in cliconnect.o
:info:build _handle_krberror_packet in clikrb5.o
:info:build _smb_krb5_verify_checksum in clikrb5.o
:info:build _create_kerberos_key_from_string_direct in clikrb5.o
:info:build _krb5_rd_req_return_keyblock_from_keytab in clikrb5.o
:info:build _smb_krb5_renew_ticket in clikrb5.o
:info:build _cli_krb5_get_ticket in clikrb5.o
:info:build ...
:info:build ld: symbol(s) not found for architecture x86_64
:info:build collect2: ld returned 1 exit status
:info:build make: *** [bin/nmbd] Error 1
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_samba3/samba3/work/samba-3.2.15/source'
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_samba3/samba3/work/samba-3.2.15/source"
&& /usr/bin/make -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see
log for details)
:debug:build Backtrace: shell command failed (see log for details)
while executing
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for samba3):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
:notice:build Log for samba3 is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_samba3/samba3/main.log
}}}
--
Comment:
Please clean and try again and attach the new main.log. The log you
attached before is incomplete so it's hard to tell what happened.
--
Ticket URL: <https://trac.macports.org/ticket/31462#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list