First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 107551
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: media-gfx herd <graphics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jean-Francois Ostiguy <jfostiguy@sbcglobal.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 107551 depends on: Show dependency tree
Bug 107551 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-09-28 18:55 0000
media-libs/giflib-4.1.3-r2 [4.1.3-r1] +X +opengl -rle 0 kB 
....
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=pentium4
-fomit-frame-pointer -pipe -Wall -O2 -march=pentium4 -fomit-frame-pointer -pipe
-MT dgif_lib.lo -MD -MP -MF .deps/dgif_lib.Tpo -c dgif_lib.c  -fPIC -DPIC -o
.libs/dgif_lib.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=pentium4
-fomit-frame-pointer -pipe -Wall -O2 -march=pentium4 -fomit-frame-pointer -pipe
-MT dev2gif.lo -MD -MP -MF .deps/dev2gif.Tpo -c dev2gif.c  -fPIC -DPIC -o
.libs/dev2gif.o
dev2gif.c:29:19: gl/gl.h: No such file or directory
dev2gif.c: In function `DumpScreen2Gif':
dev2gif.c:136: error: redeclaration of 'ColorMap256' with no linkage
dev2gif.c:131: error: previous declaration of 'ColorMap256' was here
dev2gif.c:224: warning: implicit declaration of function `winset'
dev2gif.c:225: warning: implicit declaration of function `getsize'
dev2gif.c:228: warning: implicit declaration of function `readsource'
dev2gif.c:228: error: `SRC_FRONT' undeclared (first use in this function)
dev2gif.c:228: error: (Each undeclared identifier is reported only once
dev2gif.c:228: error: for each function it appears in.)
dev2gif.c:229: warning: implicit declaration of function `lrectread'
dev2gif.c:131: warning: unused variable `ColorMap256'
make[2]: *** [dev2gif.lo] Error 1


Looks like gl support is designed for windoze ... 
gl/gl.h should be GL/gl.h ...

I am not sure about "redeclation of ColorMap256", but changing gl/gl.h to
GL/gl.h does not fix that problem. 


Reproducible: Always
Steps to Reproduce:
1.
2.
3.





Workaround: setting USE -opengl works.

------- Comment #1 From gs55897 2005-09-28 21:26:00 0000 -------
I was able to re-produce.

Adding "-opengl" is a working workaround also.

------- Comment #2 From Ben Skeggs 2005-09-28 22:40:50 0000 -------
I don't think we should even support USE="opengl" for this ebuild.  The code
appears to use some SGI-specific opengl functions from what I can determine.  

There *is* a library available (http://www.thp.uni-duisburg.de/Ygl/ReadMe.html)
which provides these on an X11 platform.

It also doesn't appear that the library is expecting GL and X11 to be enabled at
the same time.  See function dev2gif.c::DumpScreen2Gif, which redefines
ColorMap256 if you enable both.

It'd probably be less trouble to drop USE="opengl".

------- Comment #3 From Michael Cramer 2005-09-29 00:59:42 0000 -------
same here

mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=pentium3 -O2 -pipe
-fomit-frame-pointer -fforce-addr -Wall -march=pentium3 -O2 -pipe
-fomit-frame-pointer -fforce-addr -MT dev2gif.lo -MD -MP -MF .deps/dev2gif.Tpo
-c dev2gif.c  -fPIC -DPIC -o .libs/dev2gif.o
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I. -I..    -march=pentium3 -O2 -pipe -fomit-frame-pointer -fforce-addr  -Wall
-march=pentium3 -O2 -pipe -fomit-frame-pointer -fforce-addr -MT egif_lib.lo -MD
-MP -MF ".deps/egif_lib.Tpo" \
  -c -o egif_lib.lo `test -f 'egif_lib.c' || echo './'`egif_lib.c; \
then mv -f ".deps/egif_lib.Tpo" ".deps/egif_lib.Plo"; \
else rm -f ".deps/egif_lib.Tpo"; exit 1; \
fi
dev2gif.c:29:19: gl/gl.h: No such file or directory
dev2gif.c: In function `DumpScreen2Gif':
dev2gif.c:136: error: redeclaration of 'ColorMap256' with no linkage
dev2gif.c:131: error: previous declaration of 'ColorMap256' was here
dev2gif.c:224: warning: implicit declaration of function `winset'
dev2gif.c:225: warning: implicit declaration of function `getsize'
dev2gif.c:228: warning: implicit declaration of function `readsource'
dev2gif.c:228: error: `SRC_FRONT' undeclared (first use in this function)
dev2gif.c:228: error: (Each undeclared identifier is reported only once
dev2gif.c:228: error: for each function it appears in.)
dev2gif.c:229: warning: implicit declaration of function `lrectread'
dev2gif.c:131: warning: unused variable `ColorMap256'
make[2]: *** [dev2gif.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=pentium3 -O2 -pipe
-fomit-frame-pointer -fforce-addr -Wall -march=pentium3 -O2 -pipe
-fomit-frame-pointer -fforce-addr -MT dgif_lib.lo -MD -MP -MF .deps/dgif_lib.Tpo
-c dgif_lib.c  -fPIC -DPIC -o .libs/dgif_lib.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=pentium3 -O2 -pipe
-fomit-frame-pointer -fforce-addr -Wall -march=pentium3 -O2 -pipe
-fomit-frame-pointer -fforce-addr -MT egif_lib.lo -MD -MP -MF .deps/egif_lib.Tpo
-c egif_lib.c  -fPIC -DPIC -o .libs/egif_lib.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=pentium3 -O2 -pipe
-fomit-frame-pointer -fforce-addr -Wall -march=pentium3 -O2 -pipe
-fomit-frame-pointer -fforce-addr -MT dgif_lib.lo -MD -MP -MF .deps/dgif_lib.Tpo
-c dgif_lib.c -o dgif_lib.o >/dev/null 2>&1
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=pentium3 -O2 -pipe
-fomit-frame-pointer -fforce-addr -Wall -march=pentium3 -O2 -pipe
-fomit-frame-pointer -fforce-addr -MT egif_lib.lo -MD -MP -MF .deps/egif_lib.Tpo
-c egif_lib.c -o egif_lib.o >/dev/null 2>&1
make[2]: Leaving directory `/var/tmp/portage/giflib-4.1.3-r2/work/giflib-4.1.3/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/giflib-4.1.3-r2/work/giflib-4.1.3'
make: *** [all] Error 2

!!! ERROR: media-libs/giflib-4.1.3-r2 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


bigmichi1 ~ # emerge -pvDu world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild     U ] media-libs/giflib-4.1.3-r2 [4.1.3-r1] +X +opengl +rle* 0 kB

Total size of downloads: 0 kB

------- Comment #4 From SpanKY 2005-09-29 03:00:33 0000 -------
*** Bug 107578 has been marked as a duplicate of this bug. ***

------- Comment #5 From SpanKY 2005-09-29 03:01:50 0000 -------
fixed in cvs

------- Comment #6 From Carsten Lohrke 2005-09-29 03:49:11 0000 -------
*** Bug 107583 has been marked as a duplicate of this bug. ***

------- Comment #7 From Carsten Lohrke 2005-09-29 05:53:28 0000 -------
*** Bug 107586 has been marked as a duplicate of this bug. ***

------- Comment #8 From Jakub Moc (RETIRED) 2005-09-29 11:38:25 0000 -------
*** Bug 107630 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug