When trying to build the x11-ssh-askpass package, the following error occurs: <=== BEGIN ERROR OUTPUT imake -DUseInstalled -I/usr/X11R6/lib/X11/config In file included from /usr/X11R6/lib/X11/config/Imake.tmpl:41, from Imakefile.c:13: /usr/X11R6/lib/X11/config/site.def:62: warning: `i386Architecture' redefined /usr/X11R6/lib/X11/config/Imake.cf:556: warning: this is the location of the previ ous definition In file included from /usr/X11R6/lib/X11/config/Imake.tmpl:90, from Imakefile.c:13: /usr/X11R6/lib/X11/config/linux.cf:237: warning: `YaccCmd' redefined /usr/X11R6/lib/X11/config/site.def:75: warning: this is the location of the previo us definition In file included from /usr/X11R6/lib/X11/config/Imake.tmpl:96, from Imakefile.c:13: /usr/X11R6/lib/X11/config/site.def:69: warning: `VirtualBindingsPath' redefined /usr/X11R6/lib/X11/config/host.def:6: warning: this is the location of the previou s definition /usr/X11R6/lib/X11/config/site.def:75: warning: `YaccCmd' redefined /usr/X11R6/lib/X11/config/linux.cf:237: warning: this is the location of the previ ous definition ln -s SshAskpass-default.ad SshAskpass.ad sed -n '/^[^!]/s/.*/"&",/p' <SshAskpass.ad >SshAskpass_ad.h.tmp mv -f SshAskpass_ad.h.tmp SshAskpass_ad.h gcc -march=1 -O3 -pipe -I/usr/X11R6/include -I/usr/X11R6/include -Dlinux -D_ _i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L -D_BSD_SOUR CE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -c -o drawing.o drawing.c cc1: bad value (1) for -march= switch make: *** [drawing.o] Error 1 ===> END ERROR OUTPUT I suspect that the reason for this is, that the original CFLAGS contains "-march=i386" (or some such), but that one of the xmkmf included files redefines "i386" to "1", resulting in the mentioned error. I've attached a diff against x11-ssh-askpass-1.2.2.ebuild which fixes the problem by overriding the CDEBUGFLAGS variable with the contents of the "original" CFLAGS variable. This fixes the build problems for me.
Created attachment 491 [details, diff] Diff against x11-ssh-askpass-1.2.2.ebuild.diff
thanks, commited.