Problem with slackrepo and f3
I cannot get the experimental version of f3 to build correctly with slackrepo. My f3.hint file:
Code:
cat /etc/slackrepo/SBo/hintfiles/f3.hint It does build correctly manually Code:
wget -c https://slackbuilds.org/slackbuilds/14.2/system/f3.tar.gz |
That's not how hintfiles work. You can't just dump random stuff in them.
EXPERIMENTAL=YES is a SlackBuild option, so the correct hint would be OPTIONS="EXPERIMENTAL=YES". What you are trying to do with CFLAGS is not supported. The "right thing", assuming this is needed for -current, would be to apply that fix to the SlackBuild in a temporary git branch and pass it upstream to ponce. Edit: I've just had a chance to test build it with a hint OPTIONS="EXPERIMENTAL=YES" as above, and it builds ok like that on 14.2, it doesn't need CFLAGS to be set. |
Quote:
I tested it and it seems to work OK with just the SlackBuild option. |
Quote:
Are you by any chance using a custom SlackBuild (not the one on SBo)? |
bilbod --
You made me look :) The f3.SlackBuild works OK here too without any mods ( other than EXPERIMENTAL=YES ./f3.SlackBuild ) One thing of note is that in the 'next version' ( f3 Version 7.0 and in the Current Source from AltraMayor's github Repo ), the EXPERIMENTAL=YES Flag will be/is replaced by 'extra' as in make extra && make install-extra instead of make experimental && make install-experimental ... According to AltraMayor's github Issue Tracer Version 7.0 will be out later this year. HTH. -- kjh |
Quote:
This is a quote from the author of f3: "the problem seems to be a bug in the gnu c library argp. Upstream is aware of it and they should patch it eventually." and he recommended using -fgnu89-inline in CFLAGS until they fix the library. Without -O2 optimization you don't need to modify CFLAGS. I don't modify anything anymore, I just use the defaults, slackrepo does all the work. I ran into trouble with f3 because I did not know how to put SlackBuild options in the hint file. |
Quote:
|
All times are GMT -5. The time now is 01:06 PM. |