Opened 9 years ago

Closed 7 years ago

#48617 closed defect (fixed)

pulseaudio @6.0_9: error: unknown type name 'Point'

Reported by: wdc@… Owned by: Ionic (Mihai Moldovan)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: das.traveller@…
Port: pulseaudio

Description

On MacOS 10.9.5 pulseaudio did not build. Attached is the log file.

Attachments (2)

main.log (72.5 KB) - added by wdc@… 9 years ago.
Log of failed build.
main.2.log (562.8 KB) - added by wdc@… 9 years ago.
Log after performing sudo port clean pulseaudio

Download all attachments as: .zip

Change History (10)

Changed 9 years ago by wdc@…

Attachment: main.log added

Log of failed build.

comment:1 Changed 9 years ago by Ionic (Mihai Moldovan)

Owner: changed from macports-tickets@… to ionic@…
Port: pulseaudio added

Please CC the maintainer(s), if any, and fill out the Port field next time.

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

The log is not from a clean build attempt. Could you please "sudo port clean pulseaudio", try again, and attach the new complete log file?

Changed 9 years ago by wdc@…

Attachment: main.2.log added

Log after performing sudo port clean pulseaudio

comment:3 Changed 9 years ago by wdc@…

Here you are...

wdc-home-3:~ wdc$ sudo port clean pulseaudio
Password:
--->  Cleaning pulseaudio
wdc-home-3:~ wdc$ sudo port install pulseaudio
--->  Computing dependencies for pulseaudio
--->  Dependencies to be installed: fftw-3-single json-c libsamplerate
...
--->  Configuring pulseaudio
--->  Building pulseaudio
Error: org.macports.build for port pulseaudio returned: command execution failed
Please see the log file for port pulseaudio for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_sea.us.rsync.macports.org_release_tarballs_ports_audio_pulseaudio/pulseaudio/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port pulseaudio failed

New log file attached as main.2.log

Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: das.traveller@… added
Summary: pulseaudio fails to buildpulseaudio @6.0_9: error: unknown type name 'Point'

Has duplicate #49205.

"Point" is a Carbon type. Carbon has been dead for years and was never made available for 64-bit systems. pulseaudio should not be using Carbon anymore.

Looks like pulseaudio 7.0 has been released. Maybe updating the port to that version would help.

comment:5 Changed 9 years ago by Ionic (Mihai Moldovan)

ACK. Will have to rebase the patches so this might take a while...

Actually, I don't think PA itself is using Carbon, but GTK+ - AFAIK the user is using +quartz. Maybe there's a deeper problem.

comment:6 Changed 7 years ago by Ionic (Mihai Moldovan)

Carbon isn't complete dead, as jmr pointed out. Apple's Frameworks might happily use it still today (and do so.)

I think we boiled the issue down to something installing a file as /usr/local/include/MacTypes.h and thus breaking CoreServices. Anyone affected by this bug - could you please check if such a file exists on your system? If it does, please attach it to trac so that I can take a look at it and maybe find out what installed it in the first place. Must be some third-party software.

comment:7 Changed 7 years ago by jmroot (Joshua Root)

Turned out it wasn't /usr/local/include but /Developer/Headers/FlatCarbon, which is a remnant of old Xcode versions. If you have a self-contained Xcode.app then you should really uninstall all the old stuff in /Developer.

comment:8 Changed 7 years ago by Mihai Moldovan <ionic@…>

Resolution: fixed
Status: newclosed

In 189818b8/macports-ports:

audio/pulseaudio: drop faulty FlatCarbon include.

Fixes: #48617

Note: See TracTickets for help on using tickets.