X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 283D93858020 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1699372806; bh=HcHnqmh68qGNxkJo4InyJ6l0VPmjk1xfUfH5VBMe5Is=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=uuSTf2YsSLSDAlBdDoyqWPtEYdPuBrkXbKlLwPc7ZHbVY47ClwndRhZsgggnhADOh pBYL1Vkqx9se/mz7lrJd86wid+one8RAba/rzR/SO+OEUE329QaFC5samr9zIuyIoX TwDx7eIBI0TOFkEeuImdcDKJKMKY1wthqd6KTXAM= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 422B43858413 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 422B43858413 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699372767; cv=none; b=rNWRejapuFFQIKXpcd5wtukK2ya/L+hTersoBNQEHPlcS8ffFTqrArQ9l1883uGkCaJooevCCAq1SszjsHefTU1WD6cutycIlnVGOAB++LlqeAdE9/MTV9WhnjpG0Uum2W47gATevgcL47Fdsly5iwQENnfmmM6HtP/PO7mJnKg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699372767; c=relaxed/simple; bh=mo0r9PMprXz72zvkwhMJ8GY6QQrKk+s7cj43k/IU2xc=; h=Message-ID:Date:MIME-Version:To:From:Subject; b=CMSANrClnMRYcBP3QnQLDWUIYhW9ysslvUGusuXwWI4hbfrYVwWUN3o8s/hak7A21qZd30xY5972UmTC8oHatvEMBOoPbvWcHOY0ZJvanTdIXjQzibhjslUvKIwRJbycMC1EsIhef9OphQnMAXUK8BxowJ62rCP7v8ZfXl191Mo= ARC-Authentication-Results: i=1; server2.sourceware.org Message-ID: Date: Tue, 7 Nov 2023 16:59:22 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: The Cygwin Mailing List Subject: docker container for building cygwin on Linux X-Provags-ID: V03:K1:WnWqQm0dhwP1OC0UDBM2ftBGQ+6ikyq/BeqE8GIZ+L3obC7RtCs p1LWtQivbD002cwGb1fOaXGIXexAv9ColTOafblgdAuowns6btcx0HKjikzCc55t222Fu4H 0idEGZdIC64gcctkDTrWU3LCWFI9k1gp2IxJ9zCitZby1e02ZpxxJ57ocQo2dT64gXKKzYt jS4+cgHfdv9d9whw5MQuQ== UI-OutboundReport: notjunk:1;M01:P0:b04yhDz6KSw=;aNGV1WdiveFrgcaPMWMDNqprUmk 0V8RGi3HK9uYycRn7JYV6bh5FMgd1WmIppg4Mh76Jsx5xpqdHDXQmhP6afn54nOeBCmiNt5Jk gWaKNHidRjgQR+NQXDo7j3UEkppmKzYYHJ+716+Jajw1EqSlgAgz6MU3uNKZ2HqxkWo6y5cwL mOH11kIc0QP2OG0RkG2/xoCoRr/Zgd9M3w6iMipkEWJymW+jeAbFzKOYmj3TBUq10bKlP5F0Q egtGRRO4ByQED6FSHuKwRFwCNnMa+01O0xfGfprhni6l+gsw/jaKOZ4r2z31YHQ5K9Qps7CEe i6t1m0yembX/lDqYG3Ls1sr6IWfOFisViovcEDTrplJwWAYV/WsVHFVJAUNfMPD4MOqW4cRgi WNYE2MnpEyeii5xzPbKIBUFwsH3IELn58Que7bLw1cc7XKDLEpPvwiS+qjVC2C+kS7tUZlEGJ MExcvaqNGiOD2PoWfoFHMHuWunqJQ+a0EK8xDzSWFgdJcDs9taUTzmHiiyoPQviuKEq3YhWfA m2WirFQUVJERCC0DoMV1Ov2KV3JaNUugnFI4khvbRZ0USbIk5OJyxJI9JHT5FE4Wtw+TWjYNb rMgNz2Zvlgu6g2tePR7WfF4WFiajb6Fyx0OXLw5Z23c1YjfRJA0rfX9Hzd2AvgIgj2oPn3il2 WvVstbQ/aQdDdZQImKqP2I5lL4idrUlDzo4ZBJt9BGqMZW+57sSxJsHqhcC0X/dhF8o+dEYdX CN/NoeCxht6/991XCLBnwPkxKujJKuIS4jy/LmOARI9pmWOwKTL74S0I3Jyr9ir3WpfPjg6UG vTxqnn14zrCkJ3FbYaV90u6iez1w4QlTIGbdxBbAlaUXOPLYyJcSJNT7CE7h86x9mXLNKDXLS MgmlmLZqkzAbOBw== X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_SHORT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no 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 AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Johannes Thoma via Cygwin Reply-To: Johannes Thoma Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3A7G07Fq006067 Hi list, I just published a docker image with all the necessary build dependencies (except for dumper.exe) for building cygwin. We are using it to compile our WinDRBD driver and with a few additional packages it was possible to compile cygwin (newlib-cygwin) as well. This is how to obtain it: docker pull quay.io/johannesthoma/windrbd-devenv-cygwin To build the container yourself you can use the make docker-cygwin command of the WinDRBD driver (https://github.com/LINBIT/WinDRBD) (you have to use the windrbd-1.2 branch). Since this takes an hour to complete (2 C-compilers being built) I recommend to use the quay.io image. There is one thing about the container which is a little bit how do I say - not so clean - we import the cygwin-gcc compiler from Fedora 38 packages in a Ubuntu 22.04 - from https://download.copr.fedorainfracloud.org/results/yselkowitz/cygwin/ I don't know if yselkowitz is on the cygwin list but it would be helpful to have maybe a script to build those packages, so if someone could share some hints how to build the cygwin compilers that would be of great help. In case you are not familiar with docker here's what I use: docker tag quay.io/johannesthoma/windrbd-devenv-cygwin windrbd-devenv-cygwin docker run -v /home/johannes/cygwin-sources-new:/cygwin-sources --name build-cygwin-new -d windrbd-devenv-cygwin tail -f /dev/null docker exec -it build-cygwin-new bash From there everything in newlib-cygwin (except for dumper so configure winsup with --disable-dumper) should be buildable. If you find this container useful, have questions or feature requests or find bugs or things not working as expected, please let me know. Best regards,  - Johannes -- 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