By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 2752

Summary: FreeBSD 11: tde-packaging/freebsd/dependencies/tqmake fails to build
Product: TDE Reporter: Nikolaus Klepp <office>
Component: tdebaseAssignee: Timothy Pearson <kb9vqf>
Status: RESOLVED FIXED    
Severity: blocker CC: bugwatch, office, slavek.banko
Priority: P5    
Version: R14.0.x [Trinity]   
Hardware: All   
OS: Other   
Compiler Version: TDE Version String:
Application Version: Application Name:
Bug Depends on:    
Bug Blocks: 2696    

Description Nikolaus Klepp 2017-02-23 03:11:18 CST
I am trying to build TDE on FreeBSD 11. The first package to build is tqmake. While building from tde/main/dependencies/tqt3 works fine, building from tde-packaging/freebsd/dependencies/tqmake fails:

# make
===>  Found saved configuration for tqmake-14.0.4
===>   tqmake-14.0.4 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by tqmake-14.0.4 for building
===>  Extracting for tqmake-14.0.4
=> SHA256 Checksum OK for TDE/dependencies/tqt-x11-free_14.0.4.orig.tar.xz.
===>   tqmake-14.0.4 depends on executable: gtar - found
===>  Patching for tqmake-14.0.4
/bin/ln -s freebsd-g++ /usr/home/nik/TDE/tde-packaging/freebsd/dependencies/tqmake/work/tqt-x11-free_14.0.4/qmake/../mkspecs/default
===>   tqmake-14.0.4 depends on executable: automake - found
===>   tqmake-14.0.4 depends on executable: libtool - found
===>   tqmake-14.0.4 depends on executable: cmake - found
===>   tqmake-14.0.4 depends on executable: gfind - found
===>   tqmake-14.0.4 depends on executable: gsed - found
===>   tqmake-14.0.4 depends on executable: bash - found
===>   tqmake-14.0.4 depends on executable: gmake - found
===>   tqmake-14.0.4 depends on file: /usr/local/bin/fmake - found
===>  Configuring for tqmake-14.0.4
/usr/bin/sed -e 's|/usr/local|/usr/local|g'  < /usr/home/nik/TDE/tde-packaging/freebsd/dependencies/tqmake/files/qconfig.cpp  > /usr/home/nik/TDE/tde-packaging/freebsd/dependencies/tqmake/work/tqt-x11-free_14.0.4/src/tools/qconfig.cpp
echo '/* empty */' > /usr/home/nik/TDE/tde-packaging/freebsd/dependencies/tqmake/work/tqt-x11-free_14.0.4/qmake/ntqconfig.h
/bin/ln /usr/home/nik/TDE/tde-packaging/freebsd/dependencies/tqmake/work/tqt-x11-free_14.0.4/qmake/ntqconfig.h /usr/home/nik/TDE/tde-packaging/freebsd/dependencies/tqmake/work/tqt-x11-free_14.0.4/qmake/ntqmodules.h
/bin/ln -s . /usr/home/nik/TDE/tde-packaging/freebsd/dependencies/tqmake/work/tqt-x11-free_14.0.4/src/tools/private
===>  Building for tqmake-14.0.4
"/usr/share/mk/bsd.init.mk", line 12: Unknown directive
Unknown modifier 'U'

"/usr/share/mk/bsd.compiler.mk", line 38: Malformed conditional (${MK_CCACHE_BUILD:Uno} == "yes" &&  !make(showconfig) &&  (${CC:M*ccache/world/*} == "" || ${CXX:M*ccache/world/*} == ""))
"/usr/share/mk/bsd.compiler.mk", line 107: missing `in' in for
X_ in CC $${_empty_var_} XCC X_
"/usr/share/mk/bsd.compiler.mk", line 108: Malformed conditional (${cc} == "CC" || !empty(XCC))
Unknown modifier 'h'

Error expanding embedded variable.
===> 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/home/nik/TDE/tde-packaging/freebsd/dependencies/tqmake
*** Error code 1

Stop.
make: stopped in /usr/home/nik/TDE/tde-packaging/freebsd/dependencies/tqmake
Comment 1 Slávek Banko 2017-05-23 11:50:31 CDT
It seems that fmake is not maintained and broken in FreeBSD 11.x. So although it is mentioned in the official FreeBSD documentation, it can not be used. Instead of faulty fmake, the default make from FreeBSD is now used.

Fixed in commit 6b1063e4 (tde-packaging).