Installing surfraw on a gentoo-hardened, gcc, amd64 system leads to surfraw binary getting installed as textfile and not binary/executable. Reproducible: Always Steps to Reproduce: 1. emerge surfraw on vanilla gcc system 2. emerge surfraw on hardened gcc system compare results through `sr archwiki arm` Actual Results: hardened: ~ # sr archwiki /usr/bin/surfraw: line 487: https://wiki.archlinux.org/: No such file or directory vanilla: (it just works and opens a textbrowser/default $BROWSER)
Please provide emerge --info output and the full build.log Also the contents of the text file if possible
Created attachment 435200 [details] build.log build.log from /var/tmp/portage/www-client/surfraw-2.2.9-r1/temp$
Created attachment 435202 [details] emerge --info emerge --info as of 2016-05-24
Created attachment 435204 [details] surfraw content/file /usr/bin/surfraw
Created attachment 435206 [details] surfraw (vanilla gcc system) this is the surfraw from a vanilla gcc system.
Eh.... problem sits in front of the laptop: I haven't used surfraw in a while and I was ignorant to the lack of a .surfraw.conf on the problematic machine. Problem was solved with the creation of such a file and its content.
User created problem, not caused by hardened.
Though this should've just worked with the system defaults file, so there might be a problem. vanilla: niasterisk@greendragon ~ $ cat /etc/surfraw.conf cat: /etc/surfraw.conf: No such file or directory hardened: ng0@khazad-dum:~$ cat /etc/surfraw.conf cat: /etc/surfraw.conf: No such file or directory >>> Installing (1 of 1) www-client/surfraw-2.2.9-r1::gentoo * * You can get a list of installed elvi by just typing 'surfraw' or * * You can try some searches, for example: * $ sr ask why is jeeves gay? * $ sr google -results=100 RMS, GNU, which is sinner, which is sin? * $ sr rhyme -method=perfect Julian * * The system configuration file is /etc/surfraw.conf * * Users can specify preferences in '~/.surfraw.conf' e.g. * SURFRAW_graphical_browser=mozilla * SURFRAW_text_browser=w3m * SURFRAW_graphical=no * * surfraw works with any graphical and/or text WWW browser * The post-install message should be fixed then if no file is provided by gentoo anymore.