WineHQ
Bug Tracking Database – Bug 35039

 Bugzilla

 

Last modified: 2013-12-06 13:44:33 UTC  

Wine out-of-source tree build broken when specifying a full path to configure

Bug 35039 - Wine out-of-source tree build broken when specifying a full path to configure
Wine out-of-source tree build broken when specifying a full path to configure
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: build-env
unspecified
x86 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
: regression
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-12-03 05:13 UTC by Michael Stefaniuc
Modified: 2013-12-06 13:44 UTC (History)
1 user (show)

See Also:
Regression SHA1: bc9650392ab72551c583c89afe464a94837e9a7e
Fixed by SHA1: 4674566ba4d9f523dd48bbe4af131c2a0b136394
Distribution: ---
Staged patchset:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Stefaniuc 2013-12-03 05:13:28 UTC
The out of tree build with /full/patch/to/configure is broken in shell32 since:

commit bc9650392ab72551c583c89afe464a94837e9a7e
Author: Alexandre Julliard <julliard@winehq.org>
Date:   Sat Nov 30 12:43:20 2013 +0100

    makefiles: Include AUTHORS file directly from the top-level directory.

The error is:
dlls/shell32$ make
gcc -m32 -g -O2   -c -o appbar.o /home/mstefani/j/wine/source/wine/dlls/shell32/appbar.c
/home/mstefani/j/wine/source/wine/dlls/shell32/appbar.c:21:20: fatal error: config.h: No such file or directory
 #include "config.h"
                    ^
compilation terminated.
make: *** [appbar.o] Error 1

There is no -I passed to gcc in shell32 (as well as other compiler flags).

To workaround the issue both commits bc9650392ab72551c583c89afe464a94837e9a7e and 202d046d685802640675651b3c039bf800e9732b need to be reverted.
Comment 1 Anastasius Focht 2013-12-03 05:46:34 UTC
Hello folks,

I get a different failure caused by same changeset (out-of-tree build).

--- snip ---
...
make[1]: Entering directory `/home/focht/projects/wine/wine-build64/dlls/shell32'
../../tools/makedep  -C/home/focht/projects/wine/wine-git/dlls/shell32 -S/home/focht/projects/wine/wine-git -T../..  -I/home/focht/projects/wine/wine-git appbar.c assoc.c autocomplete.c brsfolder.c changenotify.c classes.c clipboard.c control.c cpanelfolder.c dataobject.c dde.c debughlp.c dialogs.c dragdrophelper.c ebrowser.c enumidlist.c folders.c iconcache.c pidl.c recyclebin.c shell32_main.c shelldispatch.c shellitem.c shelllink.c shellole.c shellord.c shellpath.c shellreg.c shellstring.c shfldr_desktop.c shfldr_fs.c shfldr_mycomp.c shfldr_netplaces.c shfldr_printers.c shfldr_unixfs.c shlexec.c shlfileop.c shlfolder.c shlfsbind.c shlmenu.c shlview.c shlview_cmenu.c shpolicy.c systray.c trash.c xdg.c  shell32.rc       shell32_classes.idl shell32_tlb.idl    

/home/focht/projects/wine/wine-git/dlls/shell32/shell32.rc:457: error: AUTHORS: No such file or directory
make[1]: *** [depend] Error 1
make[1]: Leaving directory `/home/focht/projects/wine/wine-build64/dlls/shell32'
make: *** [dlls/shell32/Makefile] Error 2
--- snip ---

--- snip ---
/* @makedep: AUTHORS */
AUTHORS RCDATA AUTHORS
--- snip ---

strace of makedep shows:

--- snip ---
...
9542  open("/home/focht/projects/wine/wine-git/dlls/shell32/AUTHORS", O_RDONLY) = -1 ENOENT (No such file or directory)
9542  open("/home/focht/projects/wine/wine-git/include/AUTHORS", O_RDONLY) = -1 ENOENT (No such file or directory)
9542  open("/home/focht/projects/wine/wine-git/dlls/shell32/AUTHORS", O_RDONLY) = -1 ENOENT (No such file or directory)
9542  write(2, "/home/focht/projects/wine/wine-g"..., 71) = 71
9542  write(2, "AUTHORS: No such file or directo"..., 35) = 35
9542  exit_group(1)                     = ?
9542  +++ exited with 1 +++  
--- snip ---

It seems "-I/home/focht/projects/wine/wine-git" was not taken into account?

Regards
Comment 2 Anastasius Focht 2013-12-03 14:05:51 UTC
Hello folks,

for me the issue is fixed with commit http://source.winehq.org/git/wine.git/commitdiff/4674566ba4d9f523dd48bbe4af131c2a0b136394 ("makedep: Allow the source directory itself in include paths.")

Does it work for you too, Michael?
If yes, resolve the bug ...

Regards
Comment 3 Michael Stefaniuc 2013-12-03 14:12:12 UTC
Yeah, it is fixed for me too.
Comment 4 Alexandre Julliard 2013-12-06 13:44:33 UTC
Closing bugs fixed in 1.7.8.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers