[X2Go-Commits] [libx2goclient] 03/03: src/x2goclient-network-ssh.{c, h}: implement x2goclient_network_ssh_fetch_openssh_version ().

2020-05-14 Thread git-admin
This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository libx2goclient.

commit 6c8255efdea2f7bb3b80758ed44691ba5ff429e8
Author: Mihai Moldovan 
Date:   Thu May 14 22:27:01 2020 +0200

src/x2goclient-network-ssh.{c,h}: implement 
x2goclient_network_ssh_fetch_openssh_version ().
---
 src/x2goclient-network-ssh.c | 176 +++
 src/x2goclient-network-ssh.h |   2 +
 2 files changed, 178 insertions(+)

diff --git a/src/x2goclient-network-ssh.c b/src/x2goclient-network-ssh.c
index 04c03ed..0029d2c 100644
--- a/src/x2goclient-network-ssh.c
+++ b/src/x2goclient-network-ssh.c
@@ -30,6 +30,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include 
 #include 
@@ -122,6 +123,7 @@ static GSocketAddress* 
x2goclient_network_ssh_parse_sockspec_alias (const GStrin
 static GSocketAddress* x2goclient_network_ssh_parse_sockspec 
(X2GoClientNetwork *parent, const GString *sockspec);
 static gboolean x2goclient_network_ssh_kill_subprocesses (X2GoClientNetworkSSH 
*self);
 static gboolean x2goclient_network_ssh_parent_connect (X2GoClientNetwork 
*parent, GError **gerr);
+static gboolean x2goclient_network_ssh_fetch_openssh_version 
(X2GoClientNetworkSSH *self, GError **gerr);
 
 
 static void x2goclient_network_ssh_class_init (X2GoClientNetworkSSHClass 
*klass) {
@@ -920,3 +922,177 @@ static gboolean x2goclient_network_ssh_parent_connect 
(X2GoClientNetwork *parent
 
   return (ret);
 }
+
+static gboolean x2goclient_network_ssh_fetch_openssh_version 
(X2GoClientNetworkSSH *self, GError **gerr) {
+  gboolean ret = FALSE;
+
+  g_return_val_if_fail (X2GOCLIENT_IS_NETWORK_SSH (self), ret);
+  g_return_val_if_fail (((gerr == NULL) || (*gerr == NULL)), ret);
+
+  GPtrArray *ssh_cmd = g_ptr_array_new_with_free_func 
(_clear_strings);
+  g_ptr_array_add (ssh_cmd, g_strdup ("ssh"));
+  g_ptr_array_add (ssh_cmd, g_strdup ("-V"));
+  g_ptr_array_add (ssh_cmd, NULL);
+
+  {
+gchar *tmp = NULL;
+for (gsize i = 0; i < ssh_cmd->len; ++i) {
+  gchar *tmp_old = tmp;
+
+  if (tmp) {
+tmp = g_strdup_printf ("%s [%s]", tmp_old, (gchar *)g_ptr_array_index 
(ssh_cmd, i));
+  }
+  else {
+tmp = g_strdup_printf ("[%s]", (gchar *)g_ptr_array_index (ssh_cmd, 
i));
+  }
+
+  g_free (tmp_old);
+  tmp_old = NULL;
+}
+
+g_log (NULL, G_LOG_LEVEL_DEBUG, "Fetching OpenSSH version via: %s", tmp);
+
+g_free (tmp);
+tmp = NULL;
+  }
+
+  GError *ssh_err = NULL;
+  GSubprocess *ssh_proc = g_subprocess_newv ((const gchar* 
const*)(ssh_cmd->pdata), G_SUBPROCESS_FLAGS_STDOUT_PIPE | 
G_SUBPROCESS_FLAGS_STDERR_PIPE, _err);
+
+  ret = (ssh_proc != NULL);
+
+  if (ret) {
+g_log (NULL, G_LOG_LEVEL_DEBUG, "OpenSSH version fetching process 
started/executed successfully!");
+
+if (ssh_err) {
+  g_log (NULL, G_LOG_LEVEL_DEBUG, "Successful execution, but ssh_err set? 
Weird, here's the message: %s", ssh_err->message);
+}
+
+GCancellable *ssh_proc_comm_cancel = g_cancellable_new ();
+g_clear_error (_err);
+
+GBytes *ssh_stdout = NULL, *ssh_stderr = NULL;
+if (!(g_subprocess_communicate (ssh_proc, NULL, ssh_proc_comm_cancel, 
_stdout, _stderr, _err))) {
+  g_propagate_prefixed_error (gerr, ssh_err, "Communication with OpenSSH 
version fetching subprocess failed: ");
+}
+else {
+  gsize ssh_stdout_size = 0, ssh_stderr_size = 0;
+  const gchar *ssh_stdout_str = g_bytes_get_data (ssh_stdout, 
_stdout_size),
+  *ssh_stderr_str = g_bytes_get_data (ssh_stderr, 
_stderr_size);
+  int ssh_stdout_size_sanitized = 0, ssh_stderr_size_sanitized = 0;
+  gchar *ssh_stdout_str_sanitized = 0, *ssh_stderr_str_sanitized = NULL;
+
+  /* Sanity check on output size. */
+  if (INT_MAX < ssh_stdout_size) {
+g_log (NULL, G_LOG_LEVEL_WARNING, "OpenSSH returned more than %d bytes 
on stdout, this is unusual and will be truncated.", INT_MAX);
+
+ssh_stdout_size_sanitized = INT_MAX;
+  }
+  else {
+ssh_stdout_size_sanitized = ssh_stdout_size;
+  }
+
+  if (ssh_stdout_str) {
+/*
+ * Do NOT use g_strndup () here.
+ *
+ * It might sound exactly like what we want, but really isn't.
+ *
+ * The issue is that g_strndup () will always allocate an n-bytes-sized
+ * buffer and optionally pad the string with NULL bytes.
+ *
+ * That's not really a problem if the string actually is to be
+ * truncated, since in that case the result will be smaller than the
+ * original string anyway, but a huge problem if the string small.
+ *
+ * In the latter case, we don't want to create a useless 2 GiB string.
+ *
+ * Interestingly, POSIX describes strndup as allocating memory "as if
+ * by using malloc ()", but doesn't mention the actual resulting size.
+ * In the informal section, buffer sizes are 

[X2Go-Commits] [libx2goclient] 01/03: src/x2goclient-openssh-version.{c, h}: rework x2goclient_openssh_version_parse () to return _Bool.

2020-05-14 Thread git-admin
This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository libx2goclient.

commit 02816aa91a796c267d141ca158ccae718a76846c
Author: Mihai Moldovan 
Date:   Thu May 14 19:45:51 2020 +0200

src/x2goclient-openssh-version.{c,h}: rework 
x2goclient_openssh_version_parse () to return _Bool.

GError is typically optional and passing NULL to it is a valid way to
ignore *the specifics* of errors.

This said, we still need to have a way to determine whether an error
happened or not - and hence, if the parsing was successful.
---
 src/x2goclient-openssh-version.c | 16 
 src/x2goclient-openssh-version.h |  4 +++-
 2 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/src/x2goclient-openssh-version.c b/src/x2goclient-openssh-version.c
index a071938..7f4479a 100644
--- a/src/x2goclient-openssh-version.c
+++ b/src/x2goclient-openssh-version.c
@@ -115,16 +115,18 @@ G_DEFINE_BOXED_TYPE (X2GoClientOpenSSHVersion, 
x2goclient_openssh_version, 
 }\
   } while (0)
 
-void x2goclient_openssh_version_parse (X2GoClientOpenSSHVersion 
*openssh_version, const gchar *version_string, GError **gerr) {
+_Bool x2goclient_openssh_version_parse (X2GoClientOpenSSHVersion 
*openssh_version, const gchar *version_string, GError **gerr) {
+  _Bool ret = FALSE;
+
   /* Basic sanity checks on struct and string. */
   if (!(openssh_version)) {
 g_set_error_literal (gerr, ERROR_QUARK, 
X2GOCLIENT_OPENSSH_VERSION_ERROR_INVALID_STRUCT, "No version struct passed, 
cannot store extracted information.");
-return;
+return (ret);
   }
 
   if (!(version_string)) {
 g_set_error_literal (gerr, ERROR_QUARK, 
X2GOCLIENT_OPENSSH_VERSION_ERROR_INVALID_VERSION_STRING, "No version string 
passed, cannot extract information.");
-return;
+return (ret);
   }
 
   X2GoClientOpenSSHVersion *struct_work_copy = x2goclient_openssh_version_copy 
(openssh_version);
@@ -142,7 +144,7 @@ void x2goclient_openssh_version_parse 
(X2GoClientOpenSSHVersion *openssh_version
 x2goclient_openssh_version_free (struct_work_copy);
 struct_work_copy = NULL;
 
-return;
+return (ret);
   }
 
   /* Skip preamble. */
@@ -307,8 +309,12 @@ void x2goclient_openssh_version_parse 
(X2GoClientOpenSSHVersion *openssh_version
   if (vers_err) {
 x2goclient_openssh_version_free (struct_work_copy);
 struct_work_copy = NULL;
+
+return (ret);
   }
 
+  ret = TRUE;
+
   /* Scan for a comma which should follow any additional version data. */
   const gchar *end = g_strstr_len (tmp, -1, ",");
   if (!(end)) {
@@ -340,4 +346,6 @@ void x2goclient_openssh_version_parse 
(X2GoClientOpenSSHVersion *openssh_version
   /* Lastly, free data. */
   x2goclient_openssh_version_free (struct_work_copy);
   struct_work_copy = NULL;
+
+  return (ret);
 }
diff --git a/src/x2goclient-openssh-version.h b/src/x2goclient-openssh-version.h
index 47f65b4..9c434d3 100644
--- a/src/x2goclient-openssh-version.h
+++ b/src/x2goclient-openssh-version.h
@@ -25,6 +25,8 @@
 #ifndef x2goclient_openssh_version_h
 #define x2goclient_openssh_version_h
 
+#include 
+
 #include 
 
 G_BEGIN_DECLS
@@ -76,7 +78,7 @@ enum {
 };
 
 
-void x2goclient_openssh_version_parse (X2GoClientOpenSSHVersion 
*openssh_version, const gchar *version_string, GError **gerr);
+_Bool x2goclient_openssh_version_parse (X2GoClientOpenSSHVersion 
*openssh_version, const gchar *version_string, GError **gerr);
 
 G_END_DECLS
 

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/libx2goclient.git
___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [libx2goclient] branch master updated (c2c779f -> 6c8255e)

2020-05-14 Thread git-admin
This is an automated email from the git hooks/post-receive script.

x2go pushed a change to branch master
in repository libx2goclient.

  from  c2c779f   src/x2goclient-network-ssh.c: fix comment regarding wait 
call to subprocess.
   new  02816aa   src/x2goclient-openssh-version.{c,h}: rework 
x2goclient_openssh_version_parse () to return _Bool.
   new  7b0c49d   src/x2goclient-network-ssh.c: make openssh-version 
property read-only.
   new  6c8255e   src/x2goclient-network-ssh.{c,h}: implement 
x2goclient_network_ssh_fetch_openssh_version ().

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/x2goclient-network-ssh.c | 178 ++-
 src/x2goclient-network-ssh.h |   2 +
 src/x2goclient-openssh-version.c |  16 +++-
 src/x2goclient-openssh-version.h |   4 +-
 4 files changed, 194 insertions(+), 6 deletions(-)

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/libx2goclient.git
___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [libx2goclient] 02/03: src/x2goclient-network-ssh.c: make openssh-version property read-only.

2020-05-14 Thread git-admin
This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository libx2goclient.

commit 7b0c49dac74ff649c107a5c4266daa1d492bb09d
Author: Mihai Moldovan 
Date:   Thu May 14 20:17:29 2020 +0200

src/x2goclient-network-ssh.c: make openssh-version property read-only.
---
 src/x2goclient-network-ssh.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/x2goclient-network-ssh.c b/src/x2goclient-network-ssh.c
index 9a4557f..04c03ed 100644
--- a/src/x2goclient-network-ssh.c
+++ b/src/x2goclient-network-ssh.c
@@ -137,7 +137,7 @@ static void x2goclient_network_ssh_class_init 
(X2GoClientNetworkSSHClass *klass)

   _("The OpenSSH client version number, parsed in a custom "

 "structure."),

   X2GOCLIENT_TYPE_OPENSSH_VERSION,
-   
   G_PARAM_WRITABLE);
+   
   G_PARAM_READABLE);
 
   g_object_class_install_properties (object_class, X2GO_NET_SSH_N_PROPERTIES, 
net_ssh_obj_properties);
 

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/libx2goclient.git
___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] Build failed in Jenkins: x2goclient+nightly+debian-bullseye #29

2020-05-14 Thread jenkins
See 


Changes:

[o.shneyder] Set min width of session status label.


--
[...truncated 99.19 KB...]
Get:5 copy:/<>/resolver-Bi40Wn/apt_archive ./ Packages [431 B]
Fetched 2107 B in 0s (23.8 kB/s)
Reading package lists...
W: copy:///<>/resolver-Bi40Wn/apt_archive/./Release.gpg: The key(s) 
in the keyring /etc/apt/trusted.gpg.d/sbuild-build-depends-archive.gpg are 
ignored as the file is not readable by user '_apt' executing apt-key.
W: GPG error: copy:/<>/resolver-Bi40Wn/apt_archive ./ Release: The 
following signatures couldn't be verified because the public key is not 
available: NO_PUBKEY 0747BE0A5F51BC55
Hit:1 http://packages.x2go.org/debian bullseye InRelease
Reading package lists...
W: http://packages.x2go.org/debian/dists/bullseye/InRelease: The key(s) in the 
keyring /etc/apt/trusted.gpg.d/sbuild-build-depends-archive.gpg are ignored as 
the file is not readable by user '_apt' executing apt-key.
Reading package lists...

Install core build dependencies (apt-based resolver)


Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 856 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<>/resolver-Bi40Wn/apt_archive ./ 
sbuild-build-depends-core-dummy 0.invalid.0 [856 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 856 B in 0s (0 B/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 15491 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_amd64.deb 
...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...

+--+
| Check architectures  |
+--+

Arch check ok (amd64 included in any all)

+--+
| Install package build dependencies   |
+--+


Setup apt archive
-

Merged Build-Depends: debhelper (>= 7.0.50~), libqt4-dev, libldap2-dev, 
libssh-dev (>= 0.5.4-2~), libcups2-dev, libx11-dev, libxpm-dev, man2html-base | 
man2html, pkg-config
Filtered Build-Depends: debhelper (>= 7.0.50~), libqt4-dev, libldap2-dev, 
libssh-dev (>= 0.5.4-2~), libcups2-dev, libx11-dev, libxpm-dev, man2html-base | 
man2html, pkg-config
dpkg-deb: building package 'sbuild-build-depends-x2goclient-dummy' in 
'/<>/resolver-Bi40Wn/apt_archive/sbuild-build-depends-x2goclient-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy 
sbuild-build-depends-x2goclient-dummy
dpkg-scanpackages: info: Wrote 2 entries to output Packages file.
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<>/resolver-Bi40Wn/apt_archive ./ InRelease
Get:2 copy:/<>/resolver-Bi40Wn/apt_archive ./ Release [963 B]
Get:3 copy:/<>/resolver-Bi40Wn/apt_archive ./ Release.gpg [370 B]
Ign:3 copy:/<>/resolver-Bi40Wn/apt_archive ./ Release.gpg
Get:4 copy:/<>/resolver-Bi40Wn/apt_archive ./ Sources [558 B]
Get:5 copy:/<>/resolver-Bi40Wn/apt_archive ./ Packages [639 B]
Fetched 2530 B in 0s (29.7 kB/s)
Reading package lists...
W: copy:///<>/resolver-Bi40Wn/apt_archive/./Release.gpg: The key(s) 
in the keyring /etc/apt/trusted.gpg.d/sbuild-build-depends-archive.gpg are 
ignored as the file is not readable by user '_apt' executing apt-key.
W: GPG error: copy:/<>/resolver-Bi40Wn/apt_archive ./ Release: The 
following signatures couldn't be verified because the public key is not 
available: NO_PUBKEY 0747BE0A5F51BC55
Hit:1 http://packages.x2go.org/debian bullseye InRelease
Reading package lists...
W: http://packages.x2go.org/debian/dists/bullseye/InRelease: The key(s) in the 
keyring /etc/apt/trusted.gpg.d/sbuild-build-depends-archive.gpg are ignored as 
the file is not readable by user '_apt' executing apt-key.
Reading package lists...

Install x2goclient build dependencies (apt-based resolver)
--

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution 

[X2Go-Commits] Build failed in Jenkins: x2goclient+nightly+opensuse-tumbleweed #106

2020-05-14 Thread jenkins
See 


Changes:

[o.shneyder] Set min width of session status label.


--
[...truncated 8.97 KB...]
+++ i=17
+++ '[' 17 -lt 24 ']'
 printf X
+++ ret=XX
+++ i=18
+++ '[' 18 -lt 24 ']'
 printf X
+++ ret=XXX
+++ i=19
+++ '[' 19 -lt 24 ']'
 printf X
+++ ret=
+++ i=20
+++ '[' 20 -lt 24 ']'
 printf X
+++ ret=X
+++ i=21
+++ '[' 21 -lt 24 ']'
 printf X
+++ ret=XX
+++ i=22
+++ '[' 22 -lt 24 ']'
 printf X
+++ ret=XXX
+++ i=23
+++ '[' 23 -lt 24 ']'
 printf X
+++ ret=
+++ i=24
+++ '[' 24 -lt 24 ']'
+++ printf 
+++ return 0
++ mktemp -d --tmpdir=/var/lib/jenkins/tmp/ tmp.
+ TEMP_DIR=/var/lib/jenkins/tmp/tmp.BoFIukd1piN1Mh5yY7SkUOBz
+ temp_cleanup+=("${TEMP_DIR}")
+ mkdir -p -- /var/lib/jenkins/tmp/tmp.BoFIukd1piN1Mh5yY7SkUOBz/x2goclient
+ chmod -Rf -- 2770 /var/lib/jenkins/tmp/tmp.BoFIukd1piN1Mh5yY7SkUOBz
+ cd /var/lib/jenkins/build/heuler/x2goclient
+ git clone --no-hardlinks --no-local /var/lib/jenkins/build/heuler/x2goclient 
/var/lib/jenkins/tmp/tmp.BoFIukd1piN1Mh5yY7SkUOBz/x2goclient/
Cloning into '/var/lib/jenkins/tmp/tmp.BoFIukd1piN1Mh5yY7SkUOBz/x2goclient'...
+ cd /var/lib/jenkins/tmp/tmp.BoFIukd1piN1Mh5yY7SkUOBz
++ cd x2goclient
++ gitrevno
++ cd -
+ GITREV=1936
+ pushd x2goclient
+ git --no-pager log --since '2 years ago' '--format=%ai %aN (%h) 
%n%n%x09*%w(68,0,10) %s%d%n'
+ popd
+ rm -Rf -- x2goclient/.git
+ mv -- x2goclient/x2goclient.spec .
++ grep -E -- '^Version:.*' x2goclient.spec
++ awk '{ print $2 }'
+ UPSTREAM_VERSION=4.1.2.3
++ grep -E -- '^Release:.*' x2goclient.spec
++ awk '{ print $2 }'
+ PKG_RELEASE='0.0x2go1%{?dist}'
++ sed -e 's/%{?dist}//'
+ PKG_SRCRELEASE=0.0x2go1
++ grep -qsE -- '^BuildArch:.*noarch$' x2goclient.spec
++ echo no
+ IS_NOARCH=no
+ '[' heuler = heuler ']'
+ IS_RELEASE=0
+ sed -i x2goclient.spec -e 's/%{?dist}/.0.git20200514.1936.heuler%{?dist}/'
+ '[' -f x2goclient/debian/patches/series ']'
+ grep -E '^Source[1-9]+:.*' x2goclient.spec
+ sed 's/%{name}/x2goclient/'
+ awk '{ print $2 }'
+ read source_file
+ find x2goclient/rpm/x2goclient-rpmlintrc -maxdepth 0
+ cp -- x2goclient/rpm/x2goclient-rpmlintrc 
/var/lib/jenkins/pkg-dist/heuler/x2goclient/opensuse/tumbleweed/SRPM/rpmbuild/SOURCES/
+ continue
+ read source_file
+ mv -- /var/lib/jenkins/tmp/tmp.BoFIukd1piN1Mh5yY7SkUOBz/x2goclient 
/var/lib/jenkins/tmp/tmp.BoFIukd1piN1Mh5yY7SkUOBz/x2goclient-4.1.2.3
+ tar -czf 
/var/lib/jenkins/pkg-dist/heuler/x2goclient/opensuse/tumbleweed/SRPM/rpmbuild/SOURCES/x2goclient-4.1.2.3.tar.gz
 x2goclient-4.1.2.3
+ cp -- x2goclient.spec 
/var/lib/jenkins/pkg-dist/heuler/x2goclient/opensuse/tumbleweed/SRPM/rpmbuild/SOURCES
+ cd
+ rm -Rf -- /var/lib/jenkins/tmp/tmp.BoFIukd1piN1Mh5yY7SkUOBz/x2goclient
+ '[' xopensuse = xopensuse ']'
+ typeset -a arches_copy
+ arches_copy=("${arches[@]}")
+ typeset -i i=0
+ (( i = 0 ))
+ (( i < 3 ))
+ [[ SRPM == \i\3\8\6 ]]
+ (( ++i ))
+ (( i < 3 ))
+ [[ x86_64 == \i\3\8\6 ]]
+ (( ++i ))
+ (( i < 3 ))
+ [[ i386 == \i\3\8\6 ]]
+ arches_copy[i]=i586
+ (( ++i ))
+ (( i < 3 ))
+ typeset arch=
+ for arch in "${arches_copy[@]}"
+ mkdir -p -- 
/var/lib/jenkins/pkg-dist/heuler/x2goclient/opensuse/tumbleweed/SRPM
+ for arch in "${arches_copy[@]}"
+ mkdir -p -- 
/var/lib/jenkins/pkg-dist/heuler/x2goclient/opensuse/tumbleweed/x86_64
+ for arch in "${arches_copy[@]}"
+ mkdir -p -- 
/var/lib/jenkins/pkg-dist/heuler/x2goclient/opensuse/tumbleweed/i586
+ BUILD_RESULT=/home/abuild/rpmbuild/
+ typeset obs_config_dir=obs-config
+ download_urls=()
+ typeset -a download_urls
+ download_url=()
+ typeset -a download_url
+ extra_obs_build_args=()
+ typeset -a extra_obs_build_args
+ typeset obs_build_vendor_tag=
++ map_prefix_to_vendor x2go
++ typeset prefix=x2go
++ typeset out=
++ typeset ret=1
++ case "${prefix}" in
++ out=X2Go
++ ret=0
++ printf %s X2Go
++ return 0
+ obs_build_vendor_tag=X2Go
+ '[' 0 -ne 0 ']'
+ extra_obs_build_args+=("--define" "%vendor ${obs_build_vendor_tag}")
+ typeset -i tmp_suse_major_version=0
+ typeset -i tmp_suse_minor_version=0
+ [[ tumbleweed = \t\u\m\b\l\e\w\e\e\d ]]
+ tmp_suse_major_version=
+ '[' xopensuse = xopensuse ']'
+ typeset -i legacy_release=0
++ wrap_suse_major_version 
++ typeset major_version=
++ typeset -i tmp_major_version=
++ [[  -lt 10 ]]
++ [[  -eq 42 ]]
++ echo 
++ return 0
+ tmp_suse_major_version=
+ '[' 0 -ne 0 ']'
+ [[  != \9\9\9\9 ]]
+ '[' 0 -eq 1 ']'
+ [[  = \9\9\9\9 ]]
+ download_url=("${OPENSUSE_DOWNLOAD_TUMBLEWEED_URL[@]}")
+ (( i = 0 ))
+ (( i < 1 ))
++ sed -e s/#VERSION#/tumbleweed/g
+ 
download_url[i]=https://download.opensuse.org/tumbleweed/repo/oss/#SUSESUBDIR#/
+ (( ++i ))
+ (( i < 1 ))
+ [[  -lt 15 ]]
+ (( i = 0 ))
+ (( i < 1 ))

[X2Go-Commits] Build failed in Jenkins: x2goclient+ppc64be+nightly+debian-jessie #118

2020-05-14 Thread jenkins
Get:5 http://packages.x2go.org jessie/heuler powerpc Packages [27.7 kB]
Ign http://packages.x2go.org jessie/heuler Translation-en
Ign http://packages.x2go.org jessie/main Translation-en
Fetched 91.6 kB in 3s (28.2 kB/s)
Reading package lists...
Reading package lists...


��� Install core build dependencies (aptitude-based resolver)   
 ���


Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  aptitude-common libboost-iostreams1.55.0 libcwidget3 libsigc++-2.0-0c2a
  libsqlite3-0 libxapian22
Suggested packages:
  tasksel debtags apt-xapian-index libcwidget-dev xapian-tools
Recommended packages:
  aptitude-doc-en aptitude-doc libparse-debianchangelog-perl
The following NEW packages will be installed:
  aptitude aptitude-common libboost-iostreams1.55.0 libcwidget3
  libsigc++-2.0-0c2a libsqlite3-0 libxapian22
E: There are problems and -y was used without --force-yes
0 upgraded, 7 newly installed, 0 to remove and 1 not upgraded.
Need to get 4608 kB of archives.
After this operation, 20.9 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  libboost-iostreams1.55.0 libsigc++-2.0-0c2a libcwidget3 libsqlite3-0
  aptitude-common libxapian22 aptitude
apt-get failed.
W: Could not install aptitude!

��� Cleanup 
 ���


Purging /��BUILDDIR��
Not cleaning session: cloned chroot in use
E: 10mount: rmdir: failed to remove '/��CHROOT��': Device or resource busy
E: jessie-powerpc-sbuild-3ca8471b-2eed-4ae9-93ad-67df8b13818c: Chroot setup 
failed: stage=setup-stop
Chroot cleanup failed
E: Core build dependencies not satisfied; skipping


��� Summary 
 ���


Build Architecture: powerpc
Build-Space: 0
Build-Time: 0
Distribution: jessie
Fail-Stage: install-deps
Host Architecture: powerpc
Install-Time: 0
Job: 
/home/x2go-jenkins/tmp/tmp.b1AWJu6LyCorKGE6MVTCspXr/x2goclient_4.1.2.3-0x2go1~git20200514.1936+8.heuler.1.dsc
Machine Architecture: powerpc
Package: x2goclient
Package-Time: 0
Source-Version: 4.1.2.3-0x2go1~git20200514.1936+8.heuler.1
Space: 0
Status: failed
Version: 4.1.2.3-0x2go1~git20200514.1936+8.heuler.1

Finished at 20200514-1808
Build needed 00:00:00, 0k disc space
E: Core build dependencies not satisfied; skipping
+ cleanup
+ typeset temp_dir=
+ for temp_dir in '"${temp_cleanup[@]}"'
+ '[' -n '' ']'
+ for temp_dir in '"${temp_cleanup[@]}"'
+ '[' -n /home/x2go-jenkins/tmp/tmp.b1AWJu6LyCorKGE6MVTCspXr ']'
+ '[' -d /home/x2go-jenkins/tmp/tmp.b1AWJu6LyCorKGE6MVTCspXr ']'
+ rm -Rf -- /home/x2go-jenkins/tmp/tmp.b1AWJu6LyCorKGE6MVTCspXr
Build step 'Execute shell' marked build as failure
___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [x2goclient] 01/01: Set min width of session status label.

2020-05-14 Thread git-admin
This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goclient.

commit cc04f6feb4b06e7f16c64583b99fea73297b920a
Author: Oleksandr 
Date:   Thu May 14 11:05:13 2020 -0500

Set min width of session status label.
---
 debian/changelog  | 1 +
 src/sessionbutton.cpp | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 85b363b..bcf48fa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium
 - Display state of broker connection in status bar.
 - Client can synchronize sessions with broker. Broker need to send 
syncinterval
   value in the client config section.
+- Set min width of session status label.
 
   [ Ryan Schmidt ]
   * New upstream version (4.1.2.3):
diff --git a/src/sessionbutton.cpp b/src/sessionbutton.cpp
index 6467fe9..0a46ee6 100644
--- a/src/sessionbutton.cpp
+++ b/src/sessionbutton.cpp
@@ -219,6 +219,7 @@ SessionButton::SessionButton ( ONMainWindow* mw,QWidget 
*parent, QString id )
 icon->move(10,30);
 sessName->move(90,50);
 sessStatus->move(90,70);
+sessStatus->setMinimumWidth(220);
 setFixedHeight(120);
 }
 

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/x2goclient.git
___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [x2goclient] branch master updated (15f7c78 -> cc04f6f)

2020-05-14 Thread git-admin
This is an automated email from the git hooks/post-receive script.

x2go pushed a change to branch master
in repository x2goclient.

  from  15f7c78   Client can synchronize sessions with broker. Broker need 
to send syncinterval value in the client config section.
   new  cc04f6f   Set min width of session status label.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog  | 1 +
 src/sessionbutton.cpp | 1 +
 2 files changed, 2 insertions(+)

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/x2goclient.git
___
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] Build failed in Jenkins: x2goclient+nightly+debian-sid #656

2020-05-14 Thread jenkins
See 


Changes:

[o.shneyder] Set min width of session status label.


--
[...truncated 55.39 KB...]
Reading package lists...
W: copy:///<>/resolver-egiXFk/apt_archive/./Release.gpg: The key(s) 
in the keyring /etc/apt/trusted.gpg.d/sbuild-build-depends-archive.gpg are 
ignored as the file is not readable by user '_apt' executing apt-key.
W: GPG error: copy:/<>/resolver-egiXFk/apt_archive ./ Release: The 
following signatures couldn't be verified because the public key is not 
available: NO_PUBKEY 0747BE0A5F51BC55
Hit:1 http://packages.x2go.org/debian sid InRelease
Reading package lists...
W: http://packages.x2go.org/debian/dists/sid/InRelease: The key(s) in the 
keyring /etc/apt/trusted.gpg.d/sbuild-build-depends-archive.gpg are ignored as 
the file is not readable by user '_apt' executing apt-key.
Reading package lists...

Install core build dependencies (apt-based resolver)


Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
  fdisk
Use 'apt autoremove' to remove it.
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 856 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<>/resolver-egiXFk/apt_archive ./ 
sbuild-build-depends-core-dummy 0.invalid.0 [856 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 856 B in 0s (0 B/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 15489 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_amd64.deb 
...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...

+--+
| Check architectures  |
+--+

Arch check ok (amd64 included in any all)

+--+
| Install package build dependencies   |
+--+


Setup apt archive
-

Merged Build-Depends: debhelper (>= 7.0.50~), libqt4-dev, libldap2-dev, 
libssh-dev (>= 0.5.4-2~), libcups2-dev, libx11-dev, libxpm-dev, man2html-base | 
man2html, pkg-config
Filtered Build-Depends: debhelper (>= 7.0.50~), libqt4-dev, libldap2-dev, 
libssh-dev (>= 0.5.4-2~), libcups2-dev, libx11-dev, libxpm-dev, man2html-base | 
man2html, pkg-config
dpkg-deb: building package 'sbuild-build-depends-x2goclient-dummy' in 
'/<>/resolver-egiXFk/apt_archive/sbuild-build-depends-x2goclient-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy 
sbuild-build-depends-x2goclient-dummy
dpkg-scanpackages: info: Wrote 2 entries to output Packages file.
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<>/resolver-egiXFk/apt_archive ./ InRelease
Get:2 copy:/<>/resolver-egiXFk/apt_archive ./ Release [963 B]
Get:3 copy:/<>/resolver-egiXFk/apt_archive ./ Release.gpg [370 B]
Ign:3 copy:/<>/resolver-egiXFk/apt_archive ./ Release.gpg
Get:4 copy:/<>/resolver-egiXFk/apt_archive ./ Sources [558 B]
Get:5 copy:/<>/resolver-egiXFk/apt_archive ./ Packages [640 B]
Fetched 2531 B in 0s (21.7 kB/s)
Reading package lists...
W: copy:///<>/resolver-egiXFk/apt_archive/./Release.gpg: The key(s) 
in the keyring /etc/apt/trusted.gpg.d/sbuild-build-depends-archive.gpg are 
ignored as the file is not readable by user '_apt' executing apt-key.
W: GPG error: copy:/<>/resolver-egiXFk/apt_archive ./ Release: The 
following signatures couldn't be verified because the public key is not 
available: NO_PUBKEY 0747BE0A5F51BC55
Hit:1 http://packages.x2go.org/debian sid InRelease
Reading package lists...
W: http://packages.x2go.org/debian/dists/sid/InRelease: The key(s) in the 
keyring /etc/apt/trusted.gpg.d/sbuild-build-depends-archive.gpg are ignored as 
the file is not readable by user '_apt' executing apt-key.
Reading package lists...

Install x2goclient build dependencies (apt-based resolver)
--

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution