You are not logged in.

#1 2020-08-12 16:07:21

Xwang
Member
Registered: 2012-05-14
Posts: 187

Makepkg fails building, but running the make command in a bash works.

Description:
On openmodelica-git PKGBUILD(https://aur.archlinux.org/packages/openmodelica-git/), the commands in the script work if taken alone, but make command fails if makepkg is run.

To me the script ends with
"make[4]: [Makefile.common:153: build/CodegenFMUCommon.stamp] Errore 1
make[3]: [Makefile.common:15: generate-files-in-steps] Errore 2
make[2]: *** [Makefile.common:6: all] Errore 2"

To other users the script claims qwt_plot.h is missing even if it is on its path.
Outside the makepkg everything works fine

Steps to reproduce:
-Download PKGBUILD
-makepkg

Redacted

Moderator edit:  Removed auto vote link

EDIT: this is the qwt_plot.h error that I get when using makepkg (please let me know if you need the previuos makepkg's messages). If I execute the build.sh and make command in the bash it compiles correctly.

make[1]: Entering directory '/home/andreak/tmp/AUR/openmodelica-git/src/OpenModelica/OMPlot'
mkdir -p /home/andreak/tmp/AUR/openmodelica-git/src/OpenModelica/build/include/omplot
mkdir -p /home/andreak/tmp/AUR/openmodelica-git/src/OpenModelica/build/lib/x86_64-linux-gnu/omc
mkdir -p /home/andreak/tmp/AUR/openmodelica-git/src/OpenModelica/build/bin
make -C OMPlot/OMPlotGUI -f Makefile.unix
make[2]: Entering directory '/home/andreak/tmp/AUR/openmodelica-git/src/OpenModelica/OMPlot/OMPlot/OMPlotGUI'
/bin/qmake "CONFIG+=release"
Info: creating stash file /home/andreak/tmp/AUR/openmodelica-git/src/OpenModelica/OMPlot/OMPlot/OMPlotGUI/.qmake.stash
/bin/qmake "CONFIG+=release" OMPlotLib.pro -o Makefile.lib
make -f Makefile.lib
make[3]: Entering directory '/home/andreak/tmp/AUR/openmodelica-git/src/OpenModelica/OMPlot/OMPlot/OMPlotGUI'
g++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o Plot.o Plot.cpp
In file included from Plot.cpp:34:
PlotWindow.h:35:10: fatal error: qwt_plot.h: No such file or directory
   35 | #include <qwt_plot.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile.lib:1365: Plot.o] Error 1
make[3]: Leaving directory '/home/andreak/tmp/AUR/openmodelica-git/src/OpenModelica/OMPlot/OMPlot/OMPlotGUI'
make[2]: *** [Makefile.unix:38: libOMPlot] Error 2
make[2]: Leaving directory '/home/andreak/tmp/AUR/openmodelica-git/src/OpenModelica/OMPlot/OMPlot/OMPlotGUI'
make[1]: *** [Makefile:12: omplot] Error 2
make[1]: Leaving directory '/home/andreak/tmp/AUR/openmodelica-git/src/OpenModelica/OMPlot'
make: *** [Makefile:19: omplot.skip] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

This is the updated PKGBUILD: https://pastebin.com/XyYtS2v8

Last edited by Xwang (2020-08-12 17:42:00)

Offline

#2 2020-08-12 16:10:57

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 7,868

Re: Makepkg fails building, but running the make command in a bash works.

And you still didn't include the full log, even though you were told that's not enough.

No, I'm not going to use the PKGBUILD, it's pretty bad.

Could a mod edit that link to NOT automatically vote for the ticket? Pretty shitty thing to do, Xwang.

Last edited by Scimmia (2020-08-12 16:15:45)

Offline

#3 2020-08-12 16:21:41

Xwang
Member
Registered: 2012-05-14
Posts: 187

Re: Makepkg fails building, but running the make command in a bash works.

Scimmia wrote:

And you still didn't include the full log, even though you were told that's not enough.

No, I'm not going to use the PKGBUILD, it's really, really poor.

Could a mod edit that link to NOT automatically vote for the ticket?

In my case it gives the qwt_plot.h file not found error (even if it is installed).
In any case I'm build it again so that to post the bulding output.

Offline

#4 2020-08-12 16:22:57

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 17,418

Re: Makepkg fails building, but running the make command in a bash works.

Scimmia wrote:

Could a mod edit that link to NOT automatically vote for the ticket? Pretty shitty thing to do, Xwang.

Done.

Xwang -- do not even consider pulling a stunt like that again.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2020-08-12 16:30:00

Xwang
Member
Registered: 2012-05-14
Posts: 187

Re: Makepkg fails building, but running the make command in a bash works.

Scimmia wrote:

Could a mod edit that link to NOT automatically vote for the ticket? Pretty shitty thing to do, Xwang.

Sorry, I just copied and pasted the link to the bug ticket as a refernce.
I did not even suppose that it would automatically add a vote to it.

Offline

#6 2020-08-12 16:33:59

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 17,418

Re: Makepkg fails building, but running the make command in a bash works.

Fair enough


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2020-08-12 16:58:42

loqs
Member
Registered: 2014-03-06
Posts: 11,602

Re: Makepkg fails building, but running the make command in a bash works.

I get a different error http://sprunge.us/VkFjLg
Please change the PKGBUILD to use the source array.

Offline

#8 2020-08-12 17:28:25

Xwang
Member
Registered: 2012-05-14
Posts: 187

Re: Makepkg fails building, but running the make command in a bash works.

loqs wrote:

I get a different error http://sprunge.us/VkFjLg
Please change the PKGBUILD to use the source array.

This is the updated PKGBUILD https://pastebin.com/XyYtS2v8 , but still it gives the qwt_plot.h file not found error.

Offline

#9 2020-08-12 17:31:10

Xwang
Member
Registered: 2012-05-14
Posts: 187

Re: Makepkg fails building, but running the make command in a bash works.

I have just edited the first message with the error and the updated PKGBUILD

Offline

#10 2020-08-12 18:29:27

loqs
Member
Registered: 2014-03-06
Posts: 11,602

Re: Makepkg fails building, but running the make command in a bash works.

I meant something such as the following with respect to the sources array

# Maintainer: M. Mastroeni <The_Maxtro AT hotmail DOT it>
# Contributor: Xwang <xwaang1976@gmail.com>

pkgname=openmodelica-git
pkgver=1.16.0.dev.r588.g531b2aa0ee
pkgrel=1
pkgdesc="The Open Source Modelica Suite"
arch=('i686' 'x86_64')
url="https://openmodelica.org"
license=('OSMC-PL')
source=("$pkgname::git+https://github.com/OpenModelica/OpenModelica"
        git+https://github.com/OpenModelica/OMOptim.git
        git+https://github.com/OpenModelica/OpenModelica-common.git
        git+https://github.com/OpenModelica/OMLibraries.git
        git+https://github.com/OpenModelica/OMSimulator.git
        git+https://github.com/OpenModelica/OMFMISimulator-3rdParty.git
        git+https://github.com/OpenModelica/OMTLMSimulator.git
        git+https://github.com/OpenModelica/OMCompiler-3rdParty
        git+https://github.com/OpenModelica/OMSens.git
        git+https://github.com/OpenModelica/OMSens_Qt.git)
md5sums=('SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP')
depends=('java-environment' 'lpsolve' 'openscenegraph' 'python' 'ruby' 'suitesparse' 'boost-libs' 'qt5-webkit' 'qt5-xmlpatterns' 'qt5-svg' 'qt5-tools' 'fmilib')
makedepends=('git' 'gcc9-fortran' 'boost' 'clang' 'cmake' 'jre7-openjdk' 'antlr4-runtime' 'expat' 'ncurses' 'readline')
provides=('openmodelica')
conflicts=('openmodelica' 'openmodelica-svn' 'openmodelica-dev')

prepare() {
    mkdir bin
    ln -s /usr/bin/gfortran-9 bin/gfortran
    export PATH="$PWD/bin:$PATH"
    cd "$pkgname"
    git submodule init
    git config submodule.OMOptim.url "$srcdir"/OMOptim
    git config submodule.libraries.url "$srcdir"/OMLibraries
    git config submodule.OMSimulator.url "$srcdir"/OMSimulator
    git config submodule.OMCompiler-3rdParty.url "$srcdir"/OMCompiler-3rdParty
    git config submodule.OMSens.url "$srcdir"/OMSens
    git config submodule.OMSens_Qt.url "$srcdir"/OMSens_Qt
    git submodule update
    cd OMOptim
    git submodule init
    git config submodule.common.url "$srcdir"/OpenModelica-common
    git submodule update
    cd ..
    cd OMSimulator
    git config submodule.3rdParty.url "$srcdir"/OMFMISimulator-3rdParty
    git config submodule.OMTLMSimulator.url "$srcdir"/OMTLMSimulator
    git submodule update
    cd ..
    cd OMSens_Qt
    git submodule init
    git config submodule.common.url "$srcdir"/OpenModelica-common
    git submodule update
    cd ..
    sed -i '18 i #include <qpainterpath.h>' OMPlot/qwt/src/qwt_painter_command.h
    sed -i '16 i #include <qpainterpath.h>' OMPlot/qwt/src/qwt_null_paintdevice.h
    sed -i '30 i #include <qpainterpath.h>' OMPlot/qwt/src/qwt_painter.cpp
    sed -i '14 i #include <qpainterpath.h>' OMPlot/qwt/src/qwt_widget_overlay.cpp
    sed -i '14 i #include <qpainterpath.h>' OMPlot/qwt/src/qwt_compass_rose.cpp
    sed -i '16 i #include <qpainterpath.h>' OMPlot/qwt/src/qwt_dial_needle.cpp
}
 
pkgver() {
    cd $pkgname
    git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
 
build() {
    cd $pkgname
    autoconf
    export CPPFLAGS="$CPPFLAGS -DH5_USE_18_API"
    ./configure --prefix=/usr/ CC=clang CXX=clang++ --with-UMFPACK
    make
}
 
package() {  
    cd $pkgname
    make install DESTDIR="$pkgdir"
   
    install -D -m644 "OMEdit/OMEditLIB/Resources/icons/omedit.ico" "${pkgdir}/usr/share/openmodelica/icons/omedit.ico"
    install -D -m644 "OMNotebook/OMNotebook/OMNotebookGUI/Resources/OMNotebook_icon.ico" "${pkgdir}/usr/share/openmodelica/icons/omnotebook.ico"
#   install -D -m644 "OMOptim/OMOptim/GUI/Resources/omoptim.ico" "${pkgdir}/usr/share/openmodelica/icons/omoptim.ico"
    install -D -m644 "OMShell/OMShell/OMShellGUI/Resources/omshell.ico" "${pkgdir}/usr/share/openmodelica/icons/omshell.ico"
    install -D -m644 "OMPlot/OMPlot/OMPlotGUI/Resources/icons/omplot.ico" "${pkgdir}/usr/share/openmodelica/icons/omplot.ico"
    install -D -m644 "OMCompiler/COPYING" "${pkgdir}/usr/share/licenses/openmodelica/LICENSE"
    mkdir "$pkgdir"/usr/OMSens/
    cp -r "OMSens" "$pkgdir/usr/" #Copy OMSens' modules in the working directory
}
}

Edit:
Result with the above PKGBUILD was the same as my first build attempt.
https://github.com/coin-or-tools/ThirdParty-Mumps gcc-fortran 10 incompatibility.
Edit2:
Fixed the MUMPS issue by using gcc9-fortran.  Then failed building antlr4-runtime.  Numerous bundled dependencies.
Edit3:
Switching antlr2 to antlr4-runtime it then fails with:

clang++ -c -g -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WEBKITWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../../build/include/omc/c -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWebKitWidgets -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtWebKit -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtXml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o moc_oms.o ../generatedfiles/moc/moc_oms.cpp
In file included from qwt_graphic.cpp:11:
./qwt_painter_command.h:85:22: error: field has incomplete type 'QPainterPath'
        QPainterPath clipPath;
                     ^
/usr/include/qt/QtGui/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
class QPainterPath;
      ^
1 error generated.

https://github.com/OpenModelica/OpenModelica/pull/983
Edit4:

test ! -d 'build//ModelicaReference'
cp -a 'git/Modelica/ModelicaReference' "/build/openmodelica-git/src/openmodelica-git/build/lib/omlibrary/ModelicaReference"
echo '' > "/build/openmodelica-git/src/openmodelica-git/build/lib/omlibrary/ModelicaReference.uses"
echo 'bsd3' > "/build/openmodelica-git/src/openmodelica-git/build/lib/omlibrary/ModelicaReference.license"
echo '20200711-174015~git~OM-maint-3.2.3' > "/build/openmodelica-git/src/openmodelica-git/build/lib/omlibrary/ModelicaReference.last_change"
# Building git/Modelica_DeviceDrivers
./checkout-git.sh 'git/Modelica_DeviceDrivers' 'https://github.com/modelica/Modelica_DeviceDrivers.git' 'v1.8.2' 'v1.8.2'
[git/Modelica_DeviceDrivers] does not exist: cloning [https://github.com/modelica/Modelica_DeviceDrivers.git]
Cloning into 'git/Modelica_DeviceDrivers'...

More dependencies...
Edit5:
Builds now without issue in a clean chroot.

Last edited by loqs (2020-08-13 01:34:09)

Offline

#11 2020-08-13 17:36:47

ElMastro
Member
Registered: 2015-12-02
Posts: 28

Re: Makepkg fails building, but running the make command in a bash works.

I'm sorry but the script in the last message doesn't work for me. Make exits with
make error.

If for everybody else the system work,  I have to believe that my system should have some serious configuration issues.

Offline

#12 2020-08-13 17:51:44

loqs
Member
Registered: 2014-03-06
Posts: 11,602

Re: Makepkg fails building, but running the make command in a bash works.

ElMastro is the system fully updated?
If you install the devtools package then run extra-x86_64-build -- -I /path/to/fmilib-2.2-1-x86_64.pkg.tar.zst (with the path and archive name for fmilib adjusted)
Does that build?
Edit:
.BUILDINFO from the built package

format = 1
pkgname = openmodelica-git
pkgbase = openmodelica-git
pkgver = 1.16.0.dev.r588.g531b2aa0ee-1
pkgarch = x86_64
pkgbuild_sha256sum = a1e0d8ab0e79caaf6a83492e1f3870c8c37e301499043a024aee6f822142ce64
packager = Unknown Packager
builddate = 1597279950
builddir = /build
buildenv = !distcc
buildenv = color
buildenv = !ccache
buildenv = check
buildenv = !sign
options = strip
options = docs
options = !libtool
options = !staticlibs
options = emptydirs
options = zipman
options = purge
options = !debug
installed = acl-2.2.53-3-x86_64
installed = alsa-lib-1.2.3.2-1-x86_64
installed = alsa-topology-conf-1.2.3-1-any
installed = alsa-ucm-conf-1.2.3-2-any
installed = antlr4-runtime-4.8-1-x86_64
installed = aom-2.0.0-1-x86_64
installed = archlinux-keyring-20200622-1-any
installed = argon2-20190702-3-x86_64
installed = attr-2.4.48-3-x86_64
installed = audit-2.8.5-6-x86_64
installed = autoconf-2.69-7-any
installed = automake-1.16.2-3-any
installed = avahi-0.8+15+ge8a3dd0-1-x86_64
installed = bash-5.0.017-1-x86_64
installed = binutils-2.34-5-x86_64
installed = bison-3.6.4-1-x86_64
installed = blas-3.9.0-3-x86_64
installed = boost-1.72.0-2-x86_64
installed = boost-libs-1.72.0-2-x86_64
installed = brotli-1.0.7-3-x86_64
installed = bzip2-1.0.8-3-x86_64
installed = ca-certificates-20181109-4-any
installed = ca-certificates-mozilla-3.55-2-x86_64
installed = ca-certificates-utils-20181109-4-any
installed = cairo-1.17.2+25+gaee96d175-1-x86_64
installed = cdparanoia-10.2-8-x86_64
installed = clang-10.0.1-1-x86_64
installed = cmake-3.18.1-1-x86_64
installed = compiler-rt-10.0.1-1-x86_64
installed = coreutils-8.32-1-x86_64
installed = cracklib-2.9.7-2-x86_64
installed = cryptsetup-2.3.3-1-x86_64
installed = curl-7.71.1-1-x86_64
installed = dav1d-0.7.1-1-x86_64
installed = db-5.3.28-5-x86_64
installed = dbus-1.12.20-1-x86_64
installed = device-mapper-2.02.187-3-x86_64
installed = diffutils-3.7-3-x86_64
installed = double-conversion-3.1.5-2-x86_64
installed = e2fsprogs-1.45.6-2-x86_64
installed = elfutils-0.180-1-x86_64
installed = expat-2.2.9-3-x86_64
installed = fakeroot-1.24-2-x86_64
installed = ffmpeg-2:4.3.1-2-x86_64
installed = file-5.39-1-x86_64
installed = filesystem-2020.05.20-1-x86_64
installed = findutils-4.7.0-2-x86_64
installed = flac-1.3.3-2-x86_64
installed = flex-2.6.4-3-x86_64
installed = fmilib-2.2-1-x86_64
installed = fontconfig-2:2.13.91+48+gfcb0420-2-x86_64
installed = freetype2-2.10.2-1-x86_64
installed = fribidi-1.0.10-1-x86_64
installed = gawk-5.1.0-1-x86_64
installed = gc-8.0.4-4-x86_64
installed = gcc-10.1.0-2-x86_64
installed = gcc-libs-10.1.0-2-x86_64
installed = gcc9-9.3.0-3-x86_64
installed = gcc9-fortran-9.3.0-3-x86_64
installed = gcc9-libs-9.3.0-3-x86_64
installed = gdbm-1.18.1-3-x86_64
installed = gdk-pixbuf2-2.40.0+6+g5432316df-1-x86_64
installed = gettext-0.20.2-1-x86_64
installed = giflib-5.2.1-2-x86_64
installed = git-2.28.0-1-x86_64
installed = glib2-2.64.4-1-x86_64
installed = glibc-2.31-5-x86_64
installed = gmp-6.2.0-1-x86_64
installed = gnupg-2.2.21-1-x86_64
installed = gnutls-3.6.14-2-x86_64
installed = gpgme-1.14.0-1-x86_64
installed = graphene-1.10.2-1-x86_64
installed = graphite-1:1.3.14-1-x86_64
installed = grep-3.4-1-x86_64
installed = groff-1.22.4-3-x86_64
installed = gsm-1.0.19-1-x86_64
installed = gst-plugins-base-1.16.2-2-x86_64
installed = gst-plugins-base-libs-1.16.2-2-x86_64
installed = gstreamer-1.16.2-2-x86_64
installed = guile-2.2.6-2-x86_64
installed = gzip-1.10-3-x86_64
installed = harfbuzz-2.7.0-1-x86_64
installed = hicolor-icon-theme-0.17-2-any
installed = hidapi-0.9.0-2-x86_64
installed = hwids-20200306-1-any
installed = hyphen-2.8.8-3-x86_64
installed = iana-etc-20200720-1-any
installed = icu-67.1-1-x86_64
installed = iptables-1:1.8.5-2-x86_64
installed = iso-codes-4.5.0-1-any
installed = jack-0.125.0-9-x86_64
installed = jasper-2.0.17-1-x86_64
installed = java-environment-common-3-3-any
installed = java-runtime-common-3-3-any
installed = jdk-openjdk-14.0.2.u12-1-x86_64
installed = jre-openjdk-14.0.2.u12-1-x86_64
installed = jre-openjdk-headless-14.0.2.u12-1-x86_64
installed = jre7-openjdk-7.u261_2.6.22-1-x86_64
installed = jre7-openjdk-headless-7.u261_2.6.22-1-x86_64
installed = json-c-0.15-1-x86_64
installed = jsoncpp-1.9.3-1-x86_64
installed = kbd-2.2.0-5-x86_64
installed = keyutils-1.6.3-1-x86_64
installed = kmod-27-1-x86_64
installed = krb5-1.18.2-1-x86_64
installed = l-smash-2.14.5-2-x86_64
installed = lame-3.100-3-x86_64
installed = lapack-3.9.0-3-x86_64
installed = lcms2-2.11-2-x86_64
installed = less-551-3-x86_64
installed = libarchive-3.4.3-1-x86_64
installed = libass-0.14.0-2-x86_64
installed = libassuan-2.5.3-2-x86_64
installed = libasyncns-0.8+3+g68cd5af-3-x86_64
installed = libavc1394-0.5.4-4-x86_64
installed = libbluray-1.2.0-3-x86_64
installed = libcap-2.38-1-x86_64
installed = libcap-ng-0.7.10-1-x86_64
installed = libcroco-0.6.13-2-x86_64
installed = libcups-2.3.3-2-x86_64
installed = libdaemon-0.14-5-x86_64
installed = libdatrie-0.2.12-2-x86_64
installed = libdrm-2.4.102-1-x86_64
installed = libedit-20191231_3.1-1-x86_64
installed = libelf-0.180-1-x86_64
installed = libevdev-1.9.1-1-x86_64
installed = libffi-3.3-3-x86_64
installed = libgcrypt-1.8.6-1-x86_64
installed = libglvnd-1.3.2-1-x86_64
installed = libgpg-error-1.38-1-x86_64
installed = libgudev-233-2-x86_64
installed = libibus-1.5.22+8+gf591381e-1-x86_64
installed = libice-1.0.10-3-x86_64
installed = libidn2-2.3.0-1-x86_64
installed = libiec61883-1.2.0-6-x86_64
installed = libinput-1.15.6-1-x86_64
installed = libjpeg-turbo-2.0.5-1-x86_64
installed = libksba-1.4.0-1-x86_64
installed = libldap-2.4.50-2-x86_64
installed = libmfx-20.2.1-1-x86_64
installed = libmicrohttpd-0.9.71-1-x86_64
installed = libmnl-1.0.4-3-x86_64
installed = libmodplug-0.8.9.0-3-x86_64
installed = libmpc-1.1.0-2-x86_64
installed = libnet-1:1.1.6-1-x86_64
installed = libnetfilter_conntrack-1.0.8-1-x86_64
installed = libnfnetlink-1.0.1-4-x86_64
installed = libnftnl-1.1.7-1-x86_64
installed = libnghttp2-1.41.0-1-x86_64
installed = libnl-3.5.0-2-x86_64
installed = libnsl-1.2.0-2-x86_64
installed = libogg-1.3.4-2-x86_64
installed = libomxil-bellagio-0.9.3-3-x86_64
installed = libp11-kit-0.23.20-5-x86_64
installed = libpcap-1.9.1-2-x86_64
installed = libpciaccess-0.16-2-x86_64
installed = libpng-1.6.37-3-x86_64
installed = libproxy-0.4.15+33+g454a499-2-x86_64
installed = libpsl-0.21.0-2-x86_64
installed = libpulse-13.0-3-x86_64
installed = libraw1394-2.1.2-3-x86_64
installed = librsvg-2:2.48.8-1-x86_64
installed = libsamplerate-0.1.9-3-x86_64
installed = libsasl-2.1.27-3-x86_64
installed = libseccomp-2.4.2-1-x86_64
installed = libsecret-0.20.3-1-x86_64
installed = libsm-1.2.3-2-x86_64
installed = libsndfile-1.0.28-3-x86_64
installed = libsoxr-0.1.3-2-x86_64
installed = libssh-0.9.4-1-x86_64
installed = libssh2-1.9.0-2-x86_64
installed = libtasn1-4.16.0-1-x86_64
installed = libthai-0.1.28-2-x86_64
installed = libtheora-1.1.1-5-x86_64
installed = libtiff-4.1.0-2-x86_64
installed = libtirpc-1.2.6-1-x86_64
installed = libtool-2.4.6+42+gb88cebd5-13-x86_64
installed = libunistring-0.9.10-2-x86_64
installed = libunwind-1.3.1-2-x86_64
installed = libusb-1.0.23-2-x86_64
installed = libutil-linux-2.36-1-x86_64
installed = libuv-1.38.1-1-x86_64
installed = libva-2.8.0-1-x86_64
installed = libvdpau-1.4-1-x86_64
installed = libvisual-0.4.0-8-x86_64
installed = libvorbis-1.3.7-2-x86_64
installed = libvpx-1.9.0-1-x86_64
installed = libwacom-1.4.1-1-x86_64
installed = libwebp-1.1.0-1-x86_64
installed = libx11-1.6.11-1-x86_64
installed = libxau-1.0.9-3-x86_64
installed = libxcb-1.14-1-x86_64
installed = libxcomposite-0.4.5-3-x86_64
installed = libxcursor-1.2.0-2-x86_64
installed = libxdamage-1.1.5-3-x86_64
installed = libxdmcp-1.1.3-3-x86_64
installed = libxext-1.3.4-3-x86_64
installed = libxfixes-5.0.3-4-x86_64
installed = libxft-2.3.3-2-x86_64
installed = libxi-1.7.10-3-x86_64
installed = libxinerama-1.1.4-3-x86_64
installed = libxkbcommon-0.10.0-1-x86_64
installed = libxkbcommon-x11-0.10.0-1-x86_64
installed = libxml2-2.9.10-2-x86_64
installed = libxmu-1.1.3-2-x86_64
installed = libxrender-0.9.10-4-x86_64
installed = libxshmfence-1.3-2-x86_64
installed = libxslt-1.1.34-5-x86_64
installed = libxt-1.2.0-2-x86_64
installed = libxtst-1.2.3-4-x86_64
installed = libxv-1.0.11-4-x86_64
installed = libxvmc-1.0.12-3-x86_64
installed = libxxf86vm-1.1.4-4-x86_64
installed = libyaml-0.2.5-1-x86_64
installed = linux-api-headers-5.6.11-1-any
installed = llvm-libs-10.0.1-1-x86_64
installed = lm_sensors-3.6.0-2-x86_64
installed = lpsolve-5.5.2.5-4-x86_64
installed = lz4-1:1.9.2-2-x86_64
installed = lzo-2.10-3-x86_64
installed = m4-1.4.18-3-x86_64
installed = make-4.3-3-x86_64
installed = md4c-0.4.4-1-x86_64
installed = mesa-20.1.5-1-x86_64
installed = metis-5.1.0.p8-1-x86_64
installed = minizip-1:1.2.11-4-x86_64
installed = mpfr-4.0.2-2-x86_64
installed = mtdev-1.1.6-1-x86_64
installed = ncurses-6.2-1-x86_64
installed = nettle-3.6-1-x86_64
installed = npth-1.6-2-x86_64
installed = nspr-4.27-1-x86_64
installed = nss-3.55-2-x86_64
installed = opencore-amr-0.1.5-4-x86_64
installed = openjpeg2-2.3.1-2-x86_64
installed = openscenegraph-3.6.5-1-x86_64
installed = openssl-1.1.1.g-2-x86_64
installed = opus-1.3.1-2-x86_64
installed = orc-0.4.31-2-x86_64
installed = p11-kit-0.23.20-5-x86_64
installed = pacman-5.2.2-1-x86_64
installed = pacman-mirrorlist-20200801-1-any
installed = pam-1.3.1-2-x86_64
installed = pambase-20190105.1-2-any
installed = pango-1:1.44.7+11+g73b46b04-1-x86_64
installed = patch-2.7.6-8-x86_64
installed = pcre-8.44-1-x86_64
installed = pcre2-10.35-1-x86_64
installed = perl-5.32.0-1-x86_64
installed = perl-error-0.17029-2-any
installed = perl-mailtools-2.21-4-any
installed = perl-timedate-2.33-2-any
installed = pinentry-1.1.0-5-x86_64
installed = pixman-0.40.0-1-x86_64
installed = pkgconf-1.7.3-1-x86_64
installed = popt-1.18-1-x86_64
installed = pth-2.0.7-7-x86_64
installed = python-3.8.5-1-x86_64
installed = qt5-base-5.15.0-4-x86_64
installed = qt5-declarative-5.15.0-1-x86_64
installed = qt5-location-5.15.0-1-x86_64
installed = qt5-sensors-5.15.0-1-x86_64
installed = qt5-svg-5.15.0-1-x86_64
installed = qt5-tools-5.15.0-3-x86_64
installed = qt5-webchannel-5.15.0-1-x86_64
installed = qt5-webkit-5.212.0alpha4-6-x86_64
installed = qt5-xmlpatterns-5.15.0-1-x86_64
installed = rav1e-0.3.3-1-x86_64
installed = readline-8.0.004-1-x86_64
installed = rhash-1.3.9-2-x86_64
installed = ruby-2.7.1-2-x86_64
installed = ruby-irb-1.2.4-1-any
installed = ruby-reline-0.1.4-1-any
installed = rubygems-3.1.4-1-any
installed = sdl2-2.0.12-2-x86_64
installed = sed-4.8-1-x86_64
installed = shadow-4.8.1-3-x86_64
installed = shared-mime-info-2.0+1+g6bf9e4f-2-x86_64
installed = speex-1.2.0-3-x86_64
installed = speexdsp-1.2.0-2-x86_64
installed = sqlite-3.32.3-1-x86_64
installed = srt-1.4.1-2-x86_64
installed = sudo-1.9.2-1-x86_64
installed = suitesparse-5.8.1-1-x86_64
installed = sysfsutils-2.1.0-11-x86_64
installed = systemd-246.1-1-x86_64
installed = systemd-libs-246.1-1-x86_64
installed = tar-1.32-3-x86_64
installed = tbb-2020.3-1-x86_64
installed = texinfo-6.7-3-x86_64
installed = tslib-1.22-1-x86_64
installed = tzdata-2020a-1-x86_64
installed = util-linux-2.36-1-x86_64
installed = v4l-utils-1.20.0-1-x86_64
installed = vid.stab-1.1-3-x86_64
installed = vmaf-1.5.2-1-x86_64
installed = vulkan-icd-loader-1.2.148-1-x86_64
installed = wayland-1.18.0-2-x86_64
installed = which-2.21-5-x86_64
installed = woff2-1.0.2-3-x86_64
installed = x264-3:0.160.r3011.cde9a93-1-x86_64
installed = x265-3.4-1-x86_64
installed = xcb-proto-1.14-1-any
installed = xcb-util-0.4.0-3-x86_64
installed = xcb-util-image-0.4.0-3-x86_64
installed = xcb-util-keysyms-0.4.0-3-x86_64
installed = xcb-util-renderutil-0.3.9-3-x86_64
installed = xcb-util-wm-0.4.1-3-x86_64
installed = xdg-utils-1.1.3+19+g9816ebb-1-any
installed = xine-lib-1.2.10-4-x86_64
installed = xkeyboard-config-2.30-2-any
installed = xorg-xprop-1.2.4-2-x86_64
installed = xorg-xset-1.2.4-2-x86_64
installed = xorgproto-2020.1-1-any
installed = xvidcore-1.3.7-2-x86_64
installed = xz-5.2.5-1-x86_64
installed = zita-alsa-pcmi-0.3.2-3-x86_64
installed = zita-resampler-1.6.2-3-x86_64
installed = zlib-1:1.2.11-4-x86_64
installed = zstd-1.4.5-1-x86_64

Last edited by loqs (2020-08-14 04:33:54)

Offline

#13 2020-08-14 10:15:52

ElMastro
Member
Registered: 2015-12-02
Posts: 28

Re: Makepkg fails building, but running the make command in a bash works.

My system is up to date.
I didn't understand where if I should get fmilib from AUR.
what does path to fmilib means?

Last edited by ElMastro (2020-08-14 10:19:38)

Offline

#14 2020-08-14 12:06:29

loqs
Member
Registered: 2014-03-06
Posts: 11,602

Re: Makepkg fails building, but running the make command in a bash works.

# pacman -S devtools
git clone https://aur.archlinux.org/fmilib.git
cd fmilib
extra-x86_64-build
cd ..
git clone https://aur.archlinux.org/packages/openmodelica-git/
cd openmodelica-git

Update the PKGBUILd for openmodelica-git here

extra-x86_64-build -- -I ../fmilib/fmilib-2.2-1-x86_64.pkg.tar.zst

Edit:
You can skip building fmilib and remove the dependency,  openmodelica-git uses a bundled copy.
lpsolve and openscenegraph can be dropped from depends as well and replaced by lapack,  python,  ruby and suitesparse can also be dropped.
expat,  ncurses and readline are depends not make depends covered as transitive dependencies of qt5-webkit,  qt5-xmlpatterns,  qt5-svg and qt5-tools.

Last edited by loqs (2020-08-16 20:52:05)

Offline

#15 2020-08-19 20:38:30

ElMastro
Member
Registered: 2015-12-02
Posts: 28

Re: Makepkg fails building, but running the make command in a bash works.

Sorry for the late answer.
@loqs:it doesn't

==> Entering fakeroot environment...
==> Starting package()...
[  5%] Built target expatex
[  6%] Built target c99snprintf
[ 15%] Built target zlib
[ 17%] Built target fmu1_dll_me
[ 17%] Built target fmu2_dll_me
[ 18%] Built target fmu1_dll_cs
[ 19%] Built target fmu2_dll_cs
[ 22%] Built target minizip
[ 26%] Built target jmutils
[ 30%] Built target fmizip
[ 31%] Built target fmicapi
[ 32%] Built target jm_vector_test
[ 42%] Built target fmixml
[ 43%] Built target compress_test_fmu_zip
[ 44%] Built target fmi_zip_zip_test
[ 45%] Built target fmi_zip_unzip_test
[ 45%] Built target BouncingBall2_me_FMU
[ 46%] Built target BouncingBall2_malformed_mf_FMU
[ 46%] Built target BouncingBall2_cs_FMU
[ 46%] Built target BouncingBall_me_FMU
[ 47%] Built target fmi1_capi_cs_test
[ 48%] Built target fmi1_capi_me_test
[ 62%] Built target fmilib_shared
[ 63%] Built target BouncingBall_cs_FMU
[ 63%] Built target BouncingBall_cs_tc_FMU
[ 64%] Built target BouncingBall_malformed_mf_FMU
[ 74%] Built target fmiimport
[ 76%] Built target fmi2_enum_test
[ 76%] Built target fmi2_type_definitions_test
[ 77%] Built target fmi2_import_variable_test
[ 78%] Built target fmi2_import_cs_test
[ 79%] Built target fmi2_import_xml_test
[ 80%] Built target fmi2_import_me_test
[ 81%] Built target fmi2_xml_parsing_test
[ 83%] Built target fmi_import_test
[ 84%] Built target fmi2_import_default_experiment_test
[ 86%] Built target fmi2_variable_no_type_test
[ 92%] Built target fmilib
[ 94%] Built target fmi_import_cs_test
[ 94%] Built target fmi1_type_definitions_test
[ 95%] Built target fmi1_logger_test
[ 96%] Built target fmi2_variable_bad_variability_causality_test
[ 97%] Built target fmi_import_me_test
[ 99%] Built target fmi1_xml_parsing_test
[ 99%] Built target fmi_import_xml_test
[100%] Built target fmi1_import_default_experiment_test
Install the project...
-- Install configuration: "Release"
-- Installing: /build/fmilib/pkg/fmilib/usr/lib/libfmilib.a
-- Installing: /build/fmilib/pkg/fmilib/usr/lib/libfmilib_shared.so
-- Installing: /build/fmilib/pkg/fmilib/usr/share/doc/fmilib/FMILIB_Readme.txt
-- Installing: /build/fmilib/pkg/fmilib/usr/share/doc/fmilib/FMILIB_License.txt
-- Installing: /build/fmilib/pkg/fmilib/usr/share/doc/fmilib/FMILIB_Acknowledgements.txt
-- Installing: /build/fmilib/pkg/fmilib/usr/include/fmilib_config.h
-- Installing: /build/fmilib/pkg/fmilib/usr/include/fmilib.h
-- Up-to-date: /build/fmilib/pkg/fmilib/usr/./include
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI2
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI2/fmi2_import.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI2/fmi2_import_variable_list.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI2/fmi2_import_capi.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI2/fmi2_import_variable.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI2/fmi2_import_type.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI2/fmi2_import_convenience.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI2/fmi2_import_unit.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI/fmi_import_context.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI/fmi_import_util.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI1
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI1/fmi1_import_capabilities.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI1/fmi1_import_vendor_annotations.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI1/fmi1_import_convenience.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI1/fmi1_import_variable.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI1/fmi1_import.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI1/fmi1_import_variable_list.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI1/fmi1_import_cosim.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI1/fmi1_import_capi.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI1/fmi1_import_type.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI1/fmi1_import_unit.h
-- Up-to-date: /build/fmilib/pkg/fmilib/usr/./include
-- Up-to-date: /build/fmilib/pkg/fmilib/usr/./include/FMI2
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI2/fmi2_types.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI2/fmi2_xml_callbacks.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI2/fmi2_enums.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI2/fmi2_functions.h
-- Up-to-date: /build/fmilib/pkg/fmilib/usr/./include/FMI
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI/fmi_version.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI/fmi_util.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/JM
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/JM/jm_vector.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/JM/jm_named_ptr.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/JM/jm_portability.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/JM/jm_types.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/JM/jm_string_set.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/JM/jm_vector_template.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/JM/jm_callbacks.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/JM/jm_stack.h
-- Up-to-date: /build/fmilib/pkg/fmilib/usr/./include/FMI1
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI1/fmi1_types.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI1/fmi1_enums.h
-- Installing: /build/fmilib/pkg/fmilib/usr/./include/FMI1/fmi1_functions.h
-- Up-to-date: /build/fmilib/pkg/fmilib/usr/include/FMI1
-- Installing: /build/fmilib/pkg/fmilib/usr/include/FMI1/fmiPlatformTypes.h
-- Installing: /build/fmilib/pkg/fmilib/usr/include/FMI1/fmiFunctions.h
-- Installing: /build/fmilib/pkg/fmilib/usr/include/FMI1/fmiModelTypes.h
-- Installing: /build/fmilib/pkg/fmilib/usr/include/FMI1/fmiModelFunctions.h
-- Up-to-date: /build/fmilib/pkg/fmilib/usr/include/FMI2
-- Installing: /build/fmilib/pkg/fmilib/usr/include/FMI2/fmi2TypesPlatform.h
-- Installing: /build/fmilib/pkg/fmilib/usr/include/FMI2/fmi2FunctionTypes.h
-- Installing: /build/fmilib/pkg/fmilib/usr/include/FMI2/fmi2Functions.h
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "fmilib"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: fmilib 2.2-1 (Wed 19 Aug 2020 10:04:09 PM CEST)
==> Installing package fmilib with pacman -U...
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) fmilib-2.2-1

Total Installed Size:  1.91 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                           [##############################################################] 100%
(1/1) checking package integrity                                                                         [##############################################################] 100%
(1/1) loading package files                                                                              [##############################################################] 100%
(1/1) checking for file conflicts                                                                        [##############################################################] 100%
:: Processing package changes...
(1/1) installing fmilib                                                                                  [##############################################################] 100%
resolving dependencies...
looking for conflicting packages...

Packages (5) licenses-20200427-1  pyalpm-0.9.1-2  python-3.8.5-1  python-pyelftools-0.26-1  namcap-3.2.10-1

Total Installed Size:  79.85 MiB

:: Proceed with installation? [Y/n] 
(5/5) checking keys in keyring                                                                           [##############################################################] 100%
(5/5) checking package integrity                                                                         [##############################################################] 100%
(5/5) loading package files                                                                              [##############################################################] 100%
(5/5) checking for file conflicts                                                                        [##############################################################] 100%
:: Processing package changes...
(1/5) installing python                                                                                  [##############################################################] 100%
Optional dependencies for python
    python-setuptools
    python-pip
    sqlite [installed]
    mpdecimal: for decimal
    xz: for lzma [installed]
    tk: for tkinter
(2/5) installing pyalpm                                                                                  [##############################################################] 100%
(3/5) installing licenses                                                                                [##############################################################] 100%
(4/5) installing python-pyelftools                                                                       [##############################################################] 100%
(5/5) installing namcap                                                                                  [##############################################################] 100%
Checking PKGBUILD
PKGBUILD (fmilib) W: Missing Maintainer tag
PKGBUILD (fmilib) W: Non-unique source name (2.2.tar.gz). Use a unique filename.
Checking fmilib-2.2-1-x86_64.pkg.tar.zst
fmilib E: Missing custom license directory (usr/share/licenses/fmilib)
fmilib W: Dependency included and not needed ('minizip')
fmilib W: Dependency included and not needed ('expat')
==> Running checkpkg
error: target not found: fmilib
==> WARNING: Skipped checkpkg due to missing repo packages

Deleting fmilib in the PKGBUILD of openmodelica-git doesn't seem to change anything

I don't get it: if the .mos files are the models compiled by omc, and the source come right down from github, how can this "Class realAlmostEq" be missing?

Offline

#16 2020-08-19 20:50:45

loqs
Member
Registered: 2014-03-06
Posts: 11,602

Re: Makepkg fails building, but running the make command in a bash works.

extra-x86_64-build the PKGBUILD below and post the results please.  This build does not depend on anything not in the repositories.

# Maintainer: M. Mastroeni <The_Maxtro AT hotmail DOT it>
# Contributor: Xwang <xwaang1976@gmail.com>

pkgname=openmodelica-git
pkgver=1.16.0.dev.r590.g8f5710f752
pkgrel=1
pkgdesc="The Open Source Modelica Suite"
arch=('i686' 'x86_64')
url="https://openmodelica.org"
license=('OSMC-PL')
source=("$pkgname::git+https://github.com/OpenModelica/OpenModelica"
        git+https://github.com/OpenModelica/OMOptim.git
        git+https://github.com/OpenModelica/OpenModelica-common.git
        git+https://github.com/OpenModelica/OMLibraries.git
        git+https://github.com/OpenModelica/OMSimulator.git
        git+https://github.com/OpenModelica/OMFMISimulator-3rdParty.git
        git+https://github.com/OpenModelica/OMTLMSimulator.git
        git+https://github.com/OpenModelica/OMCompiler-3rdParty
        git+https://github.com/OpenModelica/OMSens.git
        git+https://github.com/OpenModelica/OMSens_Qt.git)
md5sums=('SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP')
depends=('java-environment' 'lapack' #'lpsolve' 'openscenegraph' 'python' 'ruby' 'suitesparse'
         'boost-libs' 'qt5-webkit' 'qt5-xmlpatterns' 'qt5-svg' 'qt5-tools' # 'fmilib'
         )
makedepends=('git' 'gcc9-fortran' 'boost' 'clang' 'cmake' 'jre7-openjdk' 'antlr4-runtime' 'expat' 'ncurses' 'readline')
provides=('openmodelica')
conflicts=('openmodelica' 'openmodelica-svn' 'openmodelica-dev')

prepare() {
    mkdir bin
    ln -s /usr/bin/gfortran-9 bin/gfortran
    export PATH="$PWD/bin:$PATH"
    cd $pkgname
    git submodule init
    git config submodule.OMOptim.url "$srcdir"/OMOptim
    git config submodule.libraries.url "$srcdir"/OMLibraries
    git config submodule.OMSimulator.url "$srcdir"/OMSimulator
    git config submodule.OMCompiler-3rdParty.url "$srcdir"/OMCompiler-3rdParty
    git config submodule.OMSens.url "$srcdir"/OMSens
    git config submodule.OMSens_Qt.url "$srcdir"/OMSens_Qt
    git submodule update
    cd OMOptim
    git submodule init
    git config submodule.common.url "$srcdir"/OpenModelica-common
    git submodule update
    cd ..
    cd OMSimulator
    git config submodule.3rdParty.url "$srcdir"/OMFMISimulator-3rdParty
    git config submodule.OMTLMSimulator.url "$srcdir"/OMTLMSimulator
    git submodule update
    cd ..
    cd OMSens_Qt
    git submodule init
    git config submodule.common.url "$srcdir"/OpenModelica-common
    git submodule update
    cd ..
    sed -i '18 i #include <qpainterpath.h>' OMPlot/qwt/src/qwt_painter_command.h
    sed -i '16 i #include <qpainterpath.h>' OMPlot/qwt/src/qwt_null_paintdevice.h
    sed -i '30 i #include <qpainterpath.h>' OMPlot/qwt/src/qwt_painter.cpp
    sed -i '14 i #include <qpainterpath.h>' OMPlot/qwt/src/qwt_widget_overlay.cpp
    sed -i '14 i #include <qpainterpath.h>' OMPlot/qwt/src/qwt_compass_rose.cpp
    sed -i '16 i #include <qpainterpath.h>' OMPlot/qwt/src/qwt_dial_needle.cpp
}
 
pkgver() {
    cd $pkgname
    git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
 
build() {
    cd $pkgname
    autoconf
    export CPPFLAGS="$CPPFLAGS -DH5_USE_18_API"
    ./configure --prefix=/usr/ CC=clang CXX=clang++ --with-UMFPACK
    make
}
 
package() {  
    cd $pkgname
    make install DESTDIR="$pkgdir"
   
    install -D -m644 "OMEdit/OMEditLIB/Resources/icons/omedit.ico" "${pkgdir}/usr/share/openmodelica/icons/omedit.ico"
    install -D -m644 "OMNotebook/OMNotebook/OMNotebookGUI/Resources/OMNotebook_icon.ico" "${pkgdir}/usr/share/openmodelica/icons/omnotebook.ico"
#   install -D -m644 "OMOptim/OMOptim/GUI/Resources/omoptim.ico" "${pkgdir}/usr/share/openmodelica/icons/omoptim.ico"
    install -D -m644 "OMShell/OMShell/OMShellGUI/Resources/omshell.ico" "${pkgdir}/usr/share/openmodelica/icons/omshell.ico"
    install -D -m644 "OMPlot/OMPlot/OMPlotGUI/Resources/icons/omplot.ico" "${pkgdir}/usr/share/openmodelica/icons/omplot.ico"
    install -D -m644 "OMCompiler/COPYING" "${pkgdir}/usr/share/licenses/openmodelica/LICENSE"
    mkdir "$pkgdir"/usr/OMSens/
    cp -r "OMSens" "$pkgdir/usr/" #Copy OMSens' modules in the working directory
}

Offline

#17 2020-08-20 22:14:22

ElMastro
Member
Registered: 2015-12-02
Posts: 28

Re: Makepkg fails building, but running the make command in a bash works.

It took over 3.0 Gb and an half a hour. The result is

/moc_qwt_plot_picker.o moc/moc_qwt_plot_picker.cpp
In file included from moc/moc_qwt_legend_label.cpp:10:
In file included from moc/../qwt_legend_label.h:14:
In file included from ./qwt_legend_data.h:14:
./qwt_text.h:142:41: warning: 'null' is deprecated: use QString() [-Wdeprecated-declarations]
    QwtText( const QString & = QString::null,
                                        ^
/usr/include/qt/QtCore/qstring.h:948:5: note: 'null' has been explicitly marked deprecated here
    QT_DEPRECATED_X("use QString()")
    ^
/usr/include/qt/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
#  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
                                ^
/usr/include/qt/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'
#    define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
                                                      ^
1 warning generated.
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -D_REENTRANT -fPIC -DQWT_NO_OPENGL -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtCore -Imoc -I/usr/lib/qt/mkspecs/linux-g++ -o obj/moc_qwt_plot_zoomer.o moc/moc_qwt_plot_zoomer.cpp
1 warning generated.
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -D_REENTRANT -fPIC -DQWT_NO_OPENGL -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtCore -Imoc -I/usr/lib/qt/mkspecs/linux-g++ -o obj/moc_qwt_plot_magnifier.o moc/moc_qwt_plot_magnifier.cpp
1 warning generated.
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -D_REENTRANT -fPIC -DQWT_NO_OPENGL -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtCore -Imoc -I/usr/lib/qt/mkspecs/linux-g++ -o obj/moc_qwt_sampling_thread.o moc/moc_qwt_sampling_thread.cpp
In file included from moc/moc_qwt_plot.cpp:10:
In file included from moc/../qwt_plot.h:14:
./qwt_text.h:142:41: warning: 'null' is deprecated: use QString() [-Wdeprecated-declarations]
    QwtText( const QString & = QString::null,
                                        ^
/usr/include/qt/QtCore/qstring.h:948:5: note: 'null' has been explicitly marked deprecated here
    QT_DEPRECATED_X("use QString()")
    ^
/usr/include/qt/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
#  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
                                ^
/usr/include/qt/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'
#    define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
                                                      ^
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -D_REENTRANT -fPIC -DQWT_NO_OPENGL -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtCore -Imoc -I/usr/lib/qt/mkspecs/linux-g++ -o obj/moc_qwt_scale_widget.o moc/moc_qwt_scale_widget.cpp
In file included from moc/moc_qwt_plot_picker.cpp:10:
In file included from moc/../qwt_plot_picker.h:14:
In file included from ./qwt_picker.h:14:
./qwt_text.h:142:41: warning: 'null' is deprecated: use QString() [-Wdeprecated-declarations]
    QwtText( const QString & = QString::null,
                                        ^
/usr/include/qt/QtCore/qstring.h:948:5: note: 'null' has been explicitly marked deprecated here
    QT_DEPRECATED_X("use QString()")
    ^
/usr/include/qt/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
#  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
                                ^
/usr/include/qt/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'
#    define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
                                                      ^
1 warning generated.
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -D_REENTRANT -fPIC -DQWT_NO_OPENGL -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtCore -Imoc -I/usr/lib/qt/mkspecs/linux-g++ -o obj/moc_qwt_abstract_slider.o moc/moc_qwt_abstract_slider.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -D_REENTRANT -fPIC -DQWT_NO_OPENGL -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtCore -Imoc -I/usr/lib/qt/mkspecs/linux-g++ -o obj/moc_qwt_abstract_scale.o moc/moc_qwt_abstract_scale.cpp
In file included from moc/moc_qwt_plot_zoomer.cpp:10:
In file included from moc/../qwt_plot_zoomer.h:14:
In file included from ./qwt_plot_picker.h:14:
In file included from ./qwt_picker.h:14:
./qwt_text.h:142:41: warning: 'null' is deprecated: use QString() [-Wdeprecated-declarations]
    QwtText( const QString & = QString::null,
                                        ^
/usr/include/qt/QtCore/qstring.h:948:5: note: 'null' has been explicitly marked deprecated here
    QT_DEPRECATED_X("use QString()")
    ^
/usr/include/qt/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
#  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
                                ^
/usr/include/qt/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'
#    define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
                                                      ^
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -D_REENTRANT -fPIC -DQWT_NO_OPENGL -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtCore -Imoc -I/usr/lib/qt/mkspecs/linux-g++ -o obj/moc_qwt_analog_clock.o moc/moc_qwt_analog_clock.cpp
1 warning generated.
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -D_REENTRANT -fPIC -DQWT_NO_OPENGL -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtCore -Imoc -I/usr/lib/qt/mkspecs/linux-g++ -o obj/moc_qwt_compass.o moc/moc_qwt_compass.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -D_REENTRANT -fPIC -DQWT_NO_OPENGL -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtCore -Imoc -I/usr/lib/qt/mkspecs/linux-g++ -o obj/moc_qwt_counter.o moc/moc_qwt_counter.cpp
1 warning generated.
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -D_REENTRANT -fPIC -DQWT_NO_OPENGL -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtCore -Imoc -I/usr/lib/qt/mkspecs/linux-g++ -o obj/moc_qwt_dial.o moc/moc_qwt_dial.cpp
In file included from moc/moc_qwt_scale_widget.cpp:10:
In file included from moc/../qwt_scale_widget.h:14:
./qwt_text.h:142:41: warning: 'null' is deprecated: use QString() [-Wdeprecated-declarations]
    QwtText( const QString & = QString::null,
                                        ^
/usr/include/qt/QtCore/qstring.h:948:5: note: 'null' has been explicitly marked deprecated here
    QT_DEPRECATED_X("use QString()")
    ^
/usr/include/qt/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
#  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
                                ^
/usr/include/qt/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'
#    define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
                                                      ^
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -D_REENTRANT -fPIC -DQWT_NO_OPENGL -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtCore -Imoc -I/usr/lib/qt/mkspecs/linux-g++ -o obj/moc_qwt_knob.o moc/moc_qwt_knob.cpp
1 warning generated.
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -D_REENTRANT -fPIC -DQWT_NO_OPENGL -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtCore -Imoc -I/usr/lib/qt/mkspecs/linux-g++ -o obj/moc_qwt_slider.o moc/moc_qwt_slider.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -D_REENTRANT -fPIC -DQWT_NO_OPENGL -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtCore -Imoc -I/usr/lib/qt/mkspecs/linux-g++ -o obj/moc_qwt_thermo.o moc/moc_qwt_thermo.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -D_REENTRANT -fPIC -DQWT_NO_OPENGL -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtConcurrent -isystem /usr/include/qt/QtCore -Imoc -I/usr/lib/qt/mkspecs/linux-g++ -o obj/moc_qwt_wheel.o moc/moc_qwt_wheel.cpp
In file included from moc/moc_qwt_analog_clock.cpp:10:
In file included from moc/../qwt_analog_clock.h:14:
In file included from ./qwt_dial.h:15:
In file included from ./qwt_abstract_scale_draw.h:15:
./qwt_text.h:142:41: warning: 'null' is deprecated: use QString() [-Wdeprecated-declarations]
    QwtText( const QString & = QString::null,
                                        ^
/usr/include/qt/QtCore/qstring.h:948:5: note: 'null' has been explicitly marked deprecated here
    QT_DEPRECATED_X("use QString()")
    ^
/usr/include/qt/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
#  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
                                ^
/usr/include/qt/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'
#    define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
                                                      ^
In file included from moc/moc_qwt_compass.cpp:10:
In file included from moc/../qwt_compass.h:14:
In file included from ./qwt_dial.h:15:
In file included from ./qwt_abstract_scale_draw.h:15:
./qwt_text.h:142:41: warning: 'null' is deprecated: use QString() [-Wdeprecated-declarations]
    QwtText( const QString & = QString::null,
                                        ^
/usr/include/qt/QtCore/qstring.h:948:5: note: 'null' has been explicitly marked deprecated here
    QT_DEPRECATED_X("use QString()")
    ^
/usr/include/qt/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
#  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
                                ^
/usr/include/qt/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'
#    define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
                                                      ^
1 warning generated.
1 warning generated.
In file included from moc/moc_qwt_dial.cpp:10:
In file included from moc/../qwt_dial.h:15:
In file included from ./qwt_abstract_scale_draw.h:15:
./qwt_text.h:142:41: warning: 'null' is deprecated: use QString() [-Wdeprecated-declarations]
    QwtText( const QString & = QString::null,
                                        ^
/usr/include/qt/QtCore/qstring.h:948:5: note: 'null' has been explicitly marked deprecated here
    QT_DEPRECATED_X("use QString()")
    ^
/usr/include/qt/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
#  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
                                ^
/usr/include/qt/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'
#    define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
                                                      ^
1 warning generated.
rm -f libomqwt.so.6.2.0 libomqwt.so libomqwt.so.6 libomqwt.so.6.2
clang++ -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libomqwt.so.6 -o libomqwt.so.6.2.0 obj/qwt_abstract_scale_draw.o obj/qwt_bezier.o obj/qwt_clipper.o obj/qwt_color_map.o obj/qwt_column_symbol.o obj/qwt_date.o obj/qwt_date_scale_draw.o obj/qwt_date_scale_engine.o obj/qwt_dyngrid_layout.o obj/qwt_event_pattern.o obj/qwt_graphic.o obj/qwt_interval.o obj/qwt_interval_symbol.o obj/qwt_math.o obj/qwt_magnifier.o obj/qwt_null_paintdevice.o obj/qwt_painter.o obj/qwt_painter_command.o obj/qwt_panner.o obj/qwt_picker.o obj/qwt_picker_machine.o obj/qwt_pixel_matrix.o obj/qwt_point_3d.o obj/qwt_point_polar.o obj/qwt_round_scale_draw.o obj/qwt_scale_div.o obj/qwt_scale_draw.o obj/qwt_scale_map.o obj/qwt_scale_engine.o obj/qwt_spline.o obj/qwt_symbol.o obj/qwt_system_clock.o obj/qwt_text_engine.o obj/qwt_text_label.o obj/qwt_text.o obj/qwt_transform.o obj/qwt_widget_overlay.o obj/qwt_curve_fitter.o obj/qwt_spline_curve_fitter.o obj/qwt_weeding_curve_fitter.o obj/qwt_abstract_legend.o obj/qwt_legend.o obj/qwt_legend_data.o obj/qwt_legend_label.o obj/qwt_plot.o obj/qwt_plot_renderer.o obj/qwt_plot_xml.o obj/qwt_plot_axis.o obj/qwt_plot_curve.o obj/qwt_plot_dict.o obj/qwt_plot_directpainter.o obj/qwt_plot_grid.o obj/qwt_plot_histogram.o obj/qwt_plot_item.o obj/qwt_plot_abstract_barchart.o obj/qwt_plot_barchart.o obj/qwt_plot_multi_barchart.o obj/qwt_plot_intervalcurve.o obj/qwt_plot_zoneitem.o obj/qwt_plot_tradingcurve.o obj/qwt_plot_spectrogram.o obj/qwt_plot_spectrocurve.o obj/qwt_plot_scaleitem.o obj/qwt_plot_legenditem.o obj/qwt_plot_seriesitem.o obj/qwt_plot_shapeitem.o obj/qwt_plot_marker.o obj/qwt_plot_textlabel.o obj/qwt_plot_layout.o obj/qwt_plot_canvas.o obj/qwt_plot_panner.o obj/qwt_plot_rasteritem.o obj/qwt_plot_picker.o obj/qwt_plot_zoomer.o obj/qwt_plot_magnifier.o obj/qwt_plot_rescaler.o obj/qwt_point_mapper.o obj/qwt_raster_data.o obj/qwt_matrix_raster_data.o obj/qwt_sampling_thread.o obj/qwt_series_data.o obj/qwt_point_data.o obj/qwt_scale_widget.o obj/qwt_plot_svgitem.o obj/qwt_abstract_slider.o obj/qwt_abstract_scale.o obj/qwt_arrow_button.o obj/qwt_analog_clock.o obj/qwt_compass.o obj/qwt_compass_rose.o obj/qwt_counter.o obj/qwt_dial.o obj/qwt_dial_needle.o obj/qwt_knob.o obj/qwt_slider.o obj/qwt_thermo.o obj/qwt_wheel.o obj/moc_qwt_dyngrid_layout.o obj/moc_qwt_magnifier.o obj/moc_qwt_panner.o obj/moc_qwt_picker.o obj/moc_qwt_text_label.o obj/moc_qwt_abstract_legend.o obj/moc_qwt_legend.o obj/moc_qwt_legend_label.o obj/moc_qwt_plot.o obj/moc_qwt_plot_renderer.o obj/moc_qwt_plot_canvas.o obj/moc_qwt_plot_panner.o obj/moc_qwt_plot_picker.o obj/moc_qwt_plot_zoomer.o obj/moc_qwt_plot_magnifier.o obj/moc_qwt_sampling_thread.o obj/moc_qwt_scale_widget.o obj/moc_qwt_abstract_slider.o obj/moc_qwt_abstract_scale.o obj/moc_qwt_analog_clock.o obj/moc_qwt_compass.o obj/moc_qwt_counter.o obj/moc_qwt_dial.o obj/moc_qwt_knob.o obj/moc_qwt_slider.o obj/moc_qwt_thermo.o obj/moc_qwt_wheel.o  /usr/lib/libQt5PrintSupport.so /usr/lib/libQt5Svg.so /usr/lib/libQt5Widgets.so /usr/lib/libQt5Gui.so /usr/lib/libQt5Concurrent.so /usr/lib/libQt5Core.so -lGL -lpthread    
ln -s libomqwt.so.6.2.0 libomqwt.so
ln -s libomqwt.so.6.2.0 libomqwt.so.6
ln -s libomqwt.so.6.2.0 libomqwt.so.6.2
rm -f ../lib/libomqwt.so.6.2.0
mv -f libomqwt.so.6.2.0 ../lib/libomqwt.so.6.2.0
rm -f ../lib/libomqwt.so
rm -f ../lib/libomqwt.so.6
rm -f ../lib/libomqwt.so.6.2
mv -f libomqwt.so ../lib/libomqwt.so
mv -f libomqwt.so.6 ../lib/libomqwt.so.6
mv -f libomqwt.so.6.2 ../lib/libomqwt.so.6.2
make[4]: Leaving directory '/build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src'
make[3]: Leaving directory '/build/openmodelica-git/src/openmodelica-git/OMPlot/qwt'
make[2]: Leaving directory '/build/openmodelica-git/src/openmodelica-git/OMPlot/qwt'
test -f /build/openmodelica-git/src/openmodelica-git/build/include/omplot/qwt/qwt_global.h || (make -C qwt install && chmod 644 qwt/build/include/*.h && cp -a qwt/build/include/*.h /build/openmodelica-git/src/openmodelica-git/build/include/omplot/qwt)
make[2]: Entering directory '/build/openmodelica-git/src/openmodelica-git/OMPlot/qwt'
cd src/ && ( test -e Makefile || /bin/qmake -o Makefile /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/src.pro QMAKE_CXX=clang++ 'QMAKE_CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' QMAKE_LINK=clang++ ) && make -f Makefile install
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/qwtconfig.pri /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/features/qwtconfig.pri
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/qwtfunctions.pri /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/features/qwtfunctions.pri
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/qwt.prf /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/features/qwt.prf
make[3]: Entering directory '/build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src'
/bin/qmake -install qinstall -exe ../lib/libomqwt.so.6.2.0 /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/lib/libomqwt.so.6.2.0
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_abstract_scale_draw.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_abstract_scale_draw.h
strip --strip-unneeded /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/lib/libomqwt.so.6.2.0
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_bezier.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_bezier.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_clipper.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_clipper.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_color_map.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_color_map.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_compat.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_compat.h
ln -f -s libomqwt.so.6.2.0 /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/lib/libomqwt.so
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_column_symbol.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_column_symbol.h
ln -f -s libomqwt.so.6.2.0 /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/lib/libomqwt.so.6
ln -f -s libomqwt.so.6.2.0 /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/lib/libomqwt.so.6.2
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_date.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_date.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_date_scale_draw.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_date_scale_draw.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_date_scale_engine.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_date_scale_engine.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_dyngrid_layout.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_dyngrid_layout.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_global.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_global.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_graphic.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_graphic.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_interval.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_interval.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_interval_symbol.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_interval_symbol.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_math.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_math.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_magnifier.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_magnifier.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_null_paintdevice.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_null_paintdevice.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_painter.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_painter.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_painter_command.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_painter_command.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_panner.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_panner.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_picker.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_picker.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_picker_machine.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_picker_machine.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_pixel_matrix.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_pixel_matrix.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_point_3d.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_point_3d.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_point_polar.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_point_polar.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_round_scale_draw.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_round_scale_draw.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_scale_div.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_scale_div.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_scale_draw.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_scale_draw.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_scale_engine.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_scale_engine.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_scale_map.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_scale_map.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_spline.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_spline.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_symbol.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_symbol.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_system_clock.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_system_clock.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_text_engine.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_text_engine.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_text_label.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_text_label.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_text.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_text.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_transform.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_transform.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_widget_overlay.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_widget_overlay.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_curve_fitter.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_curve_fitter.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_spline_curve_fitter.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_spline_curve_fitter.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_weeding_curve_fitter.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_weeding_curve_fitter.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_event_pattern.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_event_pattern.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_abstract_legend.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_abstract_legend.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_legend.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_legend.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_legend_data.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_legend_data.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_legend_label.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_legend_label.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_renderer.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_renderer.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_curve.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_curve.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_dict.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_dict.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_directpainter.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_directpainter.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_grid.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_grid.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_histogram.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_histogram.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_item.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_item.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_abstract_barchart.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_abstract_barchart.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_barchart.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_barchart.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_multi_barchart.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_multi_barchart.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_intervalcurve.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_intervalcurve.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_tradingcurve.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_tradingcurve.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_layout.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_layout.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_marker.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_marker.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_zoneitem.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_zoneitem.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_textlabel.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_textlabel.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_rasteritem.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_rasteritem.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_spectrogram.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_spectrogram.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_spectrocurve.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_spectrocurve.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_scaleitem.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_scaleitem.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_legenditem.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_legenditem.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_seriesitem.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_seriesitem.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_shapeitem.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_shapeitem.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_canvas.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_canvas.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_panner.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_panner.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_picker.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_picker.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_zoomer.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_zoomer.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_magnifier.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_magnifier.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_rescaler.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_rescaler.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_point_mapper.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_point_mapper.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_raster_data.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_raster_data.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_matrix_raster_data.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_matrix_raster_data.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_sampling_thread.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_sampling_thread.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_samples.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_samples.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_series_data.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_series_data.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_series_store.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_series_store.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_point_data.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_point_data.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_scale_widget.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_scale_widget.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_plot_svgitem.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_plot_svgitem.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_abstract_slider.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_abstract_slider.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_abstract_scale.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_abstract_scale.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_arrow_button.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_arrow_button.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_analog_clock.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_analog_clock.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_compass.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_compass.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_compass_rose.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_compass_rose.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_counter.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_counter.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_dial.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_dial.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_dial_needle.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_dial_needle.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_knob.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_knob.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_slider.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_slider.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_thermo.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_thermo.h
/bin/qmake -install qinstall /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src/qwt_wheel.h /build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/build/include/qwt_wheel.h
make[3]: Leaving directory '/build/openmodelica-git/src/openmodelica-git/OMPlot/qwt/src'
make[2]: Leaving directory '/build/openmodelica-git/src/openmodelica-git/OMPlot/qwt'
cp -a qwt/lib/libomqwt.so* /build/openmodelica-git/src/openmodelica-git/build/lib/x86_64-linux-gnu/omc/
make -C OMPlot/OMPlotGUI -f Makefile.unix
make[2]: Entering directory '/build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI'
/bin/qmake "CONFIG+=release"
Info: creating stash file /build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI/.qmake.stash
/bin/qmake "CONFIG+=release" OMPlotLib.pro -o Makefile.lib
make -f Makefile.lib
make[3]: Entering directory '/build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI'
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o Plot.o Plot.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o PlotZoomer.o PlotZoomer.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o Legend.o Legend.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o PlotPanner.o PlotPanner.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o PlotPicker.o PlotPicker.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o PlotGrid.o PlotGrid.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o PlotCurve.o PlotCurve.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o PlotWindow.o PlotWindow.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o PlotApplication.o PlotApplication.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o PlotWindowContainer.o PlotWindowContainer.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o PlotMainWindow.o PlotMainWindow.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o ScaleDraw.o ScaleDraw.cpp
/usr/bin/rcc -name resource_omplot resource_omplot.qrc -o ../generatedfiles/rcc/qrc_resource_omplot.cpp
clang++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -dM -E -o ../generatedfiles/moc/moc_predefs.h /usr/lib/qt/mkspecs/features/data/dummy.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o qrc_resource_omplot.o ../generatedfiles/rcc/qrc_resource_omplot.cpp
/usr/bin/moc -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/generatedfiles/moc/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI -I/build/openmodelica-git/src/openmodelica-git/build/include/omplot/qwt -I/build/openmodelica-git/src/openmodelica-git/build/include/omc/c -I/build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI -I/usr/include/qt -I/usr/include/qt/QtSvg -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I/usr/include/c++/10.1.0 -I/usr/include/c++/10.1.0/x86_64-pc-linux-gnu -I/usr/include/c++/10.1.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include-fixed -I/usr/include OMPlot.h -o ../generatedfiles/moc/moc_OMPlot.cpp
/usr/bin/moc -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/generatedfiles/moc/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI -I/build/openmodelica-git/src/openmodelica-git/build/include/omplot/qwt -I/build/openmodelica-git/src/openmodelica-git/build/include/omc/c -I/build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI -I/usr/include/qt -I/usr/include/qt/QtSvg -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I/usr/include/c++/10.1.0 -I/usr/include/c++/10.1.0/x86_64-pc-linux-gnu -I/usr/include/c++/10.1.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include-fixed -I/usr/include PlotZoomer.h -o ../generatedfiles/moc/moc_PlotZoomer.cpp
/usr/bin/moc -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/generatedfiles/moc/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI -I/build/openmodelica-git/src/openmodelica-git/build/include/omplot/qwt -I/build/openmodelica-git/src/openmodelica-git/build/include/omc/c -I/build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI -I/usr/include/qt -I/usr/include/qt/QtSvg -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I/usr/include/c++/10.1.0 -I/usr/include/c++/10.1.0/x86_64-pc-linux-gnu -I/usr/include/c++/10.1.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include-fixed -I/usr/include Legend.h -o ../generatedfiles/moc/moc_Legend.cpp
/usr/bin/moc -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/generatedfiles/moc/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI -I/build/openmodelica-git/src/openmodelica-git/build/include/omplot/qwt -I/build/openmodelica-git/src/openmodelica-git/build/include/omc/c -I/build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI -I/usr/include/qt -I/usr/include/qt/QtSvg -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I/usr/include/c++/10.1.0 -I/usr/include/c++/10.1.0/x86_64-pc-linux-gnu -I/usr/include/c++/10.1.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include-fixed -I/usr/include PlotPanner.h -o ../generatedfiles/moc/moc_PlotPanner.cpp
/usr/bin/moc -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/generatedfiles/moc/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI -I/build/openmodelica-git/src/openmodelica-git/build/include/omplot/qwt -I/build/openmodelica-git/src/openmodelica-git/build/include/omc/c -I/build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI -I/usr/include/qt -I/usr/include/qt/QtSvg -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I/usr/include/c++/10.1.0 -I/usr/include/c++/10.1.0/x86_64-pc-linux-gnu -I/usr/include/c++/10.1.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include-fixed -I/usr/include PlotWindow.h -o ../generatedfiles/moc/moc_PlotWindow.cpp
/usr/bin/moc -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/generatedfiles/moc/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI -I/build/openmodelica-git/src/openmodelica-git/build/include/omplot/qwt -I/build/openmodelica-git/src/openmodelica-git/build/include/omc/c -I/build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI -I/usr/include/qt -I/usr/include/qt/QtSvg -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I/usr/include/c++/10.1.0 -I/usr/include/c++/10.1.0/x86_64-pc-linux-gnu -I/usr/include/c++/10.1.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include-fixed -I/usr/include PlotApplication.h -o ../generatedfiles/moc/moc_PlotApplication.cpp
/usr/bin/moc -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/generatedfiles/moc/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI -I/build/openmodelica-git/src/openmodelica-git/build/include/omplot/qwt -I/build/openmodelica-git/src/openmodelica-git/build/include/omc/c -I/build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI -I/usr/include/qt -I/usr/include/qt/QtSvg -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I/usr/include/c++/10.1.0 -I/usr/include/c++/10.1.0/x86_64-pc-linux-gnu -I/usr/include/c++/10.1.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include-fixed -I/usr/include PlotWindowContainer.h -o ../generatedfiles/moc/moc_PlotWindowContainer.cpp
/usr/bin/moc -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/generatedfiles/moc/moc_predefs.h -I/usr/lib/qt/mkspecs/linux-g++ -I/build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI -I/build/openmodelica-git/src/openmodelica-git/build/include/omplot/qwt -I/build/openmodelica-git/src/openmodelica-git/build/include/omc/c -I/build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI -I/usr/include/qt -I/usr/include/qt/QtSvg -I/usr/include/qt/QtPrintSupport -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I/usr/include/c++/10.1.0 -I/usr/include/c++/10.1.0/x86_64-pc-linux-gnu -I/usr/include/c++/10.1.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include-fixed -I/usr/include PlotMainWindow.h -o ../generatedfiles/moc/moc_PlotMainWindow.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o moc_OMPlot.o ../generatedfiles/moc/moc_OMPlot.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o moc_PlotZoomer.o ../generatedfiles/moc/moc_PlotZoomer.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o moc_Legend.o ../generatedfiles/moc/moc_Legend.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o moc_PlotPanner.o ../generatedfiles/moc/moc_PlotPanner.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o moc_PlotWindow.o ../generatedfiles/moc/moc_PlotWindow.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o moc_PlotApplication.o ../generatedfiles/moc/moc_PlotApplication.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o moc_PlotWindowContainer.o ../generatedfiles/moc/moc_PlotWindowContainer.cpp
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o moc_PlotMainWindow.o ../generatedfiles/moc/moc_PlotMainWindow.cpp
rm -f libOMPlot.so.1.0.0 libOMPlot.so libOMPlot.so.1 libOMPlot.so.1.0
clang++ -enable-auto-import -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-rpath-link,/build/openmodelica-git/src/openmodelica-git/build/lib/x86_64-linux-gnu/omc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libOMPlot.so.1 -o libOMPlot.so.1.0.0 Plot.o PlotZoomer.o Legend.o PlotPanner.o PlotPicker.o PlotGrid.o PlotCurve.o PlotWindow.o PlotApplication.o PlotWindowContainer.o PlotMainWindow.o ScaleDraw.o qrc_resource_omplot.o moc_OMPlot.o moc_PlotZoomer.o moc_Legend.o moc_PlotPanner.o moc_PlotWindow.o moc_PlotApplication.o moc_PlotWindowContainer.o moc_PlotMainWindow.o  -L /build/openmodelica-git/src/openmodelica-git/build/lib/x86_64-linux-gnu/omc -lomqwt -Wl,-z,origin -Wl,-rpath,'$ORIGIN/../lib/x86_64-linux-gnu/omc' -Wl,-rpath,'$ORIGIN/../lib' -Wl,-rpath,'$ORIGIN' /usr/lib/libQt5Svg.so /usr/lib/libQt5PrintSupport.so /usr/lib/libQt5Widgets.so /usr/lib/libQt5Gui.so /usr/lib/libQt5Core.so -lGL -lpthread    
clang-10: warning: argument unused during compilation: '-e nable-auto-import' [-Wunused-command-line-argument]
ln -s libOMPlot.so.1.0.0 libOMPlot.so
ln -s libOMPlot.so.1.0.0 libOMPlot.so.1
ln -s libOMPlot.so.1.0.0 libOMPlot.so.1.0
rm -f ../bin/libOMPlot.so.1.0.0
mv -f libOMPlot.so.1.0.0 ../bin/libOMPlot.so.1.0.0
rm -f ../bin/libOMPlot.so
rm -f ../bin/libOMPlot.so.1
rm -f ../bin/libOMPlot.so.1.0
mv -f libOMPlot.so ../bin/libOMPlot.so
mv -f libOMPlot.so.1 ../bin/libOMPlot.so.1
mv -f libOMPlot.so.1.0 ../bin/libOMPlot.so.1.0
make[3]: Leaving directory '/build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI'
cp -a ../bin/libOMPlot* /build/openmodelica-git/src/openmodelica-git/build/lib/x86_64-linux-gnu/omc/
test ! `uname` = Darwin || install_name_tool -id @rpath/libOMPlot.1.0.0.dylib /build/openmodelica-git/src/openmodelica-git/build/lib/x86_64-linux-gnu/omc/libOMPlot.1.0.0.dylib
make -f Makefile
make[3]: Entering directory '/build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI'
clang++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -D_FORTIFY_SOURCE=2 -DH5_USE_18_API -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtSvg -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I../generatedfiles/moc -I/usr/lib/qt/mkspecs/linux-g++ -o main.o main.cpp
clang++ -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-rpath-link,/build/openmodelica-git/src/openmodelica-git/build/lib/x86_64-linux-gnu/omc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o ../bin/OMPlot main.o qrc_resource_omplot.o moc_OMPlot.o moc_PlotZoomer.o moc_Legend.o moc_PlotPanner.o moc_PlotWindow.o moc_PlotApplication.o moc_PlotWindowContainer.o moc_PlotMainWindow.o   -L /build/openmodelica-git/src/openmodelica-git/build/lib/x86_64-linux-gnu/omc -lomqwt -Wl,-z,origin -Wl,-rpath,'$ORIGIN/../lib/x86_64-linux-gnu/omc' -Wl,-rpath,'$ORIGIN/../lib' -Wl,-rpath,'$ORIGIN' -lOMPlot /usr/lib/libQt5Svg.so /usr/lib/libQt5PrintSupport.so /usr/lib/libQt5Widgets.so /usr/lib/libQt5Gui.so /usr/lib/libQt5Core.so -lGL -lpthread   
make[3]: Leaving directory '/build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI'
cp -p ../bin/OMPlot /build/openmodelica-git/src/openmodelica-git/build/bin
make[2]: Leaving directory '/build/openmodelica-git/src/openmodelica-git/OMPlot/OMPlot/OMPlotGUI'
cp -a OMPlot/OMPlotGUI/*.h /build/openmodelica-git/src/openmodelica-git/build/include/omplot
make[1]: Leaving directory '/build/openmodelica-git/src/openmodelica-git/OMPlot'
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/maxtro/build

Offline

#18 2020-08-20 22:25:34

loqs
Member
Registered: 2014-03-06
Posts: 11,602

Re: Makepkg fails building, but running the make command in a bash works.

I think the error happened before the start of the log you posted.  What is the pkgver that failed?
Edit:
Will rebuild it locally see if I can produce a failure.
Edit2:
Still builds here 1.16.0.dev.r599.gbf1c298782.
Scimmia any thoughts what could cause such a difference inside a clean chroot?

Last edited by loqs (2020-08-20 23:04:54)

Offline

#19 2020-08-20 23:18:08

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 7,868

Re: Makepkg fails building, but running the make command in a bash works.

As you say, that log doesn't seem to cover the error, so it's hard to say. Could be something as straight forward as a race condition. I'll give it a try now that the PKGBUILD is reasonable.

Edit: Builds fine for me as well.

Last edited by Scimmia (2020-08-21 01:26:39)

Offline

#20 2020-08-21 14:28:42

loqs
Member
Registered: 2014-03-06
Posts: 11,602

Re: Makepkg fails building, but running the make command in a bash works.

Offline

#21 2020-08-21 14:50:29

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 7,868

Re: Makepkg fails building, but running the make command in a bash works.

So it would appear. Some people just can't be helped. A TU might have to step in on this.

Offline

#22 2020-08-24 15:28:15

ElMastro
Member
Registered: 2015-12-02
Posts: 28

Re: Makepkg fails building, but running the make command in a bash works.

@loqs: thinks are not as the appears: on my computer the openmodelica-git STILL doesn't work; I just discovered that on any other computer it does, so I thought to upload the version I thought was working for everyone else;

If the PKGBUILD on thread 16 is ok with all the guidelines I would like to upload that and after search if in my computer there is any misconfiguration.

Offline

#23 2020-08-24 19:11:34

loqs
Member
Registered: 2014-03-06
Posts: 11,602

Re: Makepkg fails building, but running the make command in a bash works.

As I explained in post #18 the cause of the error is not in the log extract you posted.

In uploading that build you ignored https://aur.archlinux.org/packages/open … ent-760627

Do you understand why it is worse than the previous PKGBUILD?
From old PKGBUILD

prepare() {
    # clone all submodules
    mkdir -p "$srcdir/$pkgname"
    if [ ! -d "$srcdir/$pkgname/.git" ]; then
        git clone https://github.com/OpenModelica/OpenModelica "$srcdir/$pkgname"
        echo "***** CLONING COMPLETED!!!!! ****"
    fi
    cd "$srcdir/$pkgname"
    git submodule sync
    git submodule update --init --recursive
    cd "$srcdir"
    cd "$srcdir/$pkgname"
}
 
pkgver() {
    cd "$pkgname"
    git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

From updated PKGBUILD

prepare() {
    # clone all submodules
    #place for openmodelica-git.sh
    #./openmodelica-git.sh
    
    mkdir -p "$srcdir/$pkgname"
    if [ ! -d "$srcdir/$pkgname/.git" ]; then
        MY_FORK=MyGitHubUserName ; git clone https://github.com/ppenguin/OpenModelica --recursive && (cd OpenModelica && git remote set-url --push origin git@github.com:$MY_FORK/OpenModelica.git && git submodule foreach --recursive 'git remote set-url --push origin `git config --get remote.origin.url | sed s,^.*/,git@github.com:'$MY_FORK'/,`')
         echo "***** CLONING COMPLETED!!!!! ****"
    fi
}
 
#pkgver() {
    #cd "$pkgname"
    #git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
#}

As before recursively cloning a github repository which is not in the sources.  Then for each repository set the push origin to git@github.com:MyGitHubUserName/$gitname.git.
The src directory is meant for building packages.  No VCS repository under src should ever be pushed to.  Overwriting VCS metadata with invalid values is pointless.
pkgver function is disabled so pkgver is not updated.

No the uploaded version does not work for everyone.  It does not include git in the dependencies so it fails in a clean chroot during prepare.

Is the package intended to be 32 bit or 64 bit?  It includes 32 bit dependencies but builds 64 bit code.

Offline

#24 2020-08-25 14:05:39

ElMastro
Member
Registered: 2015-12-02
Posts: 28

Re: Makepkg fails building, but running the make command in a bash works.

@loqs: I'm sorry, now I see your point;

I got the code of the git cloming part from https://github.com/OpenModelica/OpenModelica so I thought it was the best way.

I don't really know why pkgver has been commented, it might be not to force the update (I'll decomment it).

The lib32 dependencies have been in the PKGBUILD before I fixed it the first time, I'll fix this.

As the PKGBUILD is not working now, I'll try to make a clearer one fixing all the errors I inserted in the last one

Last edited by ElMastro (2020-08-25 14:06:21)

Offline

#25 2020-08-25 14:36:37

loqs
Member
Registered: 2014-03-06
Posts: 11,602

Re: Makepkg fails building, but running the make command in a bash works.

If you post the full output from extra-x86_64-build failing,  then I can try and find the cause.
Edit:
@XWang did the PKGBUILD from post #16 work for you in a clean chroot?

Last edited by loqs (2020-08-25 15:20:05)

Offline

Board footer

Powered by FluxBB