reassign 754416 bmake
found 754416 20131001-4
retitle 754416 pmake: MACHINE_ARCH mismatch on mipseb causes other packages to 
FTBFS
thanks

Cyril Brulebois dixit:

>your package no longer builds on mips:
>| + CC=cc CFLAGS=-g -O2 -Wformat -Werror=format-security -Wall -Wformat 
>-Wno-unused-but-set-variable -Wno-unused-result LDFLAGS=-Wl,-z,relro 
>-Wl,-z,now -Wl,--as-needed
>| + CPPFLAGS=-D_FORTIFY_SOURCE=2 -include /usr/include/bsd/bsd.h -idirafter 
>/usr/include/bsd -D'__IDSTRING(x,y)=static const char x[] 
>__attribute__((__used__)) = y' -D'__KERNEL_RCSID(x,y)=__IDSTRING(kernelrcsid_ 
>## x,y)' -D'__dead=__attribute__((__noreturn__))' -D'_DIAGASSERT(x)=' 
>-D'bswap16=__bswap_16' -D'bswap32=__bswap_32' -D'bswap64=__bswap_64' 
>-DHAVE_STRUCT_STATVFS_F_IOSIZE=0 -DHAVE_STRUCT_STAT_ST_MTIMENSEC=0 
>-DHAVE_STRUCT_STAT_ST_FLAGS=0 -DHAVE_STRUCT_STAT_ST_GEN=0
>| + CFLAGS=-g -O2 -Wformat -Werror=format-security -Wall -Wformat 
>-Wno-unused-but-set-variable -Wno-unused-result -flto=jobserver
>| + LDFLAGS=-g -O2 -Wformat -Werror=format-security -Wall -Wformat 
>-Wno-unused-but-set-variable -Wno-unused-result -flto=jobserver -Wl,-z,relro 
>-Wl,-z,now -Wl,--as-needed
>| + export LC_ALL=C CC CFLAGS CPPFLAGS LDFLAGS
>| + pmake BSDSRCDIR=/B+PKGBUILDDIRB;/builddir DEBIAN=Yes NOGCCERROR=Yes makefs
>| Must set MACHINE_ARCH to one of mipseb or mipsel
>| *** Error code 1

Indeed. This is a regression in pmake, reassigning and,
due to that BTS bug, manually Cc’ing pmake’s maintainer.


Andrew, BSD wants MACHINE_ARCH=mipseb where Debian arch is mips
(mipsel is named the same in both). This seems to work for all
other arches (except powerpcspe, which has not yet tried to
build the latest makefs upload).

This affects everything actually wanting to *use* pmake/bmake
in Debian. Some of my packages use it to build. Reproducer:


(sid_mips-dchroot)tg@gabrielli:~$ printf 'all:\n\t@echo ${MACHINE_ARCH}\n' | 
pmake -f - all
mips
(sid_mips-dchroot)tg@gabrielli:~$ printf 'all:\n\techo ok\n.include 
<bsd.own.mk>\n' | pmake -f - all
Must set MACHINE_ARCH to one of mipseb or mipsel
*** Error code 1

Stop.
pmake: stopped in /home/tg


bye,
//mirabilos
-- 
> Hi, does anyone sell openbsd stickers by themselves and not packaged
> with other products?
No, the only way I've seen them sold is for $40 with a free OpenBSD CD.
        -- Haroon Khalid and Steve Shockley in gmane.os.openbsd.misc


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to