Package Details: glib2-static 2.66.6-1

Git Clone URL: https://aur.archlinux.org/glib2-static.git (read-only, click to copy)
Package Base: glib2-static
Description: Low level core library: Static library
Upstream URL: https://wiki.gnome.org/Projects/GLib
Licenses: LGPL2.1
Submitter: sergej
Maintainer: nightuser
Last Packager: nightuser
Votes: 16
Popularity: 1.16
First Submitted: 2013-10-11 17:41
Last Updated: 2021-02-09 10:53

Latest Comments

1 2 3 4 5 Next › Last »

nightuser commented on 2021-01-07 18:07

@Skallwar: arch-meson enables LTO, and I don't think LLD works with GCC-produced code in this scenario.

Skallwar commented on 2021-01-07 10:27

I found the issue. My default linker is ld.lld not ld.bfd. For some reason this was causing trouble

Skallwar commented on 2021-01-02 11:42

Hi. Here is my error while compiling:

[1/1068] Linking target glib/tests/guuid
FAILED: glib/tests/guuid
cc  -o glib/tests/guuid glib/tests/guuid.p/guuid.c.o -flto -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -pie -march=native -O2 -pipe -fno-plt -Wno-unused-result -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,--start-group glib/libglib-2.0.a -lm -pthread /usr/lib/libpcre.so -Wl,--end-group
ld: error: undefined symbol: main

This does not happen when using meson instead of arch-meson

nightuser commented on 2020-12-01 14:54

@Libgxps: done.

Martchus commented on 2020-12-01 10:47

@Libgxps Changing the architecture to any would be wrong because any should only be used for arch-independent packages.

Libgxps commented on 2020-12-01 09:54

Please add the aarch64 architecture or change it to any. It builds quite nicely. Thank you for your support.

nightuser commented on 2020-09-22 18:19

@t0ssox: Just built a package in a pristine Docker container and all tests have passed. What is your locale?

manjaro have old version in repository and I thought it will fix my problem

The package is independent of glib2.

If you're still affected by the issue, report it to the upstream, please.

t0ssox commented on 2020-09-22 00:06

I got only one error in check with latest glib2 and old glib2 version (I changed glib2 to old version in PKGBUILD cuz my manjaro have old version in repository and I thought it will fix my problem)

Ok:                 268 
Expected Fail:      0   
Fail:               1   
Unexpected Pass:    0   
Skipped:            0   
Timeout:            0

The output from the failed tests:

125/269 glib:gio / contenttype                          FAIL           0.78s (killed by signal 6 SIGABRT)

--- command ---
23:48:55 G_TEST_SRCDIR='/home/antoni/Desktop/glib2-static/src/glib-2.64.5/gio/tests' GIO_MODULE_DIR='' G_TEST_BUILDDIR='/home/antoni/Desktop/glib2-static/src/_build/gio/tests' /home/antoni/Desktop/glib2-static/src/_build/gio/tests/contenttype
--- stdout ---
# random seed: R02Sd3bdbd0699d3c3f536e08e932e3d83d7
1..12
# Start of contenttype tests
ok 1 /contenttype/guess
ok 2 /contenttype/guess_svg_from_data
ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX
ok 4 /contenttype/unknown
ok 5 /contenttype/subtype
ok 6 /contenttype/list
ok 7 /contenttype/executable
ok 8 /contenttype/description
Bail out! GLib-GIO:ERROR:../glib-2.64.5/gio/tests/contenttype.c:264:test_icon: 'g_strv_contains (names, "x-office-document")' should be TRUE
--- stderr ---
**
GLib-GIO:ERROR:../glib-2.64.5/gio/tests/contenttype.c:264:test_icon: 'g_strv_contains (names, "x-office-document")' should be TRUE
-------

nightuser commented on 2020-06-26 10:17

@archolaf: I tried a clean build on a fresh arch installation and all tests passed. Did you report the issues upstream?

archolaf commented on 2020-06-14 12:10

If i try to build glib2-static 2.64.3-1, there are two errors in check():


