Opened 10 years ago

Closed 9 years ago

#46778 closed defect (fixed)

libvisio-0.1 @0.1.1 fails building on 10.5.8. PPC

Reported by: udbraumann Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: libvisio-0.1

Description

Installing libvisio-0.1 for the first time lets me end up with this:

:info:build   CXX      VSDMetaData.lo
:info:build VSDMetaData.cpp:229: error: integer constant is too large for 'long' type
:info:build make[3]: *** [VSDMetaData.lo] Error 1

This particular line 229 looks like this:

  static const uint64_t epoch = 11644473600;

Any ideas?

Attachments (1)

main.log.gz (4.4 KB) - added by udbraumann 10 years ago.
build log

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by udbraumann

Attachment: main.log.gz added

build log

comment:1 in reply to:  description Changed 10 years ago by udbraumann

As I could figure out in between, one can work around this problem specifying a non-Xcode compiler:

$ sudo port install libvisio-0.1 configure.compiler=macports-gcc-4.9

However, a fix for a solution accepting gcc from Xcode 4.2 should be possible.

comment:2 Changed 10 years ago by larryv (Lawrence Velázquez)

Cc: devans@… removed
Keywords: constant is too large removed
Owner: changed from macports-tickets@… to devans@…

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

Status: newassigned
Version: 2.3.3

Please retest with latest version 0.1.5 committed in r144077. The line you mention now reads

const uint64_t epoch = uint64_t(116444736UL) * 100;

which should fix your issue. Let us know in any case so we can close this ticket. Thanks.

Version 1, edited 9 years ago by dbevans (David B. Evans) (previous) (next) (diff)

comment:4 in reply to:  3 Changed 9 years ago by udbraumann

Builds fine now, thanks!

comment:5 Changed 9 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

Great.

Note: See TracTickets for help on using tickets.