Opened 9 years ago

Last modified 6 years ago

#45971 closed defect

powerpc-rtems-gcc @4.2.3 fails to build — at Initial Version

Reported by: ozaktash@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: powerpc-rtems-gcc

Description

powerpc-rtems-gcc @4.2.3 fails to build due to 2 reasons:

1-) texinfo5: The file main.log_makeinfo5 contains the related error log. One workaround is to use makeinfo from OS X Yosemite which has the version 4.8. Passing parameters below to macports invocation should mitigate this problem: build.args="MAKEINFO=/usr/bin/makeinfo" destroot.args="MAKEINFO=/usr/bin/makeinfo"

2-) clang: The file main.log_makeinfo4 contains the related error log. A workaround is to use gcc (gcc49 works, but I think any gcc4x should work). Passing parameter below to macports invocation should mitigate this problem: configure.compiler=macports-gcc-4.9

Two workarounds combined: build.args="MAKEINFO=/usr/bin/makeinfo" destroot.args="MAKEINFO=/usr/bin/makeinfo" configure.compiler=macports-gcc-4.9

I am also attaching a patch file proposal that combines the two workarounds and depends on gcc49.

Change History (3)

Changed 9 years ago by ozaktash@…

Attachment: main.log_makeinfo5.log added

Changed 9 years ago by ozaktash@…

Attachment: main.log_makeinfo4.log added

Changed 9 years ago by ozaktash@…

Attachment: Portfile.patch added
Note: See TracTickets for help on using tickets.