Bug 192486 - [new port] cad/cura-engine (ENGINE of Slicing solution for RepRap 3D Printers)
Summary: [new port] cad/cura-engine (ENGINE of Slicing solution for RepRap 3D Printers)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-07 19:03 UTC by Tomasz "CeDeROM" CEDRO
Modified: 2014-08-08 01:28 UTC (History)
2 users (show)

See Also:


Attachments
new port shar cad/cura-engine (2.36 KB, text/plain)
2014-08-07 19:04 UTC, Tomasz "CeDeROM" CEDRO
no flags Details
updated install target (2.37 KB, text/plain)
2014-08-07 20:10 UTC, Tomasz "CeDeROM" CEDRO
no flags Details
fixed COMMENT short (2.36 KB, text/plain)
2014-08-07 20:36 UTC, Tomasz "CeDeROM" CEDRO
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz "CeDeROM" CEDRO 2014-08-07 19:03:46 UTC

    
Comment 1 Tomasz "CeDeROM" CEDRO 2014-08-07 19:04:25 UTC
Created attachment 145477 [details]
new port shar cad/cura-engine
Comment 2 John Marino freebsd_committer freebsd_triage 2014-08-07 19:06:55 UTC
Thanks!  Do you have any verification available?  In order of preference, examples of what I'm looking for are:

1) "poudriere testport" or "poudriere bulk -t" logs
2) Redports or tinderbox logs
3) "make check-plist" followed by "make stage-qa" output  (https://www.freebsd.org/doc/en/books/porters-handbook/porting-testing.html)
Comment 3 Tomasz "CeDeROM" CEDRO 2014-08-07 19:13:40 UTC
Hello there :-) There you go =)

root@hexagon:/usr/ports/cad/cura-engine # portlint 
looks fine.


root@hexagon:/usr/ports/cad/cura-engine # make check-plist
===>  License AGPLv3 accepted by the user
===>   CuraEngine-14.03 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by CuraEngine-14.03 for building
===>  Extracting for CuraEngine-14.03
=> SHA256 Checksum OK for CuraEngine-14.03.tar.gz.
===>  Patching for CuraEngine-14.03
===>   CuraEngine-14.03 depends on executable: git - found
===>   CuraEngine-14.03 depends on executable: gmake - found
===>  Configuring for CuraEngine-14.03
===>  Building for CuraEngine-14.03
gmake[1]: Entering directory `/mnt/stuff1200ufs/usr/ports/cad/cura-engine/work/Ultimaker-CuraEngine-4c1043f'
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/bridge.cpp -o build/bridge.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/comb.cpp -o build/comb.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/gcodeExport.cpp -o build/gcodeExport.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/infill.cpp -o build/infill.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/inset.cpp -o build/inset.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/layerPart.cpp -o build/layerPart.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/main.cpp -o build/main.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/optimizedModel.cpp -o build/optimizedModel.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/pathOrderOptimizer.cpp -o build/pathOrderOptimizer.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/polygonOptimizer.cpp -o build/polygonOptimizer.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/raft.cpp -o build/raft.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/settings.cpp -o build/settings.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/skin.cpp -o build/skin.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/skirt.cpp -o build/skirt.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/slicer.cpp -o build/slicer.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/support.cpp -o build/support.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/timeEstimate.cpp -o build/timeEstimate.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/modelFile/modelFile.cpp -o build/modelFile/modelFile.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/utils/gettime.cpp -o build/utils/gettime.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/utils/logoutput.cpp -o build/utils/logoutput.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/utils/socket.cpp -o build/utils/socket.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer -o build/libclipper.a libs/clipper/clipper.cpp
c++ build/bridge.o build/comb.o build/gcodeExport.o build/infill.o build/inset.o build/layerPart.o build/main.o build/optimizedModel.o build/pathOrderOptimizer.o build/polygonOptimizer.o build/raft.o build/settings.o build/skin.o build/skirt.o build/slicer.o build/support.o build/timeEstimate.o build/modelFile/modelFile.o build/utils/gettime.o build/utils/logoutput.o build/utils/socket.o -o build/CuraEngine  -Lbuild/ -lclipper
gmake[1]: Leaving directory `/mnt/stuff1200ufs/usr/ports/cad/cura-engine/work/Ultimaker-CuraEngine-4c1043f'
===>  Staging for CuraEngine-14.03
===>   Generating temporary packing list
/bin/cp /mnt/stuff1200ufs/usr/ports/cad/cura-engine/work/Ultimaker-CuraEngine-4c1043f/build/CuraEngine /mnt/stuff1200ufs/usr/ports/cad/cura-engine/work/stage//usr/local/bin/
====> Compressing man pages (compress-man)
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for directories owned by MTREEs
===> Checking for directories handled by dependencies
===> Checking for items in pkg-plist which are not in STAGEDIR
===> No pkg-plist issues found (check-plist)


