Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#73583 - [mold] package has clang as a makedepends, yet doesn't actually use clang to build it.

Attached to Project: Community Packages
Opened by Arya (ImperatorStorm) - Tuesday, 01 February 2022, 07:12 GMT
Last edited by George Rawlinson (rawlinsong) - Wednesday, 16 February 2022, 16:45 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To George Rawlinson (rawlinsong)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
the `mold` PKGBUILD has `clang` as a makedepends

Additional info:
All versions of mold
https://github.com/archlinux/svntogit-community/blob/packages/mold/trunk/PKGBUILD#L12

output of `readelf -p .comment /bin/mold` from archlinux package:

```
readelf -p .comment /bin/mold

String dump of section '.comment':
[ 0] GCC: (GNU) 11.1.0
```

output of citra compiled with clang(and mold), using same `readelf` command:

```
readelf -p .comment /bin/citra

String dump of section '.comment':
[ 0] mold 1.0.2 (6fb64656b92553ae47a9b058da8c93083be779d5; compatible with GNU ld)
[ 4e] clang version 13.0.0
[ 63] GCC: (GNU) 11.1.0
```

Steps to reproduce:
1. Attempt to build `mold` via https://github.com/archlinux/svntogit-community/blob/packages/mold/trunk/PKGBUILD
2. run `readelf -p .comment pkg/mold/usr/bin/mold`
3. notice that clang isn't mentioned in the `.comment` string dump.
This task depends upon

Closed by  George Rawlinson (rawlinsong)
Wednesday, 16 February 2022, 16:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  Pushed a commit to SVN. Since there are no user-facing changes, this will show up after the next release/bug-fix.

Thanks for the report. :)
Comment by Arya (ImperatorStorm) - Tuesday, 01 February 2022, 07:18 GMT
Just noticed I didn't finish writing the description.

Description:
the `mold` PKGBUILD has `clang` as a makedepends, yet doesn't appear to use it to either compile or test `mold`.
Comment by Arya (ImperatorStorm) - Tuesday, 01 February 2022, 07:21 GMT

Loading...