Bug#891239: [Aptitude-devel] Bug#891239: aptitude: FTBFS with libncursesw6

2018-02-23 Thread Axel Beckert
Hi Sven,

Sven Joachim wrote:
> Indeed, rebuilding aptitude against the new cwidget library worked.  And
> I am very pleased to report that scrolling through the package lists in
> aptitude with the mouse wheel (see #455585) also works now! :-)

Yay! I recently wondered again, why we can't do this yet. :-)

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Bug#891239: aptitude: FTBFS with libncursesw6

2018-02-23 Thread Sven Joachim
On 2018-02-23 18:03 +0100, Sven Joachim wrote:

> 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), aptitude FTBFS.  From the build log:
>
> ,
> | g++ -I/usr/include/sigc++-2.0
> | -I/usr/lib/i386-linux-gnu/sigc++-2.0/include
> | -I/usr/lib/i386-linux-gnu/cwidget -I/usr/include/sigc++-2.0
> | -I/usr/lib/i386-linux-gnu/sigc++-2.0/include -g -O2
> | -fdebug-prefix-map=/usr/local/src/deb-src/aptitude/aptitude-0.8.10=. 
> -fstack-protector-strong
> | -Wformat -Werror=format-security -D_REENTRANT -Wall
> | -L/usr/lib/i386-linux-gnu -Wl,-z,relro -Wl,-z,now -o aptitude main.o
> | desc_render.o apt_config_treeitems.o apt_config_widgets.o
> | apt_info_tree.o apt_options.o apt_undo_tree.o broken_indicator.o
> | defaults.o dep_item.o download_item.o download_list.o
> | download_thread.o load_config.o load_grouppolicy.o load_pkgview.o
> | load_sortpolicy.o loggers.o menu_redirect.o menu_text_layout.o
> | menu_tree.o pkg_columnizer.o pkg_info_screen.o pkg_item.o
> | pkg_grouppolicy.o pkg_sortpolicy.o pkg_node.o pkg_subtree.o
> | pkg_tree.o pkg_ver_item.o pkg_view.o progress.o reason_fragment.o
> | solution_dialog.o solution_fragment.o solution_item.o
> | solution_screen.o trust.o ui.o ui_download_manager.o
> | view_changelog.o cmdline/libcmdline.a mine/libcmine.a
> | generic/apt/libgeneric-apt.a generic/util/libgeneric-util.a
> | generic/apt/matching/libgeneric-matching.a
> | generic/controllers/libgeneric-controllers.a
> | generic/problemresolver/libgeneric-problemresolver.a
> | generic/views/libgeneric-views.a -lapt-pkg -lncursesw -lsigc-2.0
> | -lcwidget -lncursesw -lsigc-2.0 -lsqlite3 -lboost_iostreams
> | -lboost_filesystem -lboost_system -L/usr/lib/i386-linux-gnu -lxapian
> | -lpthread
> | /usr/bin/ld: warning: libncursesw.so.5, needed by
> | /usr/lib/i386-linux-gnu/libcwidget.so, may conflict with
> | libncursesw.so.6
> | /usr/bin/ld: warning: libncursesw.so.5, needed by
> | /usr/lib/i386-linux-gnu/libcwidget.so, may conflict with
> | libncursesw.so.6
> | /usr/bin/ld: warning: libtinfo.so.5, needed by 
> /usr/lib/i386-linux-gnu/libcwidget.so, may conflict with libtinfo.so.6
> | /usr/bin/ld: warning: libtinfo.so.5, needed by 
> /usr/lib/i386-linux-gnu/libcwidget.so, may conflict with libtinfo.so.6
> | 
> apt_config_widgets.o:(.data.rel.ro._ZTCN7cwidget7widgets11checkbuttonE0_NS0_6widgetE[_ZTVN7cwidget7widgets11checkbuttonE]+0x20):
> | undefined reference to
> | `cwidget::widgets::widget::dispatch_mouse(short, int, int, int,
> | unsigned int)'
> `
>
> Then more undefined references to
> cwidget::widgets::widget::dispatch_mouse follow.  See the attached build
> log for more details.