root@hexagon:/usr/ports/cad/cura-engine # make stage-qa
====> Running Q/A tests (stage-qa)
Warning: 'bin/CuraEngine' is not stripped consider using ${STRIP_CMD}


root@hexagon:/usr/ports/cad/cura-engine # make distclean
===>  Cleaning for CuraEngine-14.03
===>  Deleting distfiles for CuraEngine-14.03
root@hexagon:/usr/ports/cad/cura-engine # make
===>  License AGPLv3 accepted by the user
===>   CuraEngine-14.03 depends on file: /usr/local/sbin/pkg - found
=> CuraEngine-14.03.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch https://codeload.github.com/Ultimaker/CuraEngine/legacy.tar.gz/4c1043f?dummy=/CuraEngine-14.03.tar.gz
fetch: https://codeload.github.com/Ultimaker/CuraEngine/legacy.tar.gz/4c1043f?dummy=/CuraEngine-14.03.tar.gz: size unknown
fetch: https://codeload.github.com/Ultimaker/CuraEngine/legacy.tar.gz/4c1043f?dummy=/CuraEngine-14.03.tar.gz: size of remote file is not known
CuraEngine-14.03.tar.gz                                104 kB  182 kBps 00m01s
===> Fetching all distfiles required by CuraEngine-14.03 for building
===>  Extracting for CuraEngine-14.03
=> SHA256 Checksum OK for CuraEngine-14.03.tar.gz.
===>  Patching for CuraEngine-14.03
===>   CuraEngine-14.03 depends on executable: git - found
===>   CuraEngine-14.03 depends on executable: gmake - found
===>  Configuring for CuraEngine-14.03
===>  Building for CuraEngine-14.03
gmake[1]: Entering directory `/mnt/stuff1200ufs/usr/ports/cad/cura-engine/work/Ultimaker-CuraEngine-4c1043f'
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/bridge.cpp -o build/bridge.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/comb.cpp -o build/comb.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/gcodeExport.cpp -o build/gcodeExport.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/infill.cpp -o build/infill.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/inset.cpp -o build/inset.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/layerPart.cpp -o build/layerPart.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/main.cpp -o build/main.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/optimizedModel.cpp -o build/optimizedModel.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/pathOrderOptimizer.cpp -o build/pathOrderOptimizer.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/polygonOptimizer.cpp -o build/polygonOptimizer.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/raft.cpp -o build/raft.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/settings.cpp -o build/settings.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/skin.cpp -o build/skin.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/skirt.cpp -o build/skirt.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/slicer.cpp -o build/slicer.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/support.cpp -o build/support.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/timeEstimate.cpp -o build/timeEstimate.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/modelFile/modelFile.cpp -o build/modelFile/modelFile.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/utils/gettime.cpp -o build/utils/gettime.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/utils/logoutput.cpp -o build/utils/logoutput.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/utils/socket.cpp -o build/utils/socket.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer -o build/libclipper.a libs/clipper/clipper.cpp
c++ build/bridge.o build/comb.o build/gcodeExport.o build/infill.o build/inset.o build/layerPart.o build/main.o build/optimizedModel.o build/pathOrderOptimizer.o build/polygonOptimizer.o build/raft.o build/settings.o build/skin.o build/skirt.o build/slicer.o build/support.o build/timeEstimate.o build/modelFile/modelFile.o build/utils/gettime.o build/utils/logoutput.o build/utils/socket.o -o build/CuraEngine  -Lbuild/ -lclipper
gmake[1]: Leaving directory `/mnt/stuff1200ufs/usr/ports/cad/cura-engine/work/Ultimaker-CuraEngine-4c1043f'
===>  Staging for CuraEngine-14.03
===>   Generating temporary packing list
/bin/cp /mnt/stuff1200ufs/usr/ports/cad/cura-engine/work/Ultimaker-CuraEngine-4c1043f/build/CuraEngine /mnt/stuff1200ufs/usr/ports/cad/cura-engine/work/stage//usr/local/bin/
====> Compressing man pages (compress-man)


