Subject: pkg/34245: Ogle fails to compile under NetBSD-4_BETA
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Dave Tyson <Dave.Tyson@liverpool.ac.uk>
List: pkgsrc-bugs
Date: 08/20/2006 20:45:16
>Number: 34245
>Category: pkg
>Synopsis: Ogle (pkgsrc_2006Q2) fails to compile under NetBSD-4_BETA
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Aug 20 20:45:16 +0000 2006
>Originator: Dave Tyson
>Release: NetBSD 4.0_BETA
>Organization:
The University of Liverpool
>Environment:
System: NetBSD test4 4.0_BETA NetBSD 4.0_BETA (GENERIC) #1: Thu Aug 10
04:50:22 BST 2006 root@xxx.liv.ac.uk:/usr/obj/sys/arch/i386/compile/GENERIC
i386 Architecture: i386
Machine: i386
>Description:
make install fails:
cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogle\"
-DVERSION=\"0.9.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 "-Dinline=__attribute__ ((__always_inline__))"
-DHAVE_SYS_BSWAP_H=1 -DHAVE_SYS_ENDIAN_H=1 -DHAVE_SYS_PARAM_H=1
-DHAVE_XSHM=1 -DHAVE_XV=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_MADVISE=1
-DLIBOGLEAO_NULL= -DLIBOGLEAO_OBSD= -DHAVE_XML=1 -DHAVE_XF86VIDMODE=1
-DHAVE_XINERAMA=1 -DCONFIG_FILE=\"/usr/pkg/share/ogle/oglerc\" -DHAVE_MMX=1
-I. -I.. -I../include
-I/usr/pkgsrc/multimedia/ogle/work/.buildlink/include/libxml2
-I/usr/pkgsrc/multimedia/ogle/work/.buildlink/include -fomit-frame-pointer
-funroll-loops -O2 -Wall -O2 -Wall -march=i586 -mcpu=pentiumpro -c
msgevents.c -MT msgevents.lo -MD -MP -MF .deps/msgevents.TPlo -fPIC -DPIC
-o .li bs/msgevents.o
cc1: error: unrecognized command line option "-mcpu=pentiumpro"
gmake[1]: *** [msgevents.lo] Error 1
gmake[1]: Leaving directory
`/usr/pkgsrc/multimedia/ogle/work/ogle-0.9.2/ogle' gmake: ***
[all-recursive] Error 1
*** Error code 2
Probably related to GCC 4
>How-To-Repeat:
cd /usr/pkgsrc/multimedia/ogle
make install
>Fix:
unknown
-------------------------------------------------------
--
=====================================================================
Computing Services Dept Phone/Fax: 0151-794-3731/3759
The University of Liverpool Email: dtyson@liv.ac.uk
Chadwick Tower, Peach Street WWW: http://www.liv.ac.uk/~dtyson
Liverpool L69 7ZF Open Source O/S: www.netbsd.org
=====================================================================