Issues Building WINE 1.3.25 and 1.3.26 on Aptosid AMD64

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
tripinva
Newbie
Newbie
Posts: 1
Joined: Fri Aug 05, 2011 1:50 pm

Issues Building WINE 1.3.25 and 1.3.26 on Aptosid AMD64

Post by tripinva »

Hello, all:

Last week I purchased a new computer that had significantly more RAM than the 3GB my last system had, and as such I moved from the i386 version of Aptosid to the AMD64 version. My new system also has a dedicated video card instead of the integrated graphics my last one had, so I was anxious to get myself set up with Portal and Portal 2.

Upon installing debs for 1.3.25, I found that while Portal ran fine, Portal 2 seems to have been impacted by bug 27877. I'm now attempting to build from source into a deb package that I can neatly install on my system until the patch in the bug report is implemented into the main WINE build.

However, I'm encountering a problem. My builds keep failing. I attempted to build both as a local user and as root, and both failed differently. I think the build as root is failing because it doesn't want to be root:

Code: Select all

security.c:1039: Test failed: DeleteFile should fail
security.c:1040: Test failed: expected ERROR_ACCESS_DENIED, got -559038737
security.c:1043: Test failed: SetFileAttributes error 2
security.c:1046: Test failed: DeleteFile error 2
fixme:advapi:ImpersonateLoggedOnUser (0x34)
fixme:advapi:LookupAccountSidW Only local computer supported!
fixme:advapi:LsaOpenPolicy ((null),0x32fb5c,0x000f0fff,0x32fbb8) stub
fixme:advapi:LsaClose (0xcafe) stub
fixme:advapi:LookupAccountNameW remote computer not supported
No protocol specified
No protocol specified
fixme:advapi:SetEntriesInAclW unhandled access mode 4
fixme:advapi:SetEntriesInAclW unhandled access mode 4
fixme:advapi:ParseStringSidToSid String constant not supported: L"No"
fixme:advapi:CreateRestrictedToken (0x3c, 0x0, 1, 0x32fba4, 0, (nil), 0, (nil), 0x32fbb4): stub
make[2]: *** [security.ok] Error 4
make[2]: Leaving directory `/hide/trip/build/wine-1.3.26/dlls/advapi32/tests'
make[1]: *** [dlls/advapi32/tests/__test__] Error 2
make[1]: Leaving directory `/hide/trip/build/wine-1.3.26'
dh_auto_test: make -j1 test returned exit code 2
make: *** [build] Error 29
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Which is understandable. What I cannot figure out is why the non-root build keeps failing:

Code: Select all

fixme:advapi:RegisterEventSourceA ((null),"Wine"): stub
fixme:advapi:RegisterEventSourceW (L"",L"Wine"): stub
fixme:advapi:ReportEventA (0xcafe4242,0x0004,0x0001,0x00000001,(nil),0x0001,0x00000000,0x688a72b0,(nil)): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0001,0x00000001,(nil),0x0001,0x00000000,0x121250,(nil)): stub
fixme:advapi:GetNumberOfEventLogRecords (0xcafe4242,0x32fcb0) stub
eventlog.c:835: Test failed: Expected 1 records, got 0
fixme:advapi:GetOldestEventLogRecord (0xcafe4242,0x32fcbc) stub
eventlog.c:840: Test failed: Expected oldest to be 1 or higher, got 0
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:advapi:OpenEventLogW ((null),L"WineSrc") stub
fixme:advapi:ReportEventA (0xcafe4242,0x0002,0x0001,0x00000002,(nil),0x0000,0x00000000,(nil),(nil)): stub
fixme:advapi:GetNumberOfEventLogRecords (0xcafe4242,0x32fcb0) stub
eventlog.c:835: Test failed: Expected 2 records, got 0
fixme:advapi:GetOldestEventLogRecord (0xcafe4242,0x32fcbc) stub
eventlog.c:840: Test failed: Expected oldest to be 1 or higher, got 0
fixme:advapi:CloseEventLog (0xcafe4242) stub
fixme:advapi:RegisterEventSourceA ((null),"WineSrc1"): stub
fixme:advapi:RegisterEventSourceW (L"",L"WineSrc1"): stub
fixme:advapi:ReportEventA (0xcafe4242,0x0010,0x0001,0x00000003,(nil),0x0002,0x00000000,0x688a72a8,(nil)): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0010,0x0001,0x00000003,(nil),0x0002,0x00000000,0x121250,(nil)): stub
fixme:advapi:GetNumberOfEventLogRecords (0xcafe4242,0x32fcb0) stub
eventlog.c:835: Test failed: Expected 3 records, got 0
fixme:advapi:GetOldestEventLogRecord (0xcafe4242,0x32fcbc) stub
eventlog.c:840: Test failed: Expected oldest to be 1 or higher, got 0
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:advapi:OpenEventLogW ((null),L"WineSrc20") stub
fixme:advapi:ReportEventA (0xcafe4242,0x0001,0x0001,0x00000004,(nil),0x0000,0x00000000,(nil),(nil)): stub
fixme:advapi:GetNumberOfEventLogRecords (0xcafe4242,0x32fcb0) stub
eventlog.c:835: Test failed: Expected 4 records, got 0
fixme:advapi:GetOldestEventLogRecord (0xcafe4242,0x32fcbc) stub
eventlog.c:840: Test failed: Expected oldest to be 1 or higher, got 0
fixme:advapi:CloseEventLog (0xcafe4242) stub
fixme:advapi:RegisterEventSourceA ((null),"WineSrc300"): stub
fixme:advapi:RegisterEventSourceW (L"",L"WineSrc300"): stub
fixme:advapi:ReportEventA (0xcafe4242,0x0002,0x0001,0x00000005,(nil),0x0001,0x00000000,0x688a72b0,(nil)): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0002,0x0001,0x00000005,(nil),0x0001,0x00000000,0x121250,(nil)): stub
fixme:advapi:GetNumberOfEventLogRecords (0xcafe4242,0x32fcb0) stub
eventlog.c:835: Test failed: Expected 5 records, got 0
fixme:advapi:GetOldestEventLogRecord (0xcafe4242,0x32fcbc) stub
eventlog.c:840: Test failed: Expected oldest to be 1 or higher, got 0
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:advapi:OpenEventLogW ((null),L"Wine") stub
fixme:advapi:ReportEventA (0xcafe4242,0x0000,0x0002,0x00000006,0x121200,0x0002,0x00000000,0x688a72a8,(nil)): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0000,0x0002,0x00000006,0x121200,0x0002,0x00000000,0x121250,(nil)): stub
fixme:advapi:GetNumberOfEventLogRecords (0xcafe4242,0x32fcb0) stub
eventlog.c:835: Test failed: Expected 6 records, got 0
fixme:advapi:GetOldestEventLogRecord (0xcafe4242,0x32fcbc) stub
eventlog.c:840: Test failed: Expected oldest to be 1 or higher, got 0
fixme:advapi:CloseEventLog (0xcafe4242) stub
fixme:advapi:RegisterEventSourceA ((null),"WineSrc"): stub
fixme:advapi:RegisterEventSourceW (L"",L"WineSrc"): stub
fixme:advapi:ReportEventA (0xcafe4242,0x0010,0x0002,0x00000007,0x121200,0x0000,0x00000000,(nil),(nil)): stub
fixme:advapi:GetNumberOfEventLogRecords (0xcafe4242,0x32fcb0) stub
eventlog.c:835: Test failed: Expected 7 records, got 0
fixme:advapi:GetOldestEventLogRecord (0xcafe4242,0x32fcbc) stub
eventlog.c:840: Test failed: Expected oldest to be 1 or higher, got 0
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:advapi:OpenEventLogW ((null),L"WineSrc1") stub
fixme:advapi:ReportEventA (0xcafe4242,0x0008,0x0002,0x00000008,0x121200,0x0002,0x00000000,0x688a72a8,(nil)): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0008,0x0002,0x00000008,0x121200,0x0002,0x00000000,0x121250,(nil)): stub
fixme:advapi:GetNumberOfEventLogRecords (0xcafe4242,0x32fcb0) stub
eventlog.c:835: Test failed: Expected 8 records, got 0
fixme:advapi:GetOldestEventLogRecord (0xcafe4242,0x32fcbc) stub
eventlog.c:840: Test failed: Expected oldest to be 1 or higher, got 0
fixme:advapi:CloseEventLog (0xcafe4242) stub
fixme:advapi:RegisterEventSourceA ((null),"WineSrc20"): stub
fixme:advapi:RegisterEventSourceW (L"",L"WineSrc20"): stub
fixme:advapi:ReportEventA (0xcafe4242,0x0002,0x0002,0x00000009,0x121200,0x0000,0x00000000,(nil),(nil)): stub
fixme:advapi:GetNumberOfEventLogRecords (0xcafe4242,0x32fcb0) stub
eventlog.c:835: Test failed: Expected 9 records, got 0
fixme:advapi:GetOldestEventLogRecord (0xcafe4242,0x32fcbc) stub
eventlog.c:840: Test failed: Expected oldest to be 1 or higher, got 0
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:advapi:OpenEventLogW ((null),L"WineSrc300") stub
fixme:advapi:ReportEventA (0xcafe4242,0x0001,0x0002,0x0000000a,0x121200,0x0001,0x00000000,0x688a72b0,(nil)): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0002,0x0000000a,0x121200,0x0001,0x00000000,0x121250,(nil)): stub
err:eventlog:ReportEventW L"First string"
fixme:advapi:GetNumberOfEventLogRecords (0xcafe4242,0x32fcb0) stub
eventlog.c:835: Test failed: Expected 10 records, got 0
fixme:advapi:GetOldestEventLogRecord (0xcafe4242,0x32fcbc) stub
eventlog.c:840: Test failed: Expected oldest to be 1 or higher, got 0
fixme:advapi:CloseEventLog (0xcafe4242) stub
fixme:advapi:OpenEventLogW ((null),L"Wine") stub
fixme:advapi:GetNumberOfEventLogRecords (0xcafe4242,0x32fcb0) stub
eventlog.c:858: Test failed: Expected 10 records, got 0
fixme:advapi:CloseEventLog (0xcafe4242) stub
eventlog.c:863: Tests skipped: No events were written to the eventlog
eventlog.c:1086: Test failed: Expected an eventlog file
eventlog.c:1113: Test succeeded inside todo block: Could not delete the registry tree : 0
eventlog.c:1120: Test succeeded inside todo block: Expected MoveFileEx to succeed: 1
make[2]: *** [eventlog.ok] Error 24
make[2]: Leaving directory `/hide/trip/build/wine-1.3.26/dlls/advapi32/tests'
make[1]: *** [dlls/advapi32/tests/__test__] Error 2
make[1]: Leaving directory `/hide/trip/build/wine-1.3.26'
dh_auto_test: make -j1 test returned exit code 2
make: *** [build] Error 29
dpkg-buildpackage: error: debian/rules build gave error exit status 2
I only included the parts with the failures, but can provide more of the output if needed.

Does anyone have any thoughts on this? I'd really like to build this and give it a try, though having to wait 20-25 minutes for the build to fail is somewhat annoying.

Thank you for your time and consideration. :)

- Trip[/url]
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Issues Building WINE 1.3.25 and 1.3.26 on Aptosid AMD64

Post by vitamin »

tripinva wrote:make[2]: *** [security.ok] Error 4
make[2]: *** [eventlog.ok] Error 24
Only few systems with 100% correct setup can run entire "make test" without errors. If you are not a developer all you need to do is to make sure all build requirements are met. Nothing more.
Locked