root@hexagon:/usr/ports/cad/cura-engine # make clean
===>  Cleaning for CuraEngine-14.03
root@hexagon:/usr/ports/cad/cura-engine # make
===>  License AGPLv3 accepted by the user
===>   CuraEngine-14.03 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by CuraEngine-14.03 for building
===>  Extracting for CuraEngine-14.03
=> SHA256 Checksum OK for CuraEngine-14.03.tar.gz.
===>  Patching for CuraEngine-14.03
===>   CuraEngine-14.03 depends on executable: git - found
===>   CuraEngine-14.03 depends on executable: gmake - found
===>  Configuring for CuraEngine-14.03
===>  Building for CuraEngine-14.03
gmake[1]: Entering directory `/mnt/stuff1200ufs/usr/ports/cad/cura-engine/work/Ultimaker-CuraEngine-4c1043f'
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/bridge.cpp -o build/bridge.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/comb.cpp -o build/comb.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/gcodeExport.cpp -o build/gcodeExport.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/infill.cpp -o build/infill.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/inset.cpp -o build/inset.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/layerPart.cpp -o build/layerPart.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/main.cpp -o build/main.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/optimizedModel.cpp -o build/optimizedModel.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/pathOrderOptimizer.cpp -o build/pathOrderOptimizer.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/polygonOptimizer.cpp -o build/polygonOptimizer.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/raft.cpp -o build/raft.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/settings.cpp -o build/settings.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/skin.cpp -o build/skin.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/skirt.cpp -o build/skirt.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/slicer.cpp -o build/slicer.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/support.cpp -o build/support.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/timeEstimate.cpp -o build/timeEstimate.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/modelFile/modelFile.cpp -o build/modelFile/modelFile.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/utils/gettime.cpp -o build/utils/gettime.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/utils/logoutput.cpp -o build/utils/logoutput.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/utils/socket.cpp -o build/utils/socket.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer -o build/libclipper.a libs/clipper/clipper.cpp
c++ build/bridge.o build/comb.o build/gcodeExport.o build/infill.o build/inset.o build/layerPart.o build/main.o build/optimizedModel.o build/pathOrderOptimizer.o build/polygonOptimizer.o build/raft.o build/settings.o build/skin.o build/skirt.o build/slicer.o build/support.o build/timeEstimate.o build/modelFile/modelFile.o build/utils/gettime.o build/utils/logoutput.o build/utils/socket.o -o build/CuraEngine  -Lbuild/ -lclipper
gmake[1]: Leaving directory `/mnt/stuff1200ufs/usr/ports/cad/cura-engine/work/Ultimaker-CuraEngine-4c1043f'
===>  Staging for CuraEngine-14.03
===>   Generating temporary packing list
/bin/cp /mnt/stuff1200ufs/usr/ports/cad/cura-engine/work/Ultimaker-CuraEngine-4c1043f/build/CuraEngine /mnt/stuff1200ufs/usr/ports/cad/cura-engine/work/stage//usr/local/bin/
====> Compressing man pages (compress-man)
root@hexagon:/usr/ports/cad/cura-engine # make package
===>  Building package for CuraEngine-14.03
root@hexagon:/usr/ports/cad/cura-engine # make install
===>  Installing for CuraEngine-14.03
===>  Checking if cad/cura-engine already installed
===>   CuraEngine-14.03 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of cad/cura-engine
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop.
make: stopped in /mnt/stuff1200ufs/usr/ports/cad/cura-engine
root@hexagon:/usr/ports/cad/cura-engine # make deinstall reinstall
===>  Deinstalling for cad/cura-engine
===>   Deinstalling 
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
	CuraEngine-14.03

