Your message dated Thu, 26 Apr 2018 13:51:24 +0000 with message-id <[email protected]> and subject line Bug#891161: fixed in cwidget 0.5.17-8 has caused the Debian Bug report #891161, regarding cwidget: FTBFS with libncursesw6 to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 891161: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891161 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: cwidget Version: 0.5.17-7 With the upcoming libncursesw6 package (which is not available yet, but everything is ready in git and I have asked for an upload to experimental), cwidget FTBFS. This is the relevant part, I have attached the full build log for reference: ,---- | text_layout.cc: In member function 'virtual void cwidget::widgets::text_layout::dispatch_mouse(short int, int, int, int, mmask_t)': | text_layout.cc:89:57: error: no matching function for call to 'max(int, size_t)' | set_start(std::max(0, start - mouse_wheel_scroll_lines)); | ^ `---- This is the offending function: ,---- | void text_layout::dispatch_mouse(short id, int x, int y, int z, mmask_t bstate) | { | // Only do something if this system's ncurses has both button 4 | // and button 5 (older ones didn't). | #if defined(BUTTON4_PRESSED) && defined(BUTTON5_PRESSED) | const int mouse_wheel_scroll_lines = | std::max(1, std::min(getmaxy() - 1, 3)); | | if((bstate & BUTTON4_PRESSED) != 0) | { | if((bstate & BUTTON5_PRESSED) == 0) | { | freshen_contents(lastst); | if(start > 0) | set_start(std::max(0, start - mouse_wheel_scroll_lines)); | } | } | else if((bstate & BUTTON5_PRESSED) != 0) | { | freshen_contents(lastst); | if(start + getmaxy() < contents.size()) | set_start(std::min(contents.size() - getmaxy(), | start + mouse_wheel_scroll_lines)); | } | #endif | } `---- Indeed, one difference between libncursesw5 and libncursesw6 is that the latter _does_ have support for button 5. So the whole block between "#if defined(...)" and "#endif" had never been compiled with Debian's ncurses packages, and it is not very surprising that it bit-rotted. I should note that the person who first requested this 5th button support in Debian is Daniel Burrows, original author of aptitude and cwidget. See https://bugs.debian.org/bug=230990. -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable'), (101, 'experimental') Architecture: i386 (x86_64) Foreign Architectures: amd64 Kernel: Linux 4.15.4-nouveau (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
cwidget_0.5.17-7_i386.build.xz
Description: build log
--- End Message ---
--- Begin Message ---Source: cwidget Source-Version: 0.5.17-8 We believe that the bug you reported is fixed in the latest version of cwidget, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Manuel A. Fernandez Montecelo <[email protected]> (supplier of updated cwidget package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Thu, 26 Apr 2018 15:25:51 +0200 Source: cwidget Binary: libcwidget3v5 libcwidget-dev libcwidget-doc Architecture: source Version: 0.5.17-8 Distribution: experimental Urgency: medium Maintainer: Manuel A. Fernandez Montecelo <[email protected]> Changed-By: Manuel A. Fernandez Montecelo <[email protected]> Description: libcwidget-dev - high-level terminal interface library for C++ (development files) libcwidget-doc - high-level terminal interface library for C++ (documentation) libcwidget3v5 - high-level terminal interface library for C++ (runtime files) Closes: 891161 Changes: cwidget (0.5.17-8) experimental; urgency=medium . * Bump Standards-Version to 4.1.4 (no changes needed) * Update Vcs-* fields for "salsa" hosting * Bump build-dependency of ncurses to the newest ABI of libncursesw6: libncurses-dev (>= 6.0+20180210) * d/patches: - add fix-FTBFS-with-libncursesw6.patch to fix problem compiling against this version, by disabling code (that was de facto not used for many years, if ever) to not cause problems for aptitude until the ABI of cwidget is bumped (Closes: #891161) Checksums-Sha1: 4b2f8c56d5a6b7c31e5715e57067ef41fc59c2af 2225 cwidget_0.5.17-8.dsc 587aa7b4e9bc92a3f058f498175909cbf0621063 8804 cwidget_0.5.17-8.debian.tar.xz efb519f5957d561eac1b8babf39d6eedee910e3c 5685 cwidget_0.5.17-8_source.buildinfo Checksums-Sha256: 12902adfb864fb005caf0279342c995d5d63a57703b7cde9b0bc05cb327f7fc4 2225 cwidget_0.5.17-8.dsc ed4c5d515fc18667a935f03775496e2b49eda93db31a281698166744d6a003b3 8804 cwidget_0.5.17-8.debian.tar.xz 53900fd9d8e12f5893c1ffab5a3184f31af2f98b64b2c23c8dafd7e6230ab450 5685 cwidget_0.5.17-8_source.buildinfo Files: a6165a56ab14ed3eed6e1773eb531a86 2225 libs optional cwidget_0.5.17-8.dsc b729d7c9390a14f29377ec7f699ddcc1 8804 libs optional cwidget_0.5.17-8.debian.tar.xz 78fba39ef44ee1abce1c50660cb533f0 5685 libs optional cwidget_0.5.17-8_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJEBAEBCgAuFiEEKo6AUFxIYphDDdCTf3YGpEXcqA4FAlrh1A0QHG1hZm1AZGVi aWFuLm9yZwAKCRB/dgakRdyoDsvjD/9Wi4jck/n/V1DlgjUljGte6F421VdZE+Or lX3X2q6MyKLSCuSv3V7wDk8TNj/eXVJJBTe9JKzOygc+EiyepZh9zd0TM2w2vOZC ugqGXKL8f0d6iMdK2UOoZ4h1dB0mvSBG/W4uomFxLvM2HAwCMJcyv64EblNbSBPW kbVgqw7+sRvER7SX+bWJlpJqh6NUA30km00YCLdew4abYkblOpfBtUhmb512zrJb eludxTjjFZBqXTqwsWELAhwzToy/3XzZqUJYUxajUBDSOuh0A7x/Iw6Q3J6BOSuz YuTkyE7VNK+reRLeU96nn2UMbeh2Y23Fbi6xicn4eJ4ENXstVAe92aNsnljcAJhc WPAoxOibQNys6FYQtJbCxDPo5AL0vKvmoufK6dLlQA40eDsYlY6DGFYEX33+G4pb n7nmjqbhdWc7aly4MNez9cvN7oP6m+yOJwFnxfoprM4K2RLjmBUpS49F33qRUU6q vCyme1wiy5+kYxjGhqtF7tqWuBFrts5Szm4kIpmsGz1xHOrEkq/lHmtNv26BqzFK Eb4/7XnMIthth2CotOj/QyJbLlv9Q253r2MIpZ9CHYDnuMjAU9PMXSk7STNPynfH 90wYPkj2ALKLvnLSFu8wjjUB7SmDIy37Hxu6nUqRyJzZpybtf1uFE+iYPMSiKI9R xZyJQAiIfA== =zT5C -----END PGP SIGNATURE-----
--- End Message ---

