Opened 11 years ago

Closed 10 years ago

#39984 closed defect (fixed)

pcal @4.9.1: error: conflicting types for ‘getline’

Reported by: havier25099amph@… Owned by: kurthindenburg (Kurt Hindenburg)
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), kurthindenburg (Kurt Hindenburg)
Port: pcal

Description

pcal fails to build and gives the following error

08/03/2013 04:40:32 PM user@host:~$ sudo port install pcal
Password:
--->  Fetching archive for pcal
--->  Attempting to fetch pcal-4.9.1_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/pcal
--->  Attempting to fetch pcal-4.9.1_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/pcal
--->  Attempting to fetch pcal-4.9.1_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/pcal
--->  Fetching distfiles for pcal
--->  Attempting to fetch pcal-4.9.1.tgz from http://superb-dca3.dl.sourceforge.net/pcal
--->  Verifying checksums for pcal
--->  Extracting pcal
--->  Configuring pcal
--->  Building pcal
Error: org.macports.build for port pcal returned: command execution failed
Please see the log file for port pcal for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_pcal/pcal/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port pcal failed

Full error log is attached. Thanks!

Attachments (1)

main.log (4.1 KB) - added by havier25099amph@… 11 years ago.
Build failure log

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by havier25099amph@…

Attachment: main.log added

Build failure log

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Keywords: pcal removed
Owner: changed from macports-tickets@… to sam.falkner@…
Port: pcal added
Summary: pcal @4.9.1 - fails to buildpcal @4.9.1: error: conflicting types for ‘getline’

I see a few things in the log:

  • This was not a clean build. Please clean and try again.
  • This error probably means that this version of pcal has its own implementation of the getline function which is not the same as the implementation of the getline function that's included in OS X as of version 10.7.
  • This port is not UsingTheRightCompiler or -arch flags.
  • pcal is years out of date; see #20786; perhaps updating to the current version would resolve some or all of these issues.

comment:2 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:3 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

pcal has been updated to 4.11 - try again

comment:4 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from sam.falkner@… to khindenburg@…

comment:5 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

Please update and re-open if you still have issues.

Note: See TracTickets for help on using tickets.