The operation will free 314 KB
[1/1] Deleting CuraEngine-14.03: 100%
===>  Installing for CuraEngine-14.03
===>   Registering installation for CuraEngine-14.03
root@hexagon:/usr/ports/cad/cura-engine # make deinstall
===>  Deinstalling for cad/cura-engine
===>   Deinstalling 
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
	CuraEngine-14.03

The operation will free 314 KB
[1/1] Deleting CuraEngine-14.03: 100%
root@hexagon:/usr/ports/cad/cura-engine # make install
===>  Installing for CuraEngine-14.03
===>  Checking if cad/cura-engine already installed
===>   Registering installation for CuraEngine-14.03
root@hexagon:/usr/ports/cad/cura-engine # /usr/local/bin/CuraEngine 
Cura_SteamEngine version DEV
Copyright (C) 2014 David Braam

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
Default config 'default.cfg' not used
M107
G1 F2700 E-4.50000
G0 F9000 X0.00 Y0.00 Z5.00
M104 S0                     ;extruder heater off
M140 S0                     ;heated bed heater off (if you have it)
G91                            ;relative positioning
G1 E-1 F300                    ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F9000   ;move Z up a bit and retract filament even more
G28 X0 Y0                      ;move X/Y to min endstops, so the head is out of the way
M84                         ;steppers off
G90                         ;absolute positioning
Comment 4 John Marino freebsd_committer freebsd_triage 2014-08-07 19:18:50 UTC
what about this warning?
====> Running Q/A tests (stage-qa)
Warning: 'bin/CuraEngine' is not stripped consider using ${STRIP_CMD}


if it's automake, this might be solved with "INSTALL_TARGET= install-strip" but you have to check if that's a valid make target.
Comment 5 Tomasz "CeDeROM" CEDRO 2014-08-07 19:21:26 UTC
Not automake, just Make. This software utility is still under heavy development, debug symbols may come handy :-)
Comment 6 John Marino freebsd_committer freebsd_triage 2014-08-07 19:24:38 UTC
But that's the user's call.
The default is everything is installed stripped, but WITH_DEBUG=yes defined will leave the symbols in path.

It's not supposed to be conditionally stripped.
If the makefile uses ${BSD_INSTALL_PROGRAM} it will do the right that.

A sloppier but acceptable way is to use ${STRIP_CMD} in a post-install target which works depending if WITH_DEBUG is set.  (Not unconditionally)
Comment 7 John Marino freebsd_committer freebsd_triage 2014-08-07 19:25:11 UTC
i mean symbols in program, not path
Comment 8 Tomasz "CeDeROM" CEDRO 2014-08-07 19:34:01 UTC
Uhm, I can see no symbols in the binary anyway. The build type by default is a RELEASE. Do we have false positive? What do I miss? :-)



Makefile:
BUILD_TYPE = RELEASE

VERSION ?= DEV
CXX ?= g++
CFLAGS += -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"$(VERSION)\" -isystem libs

