delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/11/12/13:51:02

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BBADE385840B
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=optusnet.com.au
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=sender:from:date:to:subject:message-id:mail-followup-to:references
:mime-version:content-disposition:in-reply-to;
bh=62ISLpwpI8mcx8udqrsjmSKmr/ejmoTla0562y/GSuA=;
b=Xbdnv6doJRdNCU6Sl5i3eYI4H4EpJxmHbaPpH6UM/sahNAlfgOEO2oAbVPQ71Utzj/
UmOkWxK7ukcm1cWbJJXQ3CoD8aLO7jGY/Ng2nimnTo1L8j+g4aNbfO3LNktTZ8fSJO3T
G0XHUrUPavQlbs4e6tWkdekseKB/85iSxUCpLPuo8nUJPM0KPMfMnSnDk8m5njNUbZsd
yGlANyGoYgXcVj/FZqA5v4JgjBrPYfM9Mg7mvbAlF6pvx6rgKhaSg2thIPmgk+sC9ICW
FI/VBzUTUbaT+o3UeLMNscDX7otiOgWmf9Lj4s7JpiWszjCHjk1Uq+u6LWx3wnK5Ck2+
N3pA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:sender:from:date:to:subject:message-id
:mail-followup-to:references:mime-version:content-disposition
:in-reply-to;
bh=62ISLpwpI8mcx8udqrsjmSKmr/ejmoTla0562y/GSuA=;
b=bWRqMJ+PvKTolBKXAHjSjUzmz1Bdi1d40CBA6aZKp8I+jXjV3UR+Z3fMAmJ7xUio4e
wHV/wySTaXichOklP1qPB5XVkYik/VvBr2qFPZe5Titblz1+zkYpZGOPduDq922VY/oD
+0tf5zn+7cArTWGaO+IoHLI+jpMAvKH0tE1nlha3QlzHtym96ITQzpzV249m3nbgTpTO
CowKLBHLzmRZN0J7QXhgfGXJELEBy4GAI8AMb2hLupdqjfID913MzeRQY/l66uexpDgG
1JBDKkJQvmbJ9xdGa11Eu7Fvn8j2n/iZIbVOfigjhwf6LW5oYWTsB0UhCtCY4U7LAfXi
7PrA==
X-Gm-Message-State: AOAM530Tdwfmj8NWGpI7/Y/MmgqY/63drgtiGydq5wJEjYt+G/sZgOeQ
UYls2OjVS4jnS/fMpPMHsddmcXSX03w=
X-Google-Smtp-Source: ABdhPJyfdAHNNw2HZAlkrrqxqd+ca58OZsagH+q/KfHlxq104BwuQDi+ETYSatwwGyZ8EA8vfH1/wA==
X-Received: by 2002:a17:903:2091:b0:142:8567:e794 with SMTP id
d17-20020a170903209100b001428567e794mr10528130plc.50.1636743039402;
Fri, 12 Nov 2021 10:50:39 -0800 (PST)
From: Duncan Roe <duncan_roe AT optusnet DOT com DOT au>
X-Google-Original-From: Duncan Roe <dunc AT slk1 DOT local DOT net>
Date: Sat, 13 Nov 2021 05:50:35 +1100
To: cygwin AT cygwin DOT com
Subject: Re: cygport build injecting /usr/lib/gcc/x86_64-pc-cygwin/7.4.0/ paths
Message-ID: <YY63e80SXs1ouCdb@slk1.local.net>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <9b0f1bad-1fde-1ed0-a454-409be5c97c10 AT SystematicSw DOT ab DOT ca>
MIME-Version: 1.0
In-Reply-To: <9b0f1bad-1fde-1ed0-a454-409be5c97c10@SystematicSw.ab.ca>
X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Fri, Nov 12, 2021 at 10:50:41AM -0700, Brian Inglis wrote:
> Got these errors trying to build latest ncurses on my system, so retried on
> scallywag and got same result, with no clue where that is coming from!
> There are no files in the tarball, repo, or build dirs containing 7.4.0 but
> it looks suspiciously like the package version 6.3.0 incremented!
> Anyone ever seen these kinds of artifacts, or aware of any code doing this
> kind of incrementing?
>
> $ fgrep 7.4.0 scallywag/*86*/6_Build\ packages.log
> scallywag/i686/6_Build packages.log:2021-11-12T09:54:57.1027256Z libtool:
> link: g++ -shared -nostdlib /usr/lib/gcc/i686-pc-cygwin/7.4.0/crtbeginS.o
> ../obj_lo/.libs/cursesf.o ../obj_lo/.libs/cursesm.o
> ../obj_lo/.libs/cursesw.o ../obj_lo/.libs/cursespad.o
> ../obj_lo/.libs/cursesp.o ../obj_lo/.libs/cursslk.o
> ../obj_lo/.libs/cursesapp.o ../obj_lo/.libs/cursesmain.o
> -L/cygdrive/d/a/scallywag/ncurses/ncurses-6.3-1.20211106.i686/build/lib/.libs
> -L../lib /cygdrive/d/a/scallywag/ncurses/ncurses-6.3-1.20211106.i686/build/lib/.libs/libformw.dll.a /cygdrive/d/a/scallywag/ncurses/ncurses-6.3-1.20211106.i686/build/lib/.libs/libmenuw.dll.a /cygdrive/d/a/scallywag/ncurses/ncurses-6.3-1.20211106.i686/build/lib/.libs/libpanelw.dll.a
> ../lib/.libs/libformw.dll.a ../lib/.libs/libmenuw.dll.a
> ../lib/.libs/libpanelw.dll.a /cygdrive/d/a/scallywag/ncurses/ncurses-6.3-1.20211106.i686/build/lib/.libs/libncursesw.dll.a
> ../lib/.libs/libncursesw.dll.a -lutil -L/usr/lib/gcc/i686-pc-cygwin/7.4.0
> -L/usr/lib/gcc/i686-pc-cygwin/7.4.0/../../../../i686-pc-cygwin/lib
> -L/usr/lib/gcc/i686-pc-cygwin/7.4.0/../../.. -lstdc++ -lgcc_s -lgcc -lcygwin
> -ladvapi32 -lshell32 -luser32 -lkernel32 -lgcc_s -lgcc
> /usr/lib/gcc/i686-pc-cygwin/7.4.0/crtend.o  -ggdb -O2
> -fstack-protector-strong   -o .libs/cygncurses++w-10.dll
> -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker
> .libs/libncurses++w.dll.a
> scallywag/i686/6_Build packages.log:2021-11-12T09:54:57.1848593Z
> /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: cannot
> find /usr/lib/gcc/i686-pc-cygwin/7.4.0/crtbeginS.o: No such file or
> directory
> scallywag/i686/6_Build packages.log:2021-11-12T09:54:57.3516554Z
> /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: cannot
> find /usr/lib/gcc/i686-pc-cygwin/7.4.0/crtend.o: No such file or directory
> scallywag/x86_64/6_Build packages.log:2021-11-12T09:52:54.1343744Z libtool:
> link: g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-cygwin/7.4.0/crtbeginS.o
> ../obj_lo/.libs/cursesf.o ../obj_lo/.libs/cursesm.o
> ../obj_lo/.libs/cursesw.o ../obj_lo/.libs/cursespad.o
> ../obj_lo/.libs/cursesp.o ../obj_lo/.libs/cursslk.o
> ../obj_lo/.libs/cursesapp.o ../obj_lo/.libs/cursesmain.o -L/cygdrive/d/a/scallywag/ncurses/ncurses-6.3-1.20211106.x86_64/build/lib/.libs
> -L../lib /cygdrive/d/a/scallywag/ncurses/ncurses-6.3-1.20211106.x86_64/build/lib/.libs/libformw.dll.a /cygdrive/d/a/scallywag/ncurses/ncurses-6.3-1.20211106.x86_64/build/lib/.libs/libmenuw.dll.a /cygdrive/d/a/scallywag/ncurses/ncurses-6.3-1.20211106.x86_64/build/lib/.libs/libpanelw.dll.a
> ../lib/.libs/libformw.dll.a ../lib/.libs/libmenuw.dll.a
> ../lib/.libs/libpanelw.dll.a /cygdrive/d/a/scallywag/ncurses/ncurses-6.3-1.20211106.x86_64/build/lib/.libs/libncursesw.dll.a
> ../lib/.libs/libncursesw.dll.a -lutil -L/usr/lib/gcc/x86_64-pc-cygwin/7.4.0
> -L/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/lib/../lib
> -L/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../lib -L/lib/../lib
> -L/usr/lib/../lib
> -L/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/lib
> -L/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../.. -lstdc++ -lgcc_s -lgcc
> -lcygwin -ladvapi32 -lshell32 -luser32 -lkernel32 -lgcc_s -lgcc
> /usr/lib/gcc/x86_64-pc-cygwin/7.4.0/crtend.o  -ggdb -O2
> -fstack-protector-strong   -o .libs/cygncurses++w-10.dll
> -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker
> .libs/libncurses++w.dll.a
> scallywag/x86_64/6_Build packages.log:2021-11-12T09:52:54.2146113Z
> /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: cannot
> find /usr/lib/gcc/x86_64-pc-cygwin/7.4.0/crtbeginS.o: No such file or
> directory
> scallywag/x86_64/6_Build packages.log:2021-11-12T09:52:54.4873238Z
> /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: cannot
> find /usr/lib/gcc/x86_64-pc-cygwin/7.4.0/crtend.o: No such file or directory
>
> --
> Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
>
> This email may be disturbing to some readers as it contains
> too much technical detail. Reader discretion is advised.
> [Data in binary units and prefixes, physical quantities in SI.]
>
Try env | grep -E 7\.4\.0
I had a kind-of similar problem from having LIBS in the environment.
Otherwise on a freshly restored tarball before even running ./configure:
find . -type f|xargs grep -E 7\.4\.0
find . -name '*7.4.0*'
btw fgrep and egrep are retired at GNU grep 3.7

Cheers ... Duncan.

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019