pkgsrc-Bugs archive

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

pkg/41537: sysutils/fam fails to compile in NetBSD 5_STABLE pkgsrc-2009Q1 i386



>Number:         41537
>Category:       pkg
>Synopsis:       sysutils/fam fails to compile in NetBSD 5_STABLE pkgsrc-2009Q1 
>i386
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 04 12:25:00 +0000 2009
>Originator:     scalopus
>Release:        NetBSD 5.0_STABLE (GENERIC) #0: Sun May 31 09:42:18 CEST 2009
>Organization:
>Environment:
NetBSD Aerie 5.0_STABLE NetBSD 5.0_STABLE (GENERIC) #0: Sun May 31 09:42:18 
CEST 2009  root@Aerie:/usr/obj/sys/arch/i386/compile/GENERIC i386
>Description:

- pkgsrc version is pkgsrc-2009Q1 updated 20090604.

- fam packager buil version:
# $NetBSD: Makefile,v 1.36 2008/01/09 21:17:32 wiz Exp $
#

DISTNAME=               fam-2.7.0
PKGREVISION=            9


- Build options in /etc/mk.conf are empty to avoid other problems. It fails 
with the following message:

source='main.c++' object='main.o' libtool=no \
        depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
        depmode=gcc3 /bin/sh ../depcomp \
        c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include 
-DFAM_CONF=\"/usr/pkg/etc/fam.conf\"    -O2 -c -o main.o `test -f 'main.c++' || 
echo './'`main.c++
source='timeval.c++' object='timeval.o' libtool=no \
        depfile='.deps/timeval.Po' tmpdepfile='.deps/timeval.TPo' \
        depmode=gcc3 /bin/sh ../depcomp \
        c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include 
-DFAM_CONF=\"/usr/pkg/etc/fam.conf\"    -O2 -c -o timeval.o `test -f 
'timeval.c++' || echo './'`timeval.c++
source='mntent_compat.c++' object='mntent_compat.o' libtool=no \
        depfile='.deps/mntent_compat.Po' tmpdepfile='.deps/mntent_compat.TPo' \
        depmode=gcc3 /bin/sh ../depcomp \
        c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include 
-DFAM_CONF=\"/usr/pkg/etc/fam.conf\"    -O2 -c -o mntent_compat.o `test -f 
'mntent_compat.c++' || echo './'`mntent_compat.c++
In file included from /usr/include/machine/lock.h:3,
                 from /usr/include/sys/lock.h:87,
                 from /usr/include/sys/mount.h:46,
                 from mntent_compat.c++:45:
/usr/include/x86/lock.h:61:28: error: machine/atomic.h: No such file or 
directory
/usr/include/x86/lock.h: In function 'void __cpu_simple_lock(volatile 
__cpu_simple_lock_t*)':
/usr/include/x86/lock.h:84: error: 'x86_atomic_testset_i' was not declared in 
this scope
/usr/include/x86/lock.h: In function 'int __cpu_simple_lock_try(volatile 
__cpu_simple_lock_t*)':
/usr/include/x86/lock.h:96: error: 'x86_atomic_testset_i' was not declared in 
this scope
gmake[2]: *** [mntent_compat.o] Error 1
gmake[2]: Leaving directory `/stuff/pkgsrc/sysutils/fam/work/fam-2.7.0/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/stuff/pkgsrc/sysutils/fam/work/fam-2.7.0'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /stuff/pkgsrc/sysutils/fam
*** Error code 1


If i can help with more information, just ask. Thanks in advance.

Regards,
  - scalopus

>How-To-Repeat:
Just doing make in the fam directory.
>Fix:



Home | Main Index | Thread Index | Old Index