Opened 12 years ago

Closed 10 years ago

#35343 closed defect (fixed)

samba3: error: incomplete definition of type 'struct _ipp_s'

Reported by: mikeyy@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: mountainlion Cc: public@…, duncan@…, accounts@…, brett.higgins@…, thomas-corte, eduo@…, ivboss@…, smbmacportstrac@…, cooljeanius (Eric Gallager)
Port: samba3

Description

As title says, fresh install of 10.8, and Macports, samba3 fails to compile.

Attachments (5)

main.log (37.2 KB) - added by mikeyy@… 12 years ago.
Log file
main.2.log (23.0 KB) - added by easyridexoli@… 12 years ago.
main.log
main.3.log (1.3 MB) - added by mikeyy@… 12 years ago.
New log
main.4.log (1.3 MB) - added by easyridexoli@… 12 years ago.
afte "sudo port clean samba3"
main.5.log (1.3 MB) - added by accounts@… 12 years ago.
sudo port install samba3 (after clean)

Change History (23)

Changed 12 years ago by mikeyy@…

Attachment: main.log added

Log file

Changed 12 years ago by easyridexoli@…

Attachment: main.2.log added

main.log

comment:1 Changed 12 years ago by easyridexoli@…

Cc: easyridexoli@… added

Cc Me!

comment:2 Changed 12 years ago by easyridexoli@…

Cc: easyridexoli@… removed

Cc Me!

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: mountainlion added; samba removed
Owner: changed from macports-tickets@… to mww@…
Port: samba3 added
Priority: HighNormal
Summary: Samba won't compile on 10.8samba3: error: incomplete definition of type 'struct _ipp_s'

Both of the logs you attached have lines that say "Skipping completed" which means they were not generated from a clean installation attempt so we cannot trust their contents. Please "sudo port clean samba3" and try again, then attach the new main.log if it fails again.

Changed 12 years ago by mikeyy@…

Attachment: main.3.log added

New log

comment:4 Changed 12 years ago by mikeyy@…

(after running port clean samba3)

Changed 12 years ago by easyridexoli@…

Attachment: main.4.log added

afte "sudo port clean samba3"

comment:5 Changed 12 years ago by public@…

Cc: public@… added

Cc Me!

comment:6 Changed 12 years ago by public@…

Cc: public@… removed

Cc Me!

comment:7 Changed 12 years ago by public@…

Cc: public@… added

Cc Me!

comment:8 in reply to:  description Changed 12 years ago by public@…

I have the same problem :(

comment:9 Changed 12 years ago by duncan@…

Cc: duncan@… added

Cc Me!

comment:10 Changed 12 years ago by accounts@…

Cc: accounts@… added

Cc Me!

Changed 12 years ago by accounts@…

Attachment: main.5.log added

sudo port install samba3 (after clean)

comment:11 Changed 12 years ago by brett.higgins@…

Cc: brett.higgins@… added

Cc Me!

comment:12 Changed 12 years ago by thomas-corte

Cc: Thomas.Corte@… added

Cc Me!

comment:13 Changed 12 years ago by eduo@…

Cc: eduo@… added

Cc Me!

comment:14 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ivboss@… added

Has duplicate #35586.

comment:15 in reply to:  description Changed 12 years ago by smbmacportstrac@…

Under 10.8, /usr/include/cups/ipp.h has several data structures that are now opaque data types. A quick fix is to add a "#define _IPP_PRIVATE_STRUCTURES 1" before each "#include <cups/ipp.h> A better fix would be to create a patch distfile and get it integrated into MacPorts. The best fix would be to modify the upstream source code to use the accessor methods provided by cups/ipp.h and submit the patches upstream.

By the way, this same problem occurs in netatalk.

comment:16 Changed 12 years ago by smbmacportstrac@…

Cc: smbmacportstrac@… added

Cc Me!

comment:17 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:18 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

This was fixed at some point

Note: See TracTickets for help on using tickets.