Opened 10 years ago

Closed 10 years ago

#28360 closed defect (invalid)

gcc44 build failure when bad libgmp is in /usr/local

Reported by: acucchiara@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: gcc44

Description (last modified by jmroot (Joshua Root))

Hi, I tried to follow the other tickets on this problem, but I am not a macport expert and I cannot find a solution to the installation of gcc44 on my mac os 10.6 intel. I tried sudo port install gcc44 and I got the following:

Error: Target org.macports.build returned: shell command failed (see log for details)
Log for gcc44 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Any advice for a not geek would be great. Nino

Attachments (1)

gcc_log (129.9 KB) - added by acucchiara@… 10 years ago.
gcc macport failing log

Download all attachments as: .zip

Change History (4)

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

Description: modified (diff)
Keywords: gcc44 removed
Owner: changed from macports-tickets@… to mww@…
Port: gcc44 added
Priority: HighNormal
Summary: gcc44 installationgcc44 build failure
Type: updatedefect

As per the ticket guidelines, please put the name of the port in the Port field, select the appropriate ticket type, preview and use WikiFormatting, and cc the maintainer. The High priority is reserved for the use of MacPorts team members.

As the error message says, all the details of what happened are in the log file, so you'll need to attach it.

Changed 10 years ago by acucchiara@…

Attachment: gcc_log added

gcc macport failing log

comment:2 in reply to:  1 Changed 10 years ago by acucchiara@…

Replying to jmr@…:

As per the ticket guidelines, please put the name of the port in the Port field, select the appropriate ticket type, preview and use WikiFormatting, and cc the maintainer. The High priority is reserved for the use of MacPorts team members.

As the error message says, all the details of what happened are in the log file, so you'll need to attach it.

Sorry, here it is the log. As for the name of the port, how can I find it?

Thanks, nino

comment:3 Changed 10 years ago by ryandesign (Ryan Schmidt)

Resolution: invalid
Status: newclosed
Summary: gcc44 build failuregcc44 build failure when bad libgmp is in /usr/local

The name of the port that failed is clearly "gcc44".

The relevant error in your log is:

:info:build ld: pointer in read-only segment not allowed in slidable image, used in ___gmpn_divexact_1 from /usr/local/lib/libgmp.a(dive_1.o)

You have a conflicting version of libgmp in /usr/local. Having software installed in /usr/local is a great way to cause MacPorts ports to fail to build in a variety of ways, and is therefore not supported. Please remove /usr/local, clean gcc44, and try again.

Note: See TracTickets for help on using tickets.