You are not logged in.

#26 2020-08-25 15:48:45

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

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

loqs wrote:

@XWang did the PKGBUILD from post #16 work for you in a clean chroot?

Yes, it did. I just added -j1 to the make command before executing the extra-x86_64-build command.
I do not know if it is needed , but I prefer to do that when compiling huge AUR packages so that meantime I can continue using my PC.

Offline

#27 2020-08-25 15:50:28

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

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

If the -j1 works for ElMastro then there is a race condition in the build order as Scimmia suggested in post #19.

Last edited by loqs (2020-08-25 15:51:00)

Offline

#28 2020-09-01 21:25:44

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

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

I finally did it, but I don't know how to post it, as the full output is 6 Mb file of around 35'000 lines.
I stored it in https://we.tl/t-Dhjkc8jgiK,
I hope it is not against any rule

Offline

#29 2020-09-01 21:54:53

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

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

Was the fix to add -j1 ?

Offline

#30 2020-09-03 10:44:57

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.
I succeeded in end the compilation, not to build it. Building it with the make -j1 parameter the output is
https://we.tl/t-Aql2scx7s5

I would like to post only the relevant part, but I don't know what to search.

Offline

#31 2020-09-03 16:12:07

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

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

ElMastro wrote:

Sorry for the late answer.

Not a problem.

ElMastro wrote:

I succeeded in end the compilation, not to build it.

Could you please explain what you mean by compilation succeeded but not to build it?

ElMastro wrote:

Building it with the make -j1 parameter the output is
https://we.tl/t-Aql2scx7s5

I can not see an error in the output before it comes to an end.

Offline

#32 2020-09-07 15:55:58

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

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

The compilation took 6.0 Gb of space that I had to free. If make does not make an error I would like to test the script and find the part that stops everything to post the result (almost surely is make install)

I'm posting the results as soon as possible.

Offline

#33 2020-09-11 14:57:18

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

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

The package seems to build (both with -j1 and -j8)

 ==> Creating package "openmodelica-git"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...

In the end extra-x86_64-build outputs

