From nobody Fri May 24 14:54:07 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vm7NK1h51z5LBhv for ; Fri, 24 May 2024 14:54:09 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vm7NK19vCz4p5J; Fri, 24 May 2024 14:54:09 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716562449; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NJu/d59LPtsCTSXEsEaBZ0CkOOajlvG1cOA84otG/dI=; b=TpBGaU0SurZ1OoBHWjDkZOoVMMIEvIRwVNveHPmPXKh339cwRo5VVdRTkg1Rzivk5a32eO kCa4CfxUQuvlcV/xK5j88okni9WvfHA6tu1EzO+M95lWZ98vxO3elZUQ3gJcbPbQ63zKV6 u4NZinqwbTZkXDzxJk1M9zW48T7CbkEeNkRypPaKfF0rBXSYBWTpIhLYwoEkXgASPuOkmT SjGM6af2GVyzGikpxQ7a7pWzgFwgs5DVjwEPHkxdmh1idGmwb4y9kqtfq1fhQkctTJBcNP PkXs/nc2sMRLBYibJbR/GjAgdlCUt+45ZvuoUB650GcT7fe39YDaVnMC2/FlpQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716562449; a=rsa-sha256; cv=none; b=ZboYjMUu2cprx23GS/1U52r6YlPQoZE4PuWc0Ep3mGUu8kCxkC9T4A6zOSL10ItjE8usth /5q52iRfRU6ClFcjaKyoqZBsi7T/GM6vd/GNXRM/b3yGdg+HlYD9vEMJCZfQ0qShbZGZCM r4UUjAO07w+/KOpdJdC1drXx3fdLPMkHbjEFL9LtyeK86q5jihI6CfD/4ggdJIjksPjhI9 zlGDEiSJei8GEyzbqJ57l3Ro1PvYZdmHZOg7QETkMnn25L9ip8e1ja/DGZREix3nPzGAVr QbcRuGPYymOaWEsclUDVJzt0G+CaEJIn5Xsu7zlDoJqZ1H7IEwrTUrwcWR2krQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716562449; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NJu/d59LPtsCTSXEsEaBZ0CkOOajlvG1cOA84otG/dI=; b=kvAng8GTMItEsYkSkf0b8Hv/filGDGFCyiSyWdggWdeeBYzdf0LiCtz+qcrYhev+oZn3OM L6htV7fesKodaHl5ybZmcGeYhOuCWdL9cgECPDmgtQxQiGJB6pFXXxmXBcvan2yIXqrmdK vrNbqF2DEkQOmRupF4zlJ/c0vLw0FFnryrtYg4uUlxgFAZI/NLGo9WDZ46oBlsLL31XSnW 9K0dLk1UHO178CVVbYKRp167iFQz5EERWL4eng+PGhxi9ng7vi//KW/O5+fxK88bV2ZXB4 b8LcOMC0FLhnuC37pkTi9afb1fgprY3K6wVC8gLcHPWTXt7+xGdiG4rDci/kBA== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Vm7NK04GMzyxN; Fri, 24 May 2024 14:54:08 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 80AAB726BE; Fri, 24 May 2024 16:54:07 +0200 (CEST) Content-Type: text/plain; charset=utf-8 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\)) Subject: Re: build of main broken? (ld: error: version script assignment of 'FBSD_1.0' to symbol 'xdr_...' failed: symbol not defined) From: Dimitry Andric In-Reply-To: Date: Fri, 24 May 2024 16:54:07 +0200 Cc: freebsd-current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Matteo Riondato X-Mailer: Apple Mail (2.3731.700.6.1.1) On 24 May 2024, at 15:19, Matteo Riondato wrote: >=20 > I=E2=80=99m trying to build 59aa64914aeb1b2cccc0d4fc39ead2ee159a1e5b = from main-62adeb92df, and got the error below. >=20 > I cannot immediately trace it back to any recent commit, so I=E2=80=99m = a bit surprised by it. >=20 > Any hint? >=20 > -------------------------------------------------------------- >>>> stage 4.2: building libraries > -------------------------------------------------------------- > cd /usr/src; time env MACHINE_ARCH=3Damd64 MACHINE=3Damd64 = CPUTYPE=3Dskylake-avx512 BUILD_TOOLS_META=3D.NOMETA = CC=3D"/usr/local/bin/ccache cc -target x86_64-unknown-freebsd15.0 = --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp = -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin" CXX=3D"/usr/local/bin/ccache = c++ -target x86_64-unknown-freebsd15.0 = --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp = -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin" CPP=3D"cpp -target = x86_64-unknown-freebsd15.0 --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp = -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin" AS=3D"as" AR=3D"ar" = ELFCTL=3D"elfctl" LD=3D"ld" LLVM_LINK=3D"" NM=3Dnm OBJCOPY=3D"objcopy" = RANLIB=3Dranlib STRINGS=3D SIZE=3D"size" STRIPBIN=3D"strip" = INSTALL=3D"install -U" = PATH=3D/usr/obj/usr/src/amd64.amd64/tmp/bin:/usr/obj/usr/src/amd64.amd64/t= mp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/amd6= 4.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bi= n:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.amd64= /tmp/legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin = SYSROOT=3D/usr/obj/usr/src/amd64.amd64/tmp make -f Makefile.inc1 = BWPHASE=3Dlibraries DESTDIR=3D/usr/obj/usr/src/amd64.amd64/tmp = -DNO_FSCHG MK_HTML=3Dno -DNO_LINT MK_MAN=3Dno MK_PROFILE=3Dno = MK_TESTS=3Dno MK_TESTS_SUPPORT=3Dno libraries > cd /usr/src; make -f Makefile.inc1 _prereq_libs; make -f = Makefile.inc1 _startup_libs; make -f Makefile.inc1 _prebuild_libs = -DLIBCRYPTO_WITHOUT_SUBDIRS; make -f Makefile.inc1 _generic_libs > Building /usr/obj/usr/src/amd64.amd64/lib/libcompiler_rt/_libinstall > Building /usr/obj/usr/src/amd64.amd64/lib/libcompiler_rt/_installlinks > Building /usr/obj/usr/src/amd64.amd64/lib/libssp_nonshared/_libinstall > Building /usr/obj/usr/src/amd64.amd64/lib/libgcc_eh/_libinstall > Building /usr/obj/usr/src/amd64.amd64/lib/libgcc_eh/_INCSINS > installing DIRS FILESDIR > install -U -d -m 0755 -o root -g wheel = /usr/obj/usr/src/amd64.amd64/tmp/usr/lib > Building /usr/obj/usr/src/amd64.amd64/lib/csu/amd64/_FILESINS_Scrt1.o > Building /usr/obj/usr/src/amd64.amd64/lib/csu/amd64/_FILESINS_crt1.o > Building /usr/obj/usr/src/amd64.amd64/lib/csu/amd64/_FILESINS_gcrt1.o > Building = /usr/obj/usr/src/amd64.amd64/lib/csu/amd64/_FILESINS_crtbegin.o > Building = /usr/obj/usr/src/amd64.amd64/lib/csu/amd64/_FILESINS_crtbeginS.o > Building = /usr/obj/usr/src/amd64.amd64/lib/csu/amd64/_FILESINS_crtbeginT.o > Building /usr/obj/usr/src/amd64.amd64/lib/csu/amd64/_FILESINS_crtend.o > Building = /usr/obj/usr/src/amd64.amd64/lib/csu/amd64/_FILESINS_crtendS.o > Building /usr/obj/usr/src/amd64.amd64/lib/csu/amd64/_FILESINS_crti.o > Building /usr/obj/usr/src/amd64.amd64/lib/csu/amd64/_FILESINS_crtn.o > Building /usr/obj/usr/src/amd64.amd64/lib/libsys/_libinstall > Building /usr/obj/usr/src/amd64.amd64/lib/libsys/_INCSINS > Building /usr/obj/usr/src/amd64.amd64/lib/libc/libc.so.7 > building shared library libc.so.7 > ld: error: version script assignment of 'FBSD_1.0' to symbol = 'xdr_domainname' failed: symbol not defined > ld: error: version script assignment of 'FBSD_1.0' to symbol = 'xdr_keydat' failed: symbol not defined In lib/libc/rpc/Symbol.map there is: /* =46rom yp_xdr.c (generated by rpcgen - include/rpcsvc/yp.x) = */ xdr_domainname; xdr_keydat; so maybe the rpcgen step went wrong somehow? Do you have WITHOUT_NIS = enabled? -Dimitry