Summary: | irssi-svn fails to build with parse error on expandos.c | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Aaron Kulbe (RETIRED) <superlag> |
Component: | Current packages | Assignee: | Packages in net-irc <net-irc> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nysander, superlag, swegener |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Aaron Kulbe (RETIRED)
![]() In my opinion this is broken revision not an ebuild issue The bug seems to stem from the fact that the IRSSI_VERSION_DATE and IRSSI_VERSION_TIME constants arent being set. The actual irssi-version.h include seems to be generated at runtime and the values for these two constants setup in configure.in like so - #VERSION_DATE=`head -n 2 $srcdir/ChangeLog| grep '^r' | awk '{print $5}' | tr -d '-'` #VERSION_TIME=`head -n 2 $srcdir/ChangeLog| grep '^r' | awk '{print $6}' | awk -F: '{printf "%d\n", $1$2}'` and then used later to create the include. However on my system at least these commands don't work as it can't find the Changelog and so returns nothing but an error. An adhoc fix was simply to set the variables to a set value but this is obviously a bit of a hack and a more permanent solution would be nice. At least I have a working irssi-svn-0.3 now. "seems to be generated at runtime" should be "seems to be generated at make/compile time", its late, I need sleep and this is my first bug report so sorry if it's not up to spec. our eclass removed the .svn directories and hence irssi can't update the ChangeLog I added some code to fetch the log via URL, not via working copy, this should fix it. Please give it a test. |