I suspect this happened because of the type change of mmask_t mentioned
in #891161.

> It will almost certainly be necessary, and hopefully sufficient, to get
> cwidget fixed and rebuilt against libncursesw6 first (see #891161).

Indeed, rebuilding aptitude against the new cwidget library worked.  And
I am very pleased to report that scrolling through the package lists in
aptitude with the mouse wheel (see #455585) also works now! :-)

Cheers,
   Sven



Bug#891239: aptitude: FTBFS with libncursesw6

2018-02-23 Thread Sven Joachim
Source: aptitude
Version: 0.8.10-6
Control: block -1 by 891161


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), aptitude FTBFS.  From the build log:

,
| g++  -I/usr/include/sigc++-2.0 -I/usr/lib/i386-linux-gnu/sigc++-2.0/include 
-I/usr/lib/i386-linux-gnu/cwidget -I/usr/include/sigc++-2.0 
-I/usr/lib/i386-linux-gnu/sigc++-2.0/include-g -O2 
-fdebug-prefix-map=/usr/local/src/deb-src/aptitude/aptitude-0.8.10=. 
-fstack-protector-strong -Wformat -Werror=format-security  -D_REENTRANT -Wall   
-L/usr/lib/i386-linux-gnu -Wl,-z,relro -Wl,-z,now -o aptitude main.o 
desc_render.o apt_config_treeitems.o apt_config_widgets.o apt_info_tree.o 
apt_options.o apt_undo_tree.o broken_indicator.o defaults.o dep_item.o 
download_item.o download_list.o download_thread.o load_config.o 
load_grouppolicy.o load_pkgview.o load_sortpolicy.o loggers.o menu_redirect.o 
menu_text_layout.o menu_tree.o pkg_columnizer.o pkg_info_screen.o pkg_item.o 
pkg_grouppolicy.o pkg_sortpolicy.o pkg_node.o pkg_subtree.o pkg_tree.o 
pkg_ver_item.o pkg_view.o progress.o reason_fragment.o solution_dialog.o 
solution_fragment.o solution_item.o solution_screen.o trust.o ui.o 
ui_download_manager.o view_changelog.o   cmdline/libcmdline.a mine/libcmine.a 
generic/apt/libgeneric-apt.a generic/util/libgeneric-util.a 
generic/apt/matching/libgeneric-matching.a 
generic/controllers/libgeneric-controllers.a 
generic/problemresolver/libgeneric-problemresolver.a 
generic/views/libgeneric-views.a -lapt-pkg -lncursesw  -lsigc-2.0 -lcwidget 
-lncursesw -lsigc-2.0  -lsqlite3 -lboost_iostreams -lboost_filesystem 
-lboost_system -L/usr/lib/i386-linux-gnu -lxapian -lpthread
| /usr/bin/ld: warning: libncursesw.so.5, needed by 
/usr/lib/i386-linux-gnu/libcwidget.so, may conflict with libncursesw.so.6
| /usr/bin/ld: warning: libncursesw.so.5, needed by 
/usr/lib/i386-linux-gnu/libcwidget.so, may conflict with libncursesw.so.6
| /usr/bin/ld: warning: libtinfo.so.5, needed by 
/usr/lib/i386-linux-gnu/libcwidget.so, may conflict with libtinfo.so.6
| /usr/bin/ld: warning: libtinfo.so.5, needed by 
/usr/lib/i386-linux-gnu/libcwidget.so, may conflict with libtinfo.so.6
| 
apt_config_widgets.o:(.data.rel.ro._ZTCN7cwidget7widgets11checkbuttonE0_NS0_6widgetE[_ZTVN7cwidget7widgets11checkbuttonE]+0x20):
 undefined reference to `cwidget::widgets::widget::dispatch_mouse(short, int, 
int, int, unsigned int)'
`

Then more undefined references to
cwidget::widgets::widget::dispatch_mouse follow.  See the attached build
log for more details.

It will almost certainly be necessary, and hopefully sufficient, to get
cwidget fixed and rebuilt against libncursesw6 first (see #891161).


-- 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)



aptitude_0.8.10-6_i386.build.xz
Description: build log