As the subject says, the build of x11-misc/xosview-1.8.3-r1 failed due to missing asm/irq.h on alpha, which is #include'd in intmeter.cc if __alpha__ is defined. alpha-unknown-linux-gnu-g++ -mieee -pipe -O2 -mcpu=ev56 -mlarge-data -Wl,--no-relax -mieee -pipe -O2 -mcpu=ev56 -mlarge-data -Wl,--no-relax -Wall -O4 -I. -DXOSVIEW_VERSION=\"1.8.3\" -I/var/tmp/portage/x11-misc/xosview-1.8.3-r1/work/xosview-1.8.3 -I/var/tmp/portage/x11-misc/xosview-1.8.3-r1/work/xosview-1.8.3/linux -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_BOOL=1 -DLONG_LONG=long\ long -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_IOSTREAM=1 -DHAVE_FSTREAM=1 -DHAVE_XPM=1 -DGNULIBC=1 -DUSESYSCALLS=1 -DHAVE_USLEEP=1 -mieee -pipe -O2 -mcpu=ev56 -mlarge-data -Wl,--no-relax -Wall -O4 -I. -DXOSVIEW_VERSION=\"1.8.3\" -I/var/tmp/portage/x11-misc/xosview-1.8.3-r1/work/xosview-1.8.3 -I/var/tmp/portage/x11-misc/xosview-1.8.3-r1/work/xosview-1.8.3/linux -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_BOOL=1 -DLONG_LONG=long\ long -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_IOSTREAM=1 -DHAVE_FSTREAM=1 -DHAVE_XPM=1 -DGNULIBC=1 -DUSESYSCALLS=1 -DHAVE_USLEEP=1 -I.. -c intmeter.cc -o intmeter.o intmeter.cc:16:21: error: asm/irq.h: No such file or directory make[1]: *** [intmeter.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-misc/xosview-1.8.3-r1/work/xosview-1.8.3/linux' make: *** [meterlib] Error 2 emake failed * ERROR: x11-misc/xosview-1.8.3-r1 failed: * emake failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2347: Called _eapi0_src_compile * ebuild.sh, line 626: Called _eapi2_src_compile * ebuild.sh, line 660: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =x11-misc/xosview-1.8.3-r1', * the complete build log and the output of 'emerge -pqv =x11-misc/xosview-1.8.3-r1'. * The complete build log is located at '/var/tmp/portage/x11-misc/xosview-1.8.3-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-misc/xosview-1.8.3-r1/temp/environment'. * S: '/var/tmp/portage/x11-misc/xosview-1.8.3-r1/work/xosview-1.8.3' It builds and works without the inclusion of the header file; the patches to the ebuild and intmeter.cc will be attached later.
Created attachment 249302 [details, diff] patch to intmeter.cc
Created attachment 249304 [details, diff] patch to xosview-1.8.3-r1.ebuild
Created attachment 249308 [details] a screenshot of xosview running on alpha
Pushed your fix as: > 16 Aug 2011; Sergei Trofimovich <slyfox@gentoo.org> xosview-1.8.3-r1.ebuild, > +files/xosview-1.8.3-alpha-build-fix.patch: > Fixed build on alpha (bug #339462). Report and fix by Kazuyoshi Furutaka. Thank you!