==> Beginne check()...
ninja: Entering directory `/var/tmp/pamac-build-betriebssystem/glib2-static/src/_build'
ninja: no work to do.
  1/269 glib:glib / array-test                          OK             0.09s
  2/269 glib:glib / asyncqueue                          OK             0.47s
  3/269 glib:glib / atomic                              OK             0.13s
...
181/269 glib:gio / g-file-info-filesystem-readonly      OK             0.01s
182/269 glib:gio / gschema-compile                      OK             0.22s
183/269 glib:gio / trash                                FAIL           0.42s (killed by signal 6 SIGABRT)
184/269 glib:gio / gsocketclient-slow                   OK             1.27s
185/269 glib:gio / appinfo                              OK             0.07s
186/269 glib:gio / desktop-app-info                     OK             1.17s
...
205/269 glib:gio+slow / gdbus-threading                 OK             17.98s
206/269 glib:gio+slow / gmenumodel                      OK             5.09s
207/269 glib:gio / gnotification                        FAIL           1.49s (killed by signal 6 SIGABRT)
208/269 glib:gio / gdbus-test-codegen-old               OK             0.12s
209/269 glib:gio / gdbus-test-codegen-min-required-2-64 OK             0.13s
...
267/269 glib:glib / cxx-test                            OK             0.01s
268/269 glib:glib / timeloop                            OK             0.22s
269/269 glib:glib / iochannel-test                      OK             0.01s

Ok:                 267 
Expected Fail:      0   
Fail:               2   
Unexpected Pass:    0   
Skipped:            0   
Timeout:            0   


The output from the failed tests:

183/269 glib:gio / trash                                FAIL           0.42s (killed by signal 6 SIGABRT)

--- command ---
10:16:22 G_TEST_BUILDDIR='/var/tmp/pamac-build-betriebssystem/glib2-static/src/_build/gio/tests' G_TEST_SRCDIR='/var/tmp/pamac-build-betriebssystem/glib2-static/src/glib-2.64.3/gio/tests' GIO_MODULE_DIR='' /var/tmp/pamac-build-betriebssystem/glib2-static/src/_build/gio/tests/trash
--- stdout ---
# random seed: R02S6b89a9c70db273776cc354861efcf057
1..2
# Start of trash tests
# Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251
# GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
# File: /tmp/test-trashZYJJM0 (parent st_dev: 47)
# Home: /home/betriebssystem (st_dev: 2050)
# Mount: /tmp
Bail out! GLib-GIO:ERROR:../glib-2.64.3/gio/tests/trash.c:75:test_trash_not_supported: assertion failed (error == (g-io-error-quark, 15)): error is NULL
--- stderr ---
**
GLib-GIO:ERROR:../glib-2.64.3/gio/tests/trash.c:75:test_trash_not_supported: assertion failed (error == (g-io-error-quark, 15)): error is NULL
-------

207/269 glib:gio / gnotification                        FAIL           1.49s (killed by signal 6 SIGABRT)

--- command ---
10:16:29 G_TEST_BUILDDIR='/var/tmp/pamac-build-betriebssystem/glib2-static/src/_build/gio/tests' G_TEST_SRCDIR='/var/tmp/pamac-build-betriebssystem/glib2-static/src/glib-2.64.3/gio/tests' GIO_MODULE_DIR='' /var/tmp/pamac-build-betriebssystem/glib2-static/src/_build/gio/tests/gnotification
--- stdout ---
# random seed: R02S07e4e394b0180c27fc3fae2acfcea9ae
1..2
# Start of gnotification tests
# GLib-DEBUG: Launching with posix_spawn
Bail out! GLib-GIO:ERROR:../glib-2.64.3/gio/tests/gnotification.c:167:basic: assertion failed (received_count == 5): (0 == 5)
--- stderr ---
**
GLib-GIO:ERROR:../glib-2.64.3/gio/tests/gnotification.c:167:basic: assertion failed (received_count == 5): (0 == 5)
cleaning up pid 246453
-------

Full log written to /var/tmp/pamac-build-betriebssystem/glib2-static/src/_build/meson-logs/testlog.txt
==> FEHLER: Ein Fehler geschah in check().
    Breche ab...