| Summary: | wine-20050111 does not compile | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Bernd Wurst <bugzilla-gentoo> |
| Component: | Current packages | Assignee: | Wine Maintainers <wine> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Bernd Wurst
2005-02-15 22:21:46 UTC
I get exactly the same error and I have gif NOT in my global USE-Flags. My first comment is wrong. I have gif in my global use flag. Nevertheless I was able to emerge it with the following command: USE="-gif" emerge wine I do not consider this a solution. ;-) Windows-apps often want to display GIFs, that should not work anymore for you now, right? But thanks for the workaround. That seems to be a problem of the libungif ebuild not having installed /usr/include/gif_lib.h in some of its versions. libungif-4.1.0.1b has it installed, however libungif-4.1.3 is missing that file. Please verify that by emerging the older libungif version and then trying to re-emerge wine. Thanks. I triede to emerge wine-20041019-r3 and also this version failed to build with the gif flag enabled. I installed libungif-4.1.0.1b and I am reemerging wine-20050111. I let you know if it works. David, you were right. This was the problem. Now it compiled flawlessly. Is this now a libungif bug? Actually, this looks more like a duplicate of #77809 to me. Please tell me if you have the latest giflib installed? What version of giflib is installed on your machine (if any)? And if you have giflib installed, is there an update avalilable for the version you have currently installed? equery list giflib gives: * installed packages [I--] [ ] media-libs/giflib-4.1.0-r3 (0) emerge -uDp world gives: These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild U ] media-libs/libungif-4.1.3 [4.1.0.1b (I synced today) but this is normal, because i switched to this version of libungif previously. Additionally I also remarked some stability issues with the version 20050111 of wine. (i am running notes under wine). so I switched back to 20041019-r3. with this version I have no problems. Do you have a /usr/include/gif_lib.h, and which package does it belong to? Yes I have that file. I installed libungif-4.1.0.1b because of you comment #4. here following output: equery belongs /usr/include/gif_lib.h gives: [ Searching for file(s) /usr/include/gif_lib.h in *... ] media-libs/giflib-4.1.0-r3 (/usr/include/gif_lib.h) media-libs/libungif-4.1.0.1b (/usr/include/gif_lib.h) This is somewhat strange. Because before I switched back to libungif-4.1.0.1b from libungif-4.1.3 I did not have this file. And now equery says that this file also belongs to giflib. The only thing I did that the emerge worked was to go back to libungif-4.1.0.1b from libungif-4.1.3 So, I ran out for a bit and now reading all this. ;-)
Ok, so I tried another thing:
# ls /usr/include/gif_lib.h
ls: /usr/include/gif_lib.h: No such file or directory
# equery belongs /usr/include/gif_lib.h
[ Searching for file(s) /usr/include/gif_lib.h in *... ]
media-libs/giflib-4.1.0-r3 (/usr/include/gif_lib.h)
So the file is considered installed but not there.
I suppose, this is a file collission between media-libs/giflib and media-libs/libungif. giflib has been installed first, then libungif (overwriting the include-file) and then the newer libungif which did not bring the include file, so it got deleted via cleanup.
Confirmation:
# genlop -t giflib libungif
* media-libs/giflib
Mon Mar 22 19:28:37 2004 >>> media-libs/giflib-4.1.0-r3
merge time: 13 seconds.
* media-libs/libungif
Mon Mar 22 19:29:21 2004 >>> media-libs/libungif-4.1.0.1b
merge time: 1 second.
Sat Jan 8 22:42:10 2005 >>> media-libs/libungif-4.1.3
merge time: 1 minute and 36 seconds.
Ok, so it seems like it's not a duplicate of bug #77809 but some sort of collission bug in the older version of libungif (should not overwrite giflib's files). Simple re-installing giflib (so that it re-installes gif_lib.h) solved this for me. Thanks for the hint.
As far as Wine is concerned, this is a duplicate of bug #77809, as compilation of Wine fails for the same reason (a missing header file). So I'll be closing this bug and reopen #77809. Whoever experiences this should - as a workaround - please emerge giflib and libungif in their latest versions and retry compiling Wine. The incorrect behavior of libungif and giflib both installing the same file is being taken care of in bug #18820. *** This bug has been marked as a duplicate of 77809 *** |