Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 785454 - dev-util/gnome-builder-3.40.0: error: implicit declaration of function ‘g_memdup2’
Summary: dev-util/gnome-builder-3.40.0: error: implicit declaration of function ‘g_mem...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://gitlab.gnome.org/GNOME/gnome-...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-04-24 21:17 UTC by Dmitriy Baranov
Modified: 2021-04-29 01:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build1.log,909.49 KB, text/plain)
2021-04-24 21:21 UTC, Dmitriy Baranov
Details
emerge --info (einfo.txt,5.90 KB, text/plain)
2021-04-24 21:22 UTC, Dmitriy Baranov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitriy Baranov 2021-04-24 21:17:33 UTC
../gnome-builder-3.40.0/src/plugins/dspy/libdspy/dspy-names-model.c: In function ‘dspy_names_model_init_async’:
../gnome-builder-3.40.0/src/plugins/dspy/libdspy/dspy-names-model.c:388:31: error: implicit declaration of function ‘g_memdup2’; did you mean ‘g_memdup’? [-Werror=implicit-function-declaration]
  388 |   g_task_set_task_data (task, g_memdup2 (&n_active, sizeof n_active), g_free);
      |                               ^~~~~~~~~
      |                               g_memdup
../gnome-builder-3.40.0/src/plugins/dspy/libdspy/dspy-names-model.c:388:31: warning: nested extern declaration of ‘g_memdup2’ [-Wnested-externs]
../gnome-builder-3.40.0/src/plugins/dspy/libdspy/dspy-names-model.c:388:31: error: passing argument 2 of ‘g_task_set_task_data’ makes pointer from integer without a cast [-Werror=int-conversion]
  388 |   g_task_set_task_data (task, g_memdup2 (&n_active, sizeof n_active), g_free);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                               |
      |                               int


Reproducible: Always
Comment 1 Dmitriy Baranov 2021-04-24 21:21:42 UTC
Created attachment 702264 [details]
build.log
Comment 2 Dmitriy Baranov 2021-04-24 21:22:04 UTC
Created attachment 702267 [details]
emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2021-04-29 01:02:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcecc2e44f43b99fa7ad51e0cae1a54a45734184

commit bcecc2e44f43b99fa7ad51e0cae1a54a45734184
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2021-04-29 01:02:17 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-04-29 01:02:40 +0000

    dev-util/gnome-builder: Raise glib dependency
    
    Closes: https://bugs.gentoo.org/785454
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-util/gnome-builder/gnome-builder-3.40.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)