Opened 15 years ago

Closed 15 years ago

#24828 closed defect (duplicate)

asterisknow build failure

Reported by: lorn@… Owned by: mr_bond@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: marc.blanchet@…, stefan.van.der.eijk@…
Port: asterisk

Description (last modified by jmroot (Joshua Root))

This port is being done on a MacMini, Intel dual core, 32 bit processor running Mac OS X Server v 1.6.3 build 10D573.

Last login: Fri May  7 12:04:14 on ttys000
lorn2:~ lorn$ sudo port -d install asterisknow
Password:
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/asterisknow
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/asterisknow
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.3.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: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port asterisknow.
DEBUG: Requested variant i386 is not provided by port asterisknow.
DEBUG: Requested variant macosx is not provided by port asterisknow.
--->  Computing dependencies for asterisknow
DEBUG: Searching for dependency: subversion
DEBUG: Didn't find receipt, going to depspec regex for: subversion
DEBUG: Found Dependency: path: /usr/bin filename: svn regex: ^svn$
DEBUG: Searching for dependency: asterisk
DEBUG: Didn't find receipt, going to depspec regex for: asterisk
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/asterisk
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/asterisk
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.3.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: 'universal_variant no' specified, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port asterisk.
DEBUG: Requested variant i386 is not provided by port asterisk.
DEBUG: Requested variant macosx is not provided by port asterisk.
DEBUG: Searching for dependency: ncurses
DEBUG: Found Dependency: receipt exists for ncurses
DEBUG: Searching for dependency: openssl
DEBUG: Found Dependency: receipt exists for openssl
DEBUG: Searching for dependency: zlib
DEBUG: Found Dependency: receipt exists for zlib
DEBUG: Searching for dependency: bison
DEBUG: Found Dependency: receipt exists for bison
DEBUG: Searching for dependency: curl
DEBUG: Found Dependency: receipt exists for curl
DEBUG: Searching for dependency: wget
DEBUG: Found Dependency: receipt exists for wget
DEBUG: Executing org.macports.main (asterisk)
DEBUG: Skipping completed org.macports.fetch (asterisk)
DEBUG: Skipping completed org.macports.checksum (asterisk)
DEBUG: Skipping completed org.macports.extract (asterisk)
DEBUG: Skipping completed org.macports.patch (asterisk)
DEBUG: Skipping completed org.macports.configure (asterisk)
--->  Building asterisk
DEBUG: Executing org.macports.build (asterisk)
DEBUG: Environment: ASTCFLAGS='-I/opt/local/include' MACOSX_DEPLOYMENT_TARGET='10.6' ASTLDFLAGS='-L/opt/local/lib'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_asterisk/work/asterisk-1.6.1.12" && /usr/bin/make -j2 all'
   [LD] hashtest2.o md5.o utils.o astobj2.o sha1.o strcompat.o threadstorage.o clicompat.o poll.o -> hashtest2
Undefined symbols:
  "___sync_fetch_and_add_4", referenced from:
      _ast_atomic_fetchadd_int in utils.o
      ___ao2_ref in astobj2.o
      ___ao2_link in astobj2.o
      ___ao2_link in astobj2.o
      ___ao2_callback in astobj2.o
      ___ao2_callback in astobj2.o
  "___sync_sub_and_fetch_4", referenced from:
      _ast_atomic_dec_and_test in utils.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [hashtest2] Error 1
make: *** [utils] Error 2
make: *** Waiting for unfinished jobs....
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_asterisk/work/asterisk-1.6.1.12" && /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_asterisk/work/asterisk-1.6.1.12" && /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 asterisk): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: The following dependencies failed to build: asterisk
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
lorn2:~ lorn$ 

Change History (2)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Cc: marc.blanchet@… added
Description: modified (diff)
Keywords: "Undefined symbols" "Error 2" removed
Milestone: MacPorts 1.9.0
Owner: changed from macports-tickets@… to mr_bond@…
Port: asterisk added; asterisknow removed

Please remember to preview and use WikiFormatting, set the Port field to the name of the port that actually failed, and cc the maintainers. As per the ticket guidelines, please don't set the Milestone field.

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.