Package: xulrunner Version: 1.8.0.1-5 Your package fails to build on MIPS64 because it tries to use i386 assembler. More generally, the package will fall back to x86 when the build system cannot figure out what system really it is: pretty broken imho. mozilla-thunderbird has the same problem (see #356973). Can someone please investigate this situation, file a bug report with Mozilla (ideally with a patch) so this can be fixed for good.
Background: I'm building on mips (to be exact: mips64). However, as you can see in the logs below, it thinks it's building for x86: it puts stuff in Linux2.6_x86_glibc and defines -Di386, and later fails when trying to compile an i386 assember file. It seems that the build system falls back to x86 when it cannot figure out what system it is and then fails... When I build with mips64 (64-bit kernel, 32-bit userland, uname -m says mips64) I get "Linux2.6_x86_glibc" and the build failure from below. However, running the build with linux32 (i.e. my machine shows up as 32-bit, unmae -m says mips) makes it work. I put logs from the mips and mip64 builds at http://people.debian.org/~tbm/logs/xulrunner_1.8.0.1-5/ Logs from mozilla-thunderbird are at http://people.debian.org/~tbm/logs/mozilla-thunderbird_1.0.7-3/ (Note that nothing in Debian will build with mips64, but this is a) a bug anyway and b) other people might build with mips64. This is not a serious FTBFS bug in Debian though.) > Automatic build of xulrunner_1.8.0.1-5 on bigsur by sbuild/mips 1.94 ... > gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/mpi_x86.o -O2 -fPIC -DLINUX1_2 -Di386 > -D_XOPEN_SOURCE -DLINUX2_1 -D_X86_ -ansi -Wall -pipe -DLINUX -Dlinux > -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -DSHLIB_SUFFIX=\"so\" > -DSHLIB_PREFIX=\"lib\" -DRIJNDAEL_INCLUDE_TABLES -UDEBUG -DNDEBUG > -D_REENTRANT -DMP_ASSEMBLY_MULTIPLY -DMP_ASSEMBLY_SQUARE > -DMP_ASSEMBLY_DIV_2DX1D -DMP_API_COMPATIBLE > -I/build/tbm/xulrunner-1.8.0.1/dist/include -I../../../../dist/public/nss > -I../../../../dist/private/nss -I../../../../dist/include > -I/build/tbm/xulrunner-1.8.0.1/dist/include/nspr > -I/build/tbm/xulrunner-1.8.0.1/dist/include/dbm -Impi -Iecl -c mpi/mpi_x86.s > mpi/mpi_x86.s: Assembler messages: > mpi/mpi_x86.s:62: Error: unrecognized opcode `push %ebp' > mpi/mpi_x86.s:63: Error: unrecognized opcode `mov %esp,%ebp' > mpi/mpi_x86.s:64: Error: bad expression > mpi/mpi_x86.s:64: Error: illegal operands `sub' > mpi/mpi_x86.s:65: Error: unrecognized opcode `push %edi' > mpi/mpi_x86.s:66: Error: unrecognized opcode `push %esi' > mpi/mpi_x86.s:67: Error: unrecognized opcode `push %ebx' > mpi/mpi_x86.s:68: Error: unrecognized opcode `movl $0,%ebx' > mpi/mpi_x86.s:69: Error: unrecognized opcode `mov 12(%ebp),%ecx' > mpi/mpi_x86.s:70: Error: unrecognized opcode `mov 20(%ebp),%edi' > mpi/mpi_x86.s:71: Error: unrecognized opcode `cmp $0,%ecx' > mpi/mpi_x86.s:72: Error: unrecognized opcode `je 2f' > mpi/mpi_x86.s:73: Error: unrecognized opcode `mov 8(%ebp),%esi' > mpi/mpi_x86.s:74: Error: unrecognized opcode `cld' > mpi/mpi_x86.s:76: Error: unrecognized opcode `lodsl ' > mpi/mpi_x86.s:77: Error: unrecognized opcode `mov 16(%ebp),%edx' > mpi/mpi_x86.s:78: Error: unrecognized opcode `mull %edx' > mpi/mpi_x86.s:80: Error: illegal operands `add %ebx,%eax' > mpi/mpi_x86.s:81: Error: unrecognized opcode `adc $0,%edx' > mpi/mpi_x86.s:82: Error: unrecognized opcode `mov %edx,%ebx' > mpi/mpi_x86.s:84: Error: unrecognized opcode `stosl ' > mpi/mpi_x86.s:85: Error: unrecognized opcode `dec %ecx' > mpi/mpi_x86.s:86: Error: unrecognized opcode `jnz 1b' > mpi/mpi_x86.s:88: Error: unrecognized opcode `mov %ebx,0(%edi)' > mpi/mpi_x86.s:89: Error: unrecognized opcode `pop %ebx' > mpi/mpi_x86.s:90: Error: unrecognized opcode `pop %esi' > mpi/mpi_x86.s:91: Error: unrecognized opcode `pop %edi' > mpi/mpi_x86.s:92: Error: unrecognized opcode `leave ' > mpi/mpi_x86.s:93: Error: unrecognized opcode `ret ' > mpi/mpi_x86.s:121: Error: unrecognized opcode `push %ebp' > mpi/mpi_x86.s:122: Error: unrecognized opcode `mov %esp,%ebp' > mpi/mpi_x86.s:123: Error: bad expression > mpi/mpi_x86.s:123: Error: illegal operands `sub' > mpi/mpi_x86.s:124: Error: unrecognized opcode `push %edi' > mpi/mpi_x86.s:125: Error: unrecognized opcode `push %esi' > mpi/mpi_x86.s:126: Error: unrecognized opcode `push %ebx' > mpi/mpi_x86.s:127: Error: unrecognized opcode `movl $0,%ebx' > mpi/mpi_x86.s:128: Error: unrecognized opcode `mov 12(%ebp),%ecx' > mpi/mpi_x86.s:129: Error: unrecognized opcode `mov 20(%ebp),%edi' > mpi/mpi_x86.s:130: Error: unrecognized opcode `cmp $0,%ecx' > mpi/mpi_x86.s:131: Error: unrecognized opcode `je 4f' > mpi/mpi_x86.s:132: Error: unrecognized opcode `mov 8(%ebp),%esi' > mpi/mpi_x86.s:133: Error: unrecognized opcode `cld' > mpi/mpi_x86.s:135: Error: unrecognized opcode `lodsl ' > mpi/mpi_x86.s:136: Error: unrecognized opcode `mov 16(%ebp),%edx' > mpi/mpi_x86.s:137: Error: unrecognized opcode `mull %edx' > mpi/mpi_x86.s:139: Error: illegal operands `add %ebx,%eax' > mpi/mpi_x86.s:140: Error: unrecognized opcode `adc $0,%edx' > mpi/mpi_x86.s:141: Error: unrecognized opcode `mov 0(%edi),%ebx' > mpi/mpi_x86.s:142: Error: illegal operands `add %ebx,%eax' > mpi/mpi_x86.s:143: Error: unrecognized opcode `adc $0,%edx' > mpi/mpi_x86.s:144: Error: unrecognized opcode `mov %edx,%ebx' > mpi/mpi_x86.s:146: Error: unrecognized opcode `stosl ' > mpi/mpi_x86.s:147: Error: unrecognized opcode `dec %ecx' > mpi/mpi_x86.s:148: Error: unrecognized opcode `jnz 3b' > mpi/mpi_x86.s:150: Error: unrecognized opcode `mov %ebx,0(%edi)' > mpi/mpi_x86.s:151: Error: unrecognized opcode `pop %ebx' > mpi/mpi_x86.s:152: Error: unrecognized opcode `pop %esi' > mpi/mpi_x86.s:153: Error: unrecognized opcode `pop %edi' > mpi/mpi_x86.s:154: Error: unrecognized opcode `leave ' > mpi/mpi_x86.s:155: Error: unrecognized opcode `ret ' > mpi/mpi_x86.s:183: Error: unrecognized opcode `push %ebp' > mpi/mpi_x86.s:184: Error: unrecognized opcode `mov %esp,%ebp' > mpi/mpi_x86.s:185: Error: bad expression > mpi/mpi_x86.s:185: Error: illegal operands `sub' > mpi/mpi_x86.s:186: Error: unrecognized opcode `push %edi' > mpi/mpi_x86.s:187: Error: unrecognized opcode `push %esi' > mpi/mpi_x86.s:188: Error: unrecognized opcode `push %ebx' > mpi/mpi_x86.s:189: Error: unrecognized opcode `movl $0,%ebx' > mpi/mpi_x86.s:190: Error: unrecognized opcode `mov 12(%ebp),%ecx' > mpi/mpi_x86.s:191: Error: unrecognized opcode `mov 20(%ebp),%edi' > mpi/mpi_x86.s:192: Error: unrecognized opcode `cmp $0,%ecx' > mpi/mpi_x86.s:193: Error: unrecognized opcode `je 6f' > mpi/mpi_x86.s:194: Error: unrecognized opcode `cld' > mpi/mpi_x86.s:195: Error: unrecognized opcode `mov 8(%ebp),%esi' > mpi/mpi_x86.s:197: Error: unrecognized opcode `lodsl ' > mpi/mpi_x86.s:198: Error: unrecognized opcode `mov 16(%ebp),%edx' > mpi/mpi_x86.s:199: Error: unrecognized opcode `mull %edx' > mpi/mpi_x86.s:201: Error: illegal operands `add %ebx,%eax' > mpi/mpi_x86.s:202: Error: unrecognized opcode `adc $0,%edx' > mpi/mpi_x86.s:203: Error: unrecognized opcode `mov 0(%edi),%ebx' > mpi/mpi_x86.s:204: Error: illegal operands `add %ebx,%eax' > mpi/mpi_x86.s:205: Error: unrecognized opcode `adc $0,%edx' > mpi/mpi_x86.s:206: Error: unrecognized opcode `mov %edx,%ebx' > mpi/mpi_x86.s:208: Error: unrecognized opcode `stosl ' > mpi/mpi_x86.s:209: Error: unrecognized opcode `dec %ecx' > mpi/mpi_x86.s:210: Error: unrecognized opcode `jnz 5b' > mpi/mpi_x86.s:212: Error: unrecognized opcode `cmp $0,%ebx' > mpi/mpi_x86.s:213: Error: unrecognized opcode `jz 8f' > mpi/mpi_x86.s:214: Error: unrecognized opcode `mov 0(%edi),%eax' > mpi/mpi_x86.s:215: Error: illegal operands `add %ebx,%eax' > mpi/mpi_x86.s:216: Error: unrecognized opcode `stosl ' > mpi/mpi_x86.s:217: Error: unrecognized opcode `jnc 8f' > mpi/mpi_x86.s:219: Error: unrecognized opcode `mov 0(%edi),%eax' > mpi/mpi_x86.s:220: Error: unrecognized opcode `adc $0,%eax' > mpi/mpi_x86.s:221: Error: unrecognized opcode `stosl ' > mpi/mpi_x86.s:222: Error: unrecognized opcode `jc 7b' > mpi/mpi_x86.s:224: Error: unrecognized opcode `pop %ebx' > mpi/mpi_x86.s:225: Error: unrecognized opcode `pop %esi' > mpi/mpi_x86.s:226: Error: unrecognized opcode `pop %edi' > mpi/mpi_x86.s:227: Error: unrecognized opcode `leave ' > mpi/mpi_x86.s:228: Error: unrecognized opcode `ret ' > mpi/mpi_x86.s:253: Error: unrecognized opcode `push %ebp' > mpi/mpi_x86.s:254: Error: unrecognized opcode `mov %esp,%ebp' > mpi/mpi_x86.s:255: Error: bad expression > mpi/mpi_x86.s:255: Error: illegal operands `sub' > mpi/mpi_x86.s:256: Error: unrecognized opcode `push %edi' > mpi/mpi_x86.s:257: Error: unrecognized opcode `push %esi' > mpi/mpi_x86.s:258: Error: unrecognized opcode `push %ebx' > mpi/mpi_x86.s:259: Error: unrecognized opcode `movl $0,%ebx' > mpi/mpi_x86.s:260: Error: unrecognized opcode `mov 12(%ebp),%ecx' > mpi/mpi_x86.s:261: Error: unrecognized opcode `mov 16(%ebp),%edi' > mpi/mpi_x86.s:262: Error: unrecognized opcode `cmp $0,%ecx' > mpi/mpi_x86.s:263: Error: unrecognized opcode `je 11f' > mpi/mpi_x86.s:264: Error: unrecognized opcode `cld' > mpi/mpi_x86.s:265: Error: unrecognized opcode `mov 8(%ebp),%esi' > mpi/mpi_x86.s:267: Error: unrecognized opcode `lodsl ' > mpi/mpi_x86.s:268: Error: unrecognized opcode `mull %eax' > mpi/mpi_x86.s:270: Error: illegal operands `add %ebx,%eax' > mpi/mpi_x86.s:271: Error: unrecognized opcode `adc $0,%edx' > mpi/mpi_x86.s:272: Error: unrecognized opcode `mov 0(%edi),%ebx' > mpi/mpi_x86.s:273: Error: illegal operands `add %ebx,%eax' > mpi/mpi_x86.s:274: Error: unrecognized opcode `mov 4(%edi),%ebx' > mpi/mpi_x86.s:275: Error: unrecognized opcode `stosl ' > mpi/mpi_x86.s:276: Error: unrecognized opcode `adc %ebx,%edx' > mpi/mpi_x86.s:277: Error: unrecognized opcode `movl $0,%ebx' > mpi/mpi_x86.s:278: Error: unrecognized opcode `mov %edx,%eax' > mpi/mpi_x86.s:279: Error: unrecognized opcode `adc $0,%ebx' > mpi/mpi_x86.s:280: Error: unrecognized opcode `stosl ' > mpi/mpi_x86.s:281: Error: unrecognized opcode `dec %ecx' > mpi/mpi_x86.s:282: Error: unrecognized opcode `jnz 10b' > mpi/mpi_x86.s:284: Error: unrecognized opcode `cmp $0,%ebx' > mpi/mpi_x86.s:285: Error: unrecognized opcode `jz 14f' > mpi/mpi_x86.s:286: Error: unrecognized opcode `mov 0(%edi),%eax' > mpi/mpi_x86.s:287: Error: illegal operands `add %ebx,%eax' > mpi/mpi_x86.s:288: Error: unrecognized opcode `stosl ' > mpi/mpi_x86.s:289: Error: unrecognized opcode `jnc 14f' > mpi/mpi_x86.s:291: Error: unrecognized opcode `mov 0(%edi),%eax' > mpi/mpi_x86.s:292: Error: unrecognized opcode `adc $0,%eax' > mpi/mpi_x86.s:293: Error: unrecognized opcode `stosl ' > mpi/mpi_x86.s:294: Error: unrecognized opcode `jc 12b' > mpi/mpi_x86.s:296: Error: unrecognized opcode `pop %ebx' > mpi/mpi_x86.s:297: Error: unrecognized opcode `pop %esi' > mpi/mpi_x86.s:298: Error: unrecognized opcode `pop %edi' > mpi/mpi_x86.s:299: Error: unrecognized opcode `leave ' > mpi/mpi_x86.s:300: Error: unrecognized opcode `ret ' > mpi/mpi_x86.s:329: Error: unrecognized opcode `push %ebx' > mpi/mpi_x86.s:330: Error: unrecognized opcode `mov 8(%esp),%edx' > mpi/mpi_x86.s:331: Error: unrecognized opcode `mov 12(%esp),%eax' > mpi/mpi_x86.s:332: Error: unrecognized opcode `mov 16(%esp),%ebx' > mpi/mpi_x86.s:333: Error: illegal operands `div %ebx' > mpi/mpi_x86.s:334: Error: unrecognized opcode `mov 20(%esp),%ebx' > mpi/mpi_x86.s:335: Error: unrecognized opcode `mov %eax,0(%ebx)' > mpi/mpi_x86.s:336: Error: unrecognized opcode `mov 24(%esp),%ebx' > mpi/mpi_x86.s:337: Error: unrecognized opcode `mov %edx,0(%ebx)' > mpi/mpi_x86.s:338: Error: illegal operands `xor %eax,%eax' > mpi/mpi_x86.s:339: Error: unrecognized opcode `pop %ebx' > mpi/mpi_x86.s:340: Error: unrecognized opcode `ret ' > make[5]: *** [Linux2.6_x86_glibc_PTH_OPT.OBJ/mpi_x86.o] Error 1 > make[5]: Leaving directory > `/build/tbm/xulrunner-1.8.0.1/security/nss/lib/freebl' > make[4]: *** [libs] Error 2 > make[4]: Leaving directory `/build/tbm/xulrunner-1.8.0.1/security/nss/lib' > make[3]: *** [libs] Error 2 > make[3]: Leaving directory `/build/tbm/xulrunner-1.8.0.1/security/manager' > make[2]: *** [tier_50] Error 2 > make[2]: Leaving directory `/build/tbm/xulrunner-1.8.0.1' > make[1]: *** [default] Error 2 > make[1]: Leaving directory `/build/tbm/xulrunner-1.8.0.1' > make: *** [build-stamp] Error 2 -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

