This bug affects me as well. I was able to build a snap package with snapcraft for amd64 with the following hack:
1. mkdir dpkg-wrapper 2. create dpkg-wrapper/dpkg script: #!/bin/bash
if [[ $1 = "-L" && $2 = "libc6" && $3 = "" ]] ; then exec /usr/bin/dpkg -L libc6:amd64 else exec /usr/bin/dpkg "$@" fi
3. export PATH=$(pwd)/dpkg-wrapper:"${PATH}" 4. snapcraft ...
This hack is absolutely terrible, but it worked for me.
This bug affects me as well. I was able to build a snap package with snapcraft for amd64 with the following hack:
1. mkdir dpkg-wrapper
2. create dpkg-wrapper/dpkg script:
#!/bin/bash
if [[ $1 = "-L" && $2 = "libc6" && $3 = "" ]] ; then
exec /usr/bin/dpkg -L libc6:amd64
else
exec /usr/bin/dpkg "$@"
fi
3. export PATH=$( pwd)/dpkg- wrapper: "${PATH} "
4. snapcraft ...
This hack is absolutely terrible, but it worked for me.