Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2024 20:47:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 279371] graphics/jpeg-turbo: update to 3.0.3 breaks graphics/rawtherapee, escaped -exp run
Message-ID:  <bug-279371-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279371

            Bug ID: 279371
           Summary: graphics/jpeg-turbo: update to 3.0.3 breaks
                    graphics/rawtherapee, escaped -exp run
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://pkg-status.freebsd.org/beefy22/data/140amd64-d
                    efault/b6f9255af153/logs/rawtherapee-5.10_1.log
                OS: Any
            Status: New
          Keywords: regression
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: mandree@FreeBSD.org
                CC: antoine@FreeBSD.org, desktop@FreeBSD.org,
                    portmgr@FreeBSD.org
        Depends on: 279166
                CC: desktop@FreeBSD.org

Created attachment 251045
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D251045&action=
=3Dedit
pkg-fallout report on our tier-1 FreeBSD 14

graphics/jpeg-turbo 3.0.3 made the jpeg_std_messasge_table a private data i=
tem,
in spite of the comments in jerror.c near it,
see
https://github.com/libjpeg-turbo/libjpeg-turbo/commit/34c055851ecb66a2d9bee=
1a3318c55cd9acd6586#diff-27e91831d86c024de8f419d49afbce0181f5b7832952b98265=
85c1f229c99f10R39

Filed upstream as https://github.com/libjpeg-turbo/libjpeg-turbo/issues/767

I wonder how this could escape the -exp run because this immediately result=
ed
in pkg-fallout reports such as
https://pkg-status.freebsd.org/beefy22/data/140amd64-default/b6f9255af153/l=
ogs/rawtherapee-5.10_1.log
https://pkg-status.freebsd.org/beefy22/build.html?mastername=3D140amd64-def=
ault&build=3Db6f9255af153

Essence:

FAILED: rtgui/rawtherapee=20
: && /usr/local/bin/g++12 -O2 -pipe  -I/usr/local/include -fPIC -O3
-funroll-loops -flto=3D3 -fstack-protector-strong -Wl,-rpath=3D/usr/local/l=
ib/gcc12
 -stdlib=3Dlibc++ -Wl,-rpath=3D/usr/local/lib/gcc12 -isystem /usr/local/inc=
lude
-std=3Dc++11 -ffp-contract=3Doff -mtune=3Dgeneric -Werror=3Dunused-label
-Werror=3Ddelete-incomplete -fno-math-errno -Wno-attributes -Wall -Wuniniti=
alized
-Wcast-qual -Wno-deprecated-declarations -Wno-unused-result -Wunused-macros
-fopenmp -Werror=3Dunknown-pragmas -O2 -pipe  -I/usr/local/include -fPIC -O3
-funroll-loops -flto=3D3 -fstack-protector-strong -Wl,-rpath=3D/usr/local/l=
ib/gcc12
 -stdlib=3Dlibc++ -Wl,-rpath=3D/usr/local/lib/gcc12 -isystem /usr/local/inc=
lude=20
-DNDEBUG -Wl,--as-needed -lpthread -O3 -funroll-loops -flto=3D1 -lm -lomp
-fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc12 -L/usr/local/lib=
/gcc12
-L/usr/local/lib -mtune=3Dgeneric [...long list of .cc.o files omitted...] =
-o
rtgui/rawtherapee  rtengine/librtengine.a  -lcanberra-gtk3  -lX11  -lcanber=
ra=20
-lgtk-3  -lgdk-3  -lz  -lpango
cairo-1.0  -lpango-1.0  -lharfbuzz  -latk-1.0  -lcairo-gobject  -lcairo=20
-lgdk_pixbuf-2.0  -lgio-2.0  -lgobject-2.0  -lglib-2.0  -lintl  -lexpat=20
-lfftw3f  /usr/local/lib/libfftw3f_omp.so  -lgiomm-2.4  -lgio-2.0  -lglibmm=
-2.4
 -lgobject-2.0  -lglib-2.0  -lintl  -lsigc-2.0  -lgio-2.0  -lgobject-2.0=20
-lglib-2.0  -lintl  -lglib-2.0  -lintl  -lglibmm-2.4  -lgobject-2.0  -lglib=
-2.0
 -lintl  -lsigc-2.0  -lgobject-2.0  -lglib-2.0  -lintl  -lgthread-2.0=20
-lglib-2.0  -lintl  -lgtkmm-3.0  -latkmm-1.6  -lgdkmm-3.0  -lgiomm-2.4=20
-lpangomm-1.4  -lglibmm-2.4  -lgtk-3  -lgdk-3  -lz  -lpangocairo-1.0=20
-lpango-1.0  -lharfbuzz  -latk-1.0  -lcairo-gobject  -lgio-2.0  -lcairomm-1=
.0=20
-lcairo  -lsigc-2.0  -lgdk_pixbuf-2.0  -lgobject-2.0  -lglib-2.0  -lintl=20
-lgtk-3  -lgdk-3  -lz  -lpangocairo-1.0  -lpango-1.0  -lharfbuzz  -latk-1.0=
=20
-lcairo-gobject  -lcairo  -lgdk_pixbuf-2.0  -lgio-2.0  -lgobject-2.0=20
-lglib-2.0  -lintl  -liptcdata  /usr/local/lib/libjpeg.so  -llcms2=20
-llcms2_fast_float  -llcms2_
threaded  /usr/local/lib/libpng.so  /usr/lib/libz.so  /usr/local/lib/libtif=
f.so
 /usr/lib/libz.so  -llensfun  -lrsvg-2  -lm  -lgio-2.0  -lgdk_pixbuf-2.0=20
-lgobject-2.0  -lglib-2.0  -lintl  -lcairo  /usr/local/lib/libexiv2.so=20
/usr/local/lib/gcc12/libgomp.so  -lgiomm-2.4  -lgtkmm-3.0  -latkmm-1.6=20
-lgdkmm-3.0  -lpangomm-1.4  -lcairomm-1.0  -lexpat  -lfftw3f=20
/usr/local/lib/libfftw3f_omp.so  -lgdk_pixbuf-2.0  -lgio-2.0  -lgobject-2.0=
=20
-lglib-2.0  -lintl  -lglibmm-2.4  -lsigc-2.0  -lgthread-2.0  -liptcdata=20
/usr/local/lib/libjpeg.so  -llcms2  -llcms2_fast_float  -llcms2_threaded=20
/usr/local/lib/libpng.so  /usr/lib/libz.so  /usr/local/lib/libtiff.so=20
-llensfun  -lrsvg-2  -lm  -lgdk_pixbuf-2.0  -lgio-2.0  -lgobject-2.0=20
-lglib-2.0  -lintl  -lglibmm-2.4  -lsigc-2.0  -lgthread-2.0  -liptcdata=20
/usr/local/lib/libjpeg.so  -llcms2  -llcms2_fast_float  -llcms2_threaded=20
/usr/local/lib/libpng.so  /usr/lib/libz.so  /usr/local/lib/libtiff.so=20
-llensfun  -lrsvg-2  -lm  -lcairo && :
/usr/local/bin/ld: /tmp/ccnktZpp.ltrans82.ltrans.o: in function
`rtengine::ImageIO::loadJPEG(Glib::ustring const&)':
<artificial>:(.text+0x141e1): undefined reference to `jpeg_std_message_tabl=
e'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
*** Error code 1

I am about to commit a workaround, but we should find out how this could sn=
eak
past the -exp run.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279166
[Bug 279166] graphics/jpeg-turbo: Update to 3.0.3
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279371-7788>