Submitter-Id: current-users
Originator:Marcus von Appen
Organization:
Confidential: no
Synopsis: [Bug]: recent graphics/libfpx update breaks build
Severity: serious
Priority: high
Category: ports
Class: sw-bug
Release: FreeBSD 6.3-PRERELEASE i386
Environment:
System: FreeBSD medusa.sysfault.org 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #1:
Sun Oct 28 11:05:41 CET 2007
Description:
The recent graphics/libfpx mega-patch update causes the build to break
on RELENG_6.
How-To-Repeat:
The following is an excerpt, the full log is available at
http://sysfault.org/freebsd/libfpx.log.
cd /usr/ports/graphics/libfpx make leads to
=== Extracting for libfpx-1.2.0.12_1
= MD5 Checksum OK for libfpx-1.2.0.12.tar.bz2.
= SHA256 Checksum OK for libfpx-1.2.0.12.tar.bz2.
= MD5 Checksum OK for fpx.mega-patch.2007-11-01.bz2.
= SHA256 Checksum OK for fpx.mega-patch.2007-11-01.bz2.
=== Patching for libfpx-1.2.0.12_1
=== Applying distribution patches for libfpx-1.2.0.12_1
/bin/rm /usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ri_image/wchar.c
/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/fpx/fpxlib.h
=== Configuring for libfpx-1.2.0.12_1
=== Building for libfpx-1.2.0.12_1
Warning: Object directory not changed from original
/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12
c++ -O2 -pipe -march=pentium4 -DHAVE_WCHAR_H -DHAVE_DLFCN_H -DHAVE_SYS_TIME_H
-DHAVE_SYS_PARAM_H -DHAVE_SYS_MOUNT_H -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized
-fno-rtti -fno-exceptions -DHAVE_WCHAR_H -DHAVE_DLFCN_H -DHAVE_SYS_TIME_H
-DHAVE_SYS_PARAM_H -DHAVE_SYS_MOUNT_H
-I/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/oless/h
-I/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/jpeg
-I/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ole
-I/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/basics
-I/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ri_image
-I/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/oless
-I/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/fpx -I/usr/local/include
-D_UNIX -c /usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ole/olestorg.cpp
c++ -fpic -DPIC -O2 -pipe -march=pentium4 -DHAVE_WCHAR_H -DHAVE_DLFCN_H
-DHAVE_SYS_TIME_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_MOUNT_H -Wsystem-headers
-Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith
-Wno-uninitialized -fno-rtti -fno-exceptions -DHAVE_WCHAR_H -DHAVE_DLFCN_H
-DHAVE_SYS_TIME_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_MOUNT_H
-I/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/oless/h
-I/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/jpeg
-I/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ole
-I/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/basics
-I/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ri_image
-I/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/oless
-I/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/fpx -I/usr/local/include
-D_UNIX -c /usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ole/olestorg.cpp -o
olestorg.So
In file included from
/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/oless/exphead.cxx:21,
from
/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ole/olecomm.h:49,
from
/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ole/olestorg.cpp:26:
/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/oless/h/ref.hxx:73: error:
redeclaration of C++ built-in type `char'
/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/oless/h/ref.hxx:81: error:
expected initializer before unsigned
/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/oless/h/ref.hxx:116: error:
`DWORD' does not name a type
/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/oless/h/ref.hxx:117: error:
`DWORD' does not name a type
/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/oless/h/ref.hxx:122: error:
`DWORD' does not name a type
/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/oless/h/ref.hxx:133: error:
expected `,' or `...' before '' token
[... snip tons of following errors ...]
/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ole/olestorg.cpp: In member
function `virtual Boolean OLEStorage::OpenHeaderStream(const XGUID, const
char*, OLEHeaderStream**, int)':
/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ole/olestorg.cpp:682: error: no
matching function for call to `OLEHeaderStream::OLEHeaderStream(const _XGUID,
OLEStorage* const, IStream*)'
/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ole/olehstrm.h:52: note:
candidates are: OLEHeaderStream::OLEHeaderStream(const OLEHeaderStream)
/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ole/olehstrm.h:57: note:
OLEHeaderStream::OLEHeaderStream(int)
/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ole/olestorg.cpp: At global
scope:
/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ole/olestorg.cpp:697: error:
`DWORD' has not been declared
/usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ole/olestorg.cpp:698: error:
ISO C++ forbids declaration of `mode' with no type
/usr/ports/graphics