pkgsrc-Bugs archive

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

pkg/41959: multimedia/ogle uses unknown compiler option (NetBSD 4.0)



>Number:         41959
>Category:       pkg
>Synopsis:       multimedia/ogle uses unknown compiler option (NetBSD 4.0)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 30 16:05:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        In rev 1.22 multimedia/ogle/Makefile changed the magic
        "go faster" option that was being passed to gcc.   Unfortunately
        the compiler in NetBSD 4.0 (which claims to be gcc 4.1.2)
        doesn't understand this option (or says it doesn't, the man
        page makes it appear as if it should, unless the problem is
        more subtle than I can see).

        This change was made back in early June, I didn't notice it
        as no revbump was done (though this would result in a different
        binary package) so I had no idea I was supposed to try rebuilding
        it - the revbump caused by the jpeg update finally made that
        happen.

>How-To-Repeat:
        I use pkg_comp with libkver and NetBSD 4.0 release sets installed
        (that is, 4.0 as it was originally releases, no updates, except
        whatever pkgsrc installs itself).   No x* sets, pkgsrc modular
        xorg instead (but that's irrelevant here).

        With that environment, I see ...

mkdir .libs
 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 -DX_DISPLAY_MISSING=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/pkg_comp/obj/pkgsrc/multimedia/ogle/4x/.buildlink/include/libxml2 
-I/pkg_comp/obj/pkgsrc/multimedia/ogle/4x/.buildlink/include 
-fomit-frame-pointer -funroll-loops -O2 -Wall -O2 -Wall -march=i586 
-mschedule=pentiumpro -c msgevents.c -MT msgevents.lo -MD -MP -M!
 F .deps/msgevents.TPlo  -fPIC -DPIC -o .libs/msgevents.o
cc1: error: unrecognized command line option "-mschedule=pentiumpro"
gmake[1]: *** [msgevents.lo] Error 1
gmake[1]: Leaving directory 
`/pkg_comp/obj/pkgsrc/multimedia/ogle/4x/ogle-0.9.2/ogle'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/multimedia/ogle
*** Error code 1

        I have nothing relevant in mk.conf (no ogle specific options,
        nothing to alter default cc selection).

>Fix:
        ??   Go back to the previous option (which worked, at least).



Home | Main Index | Thread Index | Old Index