[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#963833: marked as done (dh_auto_build: libglib update breaks build (GParameters))



Your message dated Tue, 01 Dec 2020 05:52:53 +0000
with message-id <E1kjyar-0002qQ-Pu@fasolo.debian.org>
and subject line Bug#963833: fixed in cjs 4.8.0-1
has caused the Debian Bug report #963833,
regarding dh_auto_build: libglib update breaks build (GParameters)
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 owner@bugs.debian.org
immediately.)


-- 
963833: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963833
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cjs
Version: 4.4.0-4
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Building on: Ubuntu Focal 20.04. Also applies on unstable branch 20.10 Groovy

It looks like there is a new update in libglib2.0, or a new update that
breaks/deprecates GParamaters.

This may be because -Werror is still applied in the compilation-therefore this
could be overwritten by removing it but I don't think it's a smart choice.

I compiled upstream and it went flawlessly. I didn't look through anything to
see if they removed -Werror as a whole but it still exists in configure.ac

Tomorrow I will probably do deeper comparisons and see if a .patch is needed to
fit with someone missing from upstream.

For now, here is the output of dh_auto_build:

libtool: compile:  g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -DG_LOG_DOMAIN=\"Cjs\"
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread
-include /usr/include/mozjs-52/js/RequiredDefines.h -I/usr/include/gobject-
introspection-1.0 -I/usr/include/libmount -I/usr/include/blkid
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/mozjs-52 -DGJS_TOP_SRCDIR=\".\" -DGJS_TOP_BUILDDIR=\".\"
-DGJS_JS_DIR=\"/usr/share/cjs-1.0\" -DPKGLIBDIR=\"/usr/lib/x86_64-linux-
gnu/cjs\" -I./gi -DGJS_COMPILATION -pthread -I/usr/include/gtk-3.0
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
-I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include
-I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1
-I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-
time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-
strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-
parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-
nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline
-Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-
include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wno-
overloaded-virtual -Wswitch-enum -Wswitch-default -Werror -Wno-suggest-
attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-
initializers -Wno-error=overloaded-virtual -g -O2 -fdebug-prefix-
map=/home/jpeisach/Desktop/cjs-4.6.0=. -fstack-protector-strong -Wformat
-Werror=format-security -c gi/object.cpp  -fPIC -DPIC -o gi/.libs/libcjs_la-
object.o

gi/object.cpp:246:56: error: ‘GParameter’ is deprecated [-Werror=deprecated-
declarations]
  246 |                            bool            constructing)
      |                                                        ^
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from gi/object.h:29,
                 from gi/object.cpp:34:
/usr/include/glib-2.0/gobject/gparam.h:194:28: note: declared here
  194 | typedef struct _GParameter GParameter GLIB_DEPRECATED_TYPE_IN_2_54;
      |                            ^~~~~~~~~~
gi/object.cpp: In function ‘bool set_g_param_from_prop(JSContext*,
ObjectInstance*, const char*, bool&, JS::HandleValue, JS::ObjectOpResult&)’:
gi/object.cpp:487:16: error: ‘GParameter’ is deprecated [-Werror=deprecated-
declarations]
  487 |     GParameter param = { NULL, { 0, }};
      |                ^~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from gi/object.h:29,
                 from gi/object.cpp:34:
/usr/include/glib-2.0/gobject/gparam.h:194:28: note: declared here
  194 | typedef struct _GParameter GParameter GLIB_DEPRECATED_TYPE_IN_2_54;
      |                            ^~~~~~~~~~
gi/object.cpp: At global scope:
gi/object.cpp:963:51: error: ‘GParameter’ is deprecated [-Werror=deprecated-
declarations]
  963 |                                       std::vector<GParameter>&
gparams)
      |                                                   ^~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from gi/object.h:29,
                 from gi/object.cpp:34:
/usr/include/glib-2.0/gobject/gparam.h:194:28: note: declared here
  194 | typedef struct _GParameter GParameter GLIB_DEPRECATED_TYPE_IN_2_54;
      |                            ^~~~~~~~~~
gi/object.cpp: In function ‘bool
object_instance_props_to_g_parameters(JSContext*, JSObject*, const
JS::HandleValueArray&, GType, std::vector<_GParameter>&)’:
gi/object.cpp:986:20: error: ‘GParameter’ is deprecated [-Werror=deprecated-
declarations]
  986 |         GParameter gparam = { NULL, { 0, }};
      |                    ^~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from gi/object.h:29,
                 from gi/object.cpp:34:
/usr/include/glib-2.0/gobject/gparam.h:194:28: note: declared here
  194 | typedef struct _GParameter GParameter GLIB_DEPRECATED_TYPE_IN_2_54;
      |                            ^~~~~~~~~~
gi/object.cpp: At global scope:
gi/object.cpp:1473:28: error: ‘GParameter’ is deprecated [-Werror=deprecated-
declarations]
 1473 | clear_g_params(std::vector<GParameter>& params)
      |                            ^~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from gi/object.h:29,
                 from gi/object.cpp:34:
/usr/include/glib-2.0/gobject/gparam.h:194:28: note: declared here
  194 | typedef struct _GParameter GParameter GLIB_DEPRECATED_TYPE_IN_2_54;
      |                            ^~~~~~~~~~
gi/object.cpp: In function ‘void clear_g_params(std::vector<_GParameter>&)’:
gi/object.cpp:1475:21: error: ‘GParameter’ is deprecated [-Werror=deprecated-
declarations]
 1475 |     for (GParameter param : params)
      |                     ^~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from gi/object.h:29,
                 from gi/object.cpp:34:
