[MacPorts] #36798: clucene: error: typedef redefinition with different types ('__darwin_size_t' (aka 'unsigned long') vs 'unsigned int')
#36798: clucene: error: typedef redefinition with different types ('__darwin_size_t' (aka 'unsigned long') vs 'unsigned int') --------------------------+----------------------------- Reporter: ryandesign@… | Owner: dinh.viet.hoa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: clucene --------------------------+----------------------------- clucene fails to build for me; the first error I see is: {{{ /usr/include/unistd.h:99:26: error: typedef redefinition with different types ('__darwin_size_t' (aka 'unsigned long') vs 'unsigned int') }}} -- Ticket URL: <https://trac.macports.org/ticket/36798> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36798: clucene: error: typedef redefinition with different types ('__darwin_size_t' (aka 'unsigned long') vs 'unsigned int') ---------------------------+----------------------------- Reporter: ryandesign@… | Owner: dinh.viet.hoa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: clucene | ---------------------------+----------------------------- Comment (by ryandesign@…): The problem seems to be confined to the universal variant. -- Ticket URL: <https://trac.macports.org/ticket/36798#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36798: clucene: error: typedef redefinition with different types ('__darwin_size_t' (aka 'unsigned long') vs 'unsigned int') ---------------------------+----------------------------- Reporter: ryandesign@… | Owner: dinh.viet.hoa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: clucene | ---------------------------+----------------------------- Comment (by nicos@…): Using the muniversal port to force separate builds for both architectures did the trick for me. It however requires to suppress some arguments of the cmake portgroup to ensure separate builds. Please see the patch for details. -- Ticket URL: <https://trac.macports.org/ticket/36798#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36798: clucene: error: typedef redefinition with different types ('__darwin_size_t' (aka 'unsigned long') vs 'unsigned int') ---------------------------+----------------------------- Reporter: ryandesign@… | Owner: dinh.viet.hoa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: clucene | ---------------------------+----------------------------- Comment (by ryandesign@…): It would be great if we could make the cmake and muniversal portgroups play nice with each other automatically instead of having to manually patch each port... -- Ticket URL: <https://trac.macports.org/ticket/36798#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36798: clucene: error: typedef redefinition with different types ('__darwin_size_t' (aka 'unsigned long') vs 'unsigned int') ---------------------------+----------------------------- Reporter: ryandesign@… | Owner: dinh.viet.hoa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: clucene | ---------------------------+----------------------------- Comment (by nicos@…): I have something to make the two portgroups work together, but it may have implications I overlooked. I submitted it in a new ticket #36975. -- Ticket URL: <https://trac.macports.org/ticket/36798#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36798: clucene: error: typedef redefinition with different types ('__darwin_size_t' (aka 'unsigned long') vs 'unsigned int') ---------------------------+----------------------------- Reporter: ryandesign@… | Owner: dinh.viet.hoa@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: haspatch Port: clucene | ---------------------------+----------------------------- Changes (by ryandesign@…): * status: new => closed * keywords: => haspatch * resolution: => fixed Comment: r99820 -- Ticket URL: <https://trac.macports.org/ticket/36798#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts