x11-misc/xdialog-2.3.1:20081211-104458.log: * QA Notice: Pre-stripped files found:
x11-misc/xdialog-2.3.1:20081211-104458.log: * /var/tmp/portage/x11-misc/xdialog-2.3.1/image/usr/bin/Xdialog
Portage warns about pre-stripped files being installed into the image directory; this is a bad thing since it makes Portage's splitdebug feature useless, and it stops the users and the developers from looking into backtraces with full debug information available.
For the developers going to look into it, what you have to look out for, to
find what is stripping the files, is one of these conditions:
- explicit "strip" command run on the produced files;
- "install -s" command to install the binary files;
- "-Wl,-s" flag passed during linking
Remove the "strip" commands, remove the "-s" option at install, and remove
"-Wl,-s" and the problem should be gone.
Created attachment 178803 [details, diff]
Patch to configure.in to remove block that adds '-s' to CFLAGS
The build system contains a check in configure.in that examines CFLAGS and, if -s is not present, adds it. This patch drops the check and associated assignment. The ebuild will need to regenerate configure after applying this patch or apply a corresponding patch to configure. In version 2.3.1, the copy of the CFLAGS check starts at line 8271 in configure.
Fixed, I've modified configure.in to recognize only GTK+2 as GTK+1 crap caused errors.