Opened 12 years ago

Closed 10 years ago

#36963 closed defect (duplicate)

asterisk: build fails

Reported by: Karnei@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: lee@…
Port: asterisk

Description (last modified by ryandesign (Ryan Carsten Schmidt))

 sudo port install asterisknow
--->  Computing dependencies for asterisknow
--->  Dependencies to be installed: asterisk
--->  Building asterisk
Error: org.macports.build for port asterisk returned: command execution failed
Error: Failed to install asterisk
Please see the log file for port asterisk for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_asterisk/asterisk/main.log
Error: The following dependencies were not installed: asterisk
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

Attachments (3)

main.log (46.4 KB) - added by Karnei@… 12 years ago.
this log file for mountain lion
main.2.log (171.0 KB) - added by callejas@… 12 years ago.
Output file
main.3.log (219.3 KB) - added by cspeck@… 12 years ago.
The main.log file from failed install of 'asterisk' port.

Download all attachments as: .zip

Change History (14)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: marc.blanchet@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to mr_bond@…
Port: asterisk added
Priority: HighNormal
Summary: asteriskasterisk: build fails

It's not possible for us to know why this failed unless you attach the main.log file. Before you do so, please "sudo port clean asterisk" and try one more time, since the output above indicates an unclean build attempt.

comment:2 Changed 12 years ago by Karnei@…

Hello

I make sudo port clean asterisk

and receive same message

for installation I used mac mini with mountain lion

Cleaning asterisk
Konstantin:~ KK$ sudo port install asterisknow
---> Computing dependencies for asterisknow
---> Dependencies to be installed: asterisk
---> Fetching archive for asterisk
---> Attempting to fetch asterisk-1.6.2.20_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/asterisk
---> Attempting to fetch asterisk-1.6.2.20_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/asterisk
---> Attempting to fetch asterisk-1.6.2.20_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/asterisk
---> Fetching distfiles for asterisk
---> Verifying checksum(s) for asterisk
---> Extracting asterisk
---> Applying patches to asterisk
---> Configuring asterisk
---> Building asterisk
Error: org.macports.build for port asterisk returned: command execution failed
Error: Failed to install asterisk
Please see the log file for port asterisk for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_asterisk/asterisk/main.log
Error: The following dependencies were not installed: asterisk
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port asterisknow failed
Last edited 12 years ago by jmroot (Joshua Root) (previous) (diff)

comment:3 Changed 12 years ago by mf2k (Frank Schima)

You did not attach the main.log as requested. We have no idea what went wrong unless you attach it.

Changed 12 years ago by Karnei@…

Attachment: main.log added

this log file for mountain lion

comment:4 Changed 12 years ago by jmroot (Joshua Root)

That's the log for asterisknow. We need to see the one for asterisk.

comment:5 Changed 12 years ago by callejas@…

I received the same message after upgrading an existing build of asterisk after upgrading from Snow Leopard to Mountain Lion. I proceeded to clean and reinstall:

# sudo port clean asterisk
# sudo port install asterisk

I got the following output (attaching the main.log file as main.2.log):

--->  Computing dependencies for asterisk
--->  Fetching archive for asterisk
--->  Attempting to fetch asterisk-1.6.2.20_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/asterisk
--->  Attempting to fetch asterisk-1.6.2.20_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/asterisk
--->  Attempting to fetch asterisk-1.6.2.20_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/asterisk
--->  Attempting to fetch asterisk-1.6.2.20_0.darwin_12.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/asterisk
--->  Fetching distfiles for asterisk
--->  Verifying checksum(s) for asterisk
--->  Extracting asterisk
--->  Applying patches to asterisk
--->  Configuring asterisk
--->  Building asterisk
Error: org.macports.build for port asterisk returned: command execution failed
Please see the log file for port asterisk for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_asterisk/asterisk/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port asterisk failed
monroe. less /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_asterisk/asterisk/main.log

Last edited 12 years ago by callejas@… (previous) (diff)

Changed 12 years ago by callejas@…

Attachment: main.2.log added

Output file

Changed 12 years ago by cspeck@…

Attachment: main.3.log added

The main.log file from failed install of 'asterisk' port.

comment:6 Changed 12 years ago by cspeck@…

asterisk @1.6.2.20

Install fails on OS X 10.8.3. I attached my main.log file.

--output-- ---> Building asterisk Error: org.macports.build for port asterisk returned: command execution failed Please see the log file for port asterisk for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_asterisk/asterisk/main.log

To report a bug, follow the instructions in the guide:

http://guide.macports.org/#project.tickets

Error: Processing of port asterisk failed

Last edited 12 years ago by cspeck@… (previous) (diff)

comment:7 Changed 12 years ago by cspeck@…

Additionally, I tried the different compilers as suggested here: https://trac.macports.org/wiki/ProblemHotlist#compiler

Using both llvm-gcc-4.2 and apple-gcc-4.2 both failed. The main.log I attached is from after trying to use apple-gcc.4.2.

comment:8 Changed 11 years ago by lee@…

Cc: lee@… added

Cc Me!

comment:9 Changed 10 years ago by mf2k (Frank Schima)

Cc: marc.blanchet@… removed
Owner: changed from mr_bond@… to marc.blanchet@…

Assigning to current maintainer. See #44845.

comment:10 Changed 10 years ago by mf2k (Frank Schima)

Owner: changed from marc.blanchet@… to macports-tickets@…

This port no longer has a maintainer. See #46360.

comment:11 Changed 10 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: newclosed

Moving this to #44025.

Note: See TracTickets for help on using tickets.