#21755: yafc 1.1.1 build fails in OS X 10.6 Snow Lopard ---------------------------------------+------------------------------------ Reporter: ismisunderstood@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: snowleopard | Port: yafc ---------------------------------------+------------------------------------ Comment(by ali.amir30@…): I'm having similar issues. I edited the corresponding Portfile like levity suggested above, and it seemed to get a bit further with building things before hitting another error: {{{ DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/yafc DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/yafc DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- existing procedure. Target override will not be provided DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: adding the default universal variant DEBUG: Requested variant darwin is not provided by port yafc. DEBUG: Requested variant i386 is not provided by port yafc. DEBUG: Requested variant macosx is not provided by port yafc. DEBUG: Executing variant darwin_10 provides darwin_10 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline DEBUG: epoch: in tree: 0 installed: 0 DEBUG: readline 6.1.000_1 exists in the ports tree DEBUG: readline 6.1.000_1 +darwin is the latest installed DEBUG: readline 6.1.000_1 +darwin is active DEBUG: Merging existing variants darwin into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: Requested variant i386 is not provided by port readline. DEBUG: Requested variant macosx is not provided by port readline. DEBUG: Executing variant darwin provides darwin DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses DEBUG: epoch: in tree: 0 installed: 0 DEBUG: ncurses 5.7_0 exists in the ports tree DEBUG: ncurses 5.7_0 +darwin_10 is the latest installed DEBUG: ncurses 5.7_0 +darwin_10 is active DEBUG: Merging existing variants darwin_10 into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: Requested variant darwin is not provided by port ncurses. DEBUG: Requested variant i386 is not provided by port ncurses. DEBUG: Requested variant macosx is not provided by port ncurses. DEBUG: Executing variant darwin_10 provides darwin_10 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw DEBUG: epoch: in tree: 0 installed: 0 DEBUG: ncursesw 5.7_0 exists in the ports tree DEBUG: ncursesw 5.7_0 +darwin_10 is the latest installed DEBUG: ncursesw 5.7_0 +darwin_10 is active DEBUG: Merging existing variants darwin_10 into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: Requested variant darwin is not provided by port ncursesw. DEBUG: Requested variant i386 is not provided by port ncursesw. DEBUG: Requested variant macosx is not provided by port ncursesw. DEBUG: Executing variant darwin_10 provides darwin_10 DEBUG: No need to upgrade! ncursesw 5.7_0 >= ncursesw 5.7_0 DEBUG: No need to upgrade! ncurses 5.7_0 >= ncurses 5.7_0 DEBUG: No need to upgrade! readline 6.1.000_1 >= readline 6.1.000_1 ---> Computing dependencies for yafc DEBUG: Searching for dependency: readline DEBUG: Found Dependency: receipt exists for readline DEBUG: Executing org.macports.main (yafc) DEBUG: Skipping completed org.macports.fetch (yafc) DEBUG: Skipping completed org.macports.checksum (yafc) DEBUG: setting option extract.cmd to /usr/bin/bzip2 DEBUG: Skipping completed org.macports.extract (yafc) DEBUG: Skipping completed org.macports.patch (yafc) DEBUG: Skipping completed org.macports.configure (yafc) ---> Building yafc DEBUG: Executing org.macports.build (yafc) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_yafc/work/yafc-1.1.1" && /usr/bin/make -j2 all' /usr/bin/make all-recursive Making all in doc make[2]: Nothing to be done for `all'. Making all in lib make[2]: Nothing to be done for `all'. Making all in src /usr/bin/make all-recursive Making all in libmhe make[4]: Nothing to be done for `all'. Making all in ftp make[4]: Nothing to be done for `all'. /bin/sh ../libtool --mode=link --tag=CC /usr/bin/gcc-4.2 -O2 -arch x86_64 -L/opt/local/lib -L/opt/local/lib -o yafc main.o alias.o cmd.o commands.o completion.o get.o fxp.o gvars.o lglob.o help.o input.o local.o login.o list.o put.o rm.o tag.o redir.o prompt.o transfer.o rc.o set.o ltag.o bookmark.o utils.o ftp/libftp.a libmhe/libmhe.a ../lib/libfoo.a -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lreadline -lncurses /usr/bin/gcc-4.2 -O2 -arch x86_64 -o yafc main.o alias.o cmd.o commands.o completion.o get.o fxp.o gvars.o lglob.o help.o input.o local.o login.o list.o put.o rm.o tag.o redir.o prompt.o transfer.o rc.o set.o ltag.o bookmark.o utils.o -L/opt/local/lib ftp/libftp.a libmhe/libmhe.a ../lib/libfoo.a -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lreadline -lncurses Undefined symbols: "_des_read_pw_string", referenced from: _getpass_hook in input.o ld: symbol(s) not found collect2: ld returned 1 exit status make[4]: *** [yafc] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 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_yafc/work/yafc-1.1.1" && /usr/bin/make -j2 all " returned error 2 DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_yafc/work/yafc-1.1.1" && /usr/bin/make -j2 all " returned error 2 while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" Warning: the following items did not execute (for yafc): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} -- Ticket URL: <http://trac.macports.org/ticket/21755#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS