Way to reproduce: 1.Port configuration _OPTIONS_READ=gegl3-0.3.18 _FILE_COMPLETE_OPTIONS_LIST=CAIRO ENSCRIPT EXAMPLES EXIV2 FFMPEG GEXIV2 GRAPHVIZ JASPER JPEG LCMS2 LIBRSVG2 LUA OPENEXR PANGO PIXBUF PNG RAW SDL SPIRO TIFF V4L WEBP OPTIONS_FILE_SET+=CAIRO OPTIONS_FILE_SET+=ENSCRIPT OPTIONS_FILE_SET+=EXAMPLES OPTIONS_FILE_SET+=EXIV2 OPTIONS_FILE_SET+=FFMPEG OPTIONS_FILE_SET+=GEXIV2 OPTIONS_FILE_SET+=GRAPHVIZ OPTIONS_FILE_SET+=JASPER OPTIONS_FILE_SET+=JPEG OPTIONS_FILE_SET+=LCMS2 OPTIONS_FILE_SET+=LIBRSVG2 OPTIONS_FILE_SET+=LUA OPTIONS_FILE_SET+=OPENEXR OPTIONS_FILE_SET+=PANGO OPTIONS_FILE_SET+=PIXBUF OPTIONS_FILE_SET+=PNG OPTIONS_FILE_SET+=RAW OPTIONS_FILE_SET+=SDL OPTIONS_FILE_SET+=SPIRO OPTIONS_FILE_SET+=TIFF OPTIONS_FILE_SET+=V4L OPTIONS_FILE_SET+=WEBP 2. OpenMP package not installed 3. Log during linking: /usr/bin/ld: cannot find -lomp cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[6]: *** [Makefile:1073: raw-load.la] Error 1 gmake[6]: *** Waiting for unfinished jobs.... libtool: link: ( cd ".libs" && rm -f "v4l.la" && ln -s "../v4l.la" "v4l.la" ) libtool: link: cc -shared -fPIC -DPIC .libs/ff_load_la-ff-load.o -Wl,-rpath -Wl,/usr/ports/graphics/gegl3/work/gegl-0.3.18/gegl/.libs -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lgmodule-2.0 -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -lm -lbabl-0.1 ../../gegl/.libs/libgegl-0.3.so -lavformat -lavcodec -lswscale -pthread -O2 -march=native -fstack-protector -mmmx -msse -fstack-protector -Wl,--export-dynamic -pthread -pthread -Wl,-soname -Wl,ff-load.so -o .libs/ff-load.so libtool: link: cc -shared -fPIC -DPIC .libs/lcms_from_profile_la-lcms-from-profile.o -Wl,-rpath -Wl,/usr/ports/graphics/gegl3/work/gegl-0.3.18/gegl/.libs -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lgmodule-2.0 -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -lm -lbabl-0.1 ../../gegl/.libs/libgegl-0.3.so -llcms2 -pthread -O2 -march=native -fstack-protector -mmmx -msse -fstack-protector -Wl,--export-dynamic -pthread -pthread -Wl,-soname -Wl,lcms-from-profile.so -o .libs/lcms-from-profile.so libtool: link: cc -shared -fPIC -DPIC .libs/ff_save_la-ff-save.o -Wl,-rpath -Wl,/usr/ports/graphics/gegl3/work/gegl-0.3.18/gegl/.libs -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lgmodule-2.0 -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -lm -lbabl-0.1 ../../gegl/.libs/libgegl-0.3.so -lavformat -lavcodec -lswscale -pthread -O2 -march=native -fstack-protector -mmmx -msse -fstack-protector -Wl,--export-dynamic -pthread -pthread -Wl,-soname -Wl,ff-save.so -o .libs/ff-save.so libtool: link: cc -shared -fPIC -DPIC .libs/tiff_load_la-tiff-load.o -Wl,-rpath -Wl,/usr/ports/graphics/gegl3/work/gegl-0.3.18/gegl/.libs -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lgmodule-2.0 -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -lm -lbabl-0.1 ../../gegl/.libs/libgegl-0.3.so -ltiff -pthread -O2 -march=native -fstack-protector -mmmx -msse -fstack-protector -Wl,--export-dynamic -pthread -pthread -Wl,-soname -Wl,tiff-load.so -o .libs/tiff-load.so libtool: link: cc -shared -fPIC -DPIC .libs/jp2_load_la-jp2-load.o -Wl,-rpath -Wl,/usr/ports/graphics/gegl3/work/gegl-0.3.18/gegl/.libs -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lgmodule-2.0 -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -lm -lbabl-0.1 ../../gegl/.libs/libgegl-0.3.so /usr/local/lib/libjasper.so -pthread -O2 -march=native -fstack-protector -mmmx -msse -fstack-protector -Wl,--export-dynamic -pthread -pthread -Wl,-soname -Wl,jp2-load.so -o .libs/jp2-load.so libtool: link: ( cd ".libs" && rm -f "lcms-from-profile.la" && ln -s "../lcms-from-profile.la" "lcms-from-profile.la" ) libtool: link: cc -shared -fPIC -DPIC .libs/tiff_save_la-tiff-save.o -Wl,-rpath -Wl,/usr/ports/graphics/gegl3/work/gegl-0.3.18/gegl/.libs -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lgmodule-2.0 -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -lm -lbabl-0.1 ../../gegl/.libs/libgegl-0.3.so -ltiff -pthread -O2 -march=native -fstack-protector -mmmx -msse -fstack-protector -Wl,--export-dynamic -pthread -pthread -Wl,-soname -Wl,tiff-save.so -o .libs/tiff-save.so libtool: link: ( cd ".libs" && rm -f "tiff-load.la" && ln -s "../tiff-load.la" "tiff-load.la" ) libtool: link: ( cd ".libs" && rm -f "jp2-load.la" && ln -s "../jp2-load.la" "jp2-load.la" ) libtool: link: ( cd ".libs" && rm -f "ff-save.la" && ln -s "../ff-save.la" "ff-save.la" ) libtool: link: ( cd ".libs" && rm -f "ff-load.la" && ln -s "../ff-load.la" "ff-load.la" ) libtool: link: ( cd ".libs" && rm -f "tiff-save.la" && ln -s "../tiff-save.la" "tiff-save.la" ) gmake[6]: Leaving directory '/usr/ports/graphics/gegl3/work/gegl-0.3.18/operations/external' gmake[5]: *** [Makefile:951: all] Error 2 gmake[5]: Leaving directory '/usr/ports/graphics/gegl3/work/gegl-0.3.18/operations/external' gmake[4]: *** [Makefile:518: all-recursive] Error 1 gmake[4]: Leaving directory '/usr/ports/graphics/gegl3/work/gegl-0.3.18/operations' gmake[3]: *** [Makefile:640: all-recursive] Error 1 gmake[3]: Leaving directory '/usr/ports/graphics/gegl3/work/gegl-0.3.18' gmake[2]: *** [Makefile:547: all] Error 2 gmake[2]: Leaving directory '/usr/ports/graphics/gegl3/work/gegl-0.3.18' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/gegl3 *** Error code 1 Stop. make: stopped in /usr/ports/graphics/gegl3
We have version 0.3.34. Still issues or can we close this?
I can confirm that this bug persists on gegl3-0.3.34. Build breaks with "cannot find -lomp"; after manually installing devel/openmp, graphics/gegl3 can be built without any issue.
/usr/ports/MOVED: graphics/gegl3|graphics/gegl|2018-10-07|Replaced old gegl version with the newer version We have version 0.4.8,2. gegl builds fine. Close with overcome by events. If there still issues, please reopen.
I just encountered the problem. I am building a desptop-version, using poudriere in a jail to build the packages to my liking. I tried it with openmp in my pkglist cat /usr/local/etc/poudriere.d/pkglist devel/openmp www/firefox x11/nvidia-driver ports-mgmt/pkg ports-mgmt/poudriere sysutils/smartmontools mail/thunderbird x11-wm/xfce4 x11/xorg editors/vim-console graphics/gimp graphics/darktable german/libreoffice deskutils/calibre editors/linux-sublime3 print/hplip audio/xfce4-pulseaudio-plugin deskutils/xfce4-notifyd deskutils/xfce4-volumed-pulse misc/xfce4-weather-plugin print/xfce4-print x11/libxfce4menu x11/xfce4-goodies x11-toolkits/libxfce4gui print/texlive-full print/latex-resume I as well placed in into my make.conf, after it failed OPTIONS_UNSET= DEBUG HELP STATIC GNUTLS DOCS EXAMPLES \ MANPAGES DOCBOOK TESTS HTMLDOCS JACK CPU_CLIP OPTIONS_SET=SOUND ALSA PULSEAUDIO CUPS READLINE X11 OPENGL OPENMP The result is the same. Here the log: =>> Building graphics/gegl build started at Sun Jan 27 15:18:16 IST 2019 port directory: /usr/ports/graphics/gegl package name: gegl-0.4.12_1 building for: FreeBSD pkg.FreeBSD.org 12.0-RELEASE-p2 FreeBSD 12.0-RELEASE-p2 amd64 maintained by: gnome@FreeBSD.org Makefile ident: $FreeBSD: head/graphics/gegl/Makefile 487272 2018-12-12 01:35:33Z gerald $ Poudriere version: 3.2.8 Host OSVERSION: 1200086 Jail OSVERSION: 1200086 Job Id: 04 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1200086 UNAME_v=FreeBSD 12.0-RELEASE-p2 UNAME_r=12.0-RELEASE-p2 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8 MASTERMNT=/usr/local/poudriere/data/.m/amd64-12-0-head/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=xterm-256color GID=0 UID=0 PWD=/usr/local/poudriere/data/.m/amd64-12-0-head/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=amd64-12-0-head SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/amd64-12-0-head/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for gegl-0.4.12_1: CAIRO=on: Cairo graphics library support ENSCRIPT=on: Enscript support EXAMPLES=off: Build and/or install examples EXIV2=on: EXIF and IPTC metadata support via exiv2 FFMPEG=on: FFmpeg support (WMA, AIFF, AC3, APE...) GEXIV2=on: EXIF and IPTC metadata support via gexiv2 GRAPHVIZ=on: Graphviz graph drawing support JASPER=on: JPEG 2000 support via JasPer LCMS2=on: Little CMS 2.x support LIBRSVG2=on: SVG vector graphics support via librsvg2 LUA=on: Lua scripting language support OPENEXR=on: HDR image format support via OpenEXR PANGO=on: Pango rendering library support PIXBUF=on: GDK-PixBuf library support RAW=on: RAW format support SDL=on: Simple Direct Media Layer support SPIRO=on: Spiro support TIFF=on: TIFF image format support V4L=on: Video 4 Linux support WEBP=on: WebP image format support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- gnome@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --without-vala --disable-docs --without-mrg --without-lensfun --without-umfpack --with-cairo --with-exiv2 --with-libavformat --with-gexiv2 --with-graphviz --with-jasper --with-lua --with-openexr --with-pango --with-gdk-pixbuf --with-libraw --with-sdl --with-libspiro --with-libtiff --with-libv4l --with-webp --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- ac_cv_header_execinfo_h=no SDL_CONFIG=/usr/local/bin/sdl-config MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/gegl/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/gegl/work HOME=/wrkdirs/usr/ports/graphics/gegl/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/gegl/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config GI_SCANNER_DISABLE_CACHE=1 XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/gegl/work LUA_MODLIBDIR=/usr/local/lib/lua/5.2 LUA_MODSHAREDIR=/usr/local/share/lua/5.2 LUA_VER=5.2 LUA_INCDIR=/usr/local/include/lua52 LUA_LIBDIR=/usr/local/lib XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/gegl/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/gegl/work HOME=/wrkdirs/usr/ports/graphics/gegl/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/gegl/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local LOCALBASE=/usr/local CC="clang" CFLAGS="-O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing " CPP="clang-cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -fstack-protector " LIBS="-L/usr/local/lib" CXX="clang++" CXXFLAGS="-O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- GEGL_MINOR="412" GEGL_VER=0.4 PORTEXAMPLES="@comment " CAIRO="" NO_CAIRO="@comment " ENSCRIPT="" NO_ENSCRIPT="@comment " EXAMPLES="@comment " NO_EXAMPLES="" EXIV2="" NO_EXIV2="@comment " FFMPEG="" NO_FFMPEG="@comment " GEXIV2="" NO_GEXIV2="@comment " GRAPHVIZ="" NO_GRAPHVIZ="@comment " JASPER="" NO_JASPER="@comment " LCMS2="" NO_LCMS2="@comment " LIBRSVG2="" NO_LIBRSVG2="@comment " LUA="" NO_LUA="@comment " OPENEXR="" NO_OPENEXR="@comment " PANGO="" NO_PANGO="@comment " PIXBUF="" NO_PIXBUF="@comment " RAW="" NO_RAW="@comment " SDL="" NO_SDL="@comment " SPIRO="" NO_SPIRO="@comment " TIFF="" NO_TIFF="@comment " V4L="" NO_V4L="@comment " WEBP="" NO_WEBP="@comment " PANGOCAIRO="" GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" LUA_MODLIBDIR=lib/lua/5.2 LUA_MODSHAREDIR=share/lua/5.2 LUA_VER=5.2 LUA_INCDIR=include/lua52 LUA_LIBDIR=lib LUA_VER_STR=52 OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/gegl" EXAMPLESDIR="share/examples/gegl" DATADIR="share/gegl" WWWDIR="www/gegl" ETCDIR="etc/gegl" --End PLIST_SUB-- --SUB_LIST-- CAIRO="" NO_CAIRO="@comment " ENSCRIPT="" NO_ENSCRIPT="@comment " EXAMPLES="@comment " NO_EXAMPLES="" EXIV2="" NO_EXIV2="@comment " FFMPEG="" NO_FFMPEG="@comment " GEXIV2="" NO_GEXIV2="@comment " GRAPHVIZ="" NO_GRAPHVIZ="@comment " JASPER="" NO_JASPER="@comment " LCMS2="" NO_LCMS2="@comment " LIBRSVG2="" NO_LIBRSVG2="@comment " LUA="" NO_LUA="@comment " OPENEXR="" NO_OPENEXR="@comment " PANGO="" NO_PANGO="@comment " PIXBUF="" NO_PIXBUF="@comment " RAW="" NO_RAW="@comment " SDL="" NO_SDL="@comment " SPIRO="" NO_SPIRO="@comment " TIFF="" NO_TIFF="@comment " V4L="" NO_V4L="@comment " WEBP="" NO_WEBP="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/gegl DOCSDIR=/usr/local/share/doc/gegl EXAMPLESDIR=/usr/local/share/examples/gegl WWWDIR=/usr/local/www/gegl ETCDIR=/usr/local/etc/gegl --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### /usr/local/etc/poudriere.d/make.conf #### CC=clang # Highly recommended over GCC, CXX=clang++ # but only needed for 8.X and 9.X CPP=clang-cpp # since it's the default in 10.0 OPTIONS_UNSET= DEBUG HELP STATIC GNUTLS DOCS EXAMPLES \ MANPAGES DOCBOOK TESTS HTMLDOCS JACK CPU_CLIP OPTIONS_SET=SOUND ALSA PULSEAUDIO CUPS READLINE X11 OPENGL OPENMP ---- snip ------ /bin/sh ../../libtool --tag=CC --mode=link clang -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/json-glib-1.0 -I/usr/local/include/gio-unix-2.0/ -pthread -I/usr/local/include/babl-0.1 -I/usr/local/include/libraw -I/usr/local/include -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -mmmx -msse -ffast-math -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -avoid-version -export-dynamic -module -fstack-protector -o raw-load.la -rpath /usr/local/lib/gegl-0.4 raw_load_la-raw-load.lo -L/usr/local/lib -Wl,--export-dynamic -lgmodule-2.0 -lglib-2.0 -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lintl -lm -L/usr/local/lib -lbabl-0.1 ../../gegl/libgegl-0.4.la -L/usr/local/lib -lraw -fopenmp -llcms2 -L/usr/local/lib libtool: link: clang -shared -fPIC -DPIC .libs/raw_load_la-raw-load.o -Wl,-rpath -Wl,/wrkdirs/usr/ports/graphics/gegl/work/gegl-0.4.12/gegl/.libs -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lgmodule-2.0 -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -lm -lbabl-0.1 ../../gegl/.libs/libgegl-0.4.so -lraw -llcms2 -pthread -O2 -fstack-protector -mmmx -msse -fstack-protector -Wl,--export-dynamic -pthread -fopenmp -pthread -fopenmp -Wl,-soname -Wl,raw-load.so -o .libs/raw-load.so /usr/bin/ld: error: unable to find library -lomp clang: error: linker command failed with exit code 1 (use -v to see invocation) gmake[4]: *** [Makefile:1102: raw-load.la] Error 1 gmake[4]: Leaving directory '/wrkdirs/usr/ports/graphics/gegl/work/gegl-0.4.12/operations/external' gmake[3]: *** [Makefile:509: all-recursive] Error 1 gmake[3]: Leaving directory '/wrkdirs/usr/ports/graphics/gegl/work/gegl-0.4.12/operations' gmake[2]: *** [Makefile:636: all-recursive] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/gegl/work/gegl-0.4.12' gmake[1]: *** [Makefile:543: all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/gegl/work/gegl-0.4.12' *** Error code 1 Stop. make: stopped in /usr/ports/graphics/gegl =>> Cleaning up wrkdir ===> Cleaning for gegl-0.4.12_1 build of graphics/gegl | gegl-0.4.12_1 ended at Sun Jan 27 15:20:45 IST 2019 build time: 00:02:29 !!! build failure encountered !!
(In reply to w.schwarzenfeld from comment #3) I have the same problem with version 4.12.1, so repot below
Reopen see Comment5
We have gegl version 4. graphics/gegl3|graphics/gegl|2018-10-07|Replaced old gegl version with the newer version I close here, with overcome be events. If there still problems, please open a new PR.