ifeq ($(BUILD_TYPE),DEBUG)
        CFLAGS+=-ggdb -Og -g
endif
ifeq ($(BUILD_TYPE),PROFILE)
        CFLAGS+= -pg
endif
ifeq ($(BUILD_TYPE),RELEASE)
        CFLAGS+= -O3 -fomit-frame-pointer
endif

(..)




Rebuild and check for debug symbols in resulting binary:

root@hexagon:/usr/ports/cad/cura-engine # make clean distclean
===>  Cleaning for CuraEngine-14.03
===>  Deleting distfiles for CuraEngine-14.03
root@hexagon:/usr/ports/cad/cura-engine # make deinstall reinstall
===>  Deinstalling for cad/cura-engine
===>   Deinstalling 
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
	CuraEngine-14.03

The operation will free 314 KB
[1/1] Deleting CuraEngine-14.03: 100%
===>  License AGPLv3 accepted by the user
===>   CuraEngine-14.03 depends on file: /usr/local/sbin/pkg - found
=> CuraEngine-14.03.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch https://codeload.github.com/Ultimaker/CuraEngine/legacy.tar.gz/4c1043f?dummy=/CuraEngine-14.03.tar.gz
fetch: https://codeload.github.com/Ultimaker/CuraEngine/legacy.tar.gz/4c1043f?dummy=/CuraEngine-14.03.tar.gz: size unknown
fetch: https://codeload.github.com/Ultimaker/CuraEngine/legacy.tar.gz/4c1043f?dummy=/CuraEngine-14.03.tar.gz: size of remote file is not known
CuraEngine-14.03.tar.gz                                104 kB  176 kBps 00m01s
===> Fetching all distfiles required by CuraEngine-14.03 for building
===>  Extracting for CuraEngine-14.03
=> SHA256 Checksum OK for CuraEngine-14.03.tar.gz.
===>  Patching for CuraEngine-14.03
===>   CuraEngine-14.03 depends on executable: git - found
===>   CuraEngine-14.03 depends on executable: gmake - found
===>  Configuring for CuraEngine-14.03
===>  Building for CuraEngine-14.03
gmake[2]: Entering directory `/mnt/stuff1200ufs/usr/ports/cad/cura-engine/work/Ultimaker-CuraEngine-4c1043f'
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/bridge.cpp -o build/bridge.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/comb.cpp -o build/comb.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/gcodeExport.cpp -o build/gcodeExport.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/infill.cpp -o build/infill.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/inset.cpp -o build/inset.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/layerPart.cpp -o build/layerPart.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/main.cpp -o build/main.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/optimizedModel.cpp -o build/optimizedModel.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/pathOrderOptimizer.cpp -o build/pathOrderOptimizer.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/polygonOptimizer.cpp -o build/polygonOptimizer.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/raft.cpp -o build/raft.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/settings.cpp -o build/settings.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/skin.cpp -o build/skin.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/skirt.cpp -o build/skirt.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/slicer.cpp -o build/slicer.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/support.cpp -o build/support.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/timeEstimate.cpp -o build/timeEstimate.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/modelFile/modelFile.cpp -o build/modelFile/modelFile.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/utils/gettime.cpp -o build/utils/gettime.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/utils/logoutput.cpp -o build/utils/logoutput.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/utils/socket.cpp -o build/utils/socket.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer -o build/libclipper.a libs/clipper/clipper.cpp
c++ build/bridge.o build/comb.o build/gcodeExport.o build/infill.o build/inset.o build/layerPart.o build/main.o build/optimizedModel.o build/pathOrderOptimizer.o build/polygonOptimizer.o build/raft.o build/settings.o build/skin.o build/skirt.o build/slicer.o build/support.o build/timeEstimate.o build/modelFile/modelFile.o build/utils/gettime.o build/utils/logoutput.o build/utils/socket.o -o build/CuraEngine  -Lbuild/ -lclipper
gmake[2]: Leaving directory `/mnt/stuff1200ufs/usr/ports/cad/cura-engine/work/Ultimaker-CuraEngine-4c1043f'
===>  Staging for CuraEngine-14.03
===>   Generating temporary packing list
/bin/cp /mnt/stuff1200ufs/usr/ports/cad/cura-engine/work/Ultimaker-CuraEngine-4c1043f/build/CuraEngine /mnt/stuff1200ufs/usr/ports/cad/cura-engine/work/stage//usr/local/bin/
====> Compressing man pages (compress-man)
===>  Installing for CuraEngine-14.03
===>   Registering installation for CuraEngine-14.03
root@hexagon:/usr/ports/cad/cura-engine # objdump -g /usr/local/bin/CuraEngine 

