[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1012362: transition: luajit



On Tue, 2022-06-07 at 20:03 -0700, M. Zhou wrote:
> 
> > 
> > Yes, except for the part about patching d/control. We'll have to find 
> > another way. An alternative to what I wrote before is a extension of the 
> > description to say that the binary is empty on s390x and ppc64el.
> 
> So both patching control and double stanza do not work. Currently
> the only solution that I can think of is to upload a NEW empty
> dummy source package:
> 
> src:luajit-ibm-transition
>  * bin:luajit
>    Architecture: ppc64el s390x
>    Depends: luajit2
>  * ...
> 

I realized that the solution is very simple.
I can simply re-enable ppc64el s390x, and install nothing into the binary
packages. Simple tweak on Depends/Conclicts/Replaces should be enough:
https://salsa.debian.org/lua-team/luajit/-/commit/0cc94e0caf8f78568c42c8fdf8db0c34766710fa

I built the package locally, and additionally with sbuild/qemu ppc64el.
See following the trimmed debc information. I'm uploading this revision
shortly.

=====================================================================


libluajit-5.1-2_2.1.0~beta3+git20220320+dfsg-2_amd64.deb
--------------------------------------------------------
 new Debian package, version 2.0.
 size 256424 bytes: control archive=1760 bytes.
     833 bytes,    20 lines      control
     240 bytes,     3 lines      md5sums
      66 bytes,     1 lines      shlibs
    4702 bytes,   148 lines      symbols
      67 bytes,     2 lines      triggers
 Package: libluajit-5.1-2
 Source: luajit
 Version: 2.1.0~beta3+git20220320+dfsg-2
 Architecture: amd64
 Maintainer: Debian Lua Team <pkg-lua-devel@lists.alioth.debian.org>
 Installed-Size: 581
 Depends: libluajit-5.1-common (= 2.1.0~beta3+git20220320+dfsg-2), libc6 (>= 2.29), libgcc-s1 (>= 3.3)
 Conflicts: libluajit2-5.1-2
 Replaces: libluajit2-5.1-2

libluajit-5.1-common_2.1.0~beta3+git20220320+dfsg-2_all.deb
-----------------------------------------------------------
 new Debian package, version 2.0.
 size 49592 bytes: control archive=1104 bytes.
     523 bytes,    15 lines      control
    1503 bytes,    19 lines      md5sums
 Package: libluajit-5.1-common
 Source: luajit
 Version: 2.1.0~beta3+git20220320+dfsg-2
 Architecture: all
 Maintainer: Debian Lua Team <pkg-lua-devel@lists.alioth.debian.org>
 Installed-Size: 218
 Conflicts: libluajit2-5.1-common
 Replaces: libluajit2-5.1-common

libluajit-5.1-dev_2.1.0~beta3+git20220320+dfsg-2_amd64.deb
----------------------------------------------------------
 new Debian package, version 2.0.
 size 275064 bytes: control archive=916 bytes.
     537 bytes,    16 lines      control
     710 bytes,    10 lines      md5sums
 Package: libluajit-5.1-dev
 Source: luajit
 Version: 2.1.0~beta3+git20220320+dfsg-2
 Architecture: amd64
 Maintainer: Debian Lua Team <pkg-lua-devel@lists.alioth.debian.org>
 Installed-Size: 771
 Depends: libluajit-5.1-2 (= 2.1.0~beta3+git20220320+dfsg-2)
 Conflicts: libluajit2-5.1-dev
 Replaces: libluajit2-5.1-dev

luajit_2.1.0~beta3+git20220320+dfsg-2_amd64.deb
-----------------------------------------------
 new Debian package, version 2.0.
 size 262800 bytes: control archive=888 bytes.
     857 bytes,    19 lines      control
     254 bytes,     4 lines      md5sums
 Package: luajit
 Version: 2.1.0~beta3+git20220320+dfsg-2
 Architecture: amd64
 Maintainer: Debian Lua Team <pkg-lua-devel@lists.alioth.debian.org>
 Installed-Size: 592
 Depends: libluajit-5.1-2 (= 2.1.0~beta3+git20220320+dfsg-2), libluajit-5.1-common (= 2.1.0~beta3+git20220320+dfsg-2),
libc6 (>= 2.29), libgcc-s1 (>= 3.3)
 Conflicts: luajit2
 Replaces: luajit2

======================================================================

libluajit-5.1-2_2.1.0~beta3+git20220320+dfsg-2_ppc64el.deb
----------------------------------------------------------
 new Debian package, version 2.0.
 size 7584 bytes: control archive=780 bytes.
     703 bytes,    18 lines      control
     158 bytes,     2 lines      md5sums
 Package: libluajit-5.1-2
 Source: luajit
 Version: 2.1.0~beta3+git20220320+dfsg-2
 Architecture: ppc64el
 Maintainer: Debian Lua Team <pkg-lua-devel@lists.alioth.debian.org>
 Installed-Size: 15
 Depends: libluajit2-5.1-2

libluajit-5.1-common_2.1.0~beta3+git20220320+dfsg-2_all.deb
-----------------------------------------------------------
 new Debian package, version 2.0.
 size 49592 bytes: control archive=1104 bytes.
     523 bytes,    15 lines      control
    1503 bytes,    19 lines      md5sums
 Package: libluajit-5.1-common
 Source: luajit
 Version: 2.1.0~beta3+git20220320+dfsg-2
 Architecture: all
 Maintainer: Debian Lua Team <pkg-lua-devel@lists.alioth.debian.org>
 Installed-Size: 218
 Conflicts: libluajit2-5.1-common
 Replaces: libluajit2-5.1-common

libluajit-5.1-dev_2.1.0~beta3+git20220320+dfsg-2_ppc64el.deb
------------------------------------------------------------
 new Debian package, version 2.0.
 size 7444 bytes: control archive=636 bytes.
     447 bytes,    14 lines      control
     162 bytes,     2 lines      md5sums
 Package: libluajit-5.1-dev
 Source: luajit
 Version: 2.1.0~beta3+git20220320+dfsg-2
 Architecture: ppc64el
 Maintainer: Debian Lua Team <pkg-lua-devel@lists.alioth.debian.org>
 Installed-Size: 15
 Depends: libluajit2-5.1-dev

luajit_2.1.0~beta3+git20220320+dfsg-2_ppc64el.deb
-------------------------------------------------
 new Debian package, version 2.0.
 size 7556 bytes: control archive=760 bytes.
     684 bytes,    17 lines      control
     140 bytes,     2 lines      md5sums
 Package: luajit
 Version: 2.1.0~beta3+git20220320+dfsg-2
 Architecture: ppc64el
 Maintainer: Debian Lua Team <pkg-lua-devel@lists.alioth.debian.org>
 Installed-Size: 15
 Depends: luajit2


Reply to: