From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x22c.google.com (mail-oi1-x22c.google.com [IPv6:2607:f8b0:4864:20::22c]) by sourceware.org (Postfix) with ESMTPS id 967E6385C406 for ; Tue, 13 Jul 2021 13:16:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 967E6385C406 Received: by mail-oi1-x22c.google.com with SMTP id s23so13765247oij.0 for ; Tue, 13 Jul 2021 06:16:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=orDjl/tr/pPmulC1O2LQlY3Qzc98ZXC2MDGqSLR/96s=; b=RFHURcRaTZTtHdJzE/ZPKODT9Oz/4tOA+nYwiVB8cyaENb6NCGizlyDK6R92FYGS8j mlja+eDPaXyS/lKXTDbjibb1jEheDOGv5oq7LdDWTx7MUR9waVDou8kDqGmkxbrjpfHM YEnV5oba++ecLIUAmyOVXDv34QAD83EbjK11ni0nHZLoMWa4MY8weEewYlyci9o2zES+ fWpBqkG/MgmMDGD8gCXMaLrzTHlH7dk3X9uKk3P7O8yuott9GMJT7VGPrnBFGzGkmfYd 0/fBtgoNLAgLiSDFvsmgZQ9jir8zDSGnO9+UJemPBH9geMXEWx2g0q3YV4tmJ59j9pW8 XMGg== X-Gm-Message-State: AOAM530rRIxktcC3dhg2ZxhTSkyboic0zEjbi5P7Mz+SUecGM6xrys/S gLhtvvsp/sup6fsoCxYkDrwJxMAJjQr5Qd4lRKGaGRxRcHI= X-Google-Smtp-Source: ABdhPJwVSIVxvwtPF58AYg+kbRNhu8IA+8OtL/Nnm4ntAGFVV9qhzUEguhvwlIBLisEirbrKZc40mfIt+jMQ5rANvOA= X-Received: by 2002:aca:dac5:: with SMTP id r188mr3194052oig.78.1626182175058; Tue, 13 Jul 2021 06:16:15 -0700 (PDT) MIME-Version: 1.0 From: Manuel Lauss Date: Tue, 13 Jul 2021 15:15:39 +0200 Message-ID: Subject: nss buildfailure in latest git sources To: Manuel Lauss via Libc-help Cc: Florian Weimer Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-help@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-help mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2021 13:16:17 -0000 Hello, I get the following build failure in nss code: 86_64-pc-linux-gnu-gcc -m64 -O2 -march=3Dznver3 -mtune=3Dznver3 -pipe -fpic -fPIC -fpic -fPIC -Wl,-O1 -Wl,--as-needed nss_module.c -c -std=3Dgnu11 -fgnu89-inline -O2 -march=3Dznver3 -mtune=3Dznver3 -pipe -fpi= c -fPIC -fpic -fPIC -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wstrict-prototypes -Wold-style-definition -fmath-errno -ftls-model=3Dinitial-exec -U_FORTIFY_SOURCE -I../include -I/tmp-ram/portage/sys-libs/glibc-2.33-r 1/work/build-amd64-x86_64-pc-linux-gnu-nptl/nss -I/tmp-ram/portage/sys-libs/glibc-2.33-r1/work/build-amd64-x86_64-pc-linux-= gnu-nptl -I../sysdeps/unix/sysv/linux/x86_64/64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x 86/include -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/x86/nptl -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/x86_64/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthrea d -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu - I../sysdeps/x86_64/multiarch -I../sysdeps/x86_64 -I../sysdeps/x86/include -I../sysdeps/x86 -I../sysdeps/ieee754/float128 -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 /flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include-fixed -isystem /us r/include -D_LIBC_REENTRANT -include /tmp-ram/portage/sys-libs/glibc-2.33-r1/work/build-amd64-x86_64-pc-linux-gn= u-nptl/libc-modules.h -DMODULE_NAME=3Dlibc -include ../include/libc-symbols.h -DPIC -DTOP_NAMESPACE=3Dglibc -o /tmp-ram/portage/ sys-libs/glibc-2.33-r1/work/build-amd64-x86_64-pc-linux-gnu-nptl/nss/nss_mo= dule.o -MD -MP -MF /tmp-ram/portage/sys-libs/glibc-2.33-r1/work/build-amd64-x86_64= -pc-linux-gnu-nptl/nss/nss_module.o.dt -MT /tmp-ram/portage/sys-libs/glibc-2.33-r1/w ork/build-amd64-x86_64-pc-linux-gnu-nptl/nss/nss_module.o nss_module.c: In function =E2=80=98module_load_nss_files=E2=80=99: nss_module.c:117:7: error: =E2=80=98is_nscd=E2=80=99 undeclared (first use = in this function) 117 | if (is_nscd) | ^~~~~~~ nss_module.c:117:7: note: each undeclared identifier is reported only once for each function it appears in nss_module.c:119:51: error: =E2=80=98nscd_init_cb=E2=80=99 undeclared (firs= t use in this function); did you mean =E2=80=98nscd_init=E2=80=99? 119 | void (*cb) (size_t, struct traced_file *) =3D nscd_init_cb; | ^~~~~~~~~~~~ | nscd_init seems that is_nscd and nscd_init_cb are not always defined. Manuel