pkgsrc-Bugs archive

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

pkg/41458: pkgsrc/mail/sendmail ignores build error on Solaris 2.9



>Number:         41458
>Category:       pkg
>Synopsis:       pkgsrc/mail/sendmail ignores build error on Solaris 2.9
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 19 14:25:00 +0000 2009
>Originator:     Rob Quinn
>Release:        Solaris 2.9 pkgsrc-current
>Organization:
>Environment:
>Description:
The build of sendmail8 on Solaris 2.9 ignores at least one error, then proceeds 
to install
>How-To-Repeat:
[...]
gcc -O -I. -I../../include -DNDBM -DNIS -DNISPLUS -DMAP_REGEX -DSOCKETMAP 
-DSOLARIS=20900 -DNETINET6 -I/usr/pkg/include 
-DSMRSH_CMDDIR=\"/usr/pkg/libexec/sm.bin\" -DMILTER  -I/usr/pkg/gcc34/include 
-I/usr/pkg/gcc34/lib/gcc/sparc-sun-solaris2.9/3.4.6/include -I/usr/include 
-I/usr/pkg/include -c conf.c
conf.c: In function `setgroups':
conf.c:2883: error: argument "grouplist" doesn't match prototype
/usr/include/unistd.h:409: error: prototype declaration
*** Error code 1

Stop.
make: stopped in 
/usr/obj/pkg/mail/sendmail/work/sendmail-8.14.3/obj.SunOS.5.9.sun4/sendmail
Making all in:
/usr/obj/pkg/mail/sendmail/work/sendmail-8.14.3/editmap
Configuration: pfx=, os=SunOS, rel=5.9, rbase=5, rroot=5.9, arch=sun4, sfx=, 
variant=optimized
Making in 
/usr/obj/pkg/mail/sendmail/work/sendmail-8.14.3/obj.SunOS.5.9.sun4/editmap
(cd ../../libsm; sh Build )
Configuration: pfx=, os=SunOS, rel=5.9, rbase=5, rroot=5.9, arch=sun4, sfx=, 
variant=optimized
Making in 
/usr/obj/pkg/mail/sendmail/work/sendmail-8.14.3/obj.SunOS.5.9.sun4/libsm
[...]
=> Running POST-INSTALL script actions
[...]
pkg_create: can't stat `/usr/pkg/bin/hoststat'
pkg_create: can't stat `/usr/pkg/bin/mailq'
pkg_create: can't stat `/usr/pkg/bin/newaliases'
pkg_create: can't stat `/usr/pkg/bin/purgestat'
pkg_create: can't stat `/usr/pkg/libexec/sendmail/sendmail'
pkg_create: can't stat `/usr/pkg/man/man1/mailq.1'
pkg_create: can't stat `/usr/pkg/man/man1/newaliases.1'
pkg_create: can't stat `/usr/pkg/man/man5/aliases.5'
pkg_create: can't stat `/usr/pkg/man/man8/sendmail.8'
=> Registering installation for sendmail-8.14.3nb4
pkg_admin: sendmail-8.14.3nb4: File `/usr/pkg/bin/hoststat' is in +CONTENTS but 
not on filesystem!
pkg_admin: sendmail-8.14.3nb4: File `/usr/pkg/bin/mailq' is in +CONTENTS but 
not on filesystem!
pkg_admin: sendmail-8.14.3nb4: File `/usr/pkg/bin/newaliases' is in +CONTENTS 
but not on filesystem!
pkg_admin: sendmail-8.14.3nb4: File `/usr/pkg/bin/purgestat' is in +CONTENTS 
but not on filesystem!
pkg_admin: sendmail-8.14.3nb4: File `/usr/pkg/libexec/sendmail/sendmail' is in 
+CONTENTS but not on filesystem!
pkg_admin: sendmail-8.14.3nb4: File `/usr/pkg/man/man1/mailq.1' is in +CONTENTS 
but not on filesystem!
pkg_admin: sendmail-8.14.3nb4: File `/usr/pkg/man/man1/newaliases.1' is in 
+CONTENTS but not on filesystem!
pkg_admin: sendmail-8.14.3nb4: File `/usr/pkg/man/man5/aliases.5' is in 
+CONTENTS but not on filesystem!
pkg_admin: sendmail-8.14.3nb4: File `/usr/pkg/man/man8/sendmail.8' is in 
+CONTENTS but not on filesystem!





>Fix:
Solaris2.9 doesn't need setgroups definition and "#ifndef NGROUPS_MAX"?  i 
deleted that whole function from the .c file.



Home | Main Index | Thread Index | Old Index