Ivo De Decker dixit: >> Oh. I used reportbug --from-buildd= option. Apparently it >> does not DTRT but parse the filename. Thanks, will not use >> it in the future or do manual checking. > >Isn't that a bug in reportbug, then?
I don’t know. The --from-buildd=srcpkg_vsn option is designed for bugreports from a buildd, which will not have the package otherwise available normally. Epochs are excluded from the package version as encoded in pathnames, so this is likely a user error. I think reportbug could accept a .dsc filename as argument to --from-buildd and then parse that one instead of taking its filename, falling back to the latter only if the former fails. That would be reasonable; anything else would not be reasonable to ask from reportbug AFAICT. >The rules file should set DEB_HOST_MULTIARCH, but doesn't, so this is >the cause of the bug. I'm retitling this bug report to reflect that. Okay. >Please note that DEB_HOST_MULTIARCH is not used in the rules file, but the >debian patches use this variable in other makefiles. Right, but without it being made available, that won’t work as desired ;-) >> maybe /usr/share/dpkg/architecture.mk is also needed? > >Just defining DEB_HOST_MULTIARCH isn't enough: the variable is used by the >build. It should be exported too. Oh, okay. With GNU make, I never quite know when it exports a variable and when not. (I’m personally more used to BSD make.) >Here is a patch that fixes the build: Wow, thanks for your quick reaction! Have a nice holidays, //mirabilos -- "Using Lynx is like wearing a really good pair of shades: cuts out the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL." -- Henry Nelson, March 1999 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org