Bug 200467 - devel/qt4-moc fail to build with Clang36
Summary: devel/qt4-moc fail to build with Clang36
Status: Closed DUPLICATE of bug 204923
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: i386 Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-26 17:47 UTC by sasamotikomi
Modified: 2015-12-03 17:28 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (kde)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sasamotikomi 2015-05-26 17:47:36 UTC
===>   qt4-moc-4.8.6 depends on file: /usr/local/bin/qmake-qt4 - found
===>  Configuring for qt4-moc-4.8.6
/usr/bin/sed -i.bak -e 's|^TARGET.*|TARGET=moc-qt4|g'  /usr/ports/devel/qt4-moc/work/qt-everywhere-opensource-src-4.8.6/src/tools/moc/moc.pro
/bin/mkdir -p /usr/ports/devel/qt4-moc/work/qt-everywhere-opensource-src-4.8.6/mkspecs
/bin/ln -sf /usr/local/bin/qmake-qt4 /usr/ports/devel/qt4-moc/work/qt-everywhere-opensource-src-4.8.6/bin/qmake

This is the  Open Source Edition.

You are licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.
You are also licensed to use this software under the terms of
the GNU General Public License (GPL) versions 3.

You have already accepted the terms of the  license.

Warning: -no-xrender will disable the QtWebkit module.

The target system byte order could not be detected!
Turn on verbose messaging (-v) to see the final report.
You can use the -little-endian or -big-endian switch to
./configure to continue.
===>  Script "configure" failed unexpectedly.
Please report the problem to kde@FreeBSD.org [maintainer] and attach the
"/usr/ports/devel/qt4-moc/work/qt-everywhere-opensource-src-4.8.6/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/qt4-moc
Comment 1 Alonso Schaich freebsd_committer freebsd_triage 2015-05-26 22:47:13 UTC
How did you setup clang36 as your system compiler?
Comment 2 Dimitry Andric freebsd_committer freebsd_triage 2015-05-27 06:45:58 UTC
(In reply to sasamotikomi from comment #0)
Can you please attach the file "/usr/ports/devel/qt4-moc/work/qt-everywhere-opensource-src-4.8.6/config.log", as the configure script says?  Without that, it is impossible to tell what goes wrong on your end.
Comment 3 sasamotikomi 2015-05-27 23:42:29 UTC
(In reply to Alonso Schaich from comment #1)
I build world with option WITHOUT_CLANG=true in src.conf
# pkg install clang36
and added path to compiler in make.conf:
CC=/usr/local/bin/clang36
CXX=/usr/local/bin/clang++36
CPP=/usr/local/bin/clang-cpp36
(In reply to Dimitry Andric from comment #2)
I know but this file doesn't exist.
# ls /usr/ports/devel/qt4-moc/work/qt-everywhere-opensource-src-4.8.6/configure*
/usr/ports/devel/qt4-moc/work/qt-everywhere-opensource-src-4.8.6/configure      /usr/ports/devel/qt4-moc/work/qt-everywhere-opensource-src-4.8.6/configure.orig
/usr/ports/devel/qt4-moc/work/qt-everywhere-opensource-src-4.8.6/configure.exe
Comment 4 Raphael Kubo da Costa freebsd_committer freebsd_triage 2015-12-03 17:28:23 UTC
Marking as a duplicate of a more recent bug that has the same root cause because I've added some explanation there.

*** This bug has been marked as a duplicate of bug 204923 ***