The recent graphics/libfpx mega-patch update causes the build to break on RELENG_6. Fix: -- 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/libfpx/work/libfpx-1.2.0.12/ole/olestorg.cpp: In member function `virtual Boolean OLEStorage::OpenHeaderStream(const char*, OLEHeaderStream**, int)': /usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ole/olestorg.cpp:699: error: `BlankGUID' was not declared in this scope /usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ole/olestorg.cpp:699: warning: unused variable 'BlankGUID' /usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ole/olestorg.cpp: In member function `virtual Boolean OLEStorage::GetSize(long unsigned int*)': /usr/ports/graphics/libfpx/work/libfpx-1.2.0.12/ole/olestorg.cpp:854: error: 'struct ULARGE_INTEGER' has no member named 'LowPart' *** Error code 1 *** Error code 2
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Responsible Changed From-To: freebsd-ports-bugs->portmgr I messed up the update, because on my system the fpxlib.h was already installed, while I was debuging the actual code. The fix is very simple: --- files/Makefile.bsd 2 Nov 2007 12:42:07 -0000 1.15 +++ files/Makefile.bsd 2 Nov 2007 21:10:52 -0000 @@ -35,5 +35,5 @@ .PATH: ${CPPS:H} -.for d in oless/h jpeg ole basics ri_image oless fpx +.for d in oless/h jpeg ole basics ri_image oless fpx . CXXFLAGS+= -I${.CURDIR}/$d .endfor Assigning to portmgr, because they need to approve any commits due to port freeze...
State Changed From-To: feedback->closed The problem should be fixed now. Sorry for the nonsense.
mi 2007-11-02 23:07:35 UTC FreeBSD ports repository Modified files: graphics/libfpx/files Makefile.bsd Log: The top-level build directory should also be in the include path. Approved by: portmgr (linimon) PR: ports/117774 Revision Changes Path 1.16 +1 -1 ports/graphics/libfpx/files/Makefile.bsd _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"