[Bug 40851] New: macOS 10.12 Build Failure in winspool.drv with cupsGetPPD
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Jun 23 04:40:53 CDT 2016
https://bugs.winehq.org/show_bug.cgi?id=40851
Bug ID: 40851
Summary: macOS 10.12 Build Failure in winspool.drv with
cupsGetPPD
Product: Wine
Version: 1.9.12
Hardware: x86-64
OS: Mac OS X
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: spooler
Assignee: wine-bugs at winehq.org
Reporter: alexander at neilson.net.nz
Created attachment 54840
--> https://bugs.winehq.org/attachment.cgi?id=54840
Homebrew Wine build log with 40830 patch applied
After applying the patch from bug 40830 I still experienced a build failure as
seen in the trace log attached.
I haven't been able to find any changelog entry to explain why this would be a
build failure in macOS 10.12 however from the extract below its feeling to me
like the deprecated cupsGetPPD is being missed out however potential call. (I
am still to verify the difference between the framework on my 10.11 version)
I wonder if the comment about the build flags from
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/cups/ppd.h
may be required to be applied to switched (but I haven't validated if I am on
the right track or wrong track)
--Extract from the Trace Log--
info.c:788:1: error: use of undeclared identifier 'cupsGetPPD'; did you mean
'cupsGetFd'?
CUPS_FUNCS;
^
info.c:779:13: note: expanded from macro 'CUPS_FUNCS'
DO_FUNC(cupsGetPPD); \
^
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/cups/cups.h:392:22:
note: 'cupsGetFd' declared here
extern http_status_t cupsGetFd(http_t *http, const char *resource, int fd);
^
info.c:807:29: error: too few arguments to function call, expected 3, have 1
ppd = pcupsGetPPD( name );
~~~~~~~~~~~ ^
../../tools/winegcc/winegcc -o wintab.dll16.so -B../../tools/winebuild -m32
-fasynchronous-unwind-tables -shared wintab.dll16.spec \
-m16 -Wb,--main-module,wintab32.dll wintab.o ../../libs/port/libwine_port.a
2 errors generated.
make[1]: *** [info.o] Error 1
make: *** [dlls/winspool.drv] Error 2
make: *** Waiting for unfinished jobs....
--Extract from the PPD.h file--
* THESE APIS ARE DEPRECATED. TO COMPILE WITHOUT WARNINGS ADD
* -D_PPD_DEPRECATED="" TO YOUR COMPILE OPTIONS. THIS HEADER AND THESE
* FUNCTIONS WILL BE REMOVED IN A FUTURE RELEASE OF CUPS.
Regards
Alexander
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list