https://bugs.documentfoundation.org/show_bug.cgi?id=115416

            Bug ID: 115416
           Summary: LibreOffice fails to build with IJG's libjpeg - error:
                    ‘JCS_EXT_BGRA’ was not declared in this scope
           Product: LibreOffice
           Version: 5.4.2.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: andreas.sturmlech...@gmail.com

Description:
The build.log I am going to attach here is from 6.0.0.3, but the error was
first reported with 5.4.2.2.

Last words:

libreoffice-6.0.0.3/vcl/source/filter/jpeg/jpegc.cxx: In function ‘void
ReadJPEG(JpegStuff&, JPEGReader*, void*, long int*, const Size&,
GraphicFilterImportFlags, Bitmap::ScopedWriteAccess*)’:
libreoffice-6.0.0.3/vcl/source/filter/jpeg/jpegc.cxx:249:40: error:
‘JCS_EXT_BGRA’ was not declared in this scope
                 best_out_color_space = JCS_EXT_BGRA;
                                        ^~~~~~~~~~~~
libreoffice-6.0.0.3/vcl/source/filter/jpeg/jpegc.cxx:249:40: note: suggested
alternative: ‘JCS_BG_RGB’
                 best_out_color_space = JCS_EXT_BGRA;
                                        ^~~~~~~~~~~~
                                        JCS_BG_RGB
libreoffice-6.0.0.3/vcl/source/filter/jpeg/jpegc.cxx:255:40: error:
‘JCS_EXT_RGBA’ was not declared in this scope
                 best_out_color_space = JCS_EXT_RGBA;
                                        ^~~~~~~~~~~~
libreoffice-6.0.0.3/vcl/source/filter/jpeg/jpegc.cxx:255:40: note: suggested
alternative: ‘JCS_BG_RGB’
                 best_out_color_space = JCS_EXT_RGBA;
                                        ^~~~~~~~~~~~
                                        JCS_BG_RGB
libreoffice-6.0.0.3/vcl/source/filter/jpeg/jpegc.cxx:261:40: error:
‘JCS_EXT_ARGB’ was not declared in this scope
                 best_out_color_space = JCS_EXT_ARGB;
                                        ^~~~~~~~~~~~
libreoffice-6.0.0.3/vcl/source/filter/jpeg/jpegc.cxx:261:40: note: suggested
alternative: ‘JCS_BG_RGB’
                 best_out_color_space = JCS_EXT_ARGB;
                                        ^~~~~~~~~~~~
                                        JCS_BG_RGB
make[1]: *** [libreoffice-6.0.0.3/solenv/gbuild/LinkTarget.mk:293:
libreoffice-6.0.0.3/workdir/CxxObject/vcl/source/filter/jpeg/jpegc.o] Error 1
make[1]: *** Waiting for unfinished jobs....

Steps to Reproduce:
build LO --with-system-libs and libjpeg from ijg.org

Actual Results:  
build failure.

Expected Results:
build success.


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101
Firefox/58.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to