Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#16901 - [wine] doesn't compile with actual PKGBUILD (1.1.32)

Attached to Project: Arch Linux
Opened by Heinrich Siebmanns (Harvey) - Thursday, 29 October 2009, 09:33 GMT
Last edited by Giovanni Scafora (giovanni) - Friday, 30 October 2009, 00:30 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Giovanni Scafora (giovanni)
Architecture i686
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
I tried to compile wine from abs and it stops late in the compiling process with the following errors:
cdrom.c: In function ‘GetInquiryData’:
cdrom.c:2682: error: ‘INQUIRY’ undeclared (first use in this function)
cdrom.c:2682: error: (Each undeclared identifier is reported only once
cdrom.c:2682: error: for each function it appears in.)
make[2]: *** [cdrom.o] Error 1
make[2]: Leaving directory `/home/josh/Downloads/wine-git/src/wine-build/dlls/ntdll'
make[1]: *** [ntdll] Error 2
make[1]: Leaving directory `/home/josh/Downloads/wine-git/src/wine-build/dlls'
make: *** [dlls] Error 2
==> ERROR: Build Failed.

Steps to reproduce:
Try to build on a fresh install of abs and base-devel

There is thread in the forums:
http://bbs.archlinux.org/viewtopic.php?pid=645945#p645945

How did the maintainer compile the package?
This task depends upon

Closed by  Giovanni Scafora (giovanni)
Friday, 30 October 2009, 00:30 GMT
Reason for closing:  Not a bug
Comment by Ionut Biru (wonder) - Thursday, 29 October 2009, 11:28 GMT
i thinks is related to  FS#16902 
Comment by Eric Belanger (Snowman) - Thursday, 29 October 2009, 22:36 GMT
from http://bbs.archlinux.org/viewtopic.php?pid=646157#p646157 :

It allows you to build, I'm not sure how safe exactly it is... but

Throw
Code:

#define INQUIRY 0x12

somewhere in the header of dlls/ntdll/cdrom.c

I'll let you guys know if I run into any problems.

Nabbed it from: http://forum.winehq.org/viewtopic.php?p … 3f5d#28186

Comment by Giovanni Scafora (giovanni) - Friday, 30 October 2009, 00:22 GMT
Hi Heinrich,

I thinks is related to  FS#16902 
#define INQUIRY 0x12
is already defined in /usr/include/scsi/scsi.h (kernel-headers)
BTW, I built wine 1.1.32 before the kernel-headers upgrade.

Loading...