block 421518 by 408850 thanks Falk Hueffner dixit:
>/usr/include/sys/stat.h:208: error: conflicting types for 'stat' >/usr/include/sys/stat.h:435: error: previous definition of 'stat' was here >[...] > >Full log at >http://buildd.debian.org/fetch.cgi?&pkg=mksh&ver=29.2-1&arch=alpha&stamp=1177564924&file=log Yes, I know. This bug seems to only trigger on alpha, maybe because of some alignment contraints or something – I really don't have any idea… – and thus I can't find a workaround for it. (If you want to be nice to me, get an alpha and try the diff below; I don't really want to have my sponsor upload another package if it's not really working around the alpha bug.) I can only suspect the bug is triggered by use of -std=gnu99 (the restrict keyword makes the difference, which doesn't exist in c89), but not on all architectures, but, on the other hand, the bug is actually in machine in- dependent code and a bug in the libc headers. --- mksh-29.2/debian/rules.orig 2007-04-29 20:59:31.000000000 +0000 +++ mksh-29.2/debian/rules 2007-04-29 20:59:35.000000000 +0000 @@ -19,7 +19,7 @@ BUILD_ENV:= BUILD_ENV+= CC='${CC}' BUILD_ENV+= CFLAGS='${CFLAGS}' # possibly work around PR#408850 -#BUILD_ENV+= HAVE_CAN_STDG99=0 +BUILD_ENV+= HAVE_CAN_STDG99=0 build: build-stamp Caveat: this is just a (possible) work-around, not a fix. But if it turns out to indeed make mksh buildable on alpha again, I'll have an upgraded mksh package uploaded. bye, //mirabile -- I believe no one can invent an algorithm. One just happens to hit upon it when God enlightens him. Or only God invents algorithms, we merely copy them. If you don't believe in God, just consider God as Nature if you won't deny existence. -- Coywolf Qi Hunt