From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dmta1020.nifty.com (mta-snd01001.nifty.com [106.153.227.33]) by sourceware.org (Postfix) with ESMTPS id 24E0B3858D1E for ; Sat, 5 Aug 2023 22:21:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 24E0B3858D1E Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=nifty.ne.jp Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp Received: from HP-Z230 by dmta1020.nifty.com with ESMTP id <20230805222058658.EJWC.131070.HP-Z230@nifty.com> for ; Sun, 6 Aug 2023 07:20:58 +0900 Date: Sun, 6 Aug 2023 07:20:58 +0900 From: Takashi Yano To: cygwin-developers@cygwin.com Subject: Re: cygwin build Message-Id: <20230806072058.004a6000252f5e9fcb4aa2c7@nifty.ne.jp> In-Reply-To: <517f4a67-69ab-4234-bfec-b0ffb083fcd5@towo.net> References: <6f0bfdf8-a557-0540-0367-6846406f941d@towo.net> <44ea96ac-25c5-40b3-f8e1-2d6c02a4c8da@towo.net> <9f4eb8f4-4020-a26d-6deb-50da884ad6af@towo.net> <550b3262-e0f1-94c1-6526-3f3ef9d29d21@towo.net> <517f4a67-69ab-4234-bfec-b0ffb083fcd5@towo.net> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Sat, 5 Aug 2023 20:18:43 +0200 Thomas Wolff wrote: > Am 03.08.2023 um 15:12 schrieb Jon Turney: > > On 03/08/2023 09:21, Thomas Wolff wrote: > >> Am 02.08.2023 um 10:09 schrieb Corinna Vinschen: > >>> On Aug  2 08:36, Thomas Wolff wrote: > >>>> > >>>> Am 01.08.2023 um 23:27 schrieb Corinna Vinschen: > >>>>> On Aug  1 23:05, Thomas Wolff wrote: > >>>>>> I took some of the latest cygwin snapshots (by the way, there are > >>>>>> no newer > >>>>>> ones on the snapshots page): > >>>>> Snapshots are no longer produced.  You should download the latest > >>>>> test versions via setup. > >>>> So what if I need an older version? > >>> It's all documented: > >>> > >>> https://cygwin.com/git.html > >>> https://cygwin.com/faq.html#faq.programming.building-cygwin > >> Thanks. Actually package mingw zlib was missing (when I installed it, > >> it got mistargeted to my parallel test installation). > >> It now worked, kind of, with some build errors after producing the dll. > > > > Nobody can take any useful action about those "build errors" if you > > keep them secret. > > > Sure, I just mentioned it and didn't post details as it wasn't essential > for the discussed issue. Anyway, here are the final error message I > often encounter: > > make[5]: Entering directory > '/cygdrive/c/tmp/newlib-cygwin/build/x86_64-pc-cygwin/winsup/utils' >   CXXLD    dumper.exe > /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: > /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../lib/libbfd.a(compress.o): > in function `decompress_contents': > /usr/src/debug/binutils-2.41-1/bfd/compress.c:514:(.text+0x20d): > undefined reference to `ZSTD_decompress' > /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: > /usr/src/debug/binutils-2.41-1/bfd/compress.c:516:(.text+0x215): > undefined reference to `ZSTD_isError' > /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: > /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../lib/libbfd.a(compress.o): > in function `bfd_compress_section_contents': > /usr/src/debug/binutils-2.41-1/bfd/compress.c:653:(.text+0x11e4): > undefined reference to `ZSTD_compress' > /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: > /usr/src/debug/binutils-2.41-1/bfd/compress.c:658:(.text+0x11f1): > undefined reference to `ZSTD_isError' > collect2: error: ld returned 1 exit status > make[5]: *** [Makefile:603: dumper.exe] Error 1 > make[5]: Leaving directory > '/cygdrive/c/tmp/newlib-cygwin/build/x86_64-pc-cygwin/winsup/utils' > make[4]: *** [Makefile:872: all-recursive] Error 1 > make[4]: Leaving directory > '/cygdrive/c/tmp/newlib-cygwin/build/x86_64-pc-cygwin/winsup/utils' > make[3]: *** [Makefile:512: all] Error 2 > make[3]: Leaving directory > '/cygdrive/c/tmp/newlib-cygwin/build/x86_64-pc-cygwin/winsup/utils' > make[2]: *** [Makefile:395: all-recursive] Error 1 > make[2]: Leaving directory > '/cygdrive/c/tmp/newlib-cygwin/build/x86_64-pc-cygwin/winsup' > make[1]: *** [Makefile:9464: all-target-winsup] Error 2 > make[1]: Leaving directory '/cygdrive/c/tmp/newlib-cygwin/build' > make: *** [Makefile:883: all] Error 2 That happened to me before. Install libzstd-devel. Remove ./etc/config.cache ./x86_64-pc-cygwin/newlib/config.cache ./x86_64-pc-cygwin/winsup/config.cache Re-run ./configure && make. -- Takashi Yano