Opened 10 years ago

Closed 8 years ago

#42640 closed defect (fixed)

gnokii @ 0.6.31 - build failures

Reported by: woutgg (Wouter R.) Owned by: mpal1+bugzilla@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: gnokii

Description

Trying to install gnokii fails in the configure stage, missing p5-xml-parser. Installing that port allows it to reach the build stage, which then fails due to libtool missing symbols in a bluetooth related library (see attached build log). My OSX version is 10.9.2, Xcode 5.0.2.

Attachments (2)

gnokii-build-error.log (445.2 KB) - added by woutgg (Wouter R.) 10 years ago.
patch-gnokii-intltool-0.51.diff (2.0 KB) - added by dbevans (David B. Evans) 8 years ago.
Patch to fix build with intltool 0.51, libical

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by woutgg (Wouter R.)

Attachment: gnokii-build-error.log added

comment:1 in reply to:  description Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to mpal1+bugzilla@…

Replying to webaccount@…:

fails due to libtool missing symbols in a bluetooth related library

This portion of the problem only occurs if you request the +bluetooth variant.

comment:2 Changed 8 years ago by dbevans (David B. Evans)

Attached is a patch that allows gnokii to build (without the +bluetooth variant) by

  • reconfiguring using the upstream autogen.sh for compatibility with our intltool 0.51
  • revision is incremented to ensure building with latest libical after recent changes in versioning scheme

Will commit if maintainer agrees to the changes.

Last edited 8 years ago by dbevans (David B. Evans) (previous) (diff)

Changed 8 years ago by dbevans (David B. Evans)

Patch to fix build with intltool 0.51, libical

comment:3 Changed 8 years ago by dbevans (David B. Evans)

With respect to the +bluetooth issue, this is essentially a duplicate of #34162.

As pointed out in that ticket,

IOBluetoothDeviceOpenRFCOMMChannel
IOBluetoothRFCOMMChannelRegisterIncomingDataListener
IOBluetoothRFCOMMChannelWrite

were removed with no direct replacement in OS X 10.7

IOBluetoothRFCOMMChannelCloseChannel
IOBluetoothRFCOMMChannelGetDevice

were similarly removed in OS X 10.8

The +bluetooth variant should build on 10.6 or earlier (not verified) but, to work on 10.7+, the code would need to be rewritten using a more recent API.

Suggest removing the +bluetooth variant or at least disabling it on 10.7+.

comment:4 Changed 8 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

Proposed changes committed in r142631, maintainer timeout. Bluetooth support now only offered for 10.6 and earlier. In addition license added and maintainer email obfuscated as per current practice.

Note: See TracTickets for help on using tickets.