Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670584 - dev-libs/appstream-0.12.2 gcc 7.3.0-r3 build error undefined reference to `strlen'
Summary: dev-libs/appstream-0.12.2 gcc 7.3.0-r3 build error undefined reference to `st...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: gcc-7 670000
  Show dependency tree
 
Reported: 2018-11-07 12:45 UTC by Oruriz
Modified: 2018-11-17 18:39 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,37.18 KB, text/x-log)
2018-11-07 12:46 UTC, Oruriz
Details
Fix to build appstream-0.12.2 with gcc-7.3.0 (strlen-visibility.patch,450 bytes, patch)
2018-11-09 07:38 UTC, Felix Tiede
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oruriz 2018-11-07 12:45:11 UTC
Get crash updating kde-plasma

Fixed it by workaround from github issue:
https://github.com/ximion/appstream/issues/207



Reproducible: Always
Comment 1 Oruriz 2018-11-07 12:46:09 UTC
Created attachment 554338 [details]
build.log
Comment 2 Felix Tiede 2018-11-09 07:38:23 UTC
Created attachment 554585 [details, diff]
Fix to build appstream-0.12.2 with gcc-7.3.0

I can confirm this bug and the proposed solution for (temporarily) fixing it.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2018-11-17 08:07:08 UTC
This looks like it's included upstream in 0.12.3
Comment 4 Larry the Git Cow gentoo-dev 2018-11-17 18:39:40 UTC
The bug has been closed via the following commit(s):

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

commit 110872071b01b805f71afe6fdfb1bf0ac2c4f879
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-11-17 16:45:00 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-11-17 18:39:21 +0000

    dev-libs/appstream: Fix build with GCC-7.3.0
    
    Reported-by: Oruriz <oruriz@protonmail.com>
    Thanks-to: Felix Tiede <info@pc-tiede.de>
    Closes: https://bugs.gentoo.org/670584
    Package-Manager: Portage-2.3.51, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-libs/appstream/appstream-0.12.2.ebuild         |  2 ++
 .../appstream/files/appstream-0.12.2-gcc-7.3.patch | 24 ++++++++++++++++++++++
 2 files changed, 26 insertions(+)