cmake problem with cad/opencascade

2024-04-25 Thread Thierry Thomas
Hello,

A problem has been reported for OpenCascade, and unfortunately I cannot
try to fix it ATM for personal reasons. Reading the log it seems that it
could be a problem with cmake: the PR is 278578:



CMake Error at adm/cmake/occt_toolkit.cmake:35 (include_directories):
  include_directories given empty-string as include directory.
Call Stack (most recent call first):
  CMakeLists.txt:34 (include)
  tools/TKShapeView/CMakeLists.txt:6 (OCCT_INCLUDE_CMAKE_FILE)


CMake Error at adm/cmake/qt_macro.cmake:62 (qt4_add_resources):
  Unknown CMake command "qt4_add_resources".
Call Stack (most recent call first):
  adm/cmake/qt_macro.cmake:97 (FIND_AND_WRAP_RESOURCE_FILE)
  adm/cmake/occt_toolkit.cmake:205 (FIND_AND_INSTALL_QT_RESOURCES)
  CMakeLists.txt:34 (include)
  tools/TKShapeView/CMakeLists.txt:6 (OCCT_INCLUDE_CMAKE_FILE)

Remark: Qt4 is not used with this port!

Did you already see such an error? Any idea of the possible cause?

Best regards.
-- 
Th. Thomas.


signature.asc
Description: PGP signature


[package - main-i386-default][www/qt5-webengine] Failed for qt5-webengine-5.15.16.p9 in build

2024-04-25 Thread pkg-fallout
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer: k...@freebsd.org
Log URL:
https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p0ac48e6731e9_s78101d437a9/logs/qt5-webengine-5.15.16.p9.log
Build URL:  
https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default=p0ac48e6731e9_s78101d437a9
Log:

=>> Building www/qt5-webengine
build started at Thu Apr 25 01:36:16 UTC 2024
port directory: /usr/ports/www/qt5-webengine
package name: qt5-webengine-5.15.16.p9
building for: FreeBSD main-i386-default-job-03 15.0-CURRENT FreeBSD 
15.0-CURRENT 1500018 i386
maintained by: k...@freebsd.org
Makefile datestamp: -rw-r--r--  1 root wheel 7113 Apr  2 01:01 
/usr/ports/www/qt5-webengine/Makefile
Ports top last git commit: 0ac48e6731e
Ports top unclean checkout: no
Port dir last git commit: 9793a1e61a7
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500018
Jail OSVERSION: 1500018
Job Id: 03

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1500018
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=15.0-CURRENT
LOCALBASE=/usr/local
UNAME_v=FreeBSD 15.0-CURRENT 1500018
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-30-g79e3edcd
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-i386-default/03/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-30-g79e3edcd
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for 
qt5-webengine-5.15.16.p9:
> Audio backend: you have to select exactly one of them
 ALSA=on: ALSA audio architecture support
 PULSEAUDIO=off: PulseAudio sound server support
 SNDIO=off: Sndio audio support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
k...@freebsd.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-qt-includes=/usr/local/include/qt5  
--with-qt-libraries=/usr/local/lib/qt5  
--with-extra-includes=/usr/local/include  --with-extra-libs=/usr/local/lib 
-opensource -confirm-license  -no-pch  -prefix /usr/local  -bindir 
/usr/local/lib/qt5/bin  -headerdir /usr/local/include/qt5  -libdir 
/usr/local/lib/qt5  -plugindir /usr/local/lib/qt5/plugins  -importdir 
/usr/local/lib/qt5/imports  -datadir /usr/local/share/qt5  -docdir 
/usr/local/share/doc/qt5  -translationdir /usr/local/share/qt5/translations  
-sysconfdir /usr/local/etc/xdg  -nomake examples -nomake tests  -platform 
freebsd-$(ccver="$(c++ "-B/usr/local/bin" --version)"; case "$ccver" in 
*clang*) echo clang ;; *) echo g++ ;; esac)  -archdatadir /usr/local/lib/qt5  
-libexecdir /usr/local/libexec/qt5  -qmldir /usr/local/lib/qt5/qml  
-examplesdir /usr/local/share/examples/qt5  -testsdir 
/usr/local/share/qt5/tests -no-sse2 -no-use-gold-linker -recheck-all -release 
-no-separate-debug-info
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
NINJAFLAGS="-j3"  NINJA_PATH="/usr/local/bin/ninja"   
PATH=/wrkdirs/usr/ports/www/qt5-webengine/work/.build/bin:/usr/local/bin:/wrkdirs/usr/ports/www/qt5-webengine/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 GPERF=/usr/local/bin/gperf ac_cv_path_PERL=/usr/local/bin/perl 
ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 
PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.9" QT_SELECT=qt5 
QMAKEMODULES="/wrkdirs/usr/ports/www/qt5-webengine/work/kde-qtwebengine-5.15.16p9/mkspecs/modules:/usr/local/lib/qt5/mkspecs/modules"
 QTDIR="/usr/local/lib/qt5" QMAKE="/usr/local/lib/qt5/bin/qmake"  
MOC="/usr/local/lib/qt5/bin/moc" RCC="/usr/local/lib/qt5/bin/rcc" 
UIC="/usr/local/lib/qt5/bin/uic"  
QMAKESPEC="/usr/local/lib/qt5/mkspecs/freebsd-$(ccver="$(c++ "-B/usr/local/bin" 
--version)"; case "$ccver" in *clang*) echo clang ;; *) echo g++ ;; esac)" 
MAKE="make" XDG_DATA_HOME=/wrkdirs/usr/ports/www/qt5-webengine/work  
XDG_CONFIG_HOME=/wrkdirs/us
r/ports/www/qt5-webengine/work  
XDG_CACHE_HOME=/wrkdirs/usr/ports/www/qt5-webengine/work/.cache  
HOME=/wrkdirs/usr/ports/www/qt5-webengine/work TMPDIR="/tmp"