Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 539127 - cmake-2.8.0 changes "-Dfoo" to just "foo" when passing wx-config --cflags output to gcc
Summary: cmake-2.8.0 changes "-Dfoo" to just "foo" when passing wx-config --cflags out...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: vavoom
Version: rawhide
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL: http://linux.dell.com/files/fedora/Fi...
Whiteboard:
Depends On:
Blocks: F13FTBFS
TreeView+ depends on / blocked
 
Reported: 2009-11-19 16:54 UTC by FTBFS
Modified: 2009-11-20 18:25 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-11-20 18:25:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
root.log (682.69 KB, text/plain)
2009-11-19 16:54 UTC, FTBFS
no flags Details
build.log (206.05 KB, text/plain)
2009-11-19 16:54 UTC, FTBFS
no flags Details
mock.log (947 bytes, text/plain)
2009-11-19 16:54 UTC, FTBFS
no flags Details
root.log (1005.29 KB, text/plain)
2009-11-19 16:54 UTC, FTBFS
no flags Details
build.log (203.70 KB, text/plain)
2009-11-19 16:54 UTC, FTBFS
no flags Details
mock.log (955 bytes, text/plain)
2009-11-19 16:54 UTC, FTBFS
no flags Details

Description FTBFS 2009-11-19 16:54:06 UTC
vavoom-1.30-3.fc12.src.rpm Failed To Build From Source against the rawhide tree.  See http://fedoraproject.org/wiki/FTBFS for more information.

Comment 1 FTBFS 2009-11-19 16:54:10 UTC
Setting to ASSIGNED per Fedora Bug Triage workflow.  https://fedoraproject.org/wiki/BugZappers/BugStatusWorkFlow

Comment 2 FTBFS 2009-11-19 16:54:14 UTC
Created attachment 371760 [details]
root.log

root.log for i386

Comment 3 FTBFS 2009-11-19 16:54:16 UTC
Created attachment 371761 [details]
build.log

build.log for i386

Comment 4 FTBFS 2009-11-19 16:54:17 UTC
Created attachment 371762 [details]
mock.log

mock.log for i386

Comment 5 FTBFS 2009-11-19 16:54:19 UTC
Created attachment 371763 [details]
root.log

root.log for x86_64

Comment 6 FTBFS 2009-11-19 16:54:21 UTC
Created attachment 371764 [details]
build.log

build.log for x86_64

Comment 7 FTBFS 2009-11-19 16:54:23 UTC
Created attachment 371765 [details]
mock.log

mock.log for x86_64

Comment 8 Hans de Goede 2009-11-19 21:54:02 UTC
The problem with vavoom not building from source, is that even though wx-config outputs this:

[hans@localhost F-12]$ wx-config --cflags
-I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread

cmake-2.8.0 invokes gcc like this:
cd /home/hans/projects/fedora/vavoom/devel/vavoom-1.30/utils/vlaunch && /usr/lib64/ccache/c++   -DHAVE_INTTYPES_H=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic  -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8   _FILE_OFFSET_BITS=64 _LARGE_FILES __WXGTK__ -o CMakeFiles/vlaunch.dir/vlaunch.o -c /home/hans/projects/fedora/vavoom/devel/vavoom-1.30/utils/vlaunch/vlaunch.cpp
c++: _FILE_OFFSET_BITS=64: No such file or directory
c++: _LARGE_FILES: No such file or directory
c++: __WXGTK__: No such file or directory
In file included from /usr/include/wx-2.8/wx/wxprec.h:13,
                 from /home/hans/projects/fedora/vavoom/devel/vavoom-1.30/utils/vlaunch/vlaunch.cpp:28:
/usr/include/wx-2.8/wx/defs.h:42:13: error: #error "No Target! You should use wx-config program for compilation flags!"

<snip lots more errors>


Notice how all the "-Dfoo" options in the wx-config --cflags output have become
just "foo" when passed to gcc.

To reproduce this install the cmake 2.8.0 packages from dist-f13 and then try to build vavoom.

Comment 9 Orion Poplawski 2009-11-19 22:12:05 UTC
This is apparently a designed change in upstream.  See the cmake mailing list for details.  vavoom needs to change to use "UsewxWidgets.cmake" rather than "FindwxWidgets.cmake".

Comment 10 Hans de Goede 2009-11-20 18:25:21 UTC
Orion, thanks for the info.

This is fixex in vavoom-1.30-4.fc13, closing.


Note You need to log in before you can comment on or make changes to this bug.