Opened 6 years ago

Closed 5 years ago

#42522 closed defect (fixed)

twain-sane @3.0.0: error: call to 'abs' is ambiguous

Reported by: fleason (Fred Leason) Owned by: larryv (Lawrence Velázquez)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks Cc:
Port: twain-sane

Description (last modified by ryandesign (Ryan Schmidt))

Mac OSX 10.9.1
xCode 5.0.2 w/ CLI

> port outdated
twain-sane                     3.0_0 < 3.0_0  (platform darwin 12 != darwin 13)  
org.macports.build for port Twain-sane returned: command execution failed

from main.log

:info:build Build settings from command line:
:info:build     ARCHS = i386
:info:build     GCC_VERSION = com.apple.compilers.llvm.clang.1_0
:info:build     HEADER_SEARCH_PATHS = /opt/local/include
:info:build     LIBRARY_SEARCH_PATHS = /opt/local/lib
:info:build     MACOSX_DEPLOYMENT_TARGET = 10.9
:info:build     OBJROOT = build/
:info:build     SDKROOT = 
:info:build     SYMROOT = build/

<skip>

:info:build 9 warnings and 4 errors generated.
:info:build 
:info:build ** BUILD FAILED **
:info:build 
:info:build 
:info:build The following build commands failed:
:info:build 	CompileC build/SANE.ds.build/Release/SANE.ds.build/Objects-normal/i386/GammaTable.o GammaTable.cpp normal i386 c++ com.apple.compilers.llvm.clang.1_0.compiler
:info:build 	CompileC build/SANE.ds.build/Release/SANE.ds.build/Objects-normal/i386/SaneDevice.o SaneDevice.cpp normal i386 c++ com.apple.compilers.llvm.clang.1_0.compiler
:info:build (2 failures)

Attachments (2)

main.log (187.8 KB) - added by fleason (Fred Leason) 6 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_twain-sane/twain-sane/main.log
twain-sane-patch (1.8 KB) - added by pietvo (Pieter van Oostrum) 5 years ago.
Proposed patch

Download all attachments as: .zip

Change History (7)

Changed 6 years ago by fleason (Fred Leason)

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_twain-sane/twain-sane/main.log

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

Description: modified (diff)
Keywords: mavericks added
Summary: twain-sane @3.0.0 does not upgrade in Mavericks (Darwin 13)twain-sane @3.0.0: error: call to 'abs' is ambiguous

comment:2 Changed 5 years ago by pietvo (Pieter van Oostrum)

Twain-sane version 3.4 is available for Mavericks and Yosemite. However, there is currently no maintainer for this port on macports. But there are binary (non-macports) installers available at http://www.ellert.se/twain-sane/

Changed 5 years ago by pietvo (Pieter van Oostrum)

Attachment: twain-sane-patch added

Proposed patch

comment:3 in reply to:  2 Changed 5 years ago by pietvo (Pieter van Oostrum)

I have attached a patch file that makes it work on Yosemite. Could someone please apply this?

comment:4 Changed 5 years ago by larryv (Lawrence Velázquez)

Owner: changed from macports-tickets@… to larryv@…
Status: newassigned

Looks fine to me.

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

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.