Bug#962203: debdelta: isAlive() not fixed in 0.65+nmu1
Package: debdelta Version: 0.65+nmu1 Followup-For: Bug #962203 Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? I recently installed debdelta version 0.65+nmu1 and tried to use debdelta- upgrade. The output was: Delta is too big: libsndfile1_1.0.28-8_1.0.30-1_amd64.debdelta Delta is too big: libsndfile1_1.0.28-8_1.0.30-1_i386.debdelta Delta missing, server failed to create it: papirus-icon- theme_20201201-1_20210101-1_all.debdelta Delta is not present: rdiff-backup_1.2.8-7_2.0.5-1+b2_amd64.debdelta Delta is too big: sndfile-programs_1.0.28-8_1.0.30-1_amd64.debdelta debdelta-upgrade : 'Thread' object has no attribute 'isAlive' The sttribute isAlive is still used 4 times in the program: $ grep -n isAlive /usr/bin/debdelta-upgrade 5384: if patching_thread.isAlive() and no_delta and VERBOSE > 1 : 5386: while patching_thread.isAlive() or ('a' in DEB_POLICY and no_delta): 5405: while patching_thread.isAlive(): 5410: while progress_thread != None and progress_thread.isAlive(): I had expected that all occurences would have been replaced by is_alive() by now. Kind regards,Package: debdelta Version: 0.65+nmu1 Followup-For: Bug #962203 Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? I recently installed debdelta version 0.65+nmu1 and tried to use debdelta- upgrade. The output was: Delta is too big: libsndfile1_1.0.28-8_1.0.30-1_amd64.debdelta Delta is too big: libsndfile1_1.0.28-8_1.0.30-1_i386.debdelta Delta missing, server failed to create it: papirus-icon- theme_20201201-1_20210101-1_all.debdelta Delta is not present: rdiff-backup_1.2.8-7_2.0.5-1+b2_amd64.debdelta Delta is too big: sndfile-programs_1.0.28-8_1.0.30-1_amd64.debdelta debdelta-upgrade : 'Thread' object has no attribute 'isAlive' The sttribute isAlive is still used 4 times in the program: $ grep -n isAlive /usr/bin/debdelta-upgrade 5384: if patching_thread.isAlive() and no_delta and VERBOSE > 1 : 5386: while patching_thread.isAlive() or ('a' in DEB_POLICY and no_delta): 5405: while patching_thread.isAlive(): 5410: while progress_thread != None and progress_thread.isAlive(): I had expected that all occurences would have been replaced by is_alive() by now. Kind regards, Arnold Metselaar -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (555, 'testing'), (550, 'stable'), (500, 'testing-debug'), (500, 'stable-updates'), (500, 'stable-debug'), (500, 'proposed-updates-debug') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-1-amd64 (SMP w/3 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8), LANGUAGE=nl Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages debdelta depends on: ii binutils 2.35.1-7 ii bzip2 1.0.8-4 ii libbz2-1.01.0.8-4 ii libc6 2.31-9 ii python3 3.9.1-1 ii python3-requests 2.25.1+dfsg-2 ii zlib1g1:1.2.11.dfsg-2 Versions of packages debdelta recommends: ii bsdiff 4.3-21+b1 ii gnupg-agent 2.2.20-1 ii gnupg2 2.2.20-1 ii gpg-agent [gnupg-agent] 2.2.20-1 ii lzma 9.22-2.2 Arnold Metselaar -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (555, 'testing'), (550, 'stable'), (500, 'testing-debug'), (500, 'stable-updates'), (500, 'stable-debug'), (500, 'proposed-updates-debug') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-1-amd64 (SMP w/3 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8), LANGUAGE=nl Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages debdelta depends on: ii binutils 2.35.1-7 ii bzip2 1.0.8-4 ii libbz2-1.01.0.8-4 ii libc6 2.31-9 ii python3 3.9.1-1 ii python3-requests
Bug#957188: patch to fix linking with gcc-10
Dear maintainer, I accidentally sent the patch to the wrong bug. I have now sent it to the right address as well, so no further action is necessary. Kind regards, Arnold Metselaar Op za 1 aug. 2020 om 21:29 schreef arnold metselaar : > Dear maintainer, > > Attached is a patch to make gimp-lqr-plugin and wavelet-denoise-0.3.1 link > properly with gcc-10. > > suggested changelog entry > > lqr/gimp-lqr-plugin/src/interface_aux.c, > lqr/gimp-lqr-plugin/src/interface_I.c: declare variables as extern that > would otherwise clash with those in lqr/gimp-lqr-plugin/src/interface.c > > wavelet-denoise/wavelet-denoise-0.3.1/src/interface.h, > wavelet-denoise/wavelet-denoise-0.3.1/src/plugin.h: declare global > variables as extern > wavelet-denoise/wavelet-denoise-0.3.1/src/interface.c, > wavelet-denoise/wavelet-denoise-0.3.1/src/plugin.c: add some global > variables now declared extern in the corresponding header files > > Kind regards, > Arnold Metselaar >
Bug#957272: Patch to fix linking with gcc-10
Dear maintainer, Attached is a patch to make gimp-lqr-plugin and wavelet-denoise-0.3.1 link properly with gcc-10. suggested changelog entry lqr/gimp-lqr-plugin/src/interface_aux.c, lqr/gimp-lqr-plugin/src/interface_I.c: declare variables as extern that would otherwise clash with those in lqr/gimp-lqr-plugin/src/interface.c wavelet-denoise/wavelet-denoise-0.3.1/src/interface.h, wavelet-denoise/wavelet-denoise-0.3.1/src/plugin.h: declare global variables as extern wavelet-denoise/wavelet-denoise-0.3.1/src/interface.c, wavelet-denoise/wavelet-denoise-0.3.1/src/plugin.c: add some global variables now declared extern in the corresponding header files Kind regards, Arnold Metselaar diff --git a/lqr/gimp-lqr-plugin/src/interface_I.c b/lqr/gimp-lqr-plugin/src/interface_I.c index 2719167..dbe2717 100644 --- a/lqr/gimp-lqr-plugin/src/interface_I.c +++ b/lqr/gimp-lqr-plugin/src/interface_I.c @@ -73,10 +73,10 @@ static void callback_alarm_triggered (GtkWidget * size_entry, gpointer data); gint dialog_I_response = GTK_RESPONSE_OK; -PlugInUIVals *ui_state; -PlugInVals *state; -PlugInDialogVals *dialog_state; -gboolean features_are_sensitive; +extern PlugInUIVals *ui_state; +extern PlugInVals *state; +extern PlugInDialogVals *dialog_state; +extern gboolean features_are_sensitive; InterfaceIData interface_I_data; //volatile sig_atomic_t interface_locked = 0; diff --git a/lqr/gimp-lqr-plugin/src/interface_aux.c b/lqr/gimp-lqr-plugin/src/interface_aux.c index 6461757..ceed0d9 100644 --- a/lqr/gimp-lqr-plugin/src/interface_aux.c +++ b/lqr/gimp-lqr-plugin/src/interface_aux.c @@ -49,11 +49,11 @@ static void callback_dialog_aux_response (GtkWidget * dialog, gint response_id, gint dialog_aux_response = GTK_RESPONSE_OK; -PlugInUIVals *ui_state; -PlugInVals *state; -PlugInDialogVals *dialog_state; +extern PlugInUIVals *ui_state; +extern PlugInVals *state; +extern PlugInDialogVals *dialog_state; -GtkWidget *dlg; +extern GtkWidget *dlg; /*** Public functions ***/ diff --git a/wavelet-denoise/wavelet-denoise-0.3.1/src/interface.c b/wavelet-denoise/wavelet-denoise-0.3.1/src/interface.c index 170894b..2f95572 100644 --- a/wavelet-denoise/wavelet-denoise-0.3.1/src/interface.c +++ b/wavelet-denoise/wavelet-denoise-0.3.1/src/interface.c @@ -16,8 +16,36 @@ #include "plugin.h" #include "interface.h" +/* Global variables declared in interface.h */ +/* colour mode frame */ +GtkWidget *fr_mode, *mode_radio[3], *mode_vbox; +GSList *mode_list; + +/* preview select frame */ +GtkWidget *fr_preview, *preview_radio[3], *preview_vbox, *preview_check; +GSList *preview_list; + +/* channel select frame */ +GtkWidget *fr_channel, *channel_radio[4], *channel_vbox; +GSList *channel_list; + +/* threshold frame */ +GtkWidget *fr_threshold, *thr_label[2], *thr_spin[2]; +GtkWidget *thr_hbox[2], *thr_vbox, *thr_scale[2]; +GtkObject *thr_adj[2]; + +/* reset buttons */ +GtkWidget *reset_button[2], *reset_hbox, *reset_align, *reset_button_icon[2]; + +/* dialog */ +GtkWidget *dialog, *dialog_hbox, *dialog_vbox, *frame_hbox, *dialog_aspect; +GtkWidget *preview, *preview_reset, *preview_hbox, *preview_reset_icon; + GtkWidget **radios_labels[] = { channel_radio, thr_label }; +char **names; + + gboolean user_interface (GimpDrawable * drawable) { diff --git a/wavelet-denoise/wavelet-denoise-0.3.1/src/interface.h b/wavelet-denoise/wavelet-denoise-0.3.1/src/interface.h index f0ce8ad..0f5430e 100644 --- a/wavelet-denoise/wavelet-denoise-0.3.1/src/interface.h +++ b/wavelet-denoise/wavelet-denoise-0.3.1/src/interface.h @@ -14,29 +14,29 @@ */ /* colour mode frame */ -GtkWidget *fr_mode, *mode_radio[3], *mode_vbox; -GSList *mode_list; +extern GtkWidget *fr_mode, *mode_radio[3], *mode_vbox; +extern GSList *mode_list; /* preview select frame */ -GtkWidget *fr_preview, *preview_radio[3], *preview_vbox, *preview_check; -GSList *preview_list; +extern GtkWidget *fr_preview, *preview_radio[3], *preview_vbox, *preview_check; +extern GSList *preview_list; /* channel select frame */ -GtkWidget *fr_channel, *channel_radio[4], *channel_vbox; -GSList *channel_list; +extern GtkWidget *fr_channel, *channel_radio[4], *channel_vbox; +extern GSList *channel_list; /* threshold frame */ -GtkWidget *fr_threshold, *thr_label[2], *thr_spin[2]; -GtkWidget *thr_hbox[2], *thr_vbox, *thr_scale[2]; -GtkObject *thr_adj[2]; +extern GtkWidget *fr_threshold, *thr_label[2], *thr_spin[2]; +extern GtkWidget *thr_hbox[2], *thr_vbox, *thr_scale[2]; +extern GtkObject *thr_adj[2]; /* reset buttons */ -GtkWidget *reset_button[2], *reset_hbox, *reset_align, *reset_button_icon[2]; +extern GtkWidget *reset_button[2], *reset_hbox, *reset_align, *reset_button_icon[2]; /* dialog */ -GtkWidget *dialog, *dialog_hbox, *dialog_vbox, *frame_hbox, *dialog_aspect; -GtkWidget *preview, *preview_reset, *preview_hbox, *preview_reset_icon; +extern GtkWidget *dialog, *dialog_hbox, *dialog_vbox, *frame_hbox, *dialog_aspect; +extern GtkWidget *pre
Bug#957188: patch to fix linking with gcc-10
Dear maintainer, Attached is a patch to make gimp-lqr-plugin and wavelet-denoise-0.3.1 link properly with gcc-10. suggested changelog entry lqr/gimp-lqr-plugin/src/interface_aux.c, lqr/gimp-lqr-plugin/src/interface_I.c: declare variables as extern that would otherwise clash with those in lqr/gimp-lqr-plugin/src/interface.c wavelet-denoise/wavelet-denoise-0.3.1/src/interface.h, wavelet-denoise/wavelet-denoise-0.3.1/src/plugin.h: declare global variables as extern wavelet-denoise/wavelet-denoise-0.3.1/src/interface.c, wavelet-denoise/wavelet-denoise-0.3.1/src/plugin.c: add some global variables now declared extern in the corresponding header files Kind regards, Arnold Metselaar diff --git a/lqr/gimp-lqr-plugin/src/interface_I.c b/lqr/gimp-lqr-plugin/src/interface_I.c index 2719167..dbe2717 100644 --- a/lqr/gimp-lqr-plugin/src/interface_I.c +++ b/lqr/gimp-lqr-plugin/src/interface_I.c @@ -73,10 +73,10 @@ static void callback_alarm_triggered (GtkWidget * size_entry, gpointer data); gint dialog_I_response = GTK_RESPONSE_OK; -PlugInUIVals *ui_state; -PlugInVals *state; -PlugInDialogVals *dialog_state; -gboolean features_are_sensitive; +extern PlugInUIVals *ui_state; +extern PlugInVals *state; +extern PlugInDialogVals *dialog_state; +extern gboolean features_are_sensitive; InterfaceIData interface_I_data; //volatile sig_atomic_t interface_locked = 0; diff --git a/lqr/gimp-lqr-plugin/src/interface_aux.c b/lqr/gimp-lqr-plugin/src/interface_aux.c index 6461757..ceed0d9 100644 --- a/lqr/gimp-lqr-plugin/src/interface_aux.c +++ b/lqr/gimp-lqr-plugin/src/interface_aux.c @@ -49,11 +49,11 @@ static void callback_dialog_aux_response (GtkWidget * dialog, gint response_id, gint dialog_aux_response = GTK_RESPONSE_OK; -PlugInUIVals *ui_state; -PlugInVals *state; -PlugInDialogVals *dialog_state; +extern PlugInUIVals *ui_state; +extern PlugInVals *state; +extern PlugInDialogVals *dialog_state; -GtkWidget *dlg; +extern GtkWidget *dlg; /*** Public functions ***/ diff --git a/wavelet-denoise/wavelet-denoise-0.3.1/src/interface.c b/wavelet-denoise/wavelet-denoise-0.3.1/src/interface.c index 170894b..2f95572 100644 --- a/wavelet-denoise/wavelet-denoise-0.3.1/src/interface.c +++ b/wavelet-denoise/wavelet-denoise-0.3.1/src/interface.c @@ -16,8 +16,36 @@ #include "plugin.h" #include "interface.h" +/* Global variables declared in interface.h */ +/* colour mode frame */ +GtkWidget *fr_mode, *mode_radio[3], *mode_vbox; +GSList *mode_list; + +/* preview select frame */ +GtkWidget *fr_preview, *preview_radio[3], *preview_vbox, *preview_check; +GSList *preview_list; + +/* channel select frame */ +GtkWidget *fr_channel, *channel_radio[4], *channel_vbox; +GSList *channel_list; + +/* threshold frame */ +GtkWidget *fr_threshold, *thr_label[2], *thr_spin[2]; +GtkWidget *thr_hbox[2], *thr_vbox, *thr_scale[2]; +GtkObject *thr_adj[2]; + +/* reset buttons */ +GtkWidget *reset_button[2], *reset_hbox, *reset_align, *reset_button_icon[2]; + +/* dialog */ +GtkWidget *dialog, *dialog_hbox, *dialog_vbox, *frame_hbox, *dialog_aspect; +GtkWidget *preview, *preview_reset, *preview_hbox, *preview_reset_icon; + GtkWidget **radios_labels[] = { channel_radio, thr_label }; +char **names; + + gboolean user_interface (GimpDrawable * drawable) { diff --git a/wavelet-denoise/wavelet-denoise-0.3.1/src/interface.h b/wavelet-denoise/wavelet-denoise-0.3.1/src/interface.h index f0ce8ad..0f5430e 100644 --- a/wavelet-denoise/wavelet-denoise-0.3.1/src/interface.h +++ b/wavelet-denoise/wavelet-denoise-0.3.1/src/interface.h @@ -14,29 +14,29 @@ */ /* colour mode frame */ -GtkWidget *fr_mode, *mode_radio[3], *mode_vbox; -GSList *mode_list; +extern GtkWidget *fr_mode, *mode_radio[3], *mode_vbox; +extern GSList *mode_list; /* preview select frame */ -GtkWidget *fr_preview, *preview_radio[3], *preview_vbox, *preview_check; -GSList *preview_list; +extern GtkWidget *fr_preview, *preview_radio[3], *preview_vbox, *preview_check; +extern GSList *preview_list; /* channel select frame */ -GtkWidget *fr_channel, *channel_radio[4], *channel_vbox; -GSList *channel_list; +extern GtkWidget *fr_channel, *channel_radio[4], *channel_vbox; +extern GSList *channel_list; /* threshold frame */ -GtkWidget *fr_threshold, *thr_label[2], *thr_spin[2]; -GtkWidget *thr_hbox[2], *thr_vbox, *thr_scale[2]; -GtkObject *thr_adj[2]; +extern GtkWidget *fr_threshold, *thr_label[2], *thr_spin[2]; +extern GtkWidget *thr_hbox[2], *thr_vbox, *thr_scale[2]; +extern GtkObject *thr_adj[2]; /* reset buttons */ -GtkWidget *reset_button[2], *reset_hbox, *reset_align, *reset_button_icon[2]; +extern GtkWidget *reset_button[2], *reset_hbox, *reset_align, *reset_button_icon[2]; /* dialog */ -GtkWidget *dialog, *dialog_hbox, *dialog_vbox, *frame_hbox, *dialog_aspect; -GtkWidget *preview, *preview_reset, *preview_hbox, *preview_reset_icon; +extern GtkWidget *dialog, *dialog_hbox, *dialog_vbox, *frame_hbox, *dialog_aspect; +extern GtkWidget *pre
Bug#957914: Patch to fix linking with gcc-10
Dear maintainer, Below and attached is a patch to make viking compile and link properly with gcc-10. Suggested changelog entry: src/babel.h (a_babel_file_list, a_babel_device_list): declare global variables as extern, closes #957914 Kind regards, Arnold Metselaar --- diff --git a/src/babel.h b/src/babel.h index ae2fa959..e2c18e6c 100644 --- a/src/babel.h +++ b/src/babel.h @@ -109,8 +109,8 @@ typedef struct { gchar *label; } BabelFile; -GList *a_babel_file_list; -GList *a_babel_device_list; +extern GList *a_babel_file_list; +extern GList *a_babel_device_list; void a_babel_foreach_file_with_mode (BabelMode mode, GFunc func, gpointer user_data); void a_babel_foreach_file_read_any (GFunc func, gpointer user_data); diff --git a/src/babel.h b/src/babel.h index ae2fa959..e2c18e6c 100644 --- a/src/babel.h +++ b/src/babel.h @@ -109,8 +109,8 @@ typedef struct { gchar *label; } BabelFile; -GList *a_babel_file_list; -GList *a_babel_device_list; +extern GList *a_babel_file_list; +extern GList *a_babel_device_list; void a_babel_foreach_file_with_mode (BabelMode mode, GFunc func, gpointer user_data); void a_babel_foreach_file_read_any (GFunc func, gpointer user_data);
Bug#673161: Starting mysqld in a chroot
Hi, I was mistaken in my previous message. Generating a decent /etc/mtab with the line grep ${CHROOT_PATH} /etc/mtab | sed -e s:${CHROOT_PATH}/\?:/: ${CHROOT_PATH}/etc/mtab in /etc/schroot/setup.d/99mini-buildd helped get rid of warnings from df, but mysqld was trying to start without it as well. Mysqld tries to bind to a port at start-up, and fails when another mysqld outside the chroot is already bound to that port. When mysqld is not running in the host machine, it starts in a chroot just fine. It should also work when mysqld in the host is listening on a non-standard port. Regards, Arnold -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#673161: mysql-server-5.1 is available, but fails to start in chroot
Hi, Being interested in digikam 2.6.0, I have tried building it for Wheezy with my own mini-buildd. I have discovered that while mysql-server-5.1 is still available in Wheezy, it cannot be set up in a schroot environment. The post installation script of mysql-server-5.1 invokes the init script to start mysqld. The init script of mysql-server users df to check for a nearly full file system before starting, but df fails in a schroot environment, so nothing is started and apt-get reports an error with mysql-server-5.1. I think the schroot package is to blame here, though it may be argued that the bug should be reassigned to some other part of the build system, coreutils (df) or mysql-server-5.1 instead. Regards, Arnold Snippets from the build log: Selecting previously unselected package mysql-server-core-5.1. Unpacking mysql-server-core-5.1 (from .../mysql-server-core-5.1_5.1.61-3_i386.deb) ... Setting up mysql-common (5.1.61-3) ... Setting up adduser (3.113+nmu1) ... Selecting previously unselected package mysql-server-5.1. (Reading database ... 15839 files and directories currently installed.) Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.61-3_i386.deb) ... df: Warning: cannot read table of mounted file systems: No such file or directory [...] Setting up mysql-server-core-5.1 (5.1.61-3) ... Setting up mysql-server-5.1 (5.1.61-3) ... Stopping MySQL database server: mysqld. df: Warning: cannot read table of mounted file systems: No such file or directory Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed! invoke-rc.d: initscript mysql, action start failed. dpkg: error processing mysql-server-5.1 (--configure): subprocess installed post-installation script returned error exit status 1 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org