pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45922: graphics/vigra build fails on netbsd-5/i386, pkgsrc-2011Q4



>Number:         45922
>Category:       pkg
>Synopsis:       graphics/vigra build fails on netbsd-5/i386, pkgsrc-2011Q4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 03 16:15:00 +0000 2012
>Originator:     John D. Baker
>Release:        NetBSD-5.1_STABLE, pkgsrc-2011Q4
>Organization:
>Environment:
NetBSD slate.technoskunk.fur 5.1_STABLE NetBSD 5.1_STABLE (SLATE) #32: Mon Jan 
30 11:09:54 CST 2012  
sysop%slate.technoskunk.fur@localhost:/d0/build/netbsd-5/obj/i386/sys/arch/i386/compile/SLATE
 i386

>Description:
Building graphics/vigra on NetBSD-5.1_STABLE/i386 fails as follows:

[...]
/d0/build/pkgsrc/graphics/vigra/work/vigra-1.8.0/include/vigra/mathutil.hxx: In 
function 'long long int vigra::norm(long long int)':
/d0/build/pkgsrc/graphics/vigra/work/vigra-1.8.0/include/vigra/mathutil.hxx:560:
 error: call of overloaded 'abs(long long int&)' is ambiguous
/usr/include/g++/cmath:97: note: candidates are: long double std::abs(long 
double)
/usr/include/g++/cmath:93: note:                 float std::abs(float)
/usr/include/g++/cmath:89: note:                 double std::abs(double)
/usr/include/g++/cstdlib:142: note:                 long int std::abs(long int)
/usr/include/stdlib.h:98: note:                 int abs(int)
/d0/build/pkgsrc/graphics/vigra/work/vigra-1.8.0/include/vigra/mathutil.hxx:137:
 note:                 bool vigra::abs(bool)
/d0/build/pkgsrc/graphics/vigra/work/vigra-1.8.0/include/vigra/mathutil.hxx:138:
 note:                 unsigned char vigra::abs(unsigned char)
/d0/build/pkgsrc/graphics/vigra/work/vigra-1.8.0/include/vigra/mathutil.hxx:139:
 note:                 short unsigned int vigra::abs(short unsigned int)
/d0/build/pkgsrc/graphics/vigra/work/vigra-1.8.0/include/vigra/mathutil.hxx:140:
 note:                 unsigned int vigra::abs(unsigned int)
/d0/build/pkgsrc/graphics/vigra/work/vigra-1.8.0/include/vigra/mathutil.hxx:141:
 note:                 long unsigned int vigra::abs(long unsigned int)
/d0/build/pkgsrc/graphics/vigra/work/vigra-1.8.0/include/vigra/mathutil.hxx:142:
 note:                 long long unsigned int vigra::abs(long long unsigned int)
/d0/build/pkgsrc/graphics/vigra/work/vigra-1.8.0/include/vigra/mathutil.hxx:149:
 note:                 signed char vigra::abs(signed char)
/d0/build/pkgsrc/graphics/vigra/work/vigra-1.8.0/include/vigra/mathutil.hxx:150:
 note:                 short int vigra::abs(short int)
*** Error code 1

Stop.
make: stopped in /d0/build/pkgsrc/graphics/vigra/work/vigra-1.8.0
*** Error code 1

Stop.
make: stopped in /d0/build/pkgsrc/graphics/vigra/work/vigra-1.8.0
*** Error code 1

Stop.
make: stopped in /d0/build/pkgsrc/graphics/vigra/work/vigra-1.8.0
*** Error code 1

Stop.
make: stopped in /d0/local/pkgsrc/graphics/vigra
*** Error code 1

Stop.
make: stopped in /d0/local/pkgsrc/graphics/vigra


I appear to be in a maze of twisty C++ prototypes, very nearly alike.
>How-To-Repeat:
Attempt to build graphics/vigra on NetBSD-5.1_STABLE/i386.
(build succeeds on -current).
>Fix:


Home | Main Index | Thread Index | Old Index