Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Oct 2007 12:00:10 -0400
From:      John Nielsen <lists@jnielsen.net>
To:        Will Wainwright <wsurvive@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problem compiling kdegraphics (exr problem?)
Message-ID:  <20071009120010.vuokswuf9k4s440k@newwebmail.jnielsen.net>
In-Reply-To: <aaca96cc0710090826l7bce20d7x7e034f92abe7536c@mail.gmail.com>
References:  <aaca96cc0710090826l7bce20d7x7e034f92abe7536c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Will Wainwright <wsurvive@gmail.com>:
> I'm having some trouble getting kdegraphics to update.
>
> I use portmanager to keep my ports updated. Usually this works well, but the
> past couple of days portmanager did have problems with the latest OpenEXR
> update.
>
> As to my problem with kdegraphics, here is what I know.
>
> It compiles until this point:
>
> gmake[3]: Entering directory
> `/usr/ports/graphics/kdegraphics3/work/kdegraphics-3.5.7/kfile-plugins/exr'
> /usr/local/bin/moc ./kfile_exr.h -o kfile_exr.moc
> if /bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=compile c++
> -DHAVE_CONFIG_H -I. -I. -I../.. -Drestrict= -I/usr/local/include
> -I/usr/local/include -I/usr/local/include/OpenEXR     -D_THREAD_SAFE
> -pthread -DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/local/include
> -I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE   -Wno-long-long -Wundef
> -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -fno-strict-aliasing
> -pipe -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION -fexceptions -MT kfile_exr.lo -MD -MP -MF
> ".deps/kfile_exr.Tpo" -c -o kfile_exr.lo kfile_exr.cpp; \
>        then mv -f ".deps/kfile_exr.Tpo" ".deps/kfile_exr.Plo"; else rm -f
> ".deps/kfile_exr.Tpo"; exit 1; fi
> kfile_exr.cpp: In member function `virtual bool
> KExrPlugin::readInfo(KFileMetaInfo&, uint)':
> kfile_exr.cpp:229: error: `hasutcOffset' was not declared in this scope
> kfile_exr.cpp:229: warning: unused variable 'hasutcOffset'
> kfile_exr.cpp: At global scope:
> kfile_exr.cpp:165: warning: unused parameter 'what'
> gmake[3]: *** [kfile_exr.lo] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/graphics/kdegraphics3/work/kdegraphics-3.5.7/kfile-plugins/exr'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/graphics/kdegraphics3/work/kdegraphics-3.5.7/kfile-plugins'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/graphics/kdegraphics3/work/kdegraphics-3.5.7'
> gmake: *** [all] Error 2
> *** Error code 2
>
> Stop in /usr/ports/graphics/kdegraphics3.
> *** Error code 1
>
> At which point the build fails.
>
> I'm not sure if this is a problem with KDE or if there is still something
> wrong with  my install of OpenEXR.
>
> Any advice as to how to proceed?

I ran in to this myself last night. I corrected it by taking the 
following steps. I use portupgrade so I won't give specific commands:

Make sure your ports tree is up-to-date.
Force-uninstall graphics/OpenEXR.
Force-reinstall graphics/ilmbase.
Re-install (manually if necessary) graphics/OpenEXR.
Fix up dependencies.
Continue with other upgrades.

JN




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071009120010.vuokswuf9k4s440k>