Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98654 - emerge of libgdiplus-1.1.8 failed (fix attached)
Summary: emerge of libgdiplus-1.1.8 failed (fix attached)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-11 05:31 UTC by Nadi Sarrar (RETIRED)
Modified: 2005-09-16 11:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
libgdiplus-1.1.8-gifcodec_compile_fix.diff (libgdiplus-1.1.8-gifcodec_compile_fix.diff,430 bytes, patch)
2005-07-11 05:33 UTC, Nadi Sarrar (RETIRED)
Details | Diff
libgdiplus-1.1.8-r1.ebuild (libgdiplus-1.1.8-r1.ebuild,1.62 KB, text/plain)
2005-07-11 05:34 UTC, Nadi Sarrar (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nadi Sarrar (RETIRED) gentoo-dev 2005-07-11 05:31:28 UTC
There is a conflicting definition in gifcodec.c / gifcodec.h. I attached a patch
to fix this.

Reproducible: Always
Steps to Reproduce:
1. emerge libgdiplus-1.1.8 with all the USE flags on
2.
3.
Comment 1 Nadi Sarrar (RETIRED) gentoo-dev 2005-07-11 05:33:03 UTC
Created attachment 63126 [details, diff]
libgdiplus-1.1.8-gifcodec_compile_fix.diff
Comment 2 Nadi Sarrar (RETIRED) gentoo-dev 2005-07-11 05:34:05 UTC
Created attachment 63127 [details]
libgdiplus-1.1.8-r1.ebuild
Comment 3 Martin Kretschmer 2005-08-01 16:57:04 UTC
Seems to be fixed with giflib 1.4.3-r1 - compiles successfully without ebuild patch
Comment 4 Peter Johanson (RETIRED) gentoo-dev 2005-08-04 11:09:32 UTC
There is a similar patch in the 1.1.8 ebuild right now, which currently causes
no problems here. Can you please report if you are still having problems, and
the exact error, when trying to build libgdiplus-1.1.8? Thanks.
Comment 5 Nadi Sarrar (RETIRED) gentoo-dev 2005-08-04 11:41:51 UTC
A fresh emerge sync && emerge libgdiplus (1.1.8 ~x86) still leads to the same
error as before:

[...]
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libpixman/src
-I../libpixman/src -I../cairo/src -I../cairo/src -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -Wall -Werror -Wno-unused
-Wno-format -O2 -march=pentium3 -fomit-frame-pointer -pipe -pthread -MT
gifcodec.lo -MD -MP -MF .deps/gifcodec.Tpo -c gifcodec.c  -fPIC -DPIC -o
.libs/gifcodec.o
gifcodec.c:611: error: conflicting types for `gdip_save_gif_image_to_file'
gifcodec.h:24: error: previous declaration of `gdip_save_gif_image_to_file'
make[2]: *** [gifcodec.lo] Fehler 1
make[2]: Leaving directory
`/var/tmp/portage/libgdiplus-1.1.8/work/libgdiplus-1.1.8/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/libgdiplus-1.1.8/work/libgdiplus-1.1.8'
make: *** [all] Fehler 2

!!! ERROR: dev-dotnet/libgdiplus-1.1.8 failed.
!!! Function src_compile, Line 52, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 6 Nadi Sarrar (RETIRED) gentoo-dev 2005-08-04 12:07:15 UTC
Somehow, a giflib update from 4.1.0-r3 to 4.1.3 made libgdiplus-1.1.8 emerge
fine. To me, it still looks like a simple bug in the implementation, but it
seems to work with an up-to-date x86 system.
Comment 7 Jason Athey 2005-08-22 18:05:29 UTC
(In reply to comment #6)
> Somehow, a giflib update from 4.1.0-r3 to 4.1.3 made libgdiplus-1.1.8 emerge
> fine. To me, it still looks like a simple bug in the implementation, but it
> seems to work with an up-to-date x86 system.

Said update also causes it to compile on amd64

Comment 8 Peter Johanson (RETIRED) gentoo-dev 2005-09-16 11:41:51 UTC
I've bumped the required giflib version in both 1.1.8 and the new 1.1.9. I
double checked 1.1.9, and the code in question was also fixed. Marking this bug
FIXED.