Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#56522 - Openmesh 6.3-1 needs patch for gcc 7.2

Attached to Project: Arch Linux
Opened by Paul Melis (paulmelis) - Thursday, 30 November 2017, 15:47 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 30 November 2017, 15:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

With gcc 7.2 there's a compile error due to a missing include. Attached patch (based on https://www.graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh/commit/acb62194f4268651250cda546dc8c93610893877) fixes it.

Additional info:
* package version(s)

openmesh 6.3-1

* config and/or log files etc.


Steps to reproduce:

$ yaourt -S openmesh

...

[ 46%] Building CXX object src/OpenMesh/Tools/CMakeFiles/OpenMeshToolsStatic.dir/Utils/Gnuplot.cc.o
[ 47%] Building CXX object src/OpenMesh/Tools/CMakeFiles/OpenMeshToolsStatic.dir/Utils/conio.cc.o
/tmp/yaourt-tmp-paulm/aur-openmesh/src/OpenMesh-6.3/src/OpenMesh/Tools/Utils/conio.cc: In function ‘int OpenMesh::Utils::kbhit()’:
/tmp/yaourt-tmp-paulm/aur-openmesh/src/OpenMesh-6.3/src/OpenMesh/Tools/Utils/conio.cc:122:20: error: aggregate ‘OpenMesh::Utils::kbhit()::timeval tv’ has incomplete type and cannot be defined
struct timeval tv;
^~
/tmp/yaourt-tmp-paulm/aur-openmesh/src/OpenMesh-6.3/src/OpenMesh/Tools/Utils/conio.cc:127:5: error: ‘select’ was not declared in this scope
select(1, NULL, NULL, NULL, &tv);
^~~~~~
/tmp/yaourt-tmp-paulm/aur-openmesh/src/OpenMesh-6.3/src/OpenMesh/Tools/Utils/conio.cc:127:5: note: suggested alternative: ‘sleep’
select(1, NULL, NULL, NULL, &tv);
^~~~~~
sleep
make[2]: *** [src/OpenMesh/Tools/CMakeFiles/OpenMeshToolsStatic.dir/build.make:135: src/OpenMesh/Tools/CMakeFiles/OpenMeshToolsStatic.dir/Utils/conio.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:251: src/OpenMesh/Tools/CMakeFiles/OpenMeshTools.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:214: src/OpenMesh/Tools/CMakeFiles/OpenMeshToolsStatic.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build openmesh.
==> Restart building openmesh ? [y/N]
==> ---------------------------------
==>
This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 30 November 2017, 15:51 GMT
Reason for closing:  Not a bug
Additional comments about closing:  AUR packages are not supported

Loading...