Received: from magnesium.8pit.net (magnesium.8pit.net [45.76.88.171]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 20B56782CB0 for <~alpine/devel@lists.alpinelinux.org>; Sun, 17 Jan 2021 10:45:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=opensmtpd; bh=RYG2jnaZpF HChOw5snvZVUQe5wA9zRSSb7jLl6SjOe8=; h=in-reply-to:references:from: subject:to:date; d=soeren-tempel.net; b=u8hUFS+RDZw4W1GodsLOp+WcbvFUZH EHcXl+wMCHxOl4MO75bWmq3HprAL9vAvv46HrE5OCbHkkRiLgggGlvduVJ0tnmqL3O/hks rSx3Kaxo8H2GsMM3MmL6Z9RqvCSZIuqpKZxSxYd1CPd4Ky03lgdw3vbqzM9ExeB/kRbfLZ w= Received: from localhost (p200300f5ff09fd00f7d9fe746f407351.dip0.t-ipconnect.de [2003:f5:ff09:fd00:f7d9:fe74:6f40:7351]) by magnesium.8pit.net (OpenSMTPD) with ESMTPSA id a7bda379 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:YES) for <~alpine/devel@lists.alpinelinux.org>; Sun, 17 Jan 2021 11:45:55 +0100 (CET) Date: Sun, 17 Jan 2021 11:45:52 +0100 To: ~alpine/devel@lists.alpinelinux.org Subject: Re: RFC on -static subpackages and being more static-linking friendly From: =?UTF-8?Q?S=C3=B6ren?= Tempel References: In-Reply-To: Message-Id: <2QTW7E0OVT3QJ.2JI7073M478ZS@8pit.net> User-Agent: s-nail v14.9.17-42-g55416880 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable maxice8 wrote: > Hello Hi, > First, abuild has no automatic dependency tracking like -dev has by > tracking the 'Requires:' field from pkg-config and handling solinks. >=20 > This means that every -static subpackage which requires another package > to link will fail to link. Yep, I ran into this issue quite a few times myself. > My proposals are: >=20 > 1. Remove -static subpackages and move the static library to -dev, if > backwards compat is a concern we can make `-dev` provides=3D and > replaces=3D `-static` too. > 2. Avoid using --disable-static or removing the static library with > 'rm' and respect the upstream decision to build it by default or not. Sounds good to me, never really liked the -static split in the first place.= Cheers, S=C3=B6ren