From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <io-uring-owner@kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
	aws-us-west-2-korg-lkml-1.web.codeaurora.org
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
	by smtp.lore.kernel.org (Postfix) with ESMTP id DA20DC43219
	for <io-uring@archiver.kernel.org>; Mon,  4 Apr 2022 21:18:07 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
        id S1378983AbiDDVTx (ORCPT <rfc822;io-uring@archiver.kernel.org>);
        Mon, 4 Apr 2022 17:19:53 -0400
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58594 "EHLO
        lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
        with ESMTP id S1378986AbiDDQPs (ORCPT
        <rfc822;io-uring@vger.kernel.org>); Mon, 4 Apr 2022 12:15:48 -0400
Received: from hr2.samba.org (hr2.samba.org [IPv6:2a01:4f8:192:486::2:0])
        by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7523615FE2
        for <io-uring@vger.kernel.org>; Mon,  4 Apr 2022 09:13:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=samba.org;
        s=42; h=From:Cc:To:Date:Message-ID;
        bh=+nbranlGS8FTn4ZjG2oe+Jy4WCICsDkVB4s0N5dG9kY=; b=f/8TcXDHaus5rN7u1qA7tfbAer
        YOs0s7Lp4RlYQATQtuRgDcg2yg40NG7Cy0/UfndxjLyMjq2xJ7DTNFWIQC+Nf2hLdlZveFW2JNpjJ
        bKpccq1AAddMR0QD2noko2rcg9lu9zZtz9kX4bfPZUBaSE48MABiXS5XtZGd6j5HNvk7r2PyZ4I3D
        QZ7V4DaUCYhWypmkQPk3N3uDh70ctrIqfdqKCiEmtIj90y/b7Wl9c+vE/ZDY2wpL0euSsPEXgNgWZ
        OltAI9r57cH66GRcjhgySZg9XHQF4RxE25zw+XlXAMjUnS67qs9S0vifxmnAqhyB2CqjhGWe5YLeu
        fx/+rHe0CPj+ciWz0cWlh72Dz7PtKvijc4KwFqzeCp9InLTIxBmwqA/qqkSl3vZhzFg5+SzOrgasu
        3S8iu19lx6OX7Px30TWF1cuLijAa1Lx2frwmLmo7RqDN3FLsCV46vK2dVX1D/cX7vmlaTjjsOj6nK
        hVJRkoIXI8WctC96W5JLhPVI;
Received: from [127.0.0.2] (localhost [127.0.0.1])
        by hr2.samba.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__ECDSA_SECP256R1_SHA256__CHACHA20_POLY1305:256)
        (Exim)
        id 1nbPKt-005GKs-TJ; Mon, 04 Apr 2022 16:13:47 +0000
Message-ID: <43ac1089-9823-2094-aafa-edfc31f1f6fe@samba.org>
Date:   Mon, 4 Apr 2022 18:13:47 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
 Thunderbird/91.7.0
Content-Language: en-US
To:     Jens Axboe <axboe@kernel.dk>, Eric Wong <e@80x24.org>
Cc:     io-uring@vger.kernel.org,
        Liu Changcheng <changcheng.liu@aliyun.com>
References: <20211116224456.244746-1-e@80x24.org>
 <20220121182635.1147333-1-e@80x24.org> <20220403084820.M206428@dcvr>
 <c53378f8-87eb-43a6-afbb-e506c566ad26@kernel.dk>
From:   Stefan Metzmacher <metze@samba.org>
Subject: Re: [PULL|PATCH v3 0/7] liburing debian packaging fixes
In-Reply-To: <c53378f8-87eb-43a6-afbb-e506c566ad26@kernel.dk>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Precedence: bulk
List-ID: <io-uring.vger.kernel.org>
X-Mailing-List: io-uring@vger.kernel.org


Am 03.04.22 um 16:54 schrieb Jens Axboe:
> On 4/3/22 2:48 AM, Eric Wong wrote:
>> Eric Wong <e@80x24.org> wrote:
>>> The previous patch 8/7 in v2 is squashed into 3/7 in this series.
>>> Apologies for the delay since v2, many bad things happened :<
>>>
>>> The following changes since commit bbcaabf808b53ef11ad9851c6b968140fb430500:
>>>
>>>    man/io_uring_enter.2: make it clear that chains terminate at submit (2022-01-19 18:09:40 -0700)
>>>
>>> are available in the Git repository at:
>>>
>>>    https://yhbt.net/liburing.git deb-v3
>>>
>>> for you to fetch changes up to 77b99bb1dbe237eef38eceb313501a9fd247d672:
>>>
>>>    make-debs: remove dependency on git (2022-01-21 16:54:42 +0000)
>>
>> Hi Jens, have you had a chance to look at this series?  Thanks.
>> I mostly abandoned hacking for a few months :x
> 
> I never build distro packages and know very little about it, so would
> really like Stefan et al to sign off on this. I'm about to cut the next
> version of liburing, and would indeed be great to have better packaging
> sorted before that.
> 
> Does it still apply to the curren tree?

I rebased it on current master.

The last patch with this seems dangerous (from reading the diff):

-git clean -dxf
+if git clean -dxf
+then
+       rm -rf .git

I'd just .git

On ubuntu 22.04 I get this error:

make[1]: Verzeichnis „/tmp/release/Ubuntu/liburing/liburing-2.2“ wird verlassen
dh_testdir
dh_testroot
dh_install -a
dh_install: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_install: warning: Cannot find (any matches for) "lib/*/lib*.so.*" (tried in ., debian/tmp)

dh_install: warning: liburing2 missing files: lib/*/lib*.so.*
dh_install: warning: Cannot find (any matches for) "usr/include" (tried in ., debian/tmp)

dh_install: warning: liburing-dev missing files: usr/include
dh_install: warning: Cannot find (any matches for) "usr/lib/*/lib*.so" (tried in ., debian/tmp)

dh_install: warning: liburing-dev missing files: usr/lib/*/lib*.so
dh_install: warning: Cannot find (any matches for) "usr/lib/*/lib*.a" (tried in ., debian/tmp)

dh_install: warning: liburing-dev missing files: usr/lib/*/lib*.a
dh_install: error: missing files, aborting
make: *** [debian/rules:74: binary-arch] Fehler 25
dpkg-buildpackage: Fehler: Unterprozess debian/rules binary lieferte Exitstatus 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui failed

metze