From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6976567562808066048 X-Received: by 2002:a05:6402:1581:: with SMTP id c1mr11872919edv.213.1624449620915; Wed, 23 Jun 2021 05:00:20 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:906:af99:: with SMTP id mj25ls885092ejb.4.gmail; Wed, 23 Jun 2021 05:00:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3080PGhPVmTquVt3eCZzRxXtKb2UnaXtNpBZz362qVC6ustrIoN38Q5YrFeEzBpYvzs1b X-Received: by 2002:a17:906:a0d3:: with SMTP id bh19mr9620490ejb.205.1624449619920; Wed, 23 Jun 2021 05:00:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624449619; cv=none; d=google.com; s=arc-20160816; b=UEDz4gVdeZpvXKLCYQUmBScT1jZ/Rdur0oJvXe2m4AoSKWU97JlUjXpHZIP1/++5Y0 M4FTGymJ800I7FRg66eJgF3LCwcY3ylFoxgaqBLMjgfmXi0IKx8nIhjOejnQGEsLPFMp YYlZwJK2nIn7d8kCBFLwJzgXbEr/bj3Dou0tLFCLJ51jbYf9cORgmXsTk1OYumwoJgM2 FHHdmRaoSvKbOOo0qMUSVz+xmFfC/cj7ruNO9CIQ2lgVFqSwpF484a3UFZH27JKXR9l2 IHjn8Qjm7K8ROWdQAVYqc6QslUdGtmFXndXqdoQcOkz3lWJIuusUunNxdMzhH88ELzmm NzDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=okjFBUJTjQ1TpE0/6j2gH5oW+oP3d/yCN2rB+rxgEjY=; b=o2bg/1d0u2wksX1KymRjMKiZ1k6Db6P9oO+lKDNUqd1YrloxovBizZBFAihlmNVrjs pAZKT6faazcQKOfpHV5RnJCAFKvrAaFWE8RJf9LLjNF9Fcpp0Chp1LNN+86F7oPIdP6U Sxocy/FC5icHcI1MfVB6FSEEG6DDD5wIpeSYju8S1TFMr8icyyXdNTDHw5XtS1yPxw7X ZOo9OIGmGxYKoqseNyvYekz0/GFHCswMrMKGaWvc4NnQizBV+5hGFQnCPgeuCn8Z1wKf 5bAUgG0NS9Ij9GNGZoaU9vCXZ5hvtus5wljJQULNXlxqI+FeWgefr50PCGjGFeMWXL+b K/ug== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id k3si336320edr.5.2021.06.23.05.00.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 Jun 2021 05:00:19 -0700 (PDT) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from [192.168.67.164] (mm-26-60-214-37.mgts.dynamic.pppoe.byfly.by [37.214.60.26] (may be forged)) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id 15NC0IhG007814 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 23 Jun 2021 14:00:19 +0200 Subject: Re: New mount logic breaks DEBIAN_BUILD_DEPENDS To: "Moessbauer, Felix" , isar-users Cc: "henning.schild@siemens.com" , "jan.kiszka@siemens.com" References: From: Anton Mikanovich Message-ID: Date: Wed, 23 Jun 2021 15:00:13 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------CC948B211F6D260B253FEA7A" Content-Language: en-US X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,HTML_MESSAGE autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: TorOUokcZFw3 This is a multi-part message in MIME format. --------------CC948B211F6D260B253FEA7A Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit I have an idea about possible reason of this issue. Did you experience build fail before that? Reference counters are not cleared in case unsuccessful build happens. Please look at `[PATCH] mount: Cleanup reference counters before build` just pushed to the maillist. 22.06.2021 13:45, Moessbauer, Felix wrote: > > Hi, > > The ref 3360b7d9ff85172dc3d2275c35caec71149b35ef breaks building > packages that inherit from dpkg-raw and use DEBIAN_BUILD_DEPENDS like > the minimal reproducer below. > > During do_install_builddeps, the mount points are not mounted (or get > unmounted). > Also latest next (591a537d3cc9f3ef35e008fdff0fe631714aa68d) is affected. > > inherit dpkg-raw > > DESCRIPTION = "Reproduce ISAR mount issues" > > DEBIAN_BUILD_DEPENDS = "htop" > > Build error: > > Err:4 file:/isar-apt isar/main amd64 Packages > >   File not found - /isar-apt/dists/isar/main/binary-amd64/Packages (2: > No such file or directory) > > Get:5 file:/isar-apt isar/main Translation-en > > Ign:5 file:/isar-apt isar/main Translation-en > > Reading package lists... > > E: Failed to fetch > file:/isar-apt/dists/isar/main/binary-amd64/Packages  File not found - > /isar-apt/dists/isar/main/binary-amd64/Packages (2: No such file or > directory) > > Best regards, > Felix > > -- > You received this message because you are subscribed to the Google > Groups "isar-users" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to isar-users+unsubscribe@googlegroups.com > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/isar-users/AM9PR10MB4869CA345FC584A4ABB5219B89099%40AM9PR10MB4869.EURPRD10.PROD.OUTLOOK.COM > . -- Anton Mikanovich Promwad Ltd. External service provider of ilbers GmbH Maria-Merian-Str. 8 85521 Ottobrunn, Germany +49 (89) 122 67 24-0 Commercial register Munich, HRB 214197 General Manager: Baurzhan Ismagulov --------------CC948B211F6D260B253FEA7A Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

I have an idea about possible reason of this issue. Did you experience build fail before that?
Reference counters are not cleared in case unsuccessful build happens.

Please look at `[PATCH] mount: Cleanup reference counters before build` just pushed to the maillist.

22.06.2021 13:45, Moessbauer, Felix wrote:

Hi,

 

The ref 3360b7d9ff85172dc3d2275c35caec71149b35ef breaks building packages that inherit from dpkg-raw and use DEBIAN_BUILD_DEPENDS like the minimal reproducer below.

During do_install_builddeps, the mount points are not mounted (or get unmounted).
Also latest next (591a537d3cc9f3ef35e008fdff0fe631714aa68d) is affected.

 

inherit dpkg-raw

DESCRIPTION = "Reproduce ISAR mount issues"

DEBIAN_BUILD_DEPENDS = "htop"

 

Build error:

Err:4 file:/isar-apt isar/main amd64 Packages

  File not found - /isar-apt/dists/isar/main/binary-amd64/Packages (2: No such file or directory)

Get:5 file:/isar-apt isar/main Translation-en

Ign:5 file:/isar-apt isar/main Translation-en

Reading package lists...

E: Failed to fetch file:/isar-apt/dists/isar/main/binary-amd64/Packages  File not found - /isar-apt/dists/isar/main/binary-amd64/Packages (2: No such file or directory)

 

Best regards,
Felix

--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/AM9PR10MB4869CA345FC584A4ABB5219B89099%40AM9PR10MB4869.EURPRD10.PROD.OUTLOOK.COM.
-- 
Anton Mikanovich
Promwad Ltd.
External service provider of ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn, Germany
+49 (89) 122 67 24-0
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov
--------------CC948B211F6D260B253FEA7A--