/usr/local/bin/CuraEngine:     file format elf64-x86-64-freebsd

objdump: /usr/local/bin/CuraEngine: no recognized debugging information
root@hexagon:/usr/ports/cad/cura-engine #
Comment 9 John Marino freebsd_committer freebsd_triage 2014-08-07 19:46:03 UTC
(In reply to cederom from comment #8)
> Uhm, I can see no symbols in the binary anyway. The build type by default is
> a RELEASE. Do we have false positive? What do I miss? :-)

dunno, I guess it tests a different way (e.g. not specifying -g is not the same as stripping).

Anyway, can you post the "install" target of the makefile ?

Or better yet, just don't use the vendor makefile and put in your makefile, e.g.


do-install:
  ${INSTALL_PROGRAM} ${WRKSRC}/build/CuraEngine ${STAGEDIR}${PREFIX}/bin


By the way, that's a lot better than what's going on now: "/bin/cp /mnt/stuff1200ufs/usr/ports/cad/cura-engine/work/Ultimaker-CuraEngine-4c1043f/build/CuraEngine /mnt/stuff1200ufs/usr/ports/cad/cura-engine/work/stage//usr/local/bin/"

it's not even using "install" program, just /bin/cp which is very frowned upon.
Comment 10 Tomasz "CeDeROM" CEDRO 2014-08-07 20:09:04 UTC
I have replaced ${CP} with ${INSTALL_PROGRAM} and now the debug symbols problem is gone :-) Thank you! :-)

