pkgsrc-Bugs archive

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

pkg/42452: doesn't build on netbsd-current



>Number:         42452
>Category:       pkg
>Synopsis:       mail/cue doesn't build on netbsd-current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 15 06:45:00 +0000 2009
>Originator:     YAMAMOTO Takashi
>Release:        NetBSD 5.99.22
>Organization:
        
>Environment:
System: NetBSD 5.99.22
Architecture: x86_64
Machine: amd64
>Description:

        building mail/cue ends up with the following errors.

        - cue's Makefile does -DSSL which conflicts with this version of
          openssl header files.
        - cue's OPENSSL_BUG_FIXED section uses STACK which is no longer
          provided by openssl.  (it's now _STACK?)

cc  -DINET6 -O2 -I/usr/include -DCUE  -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 
-DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_ASPRINTF=1 -DENABLE_IPV6=1 -DZLIB=1 
-DSSL=1 -DOPENSSL=1 -DPGPMIME=1 -DSMIME=1 -DMALIAS=1 -DHAVE_GETADDRINFO=1 
-DHAVE_GETNAMEINFO=1 -I/usr/include -c smime.c -o smime.o
In file included from /usr/include/openssl/crypto.h:131,
                 from /usr/include/openssl/bio.h:69,
                 from /usr/include/openssl/asn1.h:65,
                 from smime.c:39:
/usr/include/openssl/ossl_typ.h:170: error: expected identifier or '(' before 
numeric constant
smime.c: In function 'smime_decrypt':
smime.c:111: error: 'STACK' undeclared (first use in this function)
smime.c:111: error: (Each undeclared identifier is reported only once
smime.c:111: error: for each function it appears in.)
smime.c:111: error: 'sk' undeclared (first use in this function)
smime.c:177: error: expected expression before ')' token
smime.c:180: error: expected expression before ')' token
smime.c: In function 'smime_verify':
smime.c:404: error: 'STACK' undeclared (first use in this function)
smime.c:404: error: 'sk' undeclared (first use in this function)
smime.c:499: error: expected expression before ')' token
smime.c: In function 'smime_sign':
smime.c:563: error: 'STACK' undeclared (first use in this function)
smime.c:563: error: 'sk' undeclared (first use in this function)
smime.c:678: error: expected expression before ')' token
smime.c: In function 'smime_encrypt':
smime.c:978: error: 'STACK' undeclared (first use in this function)
smime.c:978: error: 'rsk' undeclared (first use in this function)
smime.c:986: error: expected expression before ')' token
*** [smime.o] Error code 1
1 error

make: stopped in /home/takashi/wrkobjdir/mail/cue/work/cue-snap-20090209
*** Error code 2

Stop.
make: stopped in /disks/raid0e/pkgsrc/pkgsrc/mail/cue
*** Error code 1

Stop.
make: stopped in /home/takashi/pkgsrc/mail/cue

>How-To-Repeat:
        
>Fix:
        



Home | Main Index | Thread Index | Old Index