openmodelica-git W: File (usr/OMSens/resource/sys_dyn/vermeulen_and_jongh_run_3/SystemDynamics/Resources/Images/World3_7.png) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/resource/sys_dyn/vermeulen_and_jongh_run_3/SystemDynamics/Resources/Images/World3_8.png) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/resource/sys_dyn/vermeulen_and_jongh_run_3/SystemDynamics/Resources/Images/World3_9.png) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/resource/sys_dyn/vermeulen_and_jongh_run_3/SystemDynamics/Resources/Include/) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/resource/sys_dyn/vermeulen_and_jongh_run_3/SystemDynamics/Resources/Include/ext_RandomNormal.c) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/resource/sys_dyn/vermeulen_and_jongh_run_3/SystemDynamics/Resources/Include/ext_initRandomNormal.c) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/resource/sys_dyn/vermeulen_and_jongh_run_3/SystemDynamics/Resources/ModelicaLicense1.1.txt) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/resource/sys_dyn/vermeulen_and_jongh_run_3/SystemDynamics/package.mo) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/resource/vermeulen_and_jongh.txt) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/resource/vj_run2.csv) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/resource/vj_run3.csv) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/resource/w3_real_params.csv) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/running/) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/running/simulation_run_info.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/running/sweep.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/settings/) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/settings/__init__.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/settings/gral_settings.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/settings/settings_world3_sweep.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/setup.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/sweeping/) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/sweeping/__init__.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/sweeping/iterationInfo.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/sweeping/run_and_plot_model.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/testing/) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/testing/__init__.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/testing/aux_tests.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/testing/test_build_model.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/testing/test_curvi.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/testing/test_dynamic_sens_matrix.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/testing/test_indiv_sens.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/testing/test_model_optimizer.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/testing/test_mos_creator.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/testing/test_multiparam_sweep.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/testing/test_plot_heatmaps.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/testing/test_plot_sweep.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/testing/test_plot_vectorial.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/testing/test_predefined_json_files.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/testing/test_run_omc.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/vectorial/) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/vectorial/model_optimizer.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/vectorial/optimization_result.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/vectorial_analysis.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/world3_scenarios_sweeps_multiparam.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/world3_scenarios_sweeps_uniparam.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/world3_specific/) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/world3_specific/__init__.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/world3_specific/params_perturber.py) exists in a non-standard directory.
openmodelica-git W: File (usr/OMSens/world3_specific/standard_run_params_defaults.py) exists in a non-standard directory.
openmodelica-git E: OSMC-PL is not a common license (it's not in /usr/share/licenses/common/)
openmodelica-git W: File (usr/bin/OMSimulatorPython3) does not have the world readable bit set.
openmodelica-git E: Insecure RPATH '/build/openmodelica-git/src/openmodelica-git/OMCompiler/3rdParty/Ipopt/lib' in file ('usr/lib/x86_64-linux-gnu/omc/libipopt.so.0.0.0')
openmodelica-git W: Referenced library 'ruby' is an uninstalled dependency
openmodelica-git W: Referenced library 'libomtlmsimulator.so' is an uninstalled dependency
openmodelica-git W: Referenced library 'libumfpack.so' is an uninstalled dependency
openmodelica-git W: Referenced library 'libcolamd.so' is an uninstalled dependency
openmodelica-git W: Referenced library 'libipopt.so.0' is an uninstalled dependency
openmodelica-git W: Referenced library 'libOMSimulator.so' is an uninstalled dependency
openmodelica-git W: Referenced library 'libsundials_kinsol.so.1' is an uninstalled dependency
openmodelica-git W: Referenced library 'libqjson.so.0' is an uninstalled dependency
openmodelica-git W: Referenced library 'libcoinmumps.so.1' is an uninstalled dependency
openmodelica-git W: Referenced library 'libomopcua.so' is an uninstalled dependency
openmodelica-git W: Referenced library 'libOpenModelicaCompiler.so' is an uninstalled dependency
openmodelica-git W: Referenced library 'libklu.so' is an uninstalled dependency
openmodelica-git W: Referenced library 'liblis.so.0' is an uninstalled dependency
openmodelica-git W: Referenced library 'libomqwt.so.6' is an uninstalled dependency
openmodelica-git W: Referenced library 'libomcgc.so.1' is an uninstalled dependency
openmodelica-git W: Referenced library 'libOpenModelicaRuntimeC.so' is an uninstalled dependency
openmodelica-git W: Referenced library 'libzmq.so.5.1.3' is an uninstalled dependency
openmodelica-git W: Referenced library 'libbtf.so' is an uninstalled dependency
openmodelica-git W: Referenced library 'libOMSISolver.so' is an uninstalled dependency
openmodelica-git W: Referenced library 'libfmilib_shared.so' is an uninstalled dependency
openmodelica-git W: Referenced library 'libsundials_idas.so.0' is an uninstalled dependency
openmodelica-git W: Referenced library 'libsundials_cvodes.so.2' is an uninstalled dependency
openmodelica-git W: Referenced library 'libSimulationRuntimeC.so' is an uninstalled dependency
openmodelica-git W: Referenced library 'libcminpack.so.1' is an uninstalled dependency
openmodelica-git W: Referenced library 'libsundials_nvecserial.so.0' is an uninstalled dependency
openmodelica-git W: Referenced library 'libomantlr3.so' is an uninstalled dependency
openmodelica-git W: Referenced library 'libOMPlot.so.1' is an uninstalled dependency
openmodelica-git W: Referenced library 'libamd.so' is an uninstalled dependency
openmodelica-git W: Referenced library 'libomcruntime.so' is an uninstalled dependency
openmodelica-git W: Referenced library 'liblpsolve55.so' is an uninstalled dependency
openmodelica-git E: Symlink (usr/lib/OMSimulator/x86_64-linux-gnu/omc/libcminpack.so) points to non-existing libcminpack.so.1
openmodelica-git E: Symlink (usr/lib/OMSimulator/x86_64-linux-gnu/omc/libcoinmumps.so) points to non-existing libcoinmumps.so.1.5.2
openmodelica-git E: Symlink (usr/lib/OMSimulator/x86_64-linux-gnu/omc/libipopt.so) points to non-existing libipopt.so.0.0.0
openmodelica-git E: Symlink (usr/lib/OMSimulator/x86_64-linux-gnu/omc/liblis.so) points to non-existing liblis.so.0.0.0
openmodelica-git E: Symlink (usr/lib/OMSimulator/x86_64-linux-gnu/omc/libomcgc.so) points to non-existing libomcgc.so.1.4.1
openmodelica-git E: Symlink (usr/lib/OMSimulator/x86_64-linux-gnu/omc/libzmq.so) points to non-existing libzmq.so.5.1.3
openmodelica-git W: Unused shared library '/usr/lib/liblapack.so.3' by file ('usr/OMSens/old/fortran/tmp/SystemDynamics.WorldDynamics.World3.Scenario_1')
openmodelica-git W: Unused shared library '/usr/lib/libblas.so.3' by file ('usr/OMSens/old/fortran/tmp/SystemDynamics.WorldDynamics.World3.Scenario_1')
openmodelica-git W: Unused shared library '/usr/lib/x86_64-linux-gnu/omc/libomcgc.so.1' by file ('usr/OMSens/old/fortran/tmp/SystemDynamics.WorldDynamics.World3.Scenario_1')
openmodelica-git W: Unused shared library '/tmp/../lib/x86_64-linux-gnu/omc/libfmilib_shared.so' by file ('usr/bin/OMShell')
openmodelica-git W: Unused shared library '/tmp/../lib/x86_64-linux-gnu/omc/libfmilib_shared.so' by file ('usr/bin/OMShell-terminal')
openmodelica-git W: Unused shared library '/usr/lib/librt.so.1' by file ('usr/lib/OMSimulator/x86_64-linux-gnu/omc/libomtlmsimulator.so')
openmodelica-git W: Unused shared library '/usr/lib/libblas.so.3' by file ('usr/lib/OMSimulator/x86_64-linux-gnu/omc/libsundials_kinsol.so')
openmodelica-git W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/OMSimulator/x86_64-linux-gnu/omc/omsi/libOMSIBase.so')
openmodelica-git W: Unused shared library '/usr/lib/liblapack.so.3' by file ('usr/lib/OMSimulator/x86_64-linux-gnu/omc/omsi/libOMSIBase.so')
openmodelica-git W: Unused shared library '/usr/lib/libblas.so.3' by file ('usr/lib/OMSimulator/x86_64-linux-gnu/omc/omsi/libOMSIBase.so')
openmodelica-git W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/OMSimulator/x86_64-linux-gnu/omc/omsi/libOMSISolver.so')
openmodelica-git W: Unused shared library '/usr/lib/libblas.so.3' by file ('usr/lib/OMSimulator/x86_64-linux-gnu/omc/omsi/libOMSISolver.so')
openmodelica-git W: Unused shared library '/usr/lib/libexpat.so.1' by file ('usr/lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so')
openmodelica-git W: Unused shared library '/usr/lib/libcurl.so.4' by file ('usr/lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so')
openmodelica-git W: Unused shared library '/tmp/../lib/x86_64-linux-gnu/omc/liblpsolve55.so' by file ('usr/lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so')
openmodelica-git W: Unused shared library '/usr/lib/libuuid.so.1' by file ('usr/lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so')
openmodelica-git W: Unused shared library '/usr/lib/liblapack.so.3' by file ('usr/lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so')
openmodelica-git W: Unused shared library '/usr/lib/libblas.so.3' by file ('usr/lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so')
openmodelica-git W: Unused shared library '/tmp/../lib/x86_64-linux-gnu/omc/libzmq.so.5.1.3' by file ('usr/lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so')
openmodelica-git W: Unused shared library '/usr/lib/libcurl.so.4' by file ('usr/lib/x86_64-linux-gnu/omc/libOpenModelicaFMIRuntimeC.so')
openmodelica-git W: Unused shared library '/tmp/../lib/x86_64-linux-gnu/omc/libomcgc.so.1' by file ('usr/lib/x86_64-linux-gnu/omc/libOpenModelicaFMIRuntimeC.so')
openmodelica-git W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/lib/x86_64-linux-gnu/omc/libOpenModelicaFMIRuntimeC.so')
openmodelica-git W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/lib/x86_64-linux-gnu/omc/libOpenModelicaFMIRuntimeC.so')
openmodelica-git W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/x86_64-linux-gnu/omc/libOpenModelicaFMIRuntimeC.so')
openmodelica-git W: Unused shared library '/usr/lib/libstdc++.so.6' by file ('usr/lib/x86_64-linux-gnu/omc/libOpenModelicaFMIRuntimeC.so')
openmodelica-git W: Unused shared library '/usr/lib/libcurl.so.4' by file ('usr/lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so')
openmodelica-git W: Unused shared library '/usr/lib/libstdc++.so.6' by file ('usr/lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so')
openmodelica-git W: Unused shared library '/usr/lib/libcurl.so.4' by file ('usr/lib/x86_64-linux-gnu/omc/libSimulationRuntimeC.so')
openmodelica-git W: Unused shared library '/usr/lib/liblapack.so.3' by file ('usr/lib/x86_64-linux-gnu/omc/libcoinmumps.so.1.5.2')
openmodelica-git W: Unused shared library '/usr/lib/libquadmath.so.0' by file ('usr/lib/x86_64-linux-gnu/omc/libcoinmumps.so.1.5.2')
openmodelica-git W: Unused shared library '/usr/lib/libgcc_s.so.1' by file ('usr/lib/x86_64-linux-gnu/omc/libcoinmumps.so.1.5.2')
openmodelica-git W: Unused shared library '/usr/lib/libgfortran.so.5' by file ('usr/lib/x86_64-linux-gnu/omc/libipopt.so.0.0.0')
openmodelica-git W: Unused shared library '/usr/lib/libquadmath.so.0' by file ('usr/lib/x86_64-linux-gnu/omc/libipopt.so.0.0.0')
openmodelica-git W: Unused shared library '/usr/lib/librt.so.1' by file ('usr/lib/x86_64-linux-gnu/omc/libomtlmsimulator.so')
openmodelica-git W: Unused shared library '/usr/lib/libblas.so.3' by file ('usr/lib/x86_64-linux-gnu/omc/libsundials_kinsol.so')
openmodelica-git W: Unused shared library '/usr/lib/libblas.so.3' by file ('usr/lib/x86_64-linux-gnu/omc/libsundials_kinsol.so.1')
openmodelica-git W: Unused shared library '/usr/lib/libblas.so.3' by file ('usr/lib/x86_64-linux-gnu/omc/libsundials_kinsol.so.1.0.0')
openmodelica-git W: Unused shared library '/usr/lib/librt.so.1' by file ('usr/lib/x86_64-linux-gnu/omc/libzmq.so.4.2.3')
openmodelica-git W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/x86_64-linux-gnu/omc/omsi/libOMSIBase.so')
openmodelica-git W: Unused shared library '/usr/lib/liblapack.so.3' by file ('usr/lib/x86_64-linux-gnu/omc/omsi/libOMSIBase.so')
openmodelica-git W: Unused shared library '/usr/lib/libblas.so.3' by file ('usr/lib/x86_64-linux-gnu/omc/omsi/libOMSIBase.so')
openmodelica-git W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/x86_64-linux-gnu/omc/omsi/libOMSISolver.so')
openmodelica-git W: Unused shared library '/usr/lib/libblas.so.3' by file ('usr/lib/x86_64-linux-gnu/omc/omsi/libOMSISolver.so')
openmodelica-git E: Dependency python detected and not included (programs ['python3', 'python'] needed in scripts ['usr/share/doc/omc/testmodels/ComplianceSuite.py', 'usr/OMSens/setup.py', 'usr/lib/omlibrary/Modelica 3.2.3/Resources/Documentation/Generate-ReleaseNotes.py', 'usr/share/doc/omc/testmodels/BuildModelRecursiveAnalyzeLog.py', 'usr/share/omc/scripts/ngspicetoModelica.py', 'usr/share/doc/omc/testmodels/CountClassUses.py', 'usr/share/doc/omc/testmodels/generate_icons.py'])
openmodelica-git W: Dependency included and not needed ('qt5-tools')
==> Running checkpkg
error: target not found: openmodelica-git
==> WARNING: Skipped checkpkg due to missing repo packages

So I should assume that now is working, I presume

Offline

#34 2020-09-11 21:30:00

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

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

Does the package built by extra-x86_64-build work as expected?

Offline

#35 2020-09-15 10:09:09

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

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

Yes, the package is built and openmodelica works after installation. OMSens doesn't want to work, but I believe that this depends on the scripts inside, so should be easy to solve on the openmodelica forum.

For what concerns me, we could upload the PKGBUILD in the #16 post and this should be fine.

Offline

#36 2020-09-15 10:14:48

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

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

ElMastro wrote:

Yes, the package is built and openmodelica works after installation. OMSens doesn't want to work, but I believe that this depends on the scripts inside, so should be easy to solve on the openmodelica forum.

For what concerns me, we could upload the PKGBUILD in the #16 post and this should be fine.

I agree

Offline

Board footer

Powered by FluxBB