root@hexagon:/usr/ports/cad/cura-engine # make clean distclean
===>  Cleaning for CuraEngine-14.03
===>  Deleting distfiles for CuraEngine-14.03
root@hexagon:/usr/ports/cad/cura-engine # make
===>  License AGPLv3 accepted by the user
===>   CuraEngine-14.03 depends on file: /usr/local/sbin/pkg - found
=> CuraEngine-14.03.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch https://codeload.github.com/Ultimaker/CuraEngine/legacy.tar.gz/4c1043f?dummy=/CuraEngine-14.03.tar.gz
fetch: https://codeload.github.com/Ultimaker/CuraEngine/legacy.tar.gz/4c1043f?dummy=/CuraEngine-14.03.tar.gz: size unknown
fetch: https://codeload.github.com/Ultimaker/CuraEngine/legacy.tar.gz/4c1043f?dummy=/CuraEngine-14.03.tar.gz: size of remote file is not known
CuraEngine-14.03.tar.gz                                104 kB  173 kBps 00m00s
===> Fetching all distfiles required by CuraEngine-14.03 for building
===>  Extracting for CuraEngine-14.03
=> SHA256 Checksum OK for CuraEngine-14.03.tar.gz.
===>  Patching for CuraEngine-14.03
===>   CuraEngine-14.03 depends on executable: git - found
===>   CuraEngine-14.03 depends on executable: gmake - found
===>  Configuring for CuraEngine-14.03
===>  Building for CuraEngine-14.03
gmake[1]: Entering directory `/mnt/stuff1200ufs/usr/ports/cad/cura-engine/work/Ultimaker-CuraEngine-4c1043f'
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/bridge.cpp -o build/bridge.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/comb.cpp -o build/comb.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/gcodeExport.cpp -o build/gcodeExport.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/infill.cpp -o build/infill.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/inset.cpp -o build/inset.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/layerPart.cpp -o build/layerPart.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/main.cpp -o build/main.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/optimizedModel.cpp -o build/optimizedModel.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/pathOrderOptimizer.cpp -o build/pathOrderOptimizer.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/polygonOptimizer.cpp -o build/polygonOptimizer.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/raft.cpp -o build/raft.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/settings.cpp -o build/settings.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/skin.cpp -o build/skin.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/skirt.cpp -o build/skirt.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/slicer.cpp -o build/slicer.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/support.cpp -o build/support.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/timeEstimate.cpp -o build/timeEstimate.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/modelFile/modelFile.cpp -o build/modelFile/modelFile.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/utils/gettime.cpp -o build/utils/gettime.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/utils/logoutput.cpp -o build/utils/logoutput.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer src/utils/socket.cpp -o build/utils/socket.o
c++ -O2 -pipe -fno-strict-aliasing -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"DEV\" -isystem libs -O3 -fomit-frame-pointer -o build/libclipper.a libs/clipper/clipper.cpp
c++ build/bridge.o build/comb.o build/gcodeExport.o build/infill.o build/inset.o build/layerPart.o build/main.o build/optimizedModel.o build/pathOrderOptimizer.o build/polygonOptimizer.o build/raft.o build/settings.o build/skin.o build/skirt.o build/slicer.o build/support.o build/timeEstimate.o build/modelFile/modelFile.o build/utils/gettime.o build/utils/logoutput.o build/utils/socket.o -o build/CuraEngine  -Lbuild/ -lclipper
gmake[1]: Leaving directory `/mnt/stuff1200ufs/usr/ports/cad/cura-engine/work/Ultimaker-CuraEngine-4c1043f'
===>  Staging for CuraEngine-14.03
===>   Generating temporary packing list
install  -s -o root -g wheel -m 555 /mnt/stuff1200ufs/usr/ports/cad/cura-engine/work/Ultimaker-CuraEngine-4c1043f/build/CuraEngine /mnt/stuff1200ufs/usr/ports/cad/cura-engine/work/stage/usr/local/bin
====> Compressing man pages (compress-man)
root@hexagon:/usr/ports/cad/cura-engine # make deinstall reinstall
===>  Deinstalling for cad/cura-engine
===>   Deinstalling 
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
	CuraEngine-14.03

The operation will free 314 KB
[1/1] Deleting CuraEngine-14.03: 100%
===>  Installing for CuraEngine-14.03
===>   Registering installation for CuraEngine-14.03
root@hexagon:/usr/ports/cad/cura-engine # make package
===>  Building package for CuraEngine-14.03
root@hexagon:/usr/ports/cad/cura-engine # make check-plist
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for directories owned by MTREEs
===> Checking for directories handled by dependencies
===> Checking for items in pkg-plist which are not in STAGEDIR
===> No pkg-plist issues found (check-plist)
root@hexagon:/usr/ports/cad/cura-engine # make stage-qa
====> Running Q/A tests (stage-qa)
root@hexagon:/usr/ports/cad/cura-engine # cat Makefile 
# Created by: 20140808 Tomasz "CeDeROM" CEDRO (http://www.tomek.cedro.info)
# $FreeBSD$

PORTNAME=	CuraEngine
PORTVERSION=	14.03
CATEGORIES=	cad

MAINTAINER=	cederom@tlen.pl
COMMENT=	A complete and open slicing solution for RepRap 3D printers ENGINE

LICENSE=	AGPLv3

BUILD_DEPENDS=	git:${PORTSDIR}/devel/git

USES=		gmake

