[MacPorts] #13559: samba-3.0.28 fails to build
#13559: samba-3.0.28 fails to build -------------------------------+-------------------------------------------- Reporter: lrivers@gmail.com | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.5.2 Keywords: | -------------------------------+-------------------------------------------- I cleaned and synced and then tried to upgrade to the latest samba. fail. {{{ ---> Fetching samba3 ---> Attempting to fetch samba-3.0.28.tar.gz from http://us1.samba.org/samba/ftp/stable/ ---> Verifying checksum(s) for samba3 ---> Extracting samba3 ---> Configuring samba3 ---> Building samba3 with target all 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_samba3/work/samba-3.0.28/source" && make all " returned error 2 Command output: Compiling libads/ldap_utils.c Compiling libads/authdata.c Compiling libads/cldap.c Compiling libads/kerberos.c Compiling libads/ads_status.c Compiling libads/util.c Compiling libads/kerberos_verify.c Compiling libads/ldap_schema.c Compiling registry/reg_frontend.c Compiling registry/reg_cachehook.c Compiling registry/reg_printing.c Compiling registry/reg_db.c Compiling registry/reg_eventlog.c Compiling registry/reg_shares.c Compiling registry/reg_util.c Compiling registry/reg_dynamic.c Compiling registry/reg_perfcount.c Compiling lib/popt_common.c Compiling smbd/build_options.c Compiling lib/smbldap.c Compiling lib/smbldap_util.c Compiling smbd/server.c mkdir bin Linking bin/smbd Undefined symbols: "_updwtmpx", referenced from: _sys_utmp_update in utmp.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [bin/smbd] Error 1 Error: Unable to upgrade port: 1 }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13559> MacPorts </projects/macports> Ports system for Mac OS
#13559: samba-3.0.28 fails to build on Mac OS X 10.5 Leopard --------------------------------+------------------------------------------- Reporter: lrivers@gmail.com | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: --------------------------------+------------------------------------------- Changes (by ryandesign@macports.org): * owner: macports-dev@lists.macosforge.org => mww@macports.org * summary: samba-3.0.28 fails to build => samba-3.0.28 fails to build on Mac OS X 10.5 Leopard * milestone: => Port Bugs Comment: User said on the mailing list that this is on a PowerBook G4 with Mac OS X 10.5.1. -- Ticket URL: <https://trac.macports.org/projects/macports/ticket/13559#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13559: samba-3.0.28 fails to build on Mac OS X 10.5 Leopard --------------------------------+------------------------------------------- Reporter: lrivers@gmail.com | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: --------------------------------+------------------------------------------- Comment (by simon@hitzemann.org): I can confirm the same on an Intel Mac running OS X 10.5.1 Maybe the smb variant for mplayer and samba variant for xffm should be deactivated while this package is broken. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13559#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13559: samba-3.0.28 fails to build on Mac OS X 10.5 Leopard --------------------------------+------------------------------------------- Reporter: lrivers@gmail.com | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: --------------------------------+------------------------------------------- Comment (by aljmcphee@gmail.com): Similar, but slightly different problem on Mac Book Pro: Hardware Overview: Model Name: MacBook Pro Model Identifier: MacBookPro3,1 Processor Name: Intel Core 2 Duo Processor Speed: 2.2 GHz Number Of Processors: 1 Total Number Of Cores: 2 L2 Cache: 4 MB Memory: 2 GB Bus Speed: 800 MHz Boot ROM Version: MBP31.0070.B02 SMC Version: 1.16f8 Serial Number: W87407RQX91 Sudden Motion Sensor: State: Enabled System Software Overview: System Version: Mac OS X 10.5.1 (9B18) Kernel Version: Darwin 9.1.0 ---> Building samba3 with target all 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_samba3/work/samba-3.0.28/source" && make all " returned error 2 Command output: Using FLAGS = -O2 -fno-common -D_SAMBA_BUILD_=3 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_samba3/work/samba-3.0.28/source/iniparser/src -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H -I/opt/local/include -DHAVE_STRUCT_TIMESPEC -DLDAP_DEPRECATED -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_samba3/work/samba-3.0.28/source/lib -D_SAMBA_BUILD_=3 PICFLAG = -fPIE LIBS = -lresolv -liconv LDFLAGS = -pie -dynamic -Wl,-search_paths_first -L/opt/local/lib DYNEXP = LDSHFLAGS = -dynamiclib -flat_namespace -undefined suppress -dynamic -Wl,-search_paths_first -L/opt/local/lib SHLIBEXT = dylib SONAMEFLAG = # Linking bin/smbd Undefined symbols: "_updwtmpx", referenced from: _sys_utmp_update in utmp.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [bin/smbd] Error 1 Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13559#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13559: samba-3.0.28 fails to build on Mac OS X 10.5 Leopard --------------------------------+------------------------------------------- Reporter: lrivers@gmail.com | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: --------------------------------+------------------------------------------- Comment (by ecronin@macports.org): The problem is that samba detects some functions in utmpx.h and assumes others (particularly updwtmpx()) exist even though configure found they didn't. Simple enough to fix upstream, but here's a local patch until this gets accepted. Please test on 10.4, although I don't see how this could cause a problem there. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13559#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13559: samba-3.0.28 fails to build on Mac OS X 10.5 Leopard --------------------------------+------------------------------------------- Reporter: lrivers@gmail.com | Owner: mww@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: fixed | Keywords: --------------------------------+------------------------------------------- Changes (by mww@macports.org): * status: new => closed * resolution: => fixed Comment: thanks! Commited as 10.5-only patch. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13559#comment:5> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts