As well as removing the 'intltoolize' call from pidgin (Bug 307653), the following (attached) additional patches are needed on IRIX. I also modified the ebuild as follows: src_configure() { - # Stabilize things, for your own good - strip-flags - replace-flags -O? -O2 + if [[ ${CHOST} == *-irix* ]]; then + epatch "${FILESDIR}"/${PN}-2.6.1-perl.patch \ + || die "IRIX perl patch failed" + # valgrind isn't available on IRIX, and the RUNNING_ON_IRIX + # macro confuses the MIPSpro compilers... + epatch "${FILESDIR}"/${PN}-2.6.1-irix.patch \ + || die "IRIX patch failed" + else + # Stabilize things, for your own good + strip-flags + replace-flags -O? -O2 + fi local myconf ... after this, the remaining problem is following output at the end of the build: >>> Original instance of package unmerged safely. * Installing GNOME 2 GConf schemas /usr/opt/portage/var/tmp/portage/net-im/pidgin-2.6.5/temp/environment: line 2682: pgrep: command not found ... pgrep is from sys-process/procps, and so likely won't exist on any non-Linux system. This is probably a generic problem with an eclass rather than anything related directly to pidgin - but pidgin is the only package which I can recall producing this output.
Created attachment 223017 [details, diff] pidgin-2.6.1-irix.patch Did I say RUNNING_ON_IRIX before? I meant RUNNING_ON_VALGRIND ;) MIPSpro chokes on '{ }' - but this change seems to do the right thing.
Created attachment 223145 [details, diff] pidgin-2.6.1-perl.patch ... and this change should fix the perl module: __attribute__ ((constructor)) is a GNU extension, and #pragma init appears to be a Sun extension. On IRIX, the linker must be passed the -init option along with the function to execute on load.
Created attachment 223621 [details, diff] pidgin-2.6.1-perl.patch Ensure GNU-specific options are only used with GCC, and replicate the on-load logic to the linker (which is fine, as this patch can be guarded with '[[ $CHOST == *-irix* ]]').
Seem to have attached that last patch twice, sorry ;)
(In reply to comment #0) > ... after this, the remaining problem is following output at the end of the > build: > > >>> Original instance of package unmerged safely. > * Installing GNOME 2 GConf schemas > /usr/opt/portage/var/tmp/portage/net-im/pidgin-2.6.5/temp/environment: line > 2682: pgrep: command not found > > ... pgrep is from sys-process/procps, and so likely won't exist on any > non-Linux system. This is probably a generic problem with an eclass rather > than anything related directly to pidgin - but pidgin is the only package which > I can recall producing this output. It's a Solaris thing actually, that was imitated in procps for Linux. I don't have it either on OSX, and it comes from gnome2-utils.eclass. It's trying to SIGHUP your gconfd-2 if running. Not sure how to fix it the best way.
Please send these patches upstream. I maintain a strict upstream-first policy for pidgin.