/usr/include/glib-2.0/gobject/gparam.h:194:28: note: declared here
  194 | typedef struct _GParameter GParameter GLIB_DEPRECATED_TYPE_IN_2_54;
      |                            ^~~~~~~~~~
gi/object.cpp: In function ‘bool object_instance_init(JSContext*,
JS::MutableHandleObject, const JS::HandleValueArray&)’:
gi/object.cpp:1486:17: error: ‘GParameter’ is deprecated [-Werror=deprecated-
declarations]
 1486 |     std::vector<GParameter> params;
      |                 ^~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from gi/object.h:29,
                 from gi/object.cpp:34:
/usr/include/glib-2.0/gobject/gparam.h:194:28: note: declared here
  194 | typedef struct _GParameter GParameter GLIB_DEPRECATED_TYPE_IN_2_54;
      |                            ^~~~~~~~~~
cc1plus: all warnings being treated as errors
make[1]: *** [Makefile:2341: gi/libcjs_la-object.lo] Error 1
make[1]: Leaving directory '/home/jpeisach/Desktop/cjs-4.6.0'
make: *** [Makefile:1467: all] Error 2
dh_auto_build: error: make -j1 returned exit code 2

That is Salsa Debian Unstable's build. Linux Mint still will show it builds
with -Werror

I don't know if Debian is ahead/behind of anything of Ubuntu or whatnot but I'm
just a bit confused here and I think something may be missing.

-Josh Peisach



-- System Information:
Debian Release: bullseye/sid
  APT prefers focal-updates
  APT policy: (500, 'focal-updates'), (500, 'focal-security'), (500, 'focal'), (100, 'focal-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-37-generic (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cjs depends on:
ii  libc6         2.31-0ubuntu9
ii  libcjs0       4.4.0-4
ii  libglib2.0-0  2.64.2-1~fakesync1
ii  libstdc++6    10-20200411-0ubuntu1

cjs recommends no packages.

cjs suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: cjs
Source-Version: 4.8.0-1
Done: Norbert Preining <norbert@preining.info>

We believe that the bug you reported is fixed in the latest version of
cjs, 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 963833@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Norbert Preining <norbert@preining.info> (supplier of updated cjs 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 01 Dec 2020 10:32:16 +0900
Source: cjs
Architecture: source
Version: 4.8.0-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Cinnamon Team <debian-cinnamon@lists.debian.org>
Changed-By: Norbert Preining <norbert@preining.info>
Closes: 963833 975849
Changes:
 cjs (4.8.0-1) experimental; urgency=medium
 .
   * New upstream version 4.8.0 (Closes: #963833, #975849)
   * remove mozjs patch, included upstream
   * Use meson option instead of d/not-installed.
   * Bump inter-cinnamon deps to 4.8
Checksums-Sha1:
 ddd02673eddefffe1a8bb5dd89265aab0450a9c7 2087 cjs_4.8.0-1.dsc
 677869641a81e06e9439422c78b94964c4c57a37 599974 cjs_4.8.0.orig.tar.gz
 451959de68c2091a6e398a669ef560b26d8730a4 8336 cjs_4.8.0-1.debian.tar.xz
 ce8451437edfbf337461a69ef7aba0e8ca5258f8 15198 cjs_4.8.0-1_source.buildinfo
Checksums-Sha256:
 0368cd9af56be0ebd8a899625e291871001ee7b9251599b2195278fedf495e18 2087 cjs_4.8.0-1.dsc
 6f07defa6b21efcc4332ba46f286ed303a05af8805d47a9ff4bfa40cdf45b40b 599974 cjs_4.8.0.orig.tar.gz
 ec1d40cebae9fe9cde72a8afd493cb1e5ea7271d2a5d4195ed6f23f03fb9eae5 8336 cjs_4.8.0-1.debian.tar.xz
 615df2595cbd4d7db06a630289385fb6581a6badc5e6482567136f22bc311f1e 15198 cjs_4.8.0-1_source.buildinfo
Files:
 58a492b525759486279a4d8956d60f23 2087 interpreters optional cjs_4.8.0-1.dsc
 ccb09542f9a8437d1c1f133514c2623a 599974 interpreters optional cjs_4.8.0.orig.tar.gz
 a3076a3d8cc8762ed1d34fe3831cf15c 8336 interpreters optional cjs_4.8.0-1.debian.tar.xz
 1e1da89c67e5cf0894446dc2d795376e 15198 interpreters optional cjs_4.8.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE68ws0vrA2voQX53I2A4JsIcUAGYFAl/FncAACgkQ2A4JsIcU
AGY36QgAusSYzYorPco83yVCXI0Yu870+YJQYjYuPtXC4N4sTIQ1kGCtIRTFVtmX
79OEtlLhxnlZTFc/v6EILi84orMAHcbxyFCoKkG3OaJoPxYdTtMw/7AB2bSoW82Z
kPxNyJLmo/FC/cOZjnxTDcs9Tc2+QCajKfb6J/z9aV9Dzr2a0km/9YVyQqV460t3
J2PcQlcJiuxzbYUQGCgYKHMFkblpXdN4LB/a6TSfa0ppl+BQHHdewKZ5FgVE9ei8
yvDfodvgsZOIVd/KwQiYw4zoVmCGS8h3enYVsyOeWtUn2bjdLsg3Rq3ICXFvnJWQ
0L59alK2/EgoJtZYquvmodM+NId9NA==
=xWhI
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: