Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287007 - media-libs/gegl-0.0.22 stable fails with USE=doc due to missing sws_scale symbol
Summary: media-libs/gegl-0.0.22 stable fails with USE=doc due to missing sws_scale symbol
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on: 270647
Blocks:
  Show dependency tree
 
Reported: 2009-09-30 01:39 UTC by SpanKY
Modified: 2015-01-06 00:05 UTC (History)
10 users (show)

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


Attachments
Build log file (build.log,365.71 KB, text/plain)
2010-03-26 01:28 UTC, Pierre
Details
A build log showing some errors, but still completing without failure. (build-that-passes.log,515.99 KB, text/plain)
2010-07-08 07:28 UTC, Jonas Berlin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2009-09-30 01:39:27 UTC
+++ This bug was initially created as a clone of Bug #270647 +++

current media-libs/gegl stable results in this failure with USE="doc":

cp index-static.txt index.html 
/usr/bin/asciidoc --unsafe  -o index.html -a stylesdir=`pwd` -a toc -a
theme=gegl -a quirks! index-static.txt
** Message: Module '../operations/workshop/external/.libs/ff_save.so' load
error: ../operations/workshop/external/.libs/ff_save.so: undefined symbol:
sws_scale
** Message: Module '../operations/workshop/external/.libs/ff_save.so' load
error: ../operations/workshop/external/.libs/ff_save.so: undefined symbol:
sws_scale
make[3]: *** [operations.html] Erreur 255
Comment 1 Pierre 2010-03-26 01:26:56 UTC
I have the same problem.
I will attach my build log file.
Comment 2 Pierre 2010-03-26 01:28:22 UTC
Created attachment 225275 [details]
Build log file
Comment 3 Pierre 2010-03-26 01:29:03 UTC
# emerge -pqv =media-libs/gegl-0.0.22
[ebuild  N    ] media-libs/gegl-0.0.22  USE="cairo doc ffmpeg jpeg mmx png raw sdl sse svg -debug -openexr -v4l" 
Comment 4 lathanhaiko 2010-05-03 02:54:31 UTC
Reproduced
Comment 5 Richard F. Ostrow Jr. 2010-05-11 14:23:33 UTC
Same problem here
Comment 6 Roman Karshiev 2010-06-01 05:54:00 UTC
Same problem
Comment 7 Lukasz Ligowski 2010-06-06 21:23:53 UTC
same here, reemerged with -doc fine
Comment 8 Jonas Berlin 2010-07-08 07:28:33 UTC
Created attachment 237987 [details]
A build log showing some errors, but still completing without failure.

For me merging gegl with USE=doc did NOT fail. But I still see many of the same sws_scale symbol errors in my build log (attached). It seems that some of the problems are ignored (does not cause the build to fail). The command that caused Pierre's build to fail did not produce any errors in my case, and thus did not stop the build.

However, after the merging, when I start gimp, I get a very similar error message as seen in the build logs:

** Message: Module '/usr/lib64/gegl-0.0/ff_save.so' load error: /usr/lib64/gegl-0.0/ff_save.so: undefined symbol: sws_scale

Gimp appears to work normally despite this error, I guess I just didn't happen to need the feature. I was able to create images and save PNG files just fine.

As a side note, revdep-rebuild did not report that anything needed rebuilding.
Comment 9 Olivier Crete (RETIRED) gentoo-dev 2011-04-04 15:41:15 UTC
This is a bug with the patch applied from bug #270647, you need to call eautoreconf after applying the patch since you modify a Makefile.am.. I was going to commit the fix, but it seems out dear CVS server isn't responding to me.

Actually, there is also a second bug here, the doc generation crashes with:

babl-memory.c:86 functions_sanity()
        babl memory function(s) attempted switched on the fly
[Thread debugging using libthread_db enabled]
0x00007fc3ec8b934e in __libc_waitpid (pid=<value optimized out>, stat_loc=0x7fff62c4ff8c, options=<value optimized out>) at ../sysdeps/unix/sysv/linux/waitpid.c:32
32            return INLINE_SYSCALL (wait4, 4, pid, stat_loc, options, NULL);
#0  0x00007fc3ec8b934e in __libc_waitpid (pid=<value optimized out>, stat_loc=0x7fff62c4ff8c, options=<value optimized out>) at ../sysdeps/unix/sysv/linux/waitpid.c:32
#1  0x00007fc3ec854a89 in do_system (line=<value optimized out>) at ../sysdeps/posix/system.c:149
#2  0x00007fc3ecdfed78 in babl_backtrack () at babl-internal.c:67
#3  0x00007fc3ecdfed99 in babl_die () at babl-internal.c:73
#4  0x00007fc3ecdffc50 in babl_free (ptr=0x61ad80) at babl-memory.c:194
#5  0x00007fc3ecdf9e67 in each_babl_extension_destroy (babl=0x61ad80, data=0x7fff62c4ff8c) at babl-extension.c:356
#6  0x00007fc3ece02369 in babl_list_each (list=0x61a910, each_fun=0x7fc3ecdf9e40 <each_babl_extension_destroy>, user_data=0x0) at babl-list.c:152
#7  0x00007fc3ecdf9e09 in babl_extension_destroy () at babl-extension.c:360
#8  0x00007fc3ecdf7d69 in babl_destroy () at babl.c:65
#9  0x00007fc3ee719bac in gegl_exit () at gegl-init.c:337
#10 0x00000000004018c3 in main (argc=2, argv=0x7fff62c50428) at operation_reference.c:360


Maybe we just want to push 0.1.6 to stable ? or does it break the api/abi ?
Comment 10 Tomáš Chvátal (RETIRED) gentoo-dev 2011-04-04 19:27:37 UTC
Due to serious issues with the doc useflag it was dropped thus closing this bug as fixed. If somebody is interested in doc features they need to open feature request with relyable working approach for them.
(gegl-0.1.6 is stable candidate and does not have the doc useflag)