pkgsrc-Bugs archive

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

pkg/30640: netpbm solaris 10



>Number:         30640
>Category:       pkg
>Synopsis:       netpbm solaris 10
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 30 13:06:01 +0000 2005
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic i86pc


>Description:


netpbm don't compile on solaris 10


>How-To-Repeat:


<root@bi: 391> bmake
....
gcc -c 
-I/cal/nfs5/siav/dauphin/pub/devel/pkgsrc20050607/pkgsrc/graphics/netpbm/work/netpbm-10.26.9/converter/other/jpeg2000
 -I.  
-I/cal/nfs5/siav/dauphin/pub/devel/pkgsrc20050607/pkgsrc/graphics/netpbm/work/netpbm-10.26.9/converter/other/jpeg2000/libjasper/include
 -DNDEBUG \
    -I/usr/pkg/include -I/usr/include -O -I/usr/pkg/include -I/usr/include   -o 
pamtojpeg2k.o pamtojpeg2k.c
In file included from 
/cal/nfs5/siav/dauphin/pub/devel/pkgsrc20050607/pkgsrc/graphics/netpbm/work/netpbm-10.26.9/converter/other/jpeg2000/libjasper/include/jasper/jasper.h:114,
                 from pamtojpeg2k.c:19:
/cal/nfs5/siav/dauphin/pub/devel/pkgsrc20050607/pkgsrc/graphics/netpbm/work/netpbm-10.26.9/converter/other/jpeg2000/libjasper/include/jasper/jas_types.h:171:
 error: conflicting types for 'int_fast8_t'
/usr/include/sys/int_types.h:113: error: previous declaration of 'int_fast8_t' 
was here
/cal/nfs5/siav/dauphin/pub/devel/pkgsrc20050607/pkgsrc/graphics/netpbm/work/netpbm-10.26.9/converter/other/jpeg2000/libjasper/include/jasper/jas_types.h:182:
 error: conflicting types for 'int_fast16_t'
/usr/include/sys/int_types.h:119: error: previous declaration of 'int_fast16_t' 
was here
/cal/nfs5/siav/dauphin/pub/devel/pkgsrc20050607/pkgsrc/graphics/netpbm/work/netpbm-10.26.9/converter/other/jpeg2000/libjasper/include/jasper/jas_types.h:188:
 error: conflicting types for 'uint_fast16_t'
/usr/include/sys/int_types.h:130: error: previous declaration of 
'uint_fast16_t' was here
/cal/nfs5/siav/dauphin/pub/devel/pkgsrc20050607/pkgsrc/graphics/netpbm/work/netpbm-10.26.9/converter/other/jpeg2000/libjasper/include/jasper/jas_types.h:204:
 error: conflicting types for 'int_fast64_t'
/usr/include/sys/int_types.h:125: error: previous declaration of 'int_fast64_t' 
was here
/cal/nfs5/siav/dauphin/pub/devel/pkgsrc20050607/pkgsrc/graphics/netpbm/work/netpbm-10.26.9/converter/other/jpeg2000/libjasper/include/jasper/jas_types.h:210:
 error: conflicting types for 'uint_fast64_t'
/usr/include/sys/int_types.h:136: error: previous declaration of 
'uint_fast64_t' was here
gmake[3]: *** [pamtojpeg2k.o] Error 1
gmake[3]: Leaving directory 
`/cal/nfs5/siav/dauphin/pub/devel/pkgsrc20050607/pkgsrc/graphics/netpbm/work/netpbm-10.26.9/converter/other/jpeg2000'
gmake[2]: *** [jpeg2000/all] Error 2
gmake[2]: Leaving directory 
`/cal/nfs5/siav/dauphin/pub/devel/pkgsrc20050607/pkgsrc/graphics/netpbm/work/netpbm-10.26.9/converter/other'
gmake[1]: *** [other/all] Error 2
gmake[1]: Leaving directory 
`/cal/nfs5/siav/dauphin/pub/devel/pkgsrc20050607/pkgsrc/graphics/netpbm/work/netpbm-10.26.9/converter'
gmake: *** [converter/all] Error 2
*** Error code 2

Stop.
bmake: stopped in /home/dauphin/pub/devel/pkgsrc20050607/pkgsrc/graphics/netpbm
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * 
/cal/nfs5/siav/dauphin/pub/devel/pkgsrc20050607/pkgsrc/graphics/netpbm/work/.work.log
===> 
*** Error code 1

Stop.
bmake: stopped in /home/dauphin/pub/devel/pkgsrc20050607/pkgsrc/graphics/netpbm
<root@bi: 392> 



>Fix:


<root@bi: 386> pwd
/pkgsrc20050607/pkgsrc/graphics/netpbm
<root@bi: 387> diff Makefile.dist Makefile
28a29,30
> 
> 
55a58,61
> 
> .if ${OPSYS} == "SunOS" && ${OS_VERSION} == "5.10"
> CFLAGS+=      -ansi -D__EXTENSIONS__
> .endif






Home | Main Index | Thread Index | Old Index