#2646 closed defect (fixed)

glib cfg file is missing hash. Fails in release mode

Reported by: Joel Sherrill Owned by: Chris Johns
Priority: normal Milestone: 4.11.1
Component: tool/rsb Version: 4.10
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description (last modified by Joel Sherrill)

glib is missing the hash. Following patch should fix it. Found on master, likely impacts all branches.

diff --git a/bare/config/devel/glib-2.39.3-1.cfg b/bare/config/devel/glib-2.39.3-1.cfg
index 405e511..ab289db 100644
--- a/bare/config/devel/glib-2.39.3-1.cfg
+++ b/bare/config/devel/glib-2.39.3-1.cfg
@@ -11,6 +11,7 @@

%define glib_version_major 2.39
%define glib_version_minor 3
%define glib_version %{glib_version_major}.%{glib_version_minor}

+%hash md5 glib-%{glib_version}.tar.xz c8ddc045e12cfafdea607c138f3f8429

#
# The GLib build instructions. We use 2.x.x Release 1.

Change History (5)

comment:1 Changed on Mar 14, 2016 at 6:21:33 PM by Joel Sherrill

Description: modified (diff)

comment:2 Changed on Mar 14, 2016 at 6:25:39 PM by Joel Sherrill

Description: modified (diff)

comment:3 Changed on Mar 14, 2016 at 6:30:40 PM by Joel Sherrill

FWIW ... the build then failed because libffi-devel was missing. This is a cryptic error it would be best to avoid.

checking for LIBFFI... no
configure: error: in `/data/home/joel/rtems-class-201604/rtems-source-builder/bare/build/glib-2.39.3-x86_64-linux-gnu-1/build':
configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables LIBFFI_CFLAGS
and LIBFFI_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details
shell cmd failed: /bin/sh -ex /data/home/joel/rtems-class-201604/rtems-source-builder/bare/build/glib-2.39.3-x86_64-linux-gnu-1/doit

comment:4 Changed on Mar 16, 2016 at 6:26:02 AM by Chris Johns <chrisj@…>

Resolution: fixed
Status: newclosed

In 4ffa1d465e30f121b8afc62ad0cd782db92e5912/rtems-source-builder:

bare/devel/qemu: Add a hash for glib.

Closes #2646.

comment:5 Changed on Mar 16, 2016 at 6:26:17 AM by Chris Johns <chrisj@…>

In b4800869efd67ab22aa5806b3510645a0543d46c/rtems-source-builder:

bare/devel/qemu: Add a hash for glib.

Closes #2646.

Note: See TracTickets for help on using tickets.