From: Adam K Kirchhoff on

So when I attempted to upgrade KDE4.3 to KDE4.4 via ports (following
the instructions in /usr/ports/UPDATING) it failed in x11/kdelibs4 with:

gmake[2]: Leaving directory `/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/build'
/usr/local/bin/cmake -E cmake_progress_report /usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/build/CMakeFiles 48 49 50 51 52
[ 48%] Built target kio
gmake[1]: Leaving directory `/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/build'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/x11/kdelibs4.

There is, as far as I can tell, no error before that. Just '[all] Error 2'

I then removed all KDE4 and phonon packages and, after confirming that nothing in /usr/local/kde4 was claimed by any package, I removed that directory. I started with x11/kdebase4. That first failed beacuse it tried to build multimedia/phonon-gstreamer before installing multimedia/phonon. I fixd that and continued, but it then died with:

/bin/ln -sf /usr/local/libdata/pkgconfig /usr/local/kde4/libdata/
ln: /usr/local/kde4/libdata//pkgconfig: Operation not permitted

/usr/local/kde4/libdata/pkgconfig already existed, was not a symlink, and contained phonon.pc. I moved phonon.pc to /usr/local/libdata/pkgconfig, removed /usr/local/kde4/libdata/pkgconfig/ and then tried 'make install' again. This time it created the symlink and installed kdehier4. The build of x11/kdebase4 continued, but then died at the same place as before in x11/kdelibs4:

[ 48%] Built target kio
gmake[1]: Leaving directory `/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/build'
gmake: *** [all] Error 2
*** Error code 1

Any ideas?

Ada,
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Max Brazhnikov on
On Wed, 12 May 2010 17:42:58 -0400, Adam K Kirchhoff wrote:
>
> So when I attempted to upgrade KDE4.3 to KDE4.4 via ports (following
> the instructions in /usr/ports/UPDATING) it failed in x11/kdelibs4 with:
>
> gmake[2]: Leaving directory
`/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/build'
> /usr/local/bin/cmake -E cmake_progress_report
/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/build/CMakeFiles 48 49 50 51 52
> [ 48%] Built target kio
> gmake[1]: Leaving directory
`/usr/ports/x11/kdelibs4/work/kdelibs-4.4.3/build'
> gmake: *** [all] Error 2
> *** Error code 1
>
> Stop in /usr/ports/x11/kdelibs4.

Build kdelibs with DISABLE_MAKE_JOBS and with CMAKE_VERBOSE
(make -DDISABLE_MAKE_JOBS -DCMAKE_VERBOSE) and show us actual error message.

Max


_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"