Re: devel/qmake4: /usr/share/mk/bsd.prog.mk line 176: Malformed conditional (${COMPILER_TYPE}

2014-05-07 Thread Warner Losh

On May 6, 2014, at 9:38 AM, O. Hartmann ohart...@zedat.fu-berlin.de wrote:

 
 On CURRENT (FreeBSD 11.0-CURRENT #0 r265433: Tue May  6 13:37:15 CEST 2014 
 amd64) the
 build/updating of port devel/qmake4 fails due to:
 
 ===  Building for qt4-qmake-4.8.6
 make[1]: /usr/share/mk/bsd.prog.mk line 176: Malformed conditional 
 (${COMPILER_TYPE} ==
 clang  empty(CXXFLAGS:M-stdlib=libstdc++)) make[1]: Fatal errors 
 encountered --
 cannot continue make[1]: stopped
 in /usr/ports/devel/qmake4/work/qt-everywhere-opensource-src-4.8.6/qmake === 
 Compilation
 failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before 
 reporting the
 failure to the maintainer.
 *** Error code 1

I believe all the issues with this have been fixed.

Warner

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


devel/qmake4: /usr/share/mk/bsd.prog.mk line 176: Malformed conditional (${COMPILER_TYPE}

2014-05-06 Thread O. Hartmann

On CURRENT (FreeBSD 11.0-CURRENT #0 r265433: Tue May  6 13:37:15 CEST 2014 
amd64) the
build/updating of port devel/qmake4 fails due to:

===  Building for qt4-qmake-4.8.6
make[1]: /usr/share/mk/bsd.prog.mk line 176: Malformed conditional 
(${COMPILER_TYPE} ==
clang  empty(CXXFLAGS:M-stdlib=libstdc++)) make[1]: Fatal errors 
encountered --
cannot continue make[1]: stopped
in /usr/ports/devel/qmake4/work/qt-everywhere-opensource-src-4.8.6/qmake === 
Compilation
failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before 
reporting the
failure to the maintainer.
*** Error code 1


signature.asc
Description: PGP signature


Re: devel/qmake4: /usr/share/mk/bsd.prog.mk line 176: Malformed conditional (${COMPILER_TYPE}

2014-05-06 Thread Warner Losh

On May 6, 2014, at 10:38 AM, O. Hartmann ohart...@zedat.fu-berlin.de wrote:

 
 On CURRENT (FreeBSD 11.0-CURRENT #0 r265433: Tue May  6 13:37:15 CEST 2014 
 amd64) the
 build/updating of port devel/qmake4 fails due to:
 
 ===  Building for qt4-qmake-4.8.6
 make[1]: /usr/share/mk/bsd.prog.mk line 176: Malformed conditional 
 (${COMPILER_TYPE} ==
 clang  empty(CXXFLAGS:M-stdlib=libstdc++)) make[1]: Fatal errors 
 encountered --
 cannot continue make[1]: stopped
 in /usr/ports/devel/qmake4/work/qt-everywhere-opensource-src-4.8.6/qmake === 
 Compilation
 failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before 
 reporting the
 failure to the maintainer.
 *** Error code 1

Awesome! Thanks for the feedback. Let me see if I can recreate it here. Most 
likely, the
removal of src.opts.mk from bsd.opts.mk caused this situation to occur. I’ll 
try to rectify this
ASAP.

Warner

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: devel/qmake4: /usr/share/mk/bsd.prog.mk line 176: Malformed conditional (${COMPILER_TYPE}

2014-05-06 Thread Warner Losh

On May 6, 2014, at 10:38 AM, O. Hartmann ohart...@zedat.fu-berlin.de wrote:

 
 On CURRENT (FreeBSD 11.0-CURRENT #0 r265433: Tue May  6 13:37:15 CEST 2014 
 amd64) the
 build/updating of port devel/qmake4 fails due to:
 
 ===  Building for qt4-qmake-4.8.6
 make[1]: /usr/share/mk/bsd.prog.mk line 176: Malformed conditional 
 (${COMPILER_TYPE} ==
 clang  empty(CXXFLAGS:M-stdlib=libstdc++)) make[1]: Fatal errors 
 encountered --
 cannot continue make[1]: stopped
 in /usr/ports/devel/qmake4/work/qt-everywhere-opensource-src-4.8.6/qmake === 
 Compilation
 failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before 
 reporting the
 failure to the maintainer.
 *** Error code 1

I think I have a fix. Please look at 
http://people.freebsd.org/~imp/patch-queue/init to see if that solves the 
problem. You can apply the patch, cd src/share/mk and do a make install as 
root. Then try building devel/qmake4 and see if that solves the problem. In a 
simplified test case, I was able to reproduce this problem and fix it with that 
patch, but my VM that I did this in doesn’t have the space to build KDE, so I 
can’t test this directly.

Warner

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: devel/qmake4: /usr/share/mk/bsd.prog.mk line 176: Malformed conditional (${COMPILER_TYPE}

2014-05-06 Thread O. Hartmann
Am Tue, 6 May 2014 10:53:47 -0600
Warner Losh i...@bsdimp.com schrieb:

 
 On May 6, 2014, at 10:38 AM, O. Hartmann ohart...@zedat.fu-berlin.de wrote:
 
  
  On CURRENT (FreeBSD 11.0-CURRENT #0 r265433: Tue May  6 13:37:15 CEST 2014 
  amd64) the
  build/updating of port devel/qmake4 fails due to:
  
  ===  Building for qt4-qmake-4.8.6
  make[1]: /usr/share/mk/bsd.prog.mk line 176: Malformed conditional
  (${COMPILER_TYPE} == clang  empty(CXXFLAGS:M-stdlib=libstdc++)) 
  make[1]: Fatal
  errors encountered -- cannot continue make[1]: stopped
  in /usr/ports/devel/qmake4/work/qt-everywhere-opensource-src-4.8.6/qmake 
  ===
  Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and 
  rebuild before
  reporting the failure to the maintainer.
  *** Error code 1
 
 I think I have a fix. Please look at 
 http://people.freebsd.org/~imp/patch-queue/init to
 see if that solves the problem. You can apply the patch, cd src/share/mk and 
 do a make
 install as root. Then try building devel/qmake4 and see if that solves the 
 problem. In
 a simplified test case, I was able to reproduce this problem and fix it with 
 that
 patch, but my VM that I did this in doesn’t have the space to build KDE, so I 
 can’t
 test this directly.
 
 Warner

I did as requested, but the update procedure still faults:


=== Updating dependent ports  qt4-dbus-4.8.5  qt4-qmake-4.8.5_1 (3/10)

===  Cleaning for qt4-qmake-4.8.6
===  License LGPL21 accepted by the user
===   qt4-qmake-4.8.6 depends on file: /usr/local/sbin/pkg - found
=== Fetching all distfiles required by qt4-qmake-4.8.6 for building
===  Extracting for qt4-qmake-4.8.6
= SHA256 Checksum OK for KDE/qt-everywhere-opensource-src-4.8.6.tar.gz.
===  Patching for qt4-qmake-4.8.6
===  Applying FreeBSD patches for qt4-qmake-4.8.6
===  Configuring for qt4-qmake-4.8.6
/bin/mv /usr/ports/devel/qmake4/work/qconfig.cpp  
/usr/ports/devel/qmake4/work/qt-everywhere-opensource-src-4.8.6/src/corelib/global/qconfig.cpp
echo '/* empty */'
 /usr/ports/devel/qmake4/work/qt-everywhere-opensource-src-4.8.6/qmake/qconfig.h
  /bin/ln 
 /usr/ports/devel/qmake4/work/qt-everywhere-opensource-src-4.8.6/qmake/qconfig.h
  
 /usr/ports/devel/qmake4/work/qt-everywhere-opensource-src-4.8.6/src/corelib/global/qconfig.h
===  Building for qt4-qmake-4.8.6
--- objwarn ---
make[1]: make[1]: don't know how to make qmake-qt4.1. Stop

make[1]: stopped in 
/usr/ports/devel/qmake4/work/qt-everywhere-opensource-src-4.8.6/qmake
=== Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/qmake4

=== make failed for devel/qmake4
=== Aborting update

=== Update for qt4-qmake-4.8.5_1 failed
=== Aborting update


signature.asc
Description: PGP signature