Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43409 - emerge app-text/dictd-1.8.0 failed with compile error dictfmt.c:372:1: missing terminating " character
Summary: emerge app-text/dictd-1.8.0 failed with compile error dictfmt.c:372:1: missin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Spell checking utilities and dictionaries -- related bugs (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-01 12:27 UTC by Heikki Levanto
Modified: 2004-03-07 06:02 UTC (History)
1 user (show)

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


Attachments
ebuild to apply patch (dictd-1.8.0.ebuild,1.51 KB, text/plain)
2004-03-06 12:22 UTC, Andy Wang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heikki Levanto 2004-03-01 12:27:26 UTC
dictfmt.c:372:1: missing terminating " character
dictfmt.c: In function `help':
dictfmt.c:373: error: syntax error before "head"
dictfmt.c:373:55: missing terminating " character
dictfmt.c: In function `main':
dictfmt.c:688: warning: deprecated use of label at end of compound statement
make: *** [dictfmt] Error 1

!!! ERROR: app-text/dictd-1.8.0 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! (no error message)

dictfmt.c: function help(), that long help text, near its end. line 372

"--without-headword         with this parameter supplied
           head words will not be copied to .dict file",

All other multi-line texts have lines ending in "\n\", but not this one.

The fix is trivial, but I am not sure how to submit a patch. I am also unsure of how such a thing could have slipped through, or if there is some other reason why nobody else has noticed.




Reproducible: Always
Steps to Reproduce:
1. sudo emerge dictd
(on my machine - can't say of anyone else's)


Actual Results:  
"emerge -u world" exits with compile error 

Expected Results:  
Clean compile and install 

I have a fairly up-to-date system, although recently I have made the error of 
running emerge world instead of emerge -u world, which may mean that some of my 
packages are somewhat out of date.  
 
 
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.1) 
================================================================= 
System uname: 2.6.1 i686 Intel(R) Celeron(R) CPU 2.00GHz 
Gentoo Base System version 1.4.3.13 
Autoconf: sys-devel/autoconf-2.58-r1 
Automake: sys-devel/automake-1.7.7 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -mcpu=i686 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -mcpu=i686 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="X aalib alsa apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif 
gnome gpm gtk gtk2 guile imlib java jpeg kde ldap libg++ libwww mad mikmod 
motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python 
qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv 
zlib"
Comment 1 Heikki Levanto 2004-03-01 12:37:08 UTC
A quick workaround seemed to be 
  sudo emerge  /usr/portage/app-text/dictd/dictd-1.9.11.ebuild

No idea if that broke any dependencies, not even quite sure what dictd does, but at least emerge seems to be able to continue...
Comment 2 Andy Wang 2004-03-06 12:11:12 UTC
Looks to me like the bug in:
http://bugs.gentoo.org/show_bug.cgi?id=29227
wasn't fully implemented.  The ebuild doesn't actually apply the patch.
Comment 3 Andy Wang 2004-03-06 12:22:06 UTC
Created attachment 26951 [details]
ebuild to apply patch

Here's an ebuild that will apply the patch.
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2004-03-07 06:02:12 UTC
seems so too. i've fixed the ebuild in portage, not sure why the patch wasn't applied previously.

however 1.9.11 is now in stable