Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 741939 - sys-apps/unscd-0.53 fails to compile
Summary: sys-apps/unscd-0.53 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2020-09-12 18:41 UTC by Agostino Sarubbo
Modified: 2020-10-06 06:47 UTC (History)
0 users

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


Attachments
build.log (build.log,6.36 KB, text/plain)
2020-09-12 18:41 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-09-12 18:41:34 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-apps/unscd-0.53 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004.
This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-09-12 18:41:36 UTC
Created attachment 659844 [details]
build.log

build log and emerge --info
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2020-09-12 19:09:16 UTC
Probably clang does not support this gcc extension:

"""
unscd.c:2447:9: error: fields must have a constant size: 'variable length array
      in structure' extension will never be supported
                        char arg[arg_len];
                             ^
"""
Comment 3 Larry the Git Cow gentoo-dev 2020-10-06 06:47:35 UTC
The bug has been closed via the following commit(s):

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

commit 6d76237061a1b8a957ff9176f3dd2912b79b4827
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-10-06 06:46:31 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-10-06 06:47:31 +0000

    sys-apps/unscd: bump up to 0.54 (re-release)
    
    Re-release has support for clang.
    
    Reported-by: Agostino Sarubbo
    Closes: https://bugs.gentoo.org/741939
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-apps/unscd/Manifest             |  1 +
 sys-apps/unscd/unscd-0.54-r1.ebuild | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)