USE_GITHUB=	yes
GH_ACCOUNT=	Ultimaker
GH_PROJECT=	${PORTNAME}
GH_COMMIT=	4c1043f
GH_TAGNAME=	${GH_COMMIT}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/build/CuraEngine ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>
root@hexagon:/usr/ports/cad/cura-engine #
Comment 11 Tomasz "CeDeROM" CEDRO 2014-08-07 20:10:24 UTC
Created attachment 145484 [details]
updated install target
Comment 12 John Marino freebsd_committer freebsd_triage 2014-08-07 20:13:53 UTC
Great, moving to "patch-ready" status now that it's in good shape.
Comment 13 John Marino freebsd_committer freebsd_triage 2014-08-07 20:15:47 UTC
A note for the next committer, the COMMENT start with indefinite article, I just saw that. "A complete and open slicing solution for RepRap 3D printers ENGINE"
Comment 14 John Marino freebsd_committer freebsd_triage 2014-08-07 20:16:44 UTC
cederom, you should also have check this with portlint (ports-mgmt/portlint).  It would have caught that COMMENT warning.
Comment 15 Tomasz "CeDeROM" CEDRO 2014-08-07 20:35:40 UTC
Portlint did not report any complains about COMMENT..

root@hexagon:/usr/ports/cad/cura-engine # portlint 
looks fine.
root@hexagon:/usr/ports/cad/cura-engine # cat Makefile 
# Created by: 20140808 Tomasz "CeDeROM" CEDRO (http://www.tomek.cedro.info)
# $FreeBSD$

PORTNAME=	CuraEngine
PORTVERSION=	14.03
CATEGORIES=	cad

MAINTAINER=	cederom@tlen.pl
COMMENT=	A complete and open slicing solution for RepRap 3D printers ENGINE

LICENSE=	AGPLv3

BUILD_DEPENDS=	git:${PORTSDIR}/devel/git

USES=		gmake

USE_GITHUB=	yes
GH_ACCOUNT=	Ultimaker
GH_PROJECT=	${PORTNAME}
GH_COMMIT=	4c1043f
GH_TAGNAME=	${GH_COMMIT}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/build/CuraEngine ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>
Comment 16 Tomasz "CeDeROM" CEDRO 2014-08-07 20:36:07 UTC
Created attachment 145485 [details]
fixed COMMENT short
Comment 17 John Marino freebsd_committer freebsd_triage 2014-08-07 20:39:17 UTC
okay, thanks for new upload.  I thought portlint checked for that.  I guess the rule was never added.  It looks good now.
Comment 18 Tomasz "CeDeROM" CEDRO 2014-08-07 20:49:25 UTC
Tank U for support and all hints!! =)
Comment 19 commit-hook freebsd_committer freebsd_triage 2014-08-08 01:28:10 UTC
A commit references this bug:

Author: wg
Date: Fri Aug  8 01:28:05 UTC 2014
New revision: 364337
URL: http://svnweb.freebsd.org/changeset/ports/364337

Log:
  cad/cura-engine: Engine of slicing solution for RepRap 3D printers

  The CuraEngine is a C++ console application for 3D printing GCode generation.
  It has been made as better and faster alternative to the old Skeinforge engine.

  The CuraEngine is pure C++ and uses Clipper from
  http://www.angusj.com/delphi/clipper.php. There are no external dependences
  and Clipper is included in the source code without modifications.

  This is just a console application for GCode generation. For a full graphical
  application look at https://github.com/daid/Cura with is the graphical
  frontend for CuraEngine.

  The CuraEngine can be used seperately or in other applications.
  Feel free to add it to your application. But to take note of the License.

  WWW: http://wiki.ultimaker.com/Cura

  PR:		192486
  Submitted by:	cederom tlen pl

Changes:
  head/cad/Makefile
  head/cad/cura-engine/
  head/cad/cura-engine/Makefile
  head/cad/cura-engine/distinfo
  head/cad/cura-engine/pkg-descr
  head/cad/cura-engine/pkg-plist