# CPack Debian Multi-Arch control file tag

**URL:** https://discourse.cmake.org/t/cpack-debian-multi-arch-control-file-tag/1753
**Category:** Code
**Tags:** os:linux
**Created:** [August 27, 2020, 5:20pm UTC](https://discourse.cmake.org/t/cpack-debian-multi-arch-control-file-tag/1753 "2020-08-27T17:20:14Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![DKLind](https://discourse.cmake.org/user_avatar/discourse.cmake.org/dklind/32/526_2.png) [@DKLind](https://discourse.cmake.org/u/DKLind)
#### Post date: [August 27, 2020, 5:20pm UTC](https://discourse.cmake.org/t/cpack-debian-multi-arch-control-file-tag/1753/1 "2020-08-27T17:20:14Z")

</div>

I need to set the Debian control file tag “Multi-Arch: foreign”. I don’t see CPACK\_DEBIAN variable to do this.

---

<div class="post-metadata">

### Author: ![erk](https://discourse.cmake.org/user_avatar/discourse.cmake.org/erk/32/114_2.png) [@erk](https://discourse.cmake.org/u/erk)
#### Post date: [August 28, 2020, 6:55am UTC](https://discourse.cmake.org/t/cpack-debian-multi-arch-control-file-tag/1753/2 "2020-08-28T06:55:52Z")

</div>

I think you are right there is no such variable. I don’t think it’s currently possible to add Multi-Arch: tag.

I don’t know any way to add arbitrary tag to Deb package with CPack. This could be useful when no CPACK\_DEBIAN\_XXXX exists for XXXX.  
Something like CPACK\_RPM\_SPEC\_MORE\_DEFINE. Another obvious way would be to add the handling of CPACK\_DEBIAN\_MULTIARCH.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [November 15, 2020, 2:33pm UTC](https://discourse.cmake.org/t/cpack-debian-multi-arch-control-file-tag/1753/3 "2020-11-15T14:33:24Z")

</div>

I’ve filed [an issue](https://gitlab.kitware.com/cmake/cmake/-/issues/21445) for this.

---

<div class="post-metadata">

### Author: ![DKLind](https://discourse.cmake.org/user_avatar/discourse.cmake.org/dklind/32/526_2.png) [@DKLind](https://discourse.cmake.org/u/DKLind)
#### Post date: [July 12, 2021, 11:45pm UTC](https://discourse.cmake.org/t/cpack-debian-multi-arch-control-file-tag/1753/4 "2021-07-12T23:45:16Z")

</div>

Is there any news on this issue?

---

<div class="post-metadata">

### Author: ![craig.scott](https://discourse.cmake.org/user_avatar/discourse.cmake.org/craig.scott/32/20_2.png) [@craig.scott](https://discourse.cmake.org/u/craig.scott)
#### Post date: [July 13, 2021, 12:10am UTC](https://discourse.cmake.org/t/cpack-debian-multi-arch-control-file-tag/1753/5 "2021-07-13T00:10:27Z")

</div>

I don’t recall seeing any activity specifically about that issue. I’ll ping someone who might also be interested in that issue, but don’t take this as any expectation of moving it forward.

---

<div class="post-metadata">

### Author: ![DKLind](https://discourse.cmake.org/user_avatar/discourse.cmake.org/dklind/32/526_2.png) [@DKLind](https://discourse.cmake.org/u/DKLind)
#### Post date: [May 21, 2022, 3:26pm UTC](https://discourse.cmake.org/t/cpack-debian-multi-arch-control-file-tag/1753/6 "2022-05-21T15:26:45Z")

</div>

Is there anyway that someone can add support for Multi-Arch? I’m stuck on a project until I can add “Multi-Arch: foreign” for the control file.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [May 21, 2022, 6:31pm UTC](https://discourse.cmake.org/t/cpack-debian-multi-arch-control-file-tag/1753/7 "2022-05-21T18:31:20Z")

</div>

Sure, MRs are welcome. I don’t see any progress on the issue (linked above) though.

---

<div class="post-metadata">

### Author: ![DKLind](https://discourse.cmake.org/user_avatar/discourse.cmake.org/dklind/32/526_2.png) [@DKLind](https://discourse.cmake.org/u/DKLind)
#### Post date: [May 22, 2022, 2:26pm UTC](https://discourse.cmake.org/t/cpack-debian-multi-arch-control-file-tag/1753/8 "2022-05-22T14:26:39Z")

</div>

Is there any documentation on contributing to CMake? Particularly the source code layout, design, and how testing is performed. Basically, tips on how to add and test source code.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [May 22, 2022, 2:33pm UTC](https://discourse.cmake.org/t/cpack-debian-multi-arch-control-file-tag/1753/9 "2022-05-22T14:33:49Z")

</div>

[https://gitlab.kitware.com/cmake/cmake/-/blob/master/CONTRIBUTING.rst](https://gitlab.kitware.com/cmake/cmake/-/blob/master/CONTRIBUTING.rst)
