Date: Sat, 20 Apr 2024 22:39:06 +0800 From: Po-Chuan Hsieh <sunpoet@freebsd.org> To: Vladimir Druzenko <vvd@freebsd.org> Cc: dev-commits-ports-main@freebsd.org, ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org Subject: Re: git: e710744f6c83 - main - graphics/GraphicsMagick: Update to 1.3.43 Message-ID: <CAMHz58S8WVe6OrvK5Etty85Uus1pKCNbrKG1Z=uxYKpeLx2xsg@mail.gmail.com> In-Reply-To: <28fe5b36-8136-44b7-b08f-fe3b653d60d3@freebsd.org> References: <202404181253.43ICr61o069768@gitrepo.freebsd.org> <28fe5b36-8136-44b7-b08f-fe3b653d60d3@freebsd.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Fri, Apr 19, 2024 at 12:21 AM Vladimir Druzenko <vvd@freebsd.org> wrote: > 18.04.2024 15:53, Po-Chuan Hsieh пишет: > > The branch main has been updated by sunpoet: > > > > URL: > https://cgit.FreeBSD.org/ports/commit/?id=e710744f6c835f2b99cbfca56d523d46109e63b0 > > > > commit e710744f6c835f2b99cbfca56d523d46109e63b0 > > Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> > > AuthorDate: 2024-04-18 12:47:58 +0000 > > Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> > > CommitDate: 2024-04-18 12:47:58 +0000 > > > > graphics/GraphicsMagick: Update to 1.3.43 > > > > Changes: http://www.graphicsmagick.org/NEWS.html > > --- > > graphics/GraphicsMagick/Makefile | 5 +- > > graphics/GraphicsMagick/distinfo | 6 +-- > > graphics/GraphicsMagick/files/patch-Makefile.in | 11 ---- > > graphics/GraphicsMagick/files/patch-coders_jxl.c | 63 > ---------------------- > > graphics/GraphicsMagick/files/patch-configure | 28 +++------- > > graphics/GraphicsMagick/files/patch-jpeg-turbo | 67 > ------------------------ > > graphics/GraphicsMagick/pkg-plist | 11 ++-- > > 7 files changed, 20 insertions(+), 171 deletions(-) > > > > diff --git a/graphics/GraphicsMagick/Makefile > b/graphics/GraphicsMagick/Makefile > > index be2ef664e5cf..98b9b182def1 100644 > > --- a/graphics/GraphicsMagick/Makefile > > +++ b/graphics/GraphicsMagick/Makefile > > @@ -1,6 +1,5 @@ > > PORTNAME= GraphicsMagick > > -PORTVERSION= 1.3.40 > > -PORTREVISION= 5 > > +PORTVERSION= 1.3.43 > > PORTEPOCH= 1 > > CATEGORIES= graphics > > MASTER_SITES= SF > > @@ -11,7 +10,7 @@ WWW= http://www.graphicsmagick.org/ > > > > LICENSE= MIT > > > > -USES= cpe libtool localbase pathfix pkgconfig tar:zst > > +USES= cpe libtool localbase pathfix pkgconfig tar:xz > > > > CONFIGURE_ARGS= --enable-shared --enable-static \ > > --with-windows-font-dir=${WINDOWS_FONT_DIR} \ > > Hello! > > Build fails with FPX option on: > > > libtool: link: cc -fopenmp -O2 -pipe -march=nehalem > > -fstack-protector-strong -isystem /usr/local/include > > -fno-strict-aliasing -Wall -D_THREAD_SAFE -fstack-protector-strong > > -fstack-protector-strong -o utilities/.libs/gm utilities/gm.o > > -L/usr/local/lib magick/.libs/libGraphicsMagick.so -ljasper -lwmflite > > -ljxl -ljxl_threads -ltiff -ljbig -lsharpyuv -lwebp -lwebpmux > > -lfreetype -ljpeg -lpng16 -llcms2 -llcms2_fast_float -llcms2_threaded > > -lXext -lSM -lICE -lX11 -lxml2 -llzma -lbz2 -lz -lm -lpthread -lomp > > -fopenmp -Wl,-rpath -Wl,/usr/local/lib > > ld: error: undefined reference due to --no-allow-shlib-undefined: > > FPX_InitSystem > > >>> referenced by magick/.libs/libGraphicsMagick.so > > > > ld: error: undefined reference due to --no-allow-shlib-undefined: > > FPX_SetToolkitMemoryLimit > > >>> referenced by magick/.libs/libGraphicsMagick.so > > > > ld: error: undefined reference due to --no-allow-shlib-undefined: > > FPX_ClearSystem > > >>> referenced by magick/.libs/libGraphicsMagick.so > > > > ld: error: undefined reference due to --no-allow-shlib-undefined: > > FPX_OpenImageByFilename > > >>> referenced by magick/.libs/libGraphicsMagick.so > > > > ld: error: undefined reference due to --no-allow-shlib-undefined: > > FPX_GetSummaryInformation > > >>> referenced by magick/.libs/libGraphicsMagick.so > > > > ld: error: undefined reference due to --no-allow-shlib-undefined: > > FPX_GetImageResultAspectRatio > > >>> referenced by magick/.libs/libGraphicsMagick.so > > > > ld: error: undefined reference due to --no-allow-shlib-undefined: > > FPX_CloseImage > > >>> referenced by magick/.libs/libGraphicsMagick.so > > > > ld: error: undefined reference due to --no-allow-shlib-undefined: > > FPX_SetResampleMethod > > >>> referenced by magick/.libs/libGraphicsMagick.so > > > > ld: error: undefined reference due to --no-allow-shlib-undefined: > > FPX_ReadImageRectangle > > >>> referenced by magick/.libs/libGraphicsMagick.so > > > > ld: error: undefined reference due to --no-allow-shlib-undefined: > > FPX_ReadImageTransformRectangle > > >>> referenced by magick/.libs/libGraphicsMagick.so > > > > ld: error: undefined reference due to --no-allow-shlib-undefined: > > FPX_CreateImageByFilename > > >>> referenced by magick/.libs/libGraphicsMagick.so > > > > ld: error: undefined reference due to --no-allow-shlib-undefined: > > FPX_SetJPEGCompression > > >>> referenced by magick/.libs/libGraphicsMagick.so > > > > ld: error: undefined reference due to --no-allow-shlib-undefined: > > FPX_SetSummaryInformation > > >>> referenced by magick/.libs/libGraphicsMagick.so > > > > ld: error: undefined reference due to --no-allow-shlib-undefined: > > FPX_WriteImageLine > > >>> referenced by magick/.libs/libGraphicsMagick.so > > cc: error: linker command failed with exit code 1 (use -v to see > > invocation) > > *** [utilities/gm] Error code 1 > > > Fixed with patch: > -USES= cpe libtool localbase pathfix pkgconfig tar:xz > +USES= cpe libtool localbase:ldflags pathfix pkgconfig tar:xz > +FPX_LDFLAGS= -lfpx > > Tested on 13.3-p1 amd64 in poudriere and on live system. > > If you agree I can commit self. > > -- > Best regards, > Vladimir Druzenko > Fixed in ports f57677209d3a6981cbb5e2bceba03c37ea2f65a8. Thanks. However, I'd like to remove it. I wonder if people really use fpx nowadays. [-- Attachment #2 --] <div dir="ltr"><div dir="ltr">On Fri, Apr 19, 2024 at 12:21 AM Vladimir Druzenko <<a href="mailto:vvd@freebsd.org">vvd@freebsd.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">18.04.2024 15:53, Po-Chuan Hsieh пишет:<br> > The branch main has been updated by sunpoet:<br> ><br> > URL: <a href="https://cgit.FreeBSD.org/ports/commit/?id=e710744f6c835f2b99cbfca56d523d46109e63b0" rel="noreferrer" target="_blank">https://cgit.FreeBSD.org/ports/commit/?id=e710744f6c835f2b99cbfca56d523d46109e63b0</a><br> ><br> > commit e710744f6c835f2b99cbfca56d523d46109e63b0<br> > Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org><br> > AuthorDate: 2024-04-18 12:47:58 +0000<br> > Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org><br> > CommitDate: 2024-04-18 12:47:58 +0000<br> ><br> > graphics/GraphicsMagick: Update to 1.3.43<br> > <br> > Changes: <a href="http://www.graphicsmagick.org/NEWS.html" rel="noreferrer" target="_blank">http://www.graphicsmagick.org/NEWS.html</a><br> > ---<br> > graphics/GraphicsMagick/Makefile | 5 +-<br> > graphics/GraphicsMagick/distinfo | 6 +--<br> > graphics/GraphicsMagick/files/patch-Makefile.in | 11 ----<br> > graphics/GraphicsMagick/files/patch-coders_jxl.c | 63 ----------------------<br> > graphics/GraphicsMagick/files/patch-configure | 28 +++-------<br> > graphics/GraphicsMagick/files/patch-jpeg-turbo | 67 ------------------------<br> > graphics/GraphicsMagick/pkg-plist | 11 ++--<br> > 7 files changed, 20 insertions(+), 171 deletions(-)<br> ><br> > diff --git a/graphics/GraphicsMagick/Makefile b/graphics/GraphicsMagick/Makefile<br> > index be2ef664e5cf..98b9b182def1 100644<br> > --- a/graphics/GraphicsMagick/Makefile<br> > +++ b/graphics/GraphicsMagick/Makefile<br> > @@ -1,6 +1,5 @@<br> > PORTNAME= GraphicsMagick<br> > -PORTVERSION= 1.3.40<br> > -PORTREVISION= 5<br> > +PORTVERSION= 1.3.43<br> > PORTEPOCH= 1<br> > CATEGORIES= graphics<br> > MASTER_SITES= SF<br> > @@ -11,7 +10,7 @@ WWW= <a href="http://www.graphicsmagick.org/" rel="noreferrer" target="_blank">http://www.graphicsmagick.org/</a><br> > <br> > LICENSE= MIT<br> > <br> > -USES= cpe libtool localbase pathfix pkgconfig tar:zst<br> > +USES= cpe libtool localbase pathfix pkgconfig tar:xz<br> > <br> > CONFIGURE_ARGS= --enable-shared --enable-static \<br> > --with-windows-font-dir=${WINDOWS_FONT_DIR} \<br> <br> Hello!<br> <br> Build fails with FPX option on:<br> <br> > libtool: link: cc -fopenmp -O2 -pipe -march=nehalem <br> > -fstack-protector-strong -isystem /usr/local/include <br> > -fno-strict-aliasing -Wall -D_THREAD_SAFE -fstack-protector-strong <br> > -fstack-protector-strong -o utilities/.libs/gm utilities/gm.o <br> > -L/usr/local/lib magick/.libs/libGraphicsMagick.so -ljasper -lwmflite <br> > -ljxl -ljxl_threads -ltiff -ljbig -lsharpyuv -lwebp -lwebpmux <br> > -lfreetype -ljpeg -lpng16 -llcms2 -llcms2_fast_float -llcms2_threaded <br> > -lXext -lSM -lICE -lX11 -lxml2 -llzma -lbz2 -lz -lm -lpthread -lomp <br> > -fopenmp -Wl,-rpath -Wl,/usr/local/lib<br> > ld: error: undefined reference due to --no-allow-shlib-undefined: <br> > FPX_InitSystem<br> > >>> referenced by magick/.libs/libGraphicsMagick.so<br> ><br> > ld: error: undefined reference due to --no-allow-shlib-undefined: <br> > FPX_SetToolkitMemoryLimit<br> > >>> referenced by magick/.libs/libGraphicsMagick.so<br> ><br> > ld: error: undefined reference due to --no-allow-shlib-undefined: <br> > FPX_ClearSystem<br> > >>> referenced by magick/.libs/libGraphicsMagick.so<br> ><br> > ld: error: undefined reference due to --no-allow-shlib-undefined: <br> > FPX_OpenImageByFilename<br> > >>> referenced by magick/.libs/libGraphicsMagick.so<br> ><br> > ld: error: undefined reference due to --no-allow-shlib-undefined: <br> > FPX_GetSummaryInformation<br> > >>> referenced by magick/.libs/libGraphicsMagick.so<br> ><br> > ld: error: undefined reference due to --no-allow-shlib-undefined: <br> > FPX_GetImageResultAspectRatio<br> > >>> referenced by magick/.libs/libGraphicsMagick.so<br> ><br> > ld: error: undefined reference due to --no-allow-shlib-undefined: <br> > FPX_CloseImage<br> > >>> referenced by magick/.libs/libGraphicsMagick.so<br> ><br> > ld: error: undefined reference due to --no-allow-shlib-undefined: <br> > FPX_SetResampleMethod<br> > >>> referenced by magick/.libs/libGraphicsMagick.so<br> ><br> > ld: error: undefined reference due to --no-allow-shlib-undefined: <br> > FPX_ReadImageRectangle<br> > >>> referenced by magick/.libs/libGraphicsMagick.so<br> ><br> > ld: error: undefined reference due to --no-allow-shlib-undefined: <br> > FPX_ReadImageTransformRectangle<br> > >>> referenced by magick/.libs/libGraphicsMagick.so<br> ><br> > ld: error: undefined reference due to --no-allow-shlib-undefined: <br> > FPX_CreateImageByFilename<br> > >>> referenced by magick/.libs/libGraphicsMagick.so<br> ><br> > ld: error: undefined reference due to --no-allow-shlib-undefined: <br> > FPX_SetJPEGCompression<br> > >>> referenced by magick/.libs/libGraphicsMagick.so<br> ><br> > ld: error: undefined reference due to --no-allow-shlib-undefined: <br> > FPX_SetSummaryInformation<br> > >>> referenced by magick/.libs/libGraphicsMagick.so<br> ><br> > ld: error: undefined reference due to --no-allow-shlib-undefined: <br> > FPX_WriteImageLine<br> > >>> referenced by magick/.libs/libGraphicsMagick.so<br> > cc: error: linker command failed with exit code 1 (use -v to see <br> > invocation)<br> > *** [utilities/gm] Error code 1<br> <br> <br> Fixed with patch:<br> -USES= cpe libtool localbase pathfix pkgconfig tar:xz<br> +USES= cpe libtool localbase:ldflags pathfix pkgconfig tar:xz<br> +FPX_LDFLAGS= -lfpx<br> <br> Tested on 13.3-p1 amd64 in poudriere and on live system.<br> <br> If you agree I can commit self.<br> <br> -- <br> Best regards,<br> Vladimir Druzenko<br></blockquote><div><br></div><div>Fixed in ports f57677209d3a6981cbb5e2bceba03c37ea2f65a8. Thanks.</div><div>However, I'd like to remove it. I wonder if people really use fpx nowadays.</div></div></div>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58S8WVe6OrvK5Etty85Uus1pKCNbrKG1Z=uxYKpeLx2xsg>
