clone 355743 -1 retitle -1 "FTBFS on powerpc: no defconfig" tags -1 +patch thanks
Hi! * Martin Michlmayr <[EMAIL PROTECTED]> [060307 17:30]: > Your package no longer builds on mips (and mipsel). This is a > regression and therefor a serious (RC) bug. [..] > You either need to add defconfigs for mips/mipsel (and figure out > what's up with powerpc) or request the removal of the mips/mipsel (and > powerpc?) binary packages. It's the same on powerpc: http://buildd.debian.org/build.php?&pkg=rtai&ver=3.2-1&arch=powerpc&file=log > > Automatic build of rtai_3.2-1 on bigsur by sbuild/mips 1.75 > ... > > base \ > > testsuite \ > > debian/rtai-source/usr/src/modules/rtai > > # move the defconfig files for all architecture we support to template file > > name > > mv debian/rtai-source/usr/src/modules/rtai/base/arch/mips/defconfig \ > > > > debian/rtai-source/usr/src/modules/rtai/base/arch/mips/defconfig.in > > mv: cannot stat > > `debian/rtai-source/usr/src/modules/rtai/base/arch/mips/defconfig': No such > > file or directory > > make: *** [install] Error 1 However I just played a bit with it on my powerpc, and found something odd: powerpc is suppported by upstream, but isn't called "powerpc", but "ppc": ===== [EMAIL PROTECTED]:/tmp/rtai-3.2$ ll debian/rtai-source/usr/src/modules/rtai/base/arch/ insgesamt 40 drwxr-xr-x 4 alex alex 4096 2005-05-10 14:00 arm -rw-r--r-- 1 alex alex 127 2005-03-18 09:57 GNUmakefile.am -rw-r--r-- 1 alex alex 22348 2005-03-18 10:29 GNUmakefile.in drwxr-xr-x 5 alex alex 4096 2005-05-10 14:00 i386 drwxr-xr-x 4 alex alex 4096 2006-06-21 17:43 ppc ===== (Note the directory "ppc"). But because of: ===== [EMAIL PROTECTED]:~$ dpkg-architecture -qDEB_BUILD_ARCH powerpc ===== This part of Debian rules fails: ===== # move the defconfig files for all architecture we support to template file name mv debian/$(psource)/usr/src/modules/$(package)/base/arch/$(DEB_BUILD_ARCH)/defconfig \ debian/$(psource)/usr/src/modules/$(package)/base/arch/$(DEB_BUILD_ARCH)/defconfig.in ===== A dirtly little hack would be, to just create a symlink from ppc to powerpc, like this: ===== ifeq ($(DEB_BUILD_ARCH), powerpc) ln -s ppc debian/$(psource)/usr/src/modules/$(package)/base/arch/powerpc endif ===== Attached you'll find a patch for this issue. However: I have no clue how to fix the mips/mipsel problem. Therefore no upload, just taging it patch. Yours sincerely, Alexander -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]