#46898: OpenGTL @0.9.18: universal variant configures improperly and fails to build --------------------------+---------------------------- Reporter: ryandesign@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.99 Keywords: | Port: OpenGTL --------------------------+---------------------------- I noticed during configure, this message appeared: {{{ -- OpenGTL detected that you use a 32 bit processor. }}} This is untrue. It correctly identifies my 64-bit processor if I do not use the universal variant. The build fails with: {{{ /opt/local/var/macports/build/_Users_rschmidt_macports_dports_graphics_OpenGTL/OpenGTL/work/OpenGTL-0.9.18/OpenGTL/GTLCore/MemoryManager_p.cpp:70:28: error: cast from pointer to smaller type 'gtl_ptr' (aka 'unsigned int') loses information p = (unsigned char *)( (gtl_ptr )(porig + 16) & (~0xf)); // insert padding ^~~~~~~~~~~~~~~~~~~~~~ 1 error generated. }}} The build succeeds if I do not use the universal variant. -- Ticket URL: <https://trac.macports.org/ticket/46898> MacPorts <https://www.macports.org/> Ports system for OS X