Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885731 - net-im/spectrum2-2.1.3 installs less files with clang stricter
Summary: net-im/spectrum2-2.1.3 installs less files with clang stricter
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Conrad Kostecki
URL:
Whiteboard: fixed in 2.2.0
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-12-13 08:11 UTC by Agostino Sarubbo
Modified: 2024-10-29 18:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-12-13 08:11:56 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-im/spectrum2-2.1.3 installs less files with clang stricter.
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

NOTE:
To reproduce this issue:
1) Install the package with CC=clang - CXX=clang++
2) Put the list of the installed files into a file ( qlist -e PACKAGE:SLOT | sort | uniq > /tmp/qlist1 )
3) Install the package with CC=clang - CXX=clang++ - CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types
4) Put the list of the installed files into a file ( qlist -e PACKAGE:SLOT | sort | uniq > /tmp/qlist2 )
5) See the diff between the two files ( diff -ru /tmp/qlist_1 /tmp/qlist_2 )

On this machine:
- the installed files with clang are 64
- the installed files with clang stricter are 63

This type of report comes from a check that is a bit outside of the tinderbox, that's the reason because build.log was not provided (however in cases like these the build.log doesn't help much) but if you need further help to diagnose this issue feel free to ask.

In any case I'm providing a diff.
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-13 08:12:16 UTC
DIFF:
--- /dev/fd/63  2022-12-13 08:17:15.081071576 +0100
+++ /dev/fd/62  2022-12-13 08:17:15.081071576 +0100
@@ -2,7 +2,6 @@
 /etc/spectrum2/backend-logging.cfg
 /etc/spectrum2/logging.cfg
 /etc/spectrum2/manager-logging.cfg
-/etc/spectrum2/spectrum_manager.cfg
 /etc/spectrum2/transports/spectrum.cfg.example
 /etc/spectrum2/transports/spectrum_server_mode.cfg.example
 /lib/systemd/system/spectrum2.service
Comment 2 Conrad Kostecki gentoo-dev 2023-01-01 11:34:40 UTC
oO This is really strange. I will have a look.
Comment 3 Conrad Kostecki gentoo-dev 2023-04-22 23:22:39 UTC
This is fixed with 2.2.0.