Focal Groovy and Hirsute: (bionic n/a because not applicable build arch)
1. Running the following suceeds locally with sbuild emulating hirsute riscv64 builds [attached sbuild-hirsute-riscv64.log]
2. all ppa builds succeeded for riscv64 Focal, Groovy, Hisute and Impishin ppa:ua-client/staging https://launchpad.net/~ua-client/+archive/ubuntu/staging/+packages Bionic is inapplicable here as riscv64 is not a supported build platform.
3. Ensure ast-esm-json-hook is packaged in amd64 and not in riscv64
csmith@downtown:/tmp$ grep apt-esm-hook ubuntu-advantage-tools_27.0.2~20.04.1_riscv64.build csmith@downtown:/tmp$ grep apt-esm-hook ubuntu-advantage-tools_27.0.2~20.04.1_amd64.build install -D -m 644 20apt-esm-hook.conf /<<PKGBUILDDIR>>/debian/ubuntu-advantage-tools/etc/apt/apt.conf.d/20apt-esm-hook.conf install -D -m 755 hook /<<PKGBUILDDIR>>/debian/ubuntu-advantage-tools/usr/lib/ubuntu-advantage/apt-esm-hook objcopy --only-keep-debug --compress-debug-sections debian/ubuntu-advantage-tools/usr/lib/ubuntu-advantage/apt-esm-hook debian/.debhelper/ubuntu-advantage-tools/dbgsym-root/usr/lib/debug/.build-id/65/aca9731638f907818fb804060431f78eab4b12.debug strip --remove-section=.comment --remove-section=.note debian/ubuntu-advantage-tools/usr/lib/ubuntu-advantage/apt-esm-hook objcopy --add-gnu-debuglink debian/.debhelper/ubuntu-advantage-tools/dbgsym-root/usr/lib/debug/.build-id/65/aca9731638f907818fb804060431f78eab4b12.debug debian/ubuntu-advantage-tools/usr/lib/ubuntu-advantage/apt-esm-hook dpkg-shlibdeps -Tdebian/ubuntu-advantage-tools.substvars debian/ubuntu-advantage-tools/usr/lib/ubuntu-advantage/apt-esm-hook debian/ubuntu-advantage-tools/usr/lib/ubuntu-advantage/apt-esm-json-hook -rw-r--r-- root/root 602 2021-05-12 16:10 ./etc/apt/apt.conf.d/20apt-esm-hook.conf -rwxr-xr-x root/root 43328 2021-05-12 16:10 ./usr/lib/ubuntu-advantage/apt-esm-hook
Focal Groovy and Hirsute: (bionic n/a because not applicable build arch)
1. Running the following suceeds locally with sbuild emulating hirsute riscv64 builds hirsute- riscv64. log]
[attached sbuild-
2. all ppa builds succeeded for riscv64 Focal, Groovy, Hisute and Impishin ppa:ua- client/ staging /launchpad. net/~ua- client/ +archive/ ubuntu/ staging/ +packages
https:/
Bionic is inapplicable here as riscv64 is not a supported build platform.
3. Ensure ast-esm-json-hook is packaged in amd64 and not in riscv64
csmith@ downtown: /tmp$ grep apt-esm-hook ubuntu- advantage- tools_27. 0.2~20. 04.1_riscv64. build downtown: /tmp$ grep apt-esm-hook ubuntu- advantage- tools_27. 0.2~20. 04.1_amd64. build >/debian/ ubuntu- advantage- tools/etc/ apt/apt. conf.d/ 20apt-esm- hook.conf >/debian/ ubuntu- advantage- tools/usr/ lib/ubuntu- advantage/ apt-esm- hook debug-sections debian/ ubuntu- advantage- tools/usr/ lib/ubuntu- advantage/ apt-esm- hook debian/ .debhelper/ ubuntu- advantage- tools/dbgsym- root/usr/ lib/debug/ .build- id/65/aca973163 8f907818fb80406 0431f78eab4b12. debug section= .comment --remove- section= .note debian/ ubuntu- advantage- tools/usr/ lib/ubuntu- advantage/ apt-esm- hook .debhelper/ ubuntu- advantage- tools/dbgsym- root/usr/ lib/debug/ .build- id/65/aca973163 8f907818fb80406 0431f78eab4b12. debug debian/ ubuntu- advantage- tools/usr/ lib/ubuntu- advantage/ apt-esm- hook ubuntu- advantage- tools.substvars debian/ ubuntu- advantage- tools/usr/ lib/ubuntu- advantage/ apt-esm- hook debian/ ubuntu- advantage- tools/usr/ lib/ubuntu- advantage/ apt-esm- json-hook apt.conf. d/20apt- esm-hook. conf ubuntu- advantage/ apt-esm- hook
csmith@
install -D -m 644 20apt-esm-hook.conf /<<PKGBUILDDIR>
install -D -m 755 hook /<<PKGBUILDDIR>
objcopy --only-keep-debug --compress-
strip --remove-
objcopy --add-gnu-debuglink debian/
dpkg-shlibdeps -Tdebian/
-rw-r--r-- root/root 602 2021-05-12 16:10 ./etc/apt/
-rwxr-xr-x root/root 43328 2021-05-12 16:10 ./usr/lib/