Port build error on -current
Vinicius Abrahao
vinnix.bsd at gmail.com
Mon Feb 1 12:12:14 UTC 2010
Hi folks,
I'm getting this error when I try to recompile this port
(security/pam_mkhomedir):
-------------------------------
=> SHA256 Checksum OK for pam_mkhomedir-0.1.tar.gz.
===> Patching for pam_mkhomedir-0.1
===> Configuring for pam_mkhomedir-0.1
===> Building for pam_mkhomedir-0.1
"/usr/share/mk/bsd.compat.mk", line 35: warning: NOINSTALLLIB is
deprecated in favour of NO_INSTALLLIB
"/usr/share/mk/bsd.compat.mk", line 35: warning: NOPROFILE is
deprecated in favour of NO_PROFILE
Warning: Object directory not changed from original
/usr/ports/security/pam_mkhomedir/work/pam_mkhomedir-0.1
cc -march=native -mtune=native -O2 -march=nocona -std=gnu99
-fstack-protector -c pam_mkhomedir.c
In file included from pam_mkhomedir.c:61:
/usr/include/utmp.h:2:2: error: #error "<utmp.h> has been replaced by <utmpx.h>"
*** Error code 1
Stop in /usr/ports/security/pam_mkhomedir/work/pam_mkhomedir-0.1.
*** Error code 1
Stop in /usr/ports/security/pam_mkhomedir.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20100201-84816-5snl0x-0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=pam_mkhomedir-0.1 UPGRADE_PORT_VER=0.1 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! security/pam_mkhomedir (pam_mkhomedir-0.1) (unknown build error)
-------------------------------
The simple substitution on pam_mkhomedir.c solve the problem.
-------------------------------
*** pam_mkhomedir.c.orig Mon Feb 1 10:06:32 2010
--- pam_mkhomedir.c Mon Feb 1 10:06:48 2010
***************
*** 60,62 ****
#include <unistd.h>
! #include <utmp.h>
#include <err.h>
--- 60,62 ----
#include <unistd.h>
! #include <utmpx.h>
#include <err.h>
This problem does NOT occurs on 8-stable.
Thanks for your attention,
Vinicius Schmidt
More information about the freebsd-current
mailing list