From owner-freebsd-current@freebsd.org Fri Jan 10 06:31:27 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 145D8225679 for ; Fri, 10 Jan 2020 06:31:27 +0000 (UTC) (envelope-from timp87@gmail.com) Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47vCmt2MnVz4FfR for ; Fri, 10 Jan 2020 06:31:26 +0000 (UTC) (envelope-from timp87@gmail.com) Received: by mail-wr1-x442.google.com with SMTP id d16so632277wre.10 for ; Thu, 09 Jan 2020 22:31:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=xc2gMiboqKeZ/pePrhgmhiHTY8DiGFqc2UE5OQ81dtA=; b=tOPrx82O7+5OTKqKOsaiUCH3Td81G8HHNr+vzV6XLQTWR1ud2H0DE5aAJKN4Nc4p0h swDiqbJkBnBULw6SvecVHo+sKjG5UW3WGyV1uBmgLFweA/51PVO6CzR0a/u5uHnpznzI C4JoYWYGX9AmTVJB57x0WsUf/EaKxe040KXbAm6O5VsIqT3jfRAjHXsAWUs26ktiDE4A BjNb16iX67WIPUurCtQ/Bvh5rJwFpODazhyZgeyQmUNZVPtbm4N1E+GvUgqP6WVzKHkc CxaFsF4qp6W4UWvgASH8m3i6HVxcuZxz5aE6of/wymAqSZlzXhTgvQtasACrHGo4ge5Z n+fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=xc2gMiboqKeZ/pePrhgmhiHTY8DiGFqc2UE5OQ81dtA=; b=qcOnKyhRK7UyfJvx7YNEyO+76varpHsNwUfy7WIgC9xMPXtZHUklx9m+Zny/TX6aZ6 ODQyNJ2P9rQVNHEINtbl7gkCn7yzzbSoqgIcFVrQPBZLbwgf19mvy2atmfs6jyIzuA3S vCPm5HJ3Bsm/8nFUnvzZwgMDFDSR8bcy+oqRAtgJrjpSpeyGHy/Ij8lCBqTu6DKSyg8e 0EPWhSVizgB+3Go7sqnlSExqihQNfbhD2yZjfDUnPZXIeXYB0Kb8EGQhw7h6U9iKrT4s tLxIJ5bmGTFPlOFSYZklEy4IwrZLvQyzkYi8AdGZU78lA81huBR2TdT6LFUQumSQFLxh 8apw== X-Gm-Message-State: APjAAAX4Q9zUUZUzMIlgA9NTEVLeyOBXbJzo+krThmXguAgkq9bSEG56 +7RhOy74U91Oevo7avo08TERD9l4p4saZqYN4tlBViB3 X-Google-Smtp-Source: APXvYqxD3UlQxRUTuhKnBRfFCBd6YrXrChM5eTWJXUhQJ+b6Ks1RxTk/5daTlxZtEErgXDVhjgpGWjESpwzMAg+vrqI= X-Received: by 2002:adf:ef4e:: with SMTP id c14mr1590875wrp.142.1578637884478; Thu, 09 Jan 2020 22:31:24 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Pavel Timofeev Date: Fri, 10 Jan 2020 09:31:13 +0300 Message-ID: Subject: Re: Can't cross-compile HEAD To: freebsd-current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 47vCmt2MnVz4FfR X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=tOPrx82O; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of timp87@gmail.com designates 2a00:1450:4864:20::442 as permitted sender) smtp.mailfrom=timp87@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (2.31), ipnet: 2a00:1450::/32(-2.61), asn: 15169(-1.85), country: US(-0.05)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2.4.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jan 2020 06:31:27 -0000 =D1=87=D1=82, 9 =D1=8F=D0=BD=D0=B2. 2020 =D0=B3. =D0=B2 16:52, Pavel Timofe= ev : > > Hello > > I'm trying to cross-compile HEAD r356551 for mips on my FreeBSD-12.1 amd6= 4. > I'm using mips-gcc6-6.5.0 and this > https://github.com/freebsd/freebsd-wifi-build nice project to build > image for my tl-wdr3600 > > The error I'm getting is: > ... > =3D=3D=3D> usr.sbin/fmtree (all) > =3D=3D=3D> usr.bin/vi (all) > =3D=3D=3D> usr.sbin/freebsd-update (all) > =3D=3D=3D> usr.sbin/gpioctl (all) > =3D=3D=3D> usr.sbin/inetd (all) > /usr/home/pavel.timofeev/mips/head/usr.sbin/inetd/inetd.c: In function > 'getconfigent': > /usr/home/pavel.timofeev/mips/head/usr.sbin/inetd/inetd.c:1614:6: > warning: variable 'v4bind' set but not used > [-Wunused-but-set-variable] > int v4bind; > ^~~~~~ > At top level: > /usr/home/pavel.timofeev/mips/head/usr.sbin/inetd/inetd.c:33:19: > warning: 'copyright' defined but not used [-Wunused-const-variable=3D] > static const char copyright[] =3D > ^~~~~~~~~ > /usr/home/pavel.timofeev/mips/head/usr.sbin/inetd/inetd.c: In function 's= etup': > /usr/home/pavel.timofeev/mips/head/usr.sbin/inetd/inetd.c:1368:4: > error: 'netid' may be used uninitialized in this function > [-Werror=3Dmaybe-uninitialized] > rpcb_set(sep->se_rpc_prog, i, netid, &nbuf); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors > --- inetd.o --- > *** [inetd.o] Error code 1 > > > Could anybody please help fix that? Terribly sorry, I forgot to mention a very important detail. My src.conf has the only option now. It's WITHOUT_INET6=3D"YES"