Re: dropbear: tfbfs on x32

2017-07-29 Thread John Paul Adrian Glaubitz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hello Matthias!

On 07/29/2017 07:55 AM, txt.file wrote:
> I just saw that there is only an very old version of dropbear in the 
> repository and tried to build current 2017.75. This fails in the file 
> tomcrypt_macros.h with an error similar to 
> https://wiki.debian.org/X32Port#amd64_assembly.

Please refrain from posting such issues to debian-po...@lists.debian.org
as this is a list which cross-posts to all ports mailing lists.

Instead, just file a bug report against dropbear and tag it as "x32"

User: debian-amd64@lists.debian.org
Usertags: x32
X-Debbugs-CC: debian-amd64@lists.debian.org

If you want to reach Debian Ports, please use debian-ports-devel@l.d.o
instead.

Thanks,
Adrian

- -- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEYv+KdYTgKVaVRgAGdCY7N/W1+RMFAll8KMQACgkQdCY7N/W1
+RPDdg//cXTyzqTgV6Q92bliaNLpnHFQUSfByNxVuMnJUU9cSfQ6DSNDZbmE0Sz3
P1Vdy3ozfkWMDJmP4uBhclG2mEVRFwRA7aRVBBVP/+ibdsTYFTU31yWVVvdrHpkk
k5W5qU8RVK8epAw1g6WGF7oxz1aixXIQF8yHamK9HI6Ywi3lbFB0J+kHHdxWXmt7
gRtWd0YCzcYESRg7bMC6fP3q8fEMeU8sSxQ6MDkfY6NpYw4DmE7vjUzV4vpVgapi
bF1IFqN7xWoLPCy5IiPjKYbKyAISHpFEPMPi1DAPXuClXLsfZtK3jJDRw9iddj6Y
adnG+NuAcoNM+HYRfrezKkZuLGBm1NJqXjcyTf17cIrQIGIZvTi4R+Lop85U7ymi
9dIHu3xF0zG5FbviKdpzjBIHMndblS5cGzuyRy+NJL1pUVyfzOf/KgVqVlcCOM9p
4f2vT+pT5+X3ZzocxQ/Kf6ySqGKnqznXhj+lGOs1Ix/dNpuyp1UyQouyAYjxCXdi
GTuDDrODb+F1iJKkMYdO76FgbPVLby8vRDrGW33iwKMUHslPAxR7GM88A2DbbM9s
v7BG+jQkTleIvoNNrWLWrYCX/ZYTQHHlFX6qppstge1pAzukZO74E+oJPKvGNrre
tuFFkFKU6yarOilJP7uB9kHR0MaDzFhAVSpWJPZF79pm2AhwcF4=
=rX5e
-END PGP SIGNATURE-



dropbear: tfbfs on x32

2017-07-28 Thread txt.file
I just saw that there is only an very old version of dropbear in the
repository and tried to build current 2017.75. This fails in the file
tomcrypt_macros.h with an error similar to
https://wiki.debian.org/X32Port#amd64_assembly.

Attached is a full build log.

kind regards
txt.file
 dpkg-buildpackage -rfakeroot -us -uc
dpkg-buildpackage: info: source package dropbear
dpkg-buildpackage: info: source version 2017.75-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Guilhem Moulin 
 dpkg-source --before-build dropbear-2017.75
dpkg-buildpackage: info: host architecture x32
 fakeroot debian/rules clean
dh clean --with=autoreconf
   dh_testdir
   dh_auto_clean
   dh_autoreconf_clean
   dh_clean
 dpkg-source -b dropbear-2017.75
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building dropbear using existing ./dropbear_2017.75.orig.tar.bz2
dpkg-source: info: building dropbear in dropbear_2017.75-1.debian.tar.xz
dpkg-source: info: building dropbear in dropbear_2017.75-1.dsc
 debian/rules build
dh build --with=autoreconf
   dh_testdir
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/home/txt/workspace/dropbear-2017.75'
dh_auto_configure -- --enable-bundled-libtom \
  CC='gcc' CFLAGS='-g -O2 -fdebug-prefix-map=/home/txt/workspace/dropbear-2017.75=. -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -DSFTPSERVER_PATH="\"/usr/lib/sftp-server\""' \
  
	./configure --build=x86_64-linux-gnux32 --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnux32 --libexecdir=\${prefix}/lib/x86_64-linux-gnux32 --disable-maintainer-mode --disable-dependency-tracking --enable-bundled-libtom CC=gcc "CFLAGS=-g -O2 -fdebug-prefix-map=/home/txt/workspace/dropbear-2017.75=. -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -DSFTPSERVER_PATH=\"\\\"/usr/lib/sftp-server\\\"\""
configure: WARNING: unrecognized options: --disable-silent-rules, --disable-maintainer-mode, --disable-dependency-tracking
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking build system type... x86_64-pc-linux-gnux32
checking host system type... x86_64-pc-linux-gnux32
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for install... install
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether __UCLIBC__ is declared... no
checking for crypt... no
checking for crypt in -lcrypt... yes
checking for deflate in -lz... yes
configure: Enabling zlib
configure: Disabling PAM
configure: Using openpty if available
checking for library containing openpty... -lutil
configure: Enabling syslog
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
configure: Using shadow passwords if available
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking crypt.h usability...