X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AA3C73858D28
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1694873957;
	bh=ScfF2XnQOAVAxyHiDX4cW6Da0KBrfU2vPgN4urWFx0M=;
	h=Date:To:Cc:Subject:In-Reply-To:References:List-Id:
	 List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
	 From:Reply-To:From;
	b=PpQv1UrTWAkSLNcRA8QxY7a70i4j6MnZd6s00eyQHi7mBunJY2AJd3N9gPGTraAxO
	 Aek4u3vX6gjXBu+KuX1aSFyvHI54AJQ/vHw3sOdgVVWqYsPiG7WmU2y8HmwY+PI8jP
	 /Z/1rx3VoUEZOmgUgqvpqR8eEE1pfRSOKLP4bTK0=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2D7B13858D28
Date: Sat, 16 Sep 2023 23:18:36 +0900
To: hatari-devel@lists.tuxfamily.org
Cc: cygwin@cygwin.com
Subject: Re: [hatari-devel] compilation failing for cygwin on cirrus CI
Message-Id: <20230916231836.bed03087e3296a8a70c27df5@nifty.ne.jp>
In-Reply-To: <20230916075352.74507b32@fedora>
References: <1c623fd6-7cd7-beaf-7ef3-a494d68ae04a@corp.free.fr>
 <20230916075352.74507b32@fedora>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 NICE_REPLY_A, 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
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Takashi Yano via Cygwin <cygwin@cygwin.com>
Reply-To: Takashi Yano <takashi.yano@nifty.ne.jp>
Content-Type: text/plain; charset="utf-8"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 38GEJIp5015035

On Sat, 16 Sep 2023 05:53:52 +0000
Thomas Huth wrote:
> Am Fri, 15 Sep 2023 15:00:37 +0200
> schrieb Nicolas Pomarède:
> 
> > Hi
> > 
> > somewhere around libSDL2_2.0_0 went from 2.0.7-1 to 2.28.2-1 and since 
> > then the compilation is failing for the cigwin version :
> > 
> > https://cirrus-ci.com/github/hatari/hatari
> > 
> > -- Configuring done
> > CMake Error at src/CMakeLists.txt:179 (target_link_libraries):
> >    Target "hatari" links to:
> >      SDL2::SDL2
> >    but the target was not found.  Possible reasons include:
> >      * There is a typo in the target name.
> >      * A find_package call is missing for an IMPORTED target.
> >      * An ALIAS target is missing.
> > 
> > I guess some files need to be updated to help cmake finding the library ?
> 
>  Hi,
> 
> honestly, I don't have a clue what could have gone wrong here. The library
> configuration now comes from the SDL2Config.cmake file that should be part
> of the SDL2 package, i.e. the library is *not* located by Hatari anymore.
> So if that fails now on cygwin, this smells like a bug in the SDL2 package
> there to me. And since I don't have a Cygwin installation at hand, I have
> also no means to debug this. Is there anybody else here on the list who
> has a Cygwin installation and could have a look?

Thanks for the report. I looked into this problem and found the cause.
I will release new SDL2 package where the issue has been fixed.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

-- 
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

