Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35632 - qemacs 0.3.1 cannot compile, syntax error on config.h
Summary: qemacs 0.3.1 cannot compile, syntax error on config.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-11 18:31 UTC by Henrique Rodrigues
Modified: 2003-12-11 19:48 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henrique Rodrigues 2003-12-11 18:31:12 UTC
qhen i try to emerge qemacs 0.3.1, it gives me a syntax error on config.h, line 4.
i checked and saw that the #define was malformed, had a \n before the second ". if we eliminate that \n, the problem is solved (i think).

Reproducible: Always
Steps to Reproduce:
1. emerge qemacs
2.
3.

Actual Results:  
syntax error, cannot compile

Expected Results:  
compile qemacs

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r6, 2.4.21)
=================================================================
System uname: 2.4.21 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
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.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad
mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib
gdbm slang readline aalib nas svga ggi tcltk guile X sdl gpm tcpd ssl perl
python esd imlib oggvorbis gnome gtk qt motif opengl mozilla gphoto2 cdr acpi
acpi4linux cgi dga dillo doc dvd emacs fbcon gtk2 gtkhtml imap java javascript
justify mmx mozinterfaceinfo moznoirc moznomail nptl pic samba scanner tiff
unicode xface xgetdefault xml -kde -alsa -berkdb -arts -pam"
Comment 1 Jeremy Maitin-Shepard 2003-12-11 19:48:27 UTC
Fixed in CVS.

You should really file this bug report with the qemacs package developers though (i.e. upstream).  Do not forget (otherwise we have to deal with this in every new version also).  You could send them the patch I added to the files dir in the CVS repository.