Bug 479 - unquoted XVENDORNAME causes the build failure
Summary: unquoted XVENDORNAME causes the build failure
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Build/Monolithic (show other bugs)
Version: 6.7.0
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-15 04:01 UTC by Akira TAGOH
Modified: 2011-10-15 15:46 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Akira TAGOH 2004-04-15 04:01:02 UTC
This problem happened on Fedora Core Development tree, and when I'm building the
package, which uses xmkmf, gcc grumbles me due to unquoted XVENDORNAME.

Here is a log what happened:
onfigure:1671:  gcc  -O2 -fno-strength-reduce -fno-strict-aliasing  
-I/usr/X11R6/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L
-D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE
-DFUNCPROTO=15 -DNARROWPROTO -DXVENDORNAME=The X.Org Foundation
-DXVENDORNAMESHORT=X.Org   conftest.c  >&5
gcc: X.Org: No such file or directory
gcc: Foundation: No such file or directory

I'm not sure but this problem is complex a bit because it happened on configure,
which was given CFLAGS as environment variable, included XVENDORNAME. BTW that
configure script is called from Makefile, which was generated by xmkmf.

I'm guessing your reply is:
1) XVENDORNAME is actually quoted. but configure script just ignores it. file a
bug to autotools, close this then.
2) generated Makefile seems not comfortable. X11.tmpl needs to be fixed.

BTW if you want to reproduce this problem, please get the rpm packages from
http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/Canna-3.7p1-6.src.rpm

Thanks,
Comment 1 Donnie Berkholz 2004-05-06 02:39:20 UTC
Try this:
sed -i -e '/VENDORNAME/s/= \(.*\)$/= "\1"/g' Makefile

We hit the same problem on Gentoo (http://bugs.gentoo.org/show_bug.cgi?id=48229).
Comment 2 Eric Anholt 2004-07-21 12:19:15 UTC
VENDOR_DEFINES is no longer in ALLDEFINES in CVS imake.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.