libgfbgraph issueshttps://gitlab.gnome.org/GNOME/libgfbgraph/-/issues2021-10-15T12:35:23Zhttps://gitlab.gnome.org/GNOME/libgfbgraph/-/issues/90.2.4: test suite is failng2021-10-15T12:35:23ZTomasz Kłoczko0.2.4: test suite is failng```
+ cd gfbgraph-0.2.4
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 check
Making check in gfbgraph
make[1]: Nothing to be done for 'check'.
Making check in docs
Making check in reference
make[2]: Nothing to be done for 'check-am'.
Making check...```
+ cd gfbgraph-0.2.4
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 check
Making check in gfbgraph
make[1]: Nothing to be done for 'check'.
Making check in docs
Making check in reference
make[2]: Nothing to be done for 'check-am'.
Making check in tests
/usr/bin/make check-TESTS
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/gfbgraph-0.2.4/tests'
PASS: autoptr
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/gfbgraph-0.2.4/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/gfbgraph-0.2.4/tests'
../test-driver: line 107: 1002976 Aborted (core dumped) "$@" > $log_file 2>&1
FAIL: gtestutils
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/gfbgraph-0.2.4/tests'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/gfbgraph-0.2.4/tests'
==========================================
gfbgraph 0.2.4: tests/test-suite.log
==========================================
# TOTAL: 2
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: gtestutils
================
# random seed: R02Sb9cc8ba4fc35692dd4da97e713e8e4ce
**
ERROR:gtestutils.c:75:gfbgraph_test_app_setup: assertion failed (error == NULL): No such file or directory (g-file-error-quark, 4)
Bail out! ERROR:gtestutils.c:75:gfbgraph_test_app_setup: assertion failed (error == NULL): No such file or directory (g-file-error-quark, 4)
FAIL gtestutils (exit status: 134)
============================================================================
Testsuite summary for gfbgraph 0.2.4
============================================================================
# TOTAL: 2
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to https://bugzilla.gnome.org/enter_bug.cgi?product=gfbgraph
============================================================================
make[3]: *** [Makefile:698: test-suite.log] Error 1
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/gfbgraph-0.2.4/tests'
make[2]: *** [Makefile:806: check-TESTS] Error 2
make[1]: *** [Makefile:886: check-am] Error 2
make: *** [Makefile:488: check-recursive] Error 1
```
```
[tkloczko@barrel SPECS]$ coredumpctl gdb 1002976
PID: 1002976 (lt-gtestutils)
UID: 1000 (tkloczko)
GID: 1000 (tkloczko)
Signal: 6 (ABRT)
Timestamp: Sun 2021-03-14 06:58:11 GMT (2min 59s ago)
Command Line: /home/tkloczko/rpmbuild/BUILD/gfbgraph-0.2.4/tests/.libs/lt-gtestutils
Executable: /home/tkloczko/rpmbuild/BUILD/gfbgraph-0.2.4/tests/.libs/lt-gtestutils
Control Group: /user.slice/user-1000.slice/session-5.scope
Unit: session-5.scope
Slice: user-1000.slice
Session: 5
Owner UID: 1000 (tkloczko)
Boot ID: cfd9f1bf7ff54318b8b639abab38ccb6
Machine ID: d033f66b249a4ec09acfa81ac205554f
Hostname: barrel
Storage: /var/lib/systemd/coredump/core.lt-gtestutils.1000.cfd9f1bf7ff54318b8b639abab38ccb6.1002976.1615705091000000.zst
Message: Process 1002976 (lt-gtestutils) of user 1000 dumped core.
Stack trace of thread 1002976:
#0 0x00007f8e3c08a292 raise (libc.so.6 + 0x3d292)
#1 0x00007f8e3c0738a4 abort (libc.so.6 + 0x268a4)
#2 0x00007f8e3c23ab96 g_assertion_message (libglib-2.0.so.0 + 0x1eb96)
#3 0x00007f8e3c29f8a6 g_assertion_message_error (libglib-2.0.so.0 + 0x838a6)
#4 0x000056496598b708 n/a (/home/tkloczko/rpmbuild/BUILD/gfbgraph-0.2.4/tests/.libs/lt-gtestutils + 0x2708)
GNU gdb (GDB) Fedora 9.0.50.20191119-2.fc32
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/tkloczko/rpmbuild/BUILD/gfbgraph-0.2.4/tests/.libs/lt-gtestutils...
[New LWP 1002976]
Warning: couldn't activate thread debugging using libthread_db: Cannot find new threads: generic error
warning: File "/usr/lib64/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path /usr/lib64/libthread_db-1.0.so
line to your configuration file "/home/tkloczko/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/home/tkloczko/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
warning: Error querying the rpm file `/lib64/libcrypto.so.1.1': openssl-1.1.1j-2.fc35.nosrc.rpm-debuginfo.x86_64
Missing separate debuginfo for /lib64/libcrypto.so.1.1
Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/91/283d5770f65782384a8bdbe7164eb50bca4173.debug
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/home/tkloczko/rpmbuild/BUILD/gfbgraph-0.2.4/tests/.libs/lt-gtestutils'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f8e3c08a292 in raise () from /lib64/libc.so.6
glibc-2.33.9000-1.fc35.x86_64 gnome-online-accounts-3.38.0-2.fc34.x86_64 json-glib-1.6.2-2.fc34.x86_64 keyutils-libs-1.6.3-2.1.fc34.x86_64 krb5-libs-1.19.1-4.fc35.x86_64 libblkid-2.36.2-4.fc35.x86_64 libbrotli-1.0.9-4.1.fc34.x86_64 libcom_err-1.46.2-2.fc35.x86_64 libffi-3.2.1-2.3.fc32.x86_64 libgcc-11.0.0-0.19.fc35.x86_64 libicu-68.2-2.fc34.x86_64 libmount-2.36.2-4.fc35.x86_64 libpsl-0.21.1-3.2.fc34.x86_64 libselinux-3.2-2.fc35.x86_64 libsoup-2.72.0-6.fc35.x86_64 libstdc++-11.0.0-0.19.fc35.x86_64 libxml2-2.9.10-10.fc35.x86_64 pcre-8.44-4.fc34.x86_64 pcre2-10.36-5.fc35.x86_64 rest-0.8.1-9.fc34.x86_64 sqlite-libs-3.34.1-3.fc34.x86_64 zlib-1.2.11-26.fc35.x86_64
(gdb) br full
Missing separate debuginfos, use: dnf debuginfo-installFunction "full" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (full) pending.
(gdb) bt full
#0 0x00007f8e3c08a292 in raise () at /lib64/libc.so.6
#1 0x00007f8e3c0738a4 in abort () at /lib64/libc.so.6
#2 0x00007f8e3c23ab96 in g_assertion_message
(domain=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, file=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, line=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, func=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, message=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>) at ../glib/gtestutils.c:3052
lstr = "75\000fIV\000\000\021\000\000\000\000\000\000\000\064^,<\216\177\000\000\200R\"fIV\000"
Python Exception <class 'gdb.error'> dwarf2_find_location_expression: Corrupted DWARF expression.:
#3 0x00007f8e3c29f8a6 in g_assertion_message_error
(domain=0x0, file=0x56496598d095 "gtestutils.c", line=75, func=0x56496598d1e0 <__func__.3> "gfbgraph_test_app_setup", expr=0x56496598d08f "error", error=0x564966220940, error_domain=0, error_code=0) at ../glib/gtestutils.c:3192
gstring = 0x564966225280
#4 0x000056496598b708 in gfbgraph_test_app_setup () at /home/tkloczko/rpmbuild/BUILD/gfbgraph-0.2.4/tests/gtestutils.c:75
rest_call = <optimized out>
jreader = 0x0
Python Exception <class 'gdb.error'> dwarf2_find_location_expression: Corrupted DWARF expression.:
#5 main
(argc=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>, argv=<error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression.>) at /home/tkloczko/rpmbuild/BUILD/gfbgraph-0.2.4/tests/gtestutils.c:251
app = 0x0
test_result = <optimized out>
(gdb)
```
BTW do you have any plans to make new release?https://gitlab.gnome.org/GNOME/libgfbgraph/-/issues/8Decouple GOA dependency2020-05-31T11:31:19ZLeesoo Ahnlsahn@ooseel.netDecouple GOA dependencyGOA API is required to compile/install this library by GOA authorizer class. But in some cases, the class isn't necessary. For instance, if developers build up their own authorization system.
It is better to decouple the dependency and ...GOA API is required to compile/install this library by GOA authorizer class. But in some cases, the class isn't necessary. For instance, if developers build up their own authorization system.
It is better to decouple the dependency and become an option.Release v0.3.2Leesoo Ahnlsahn@ooseel.netLeesoo Ahnlsahn@ooseel.nethttps://gitlab.gnome.org/GNOME/libgfbgraph/-/issues/5Port to meson2020-05-31T11:17:31ZLeesoo Ahnlsahn@ooseel.netPort to mesonI made an example of meson prototype in branch, `wip/mnth/port-to-meson`.
Anyone can take a look at it as an entry point for getting started this issue.
See https://gitlab.gnome.org/GNOME/libgfbgraph/commit/fc41aa9dc050b34dcb59baeb5a300...I made an example of meson prototype in branch, `wip/mnth/port-to-meson`.
Anyone can take a look at it as an entry point for getting started this issue.
See https://gitlab.gnome.org/GNOME/libgfbgraph/commit/fc41aa9dc050b34dcb59baeb5a300125e62574faRelease v0.3.2https://gitlab.gnome.org/GNOME/libgfbgraph/-/issues/4Fix memory leaks for tests2019-10-20T03:58:56ZLeesoo Ahnlsahn@ooseel.netFix memory leaks for testsCurrently, gtestutils has memory leaks.
g_auto* might be a solution for it.Currently, gtestutils has memory leaks.
g_auto* might be a solution for it.https://gitlab.gnome.org/GNOME/libgfbgraph/-/issues/3Fix memory leaks for the library2020-05-08T15:15:32ZLeesoo Ahnlsahn@ooseel.netFix memory leaks for the libraryWe still have memory leak issues in some parts of code.We still have memory leak issues in some parts of code.https://gitlab.gnome.org/GNOME/libgfbgraph/-/issues/1Brand new unit tests2019-05-19T02:00:54ZLeesoo Ahnlsahn@ooseel.netBrand new unit testsThe current implementation has a few unit tests, this is not good for the project.
Here are some links to inspire you,
- https://developers.facebook.com
- https://developers.facebook.com/docs/graph-api/
The library is still in an early...The current implementation has a few unit tests, this is not good for the project.
Here are some links to inspire you,
- https://developers.facebook.com
- https://developers.facebook.com/docs/graph-api/
The library is still in an early stage of development, so that you may meet some bugs while branding/testing.https://gitlab.gnome.org/GNOME/libgfbgraph/-/issues/16Support autocleanups for all exported types2021-05-17T13:28:41ZAdministratorSupport autocleanups for all exported types## Submitted by Ekta Nandwani `@ekta`
**[Link to original bug (#790237)](https://bugzilla.gnome.org/show_bug.cgi?id=790237)**
## Description
Having autocleanup definitions for all exported types will benefit API users already using ...## Submitted by Ekta Nandwani `@ekta`
**[Link to original bug (#790237)](https://bugzilla.gnome.org/show_bug.cgi?id=790237)**
## Description
Having autocleanup definitions for all exported types will benefit API users already using g_auto*.
### Blocking
* [Bug 788174](https://bugzilla.gnome.org/show_bug.cgi?id=788174)https://gitlab.gnome.org/GNOME/libgfbgraph/-/issues/15Add photo upload support for Facebook2021-05-17T13:28:19ZAdministratorAdd photo upload support for Facebook## Submitted by Umang Jain `@uajain`
**[Link to original bug (#776098)](https://bugzilla.gnome.org/show_bug.cgi?id=776098)**
## Description
Add photo upload support for Facebook
Version: 0.2.x
### Blocking
* [Bug 766031](https:...## Submitted by Umang Jain `@uajain`
**[Link to original bug (#776098)](https://bugzilla.gnome.org/show_bug.cgi?id=776098)**
## Description
Add photo upload support for Facebook
Version: 0.2.x
### Blocking
* [Bug 766031](https://bugzilla.gnome.org/show_bug.cgi?id=766031)https://gitlab.gnome.org/GNOME/libgfbgraph/-/issues/14Replace deprecated g_simple_async-* code with GTask2021-05-17T13:28:13ZAdministratorReplace deprecated g_simple_async-* code with GTask## Submitted by Krzesimir Nowak `@krnowak`
**[Link to original bug (#772245)](https://bugzilla.gnome.org/show_bug.cgi?id=772245)**
## Description
Subject says it all.## Submitted by Krzesimir Nowak `@krnowak`
**[Link to original bug (#772245)](https://bugzilla.gnome.org/show_bug.cgi?id=772245)**
## Description
Subject says it all.https://gitlab.gnome.org/GNOME/libgfbgraph/-/issues/13Add a function for getting picture (avatar)2021-05-17T13:28:04ZAdministratorAdd a function for getting picture (avatar)## Submitted by Krzesimir Nowak `@krnowak`
**[Link to original bug (#772242)](https://bugzilla.gnome.org/show_bug.cgi?id=772242)**
## Description
Created attachment 336624
Adds the first version of user's pictures getters
This adds...## Submitted by Krzesimir Nowak `@krnowak`
**[Link to original bug (#772242)](https://bugzilla.gnome.org/show_bug.cgi?id=772242)**
## Description
Created attachment 336624
Adds the first version of user's pictures getters
This adds functions for getting user's avatar. The function basically returns GBytes, so the actual interpretation is left to the user. The contents are usually some JPEG or PNG data.
For that I had to modify the build system to add the generation of functions that register the enum type.
**Patch 336624**, "Adds the first version of user's pictures getters":
[0001-user-Add-getters-for-user-s-picture-avatar.patch](/uploads/6489166aa849ea86a39df1951ad6c179/0001-user-Add-getters-for-user-s-picture-avatar.patch)https://gitlab.gnome.org/GNOME/libgfbgraph/-/issues/12Add a function for getting friends2021-05-17T13:27:57ZAdministratorAdd a function for getting friends## Submitted by Krzesimir Nowak `@krnowak`
**[Link to original bug (#772241)](https://bugzilla.gnome.org/show_bug.cgi?id=772241)**
## Description
Created attachment 336623
Add friends getters
The following patch adds functions for ...## Submitted by Krzesimir Nowak `@krnowak`
**[Link to original bug (#772241)](https://bugzilla.gnome.org/show_bug.cgi?id=772241)**
## Description
Created attachment 336623
Add friends getters
The following patch adds functions for retrieving the list of friends. While it may not be as useful as it used to be (it returns only a list of friends that use the same app) it still may be handy.
**Patch 336623**, "Add friends getters":
[0001-user-Add-getters-for-user-s-friends.patch](/uploads/4dbc22687c8e1d49d9173dd2ade36005/0001-user-Add-getters-for-user-s-friends.patch)https://gitlab.gnome.org/GNOME/libgfbgraph/-/issues/11Warn when fetching albums fails due to missing permissions2021-05-17T13:27:51ZAdministratorWarn when fetching albums fails due to missing permissions## Submitted by Sam Thursfield
**[Link to original bug (#770829)](https://bugzilla.gnome.org/show_bug.cgi?id=770829)**
## Description
I spent a while debugging why GFBGraph returned none of my Facebook photo albums.
It turns out th...## Submitted by Sam Thursfield
**[Link to original bug (#770829)](https://bugzilla.gnome.org/show_bug.cgi?id=770829)**
## Description
I spent a while debugging why GFBGraph returned none of my Facebook photo albums.
It turns out that the auth token I was using doesn't have the user_photos permission. It would be nice if I'd received an error from GFBGraph to save me spending lots of time investigating what was wrong.https://gitlab.gnome.org/GNOME/libgfbgraph/-/issues/10gfbgraph installs docs in obsolete /usr/doc path2021-05-17T13:27:44ZAdministratorgfbgraph installs docs in obsolete /usr/doc path## Submitted by Pacho Ramos `@pachoramos1`
**[Link to original bug (#752581)](https://bugzilla.gnome.org/show_bug.cgi?id=752581)**
## Description
When compiling gfbgraph we notice that it installs files under /usr/doc location inste...## Submitted by Pacho Ramos `@pachoramos1`
**[Link to original bug (#752581)](https://bugzilla.gnome.org/show_bug.cgi?id=752581)**
## Description
When compiling gfbgraph we notice that it installs files under /usr/doc location instead of respecting configure options:
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 --docdir=/usr/share/doc/libgfbgraph-0.2.3 --disable-gtk-doc --disable-static
>>> /usr/doc/libgfbgraph/
>>> /usr/doc/libgfbgraph/README
>>> /usr/doc/libgfbgraph/COPYING
>>> /usr/doc/libgfbgraph/AUTHORS
>>> /usr/doc/libgfbgraph/ChangeLog
>>> /usr/doc/libgfbgraph/INSTALL
>>> /usr/doc/libgfbgraph/NEWS
Thanks for fixing this
Version: 0.2.x