Opened 12 years ago
Closed 12 years ago
#36798 closed defect (fixed)
clucene: error: typedef redefinition with different types ('__darwin_size_t' (aka 'unsigned long') vs 'unsigned int')
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | dinh.viet.hoa@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | haspatch | Cc: | pixilla (Bradley Giesbrecht) |
Port: | clucene |
Description
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')
Attachments (3)
Change History (8)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 12 years ago by NicosPavlov
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.
Changed 12 years ago by NicosPavlov
Attachment: | Portfile.diff added |
---|
Changed 12 years ago by pixilla (Bradley Giesbrecht)
Attachment: | patch-devel-clucene.diff added |
---|
Same patch as nicos but removes configure.sdkroot block already set in cmake PortGroup.
comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
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...
comment:4 Changed 12 years ago by NicosPavlov
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.
comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The problem seems to be confined to the universal variant.