Sat, May 06, 2006 at 12:02:13AM +0200, Michael Nottebrock wrote:
> James Long schrieb:
> > I'm trying to re-compile all my ports with portupgrade -af.
> >
> > uname -a:
> >
> > FreeBSD t30.museum.rain.com 6.1-RC FreeBSD 6.1-RC #0: Mon May 1 20:34:43
> > PDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/T30 i386
> >
> > Full portupgrade output is at http://ns.museum.rain.com/james/kdebase.out
> >
> > When I try to run portupgrade on kdebase3, the build terminates with an
> > error:
> >
> > /usr/local/include/kmimetype.h:561: note: candidates are: static
> > QValueList<KDEDesktopMimeType::Service>
> > KDEDesktopMimeType::userDefinedServices(const QString&, bool)
> > /usr/local/include/kmimetype.h:568: note: static
> > QValueList<KDEDesktopMimeType::Service>
> > KDEDesktopMimeType::userDefinedServices(const QString&, KConfig&, bool)
> > gmake[3]: *** [konq_popupmenu.lo] Error 1
> > gmake[3]: Leaving directory
> > `/usr/ports/x11/kdebase3/work/kdebase-3.5.1/libkonq'
> > gmake[2]: *** [all-recursive] Error 1
> > gmake[2]: Leaving directory
> > `/usr/ports/x11/kdebase3/work/kdebase-3.5.1/libkonq'
> > gmake[1]: *** [all-recursive] Error 1
> > gmake[1]: Leaving directory `/usr/ports/x11/kdebase3/work/kdebase-3.5.1'
> > gmake: *** [all] Error 2
> > *** Error code 2
>
> You need to uninstall kdebase before updating, then install the new
> version after everything else has been done.
>
> See /usr/ports/UPDATING, entry 20060108.
Thank you for your reply, it has helped me to make progress.
However, I have run into further difficulties upgrading
portions of the kde multimedia system, particularly akode,
complaining about the version of autoconf installed.
First I found that even deleting old versions of automake
and autoconf wasn't sufficient to get rid of /usr/local/bin/autoconf,
which was version 2.53. I installed the autoconf 259 port,
which didn't overwrite autoconf, but installed autoconf259.
I renamed autoconf to autoconf253 and symlinked autoconf259
to autoconf (shown at bottom). "autoconf --version" now
reports version 2.59, but a portupgrade of one of akode's
components fails, with an error message that autoconf 2.58
or higher is required. I believe I have 2.59 installed, so
I am uncertain what the real error is in my installation.
Thanks for any suggestions or pointers.
Jim
t30 : 23:19:43 /root# pkg_info | grep -i autoconf
autoconf-2.59_2 Automatically configure source code on many Un*x platforms
t30 : 23:19:48 /root# portupgrade -nR audio/akode 2>&1 | grep -w "+"
---> Listing the results (+:done / -:ignored / *:skipped / !:failed)
+ audio/akode-plugins-resampler
(kdemultimedia-akode-plugins-resampler-3.4.3)
+ audio/akode-plugins-mpc (kdemultimedia-akode-plugins-mpc-3.4.3)
+ audio/akode-plugins-xiph (kdemultimedia-akode-plugins-xiph-3.4.3)
+ audio/akode-plugins-oss (kdemultimedia-akode-plugins-oss-3.4.3)
+ audio/akode (kdemultimedia-akode-3.4.3)
t30 : 23:34:45 /root# portupgrade audio/akode-plugins-xiph
** Detected a package name change: kdemultimedia-akode-plugins-xiph
(audio/akode-plugins-xiph) -> 'akode-plugins-xiph' (audio/akode-plugins-xiph)
---> Upgrading 'kdemultimedia-akode-plugins-xiph-3.4.3' to
'akode-plugins-xiph-2.0,1' (audio/akode-plugins-xiph)
---> Building '/usr/ports/audio/akode-plugins-xiph'
===> Cleaning for gmake-3.80_2
===> Cleaning for libtool-1.5.22_2
===> Cleaning for flac-1.1.2_1
===> Cleaning for libogg-1.1.3,3
===> Cleaning for speex-1.0.5_1,1
===> Cleaning for libvorbis-1.1.2,3
===> Cleaning for gettext-0.14.5_2
===> Cleaning for nasm-0.98.39,1
===> Cleaning for libiconv-1.9.2_2
===> Cleaning for akode-plugins-xiph-2.0,1
===> Vulnerability check disabled, database not found
===> Extracting for akode-plugins-xiph-2.0,1
=> MD5 Checksum OK for download.php?content=30375.
=> SHA256 Checksum OK for download.php?content=30375.
===> Patching for akode-plugins-xiph-2.0,1
===> Applying FreeBSD patches for akode-plugins-xiph-2.0,1
===> akode-plugins-xiph-2.0,1 depends on executable: gmake - found
===> akode-plugins-xiph-2.0,1 depends on file: /usr/local/bin/libtool - found
===> akode-plugins-xiph-2.0,1 depends on shared library: FLAC - found
===> akode-plugins-xiph-2.0,1 depends on shared library: ogg - found
===> akode-plugins-xiph-2.0,1 depends on shared library: speex - found
===> akode-plugins-xiph-2.0,1 depends on shared library: vorbis - found
===> Configuring for akode-plugins-xiph-2.0,1
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd6.1
checking host system type... i386-portbld-freebsd6.1
checking target system type... i386-portbld-freebsd6.1
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking for extra includes... added
checking for extra libs... added
checking for style of include used by gmake... GNU
checking for i386-portbld-freebsd6.1-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking for i386-portbld-freebsd6.1-g++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking whether cc is blacklisted... no
checking whether c++ supports -Wundef... yes
checking whether c++ supports -Wno-long-long... yes
checking whether c++ supports -Wno-non-virtual-dtor... yes
checking whether c++ supports -fno-exceptions... yes
checking whether c++ supports -fno-check-new... yes
checking whether c++ supports -fno-common... yes
checking whether c++ supports -fexceptions... yes
checking how to run the C++ preprocessor... c++ -E
checking whether c++ supports -O0... yes
not using lib directory suffix
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i386-portbld-freebsd6.1-g77... no
checking for i386-portbld-freebsd6.1-f77... no
checking for i386-portbld-freebsd6.1-xlf... no
checking for i386-portbld-freebsd6.1-frt... no
checking for i386-portbld-freebsd6.1-pgf77... no
checking for i386-portbld-freebsd6.1-fort77... no
checking for i386-portbld-freebsd6.1-fl32... no
checking for i386-portbld-freebsd6.1-af77... no
checking for i386-portbld-freebsd6.1-f90... no
checking for i386-portbld-freebsd6.1-xlf90... no
checking for i386-portbld-freebsd6.1-pgf90... no
checking for i386-portbld-freebsd6.1-epcf90... no
checking for i386-portbld-freebsd6.1-f95... no
checking for i386-portbld-freebsd6.1-fort... no
checking for i386-portbld-freebsd6.1-xlf95... no
checking for i386-portbld-freebsd6.1-ifc... no
checking for i386-portbld-freebsd6.1-efc... no
checking for i386-portbld-freebsd6.1-pgf95... no
checking for i386-portbld-freebsd6.1-lf95... no
checking for i386-portbld-freebsd6.1-gfortran... no
checking for g77... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking the maximum length of command line arguments... (cached) 262144
checking command to parse nm output from cc object... ok
checking for objdir... .libs
checking for i386-portbld-freebsd6.1-ar... no
checking for ar... ar
checking for i386-portbld-freebsd6.1-ranlib... no
checking for ranlib... ranlib
checking for i386-portbld-freebsd6.1-strip... no
checking for strip... strip
checking if cc static flag works... yes
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... freebsd6.1 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd6.1 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... yes
checking if f77 supports -c -o file.o... yes
checking whether the f77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd6.1 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking FLAC/metadata.h usability... yes
checking FLAC/metadata.h presence... yes
checking for FLAC/metadata.h... yes
checking for FLAC__seekable_stream_decoder_process_single in -lFLAC... yes
checking OggFLAC/seekable_stream_decoder.h usability... yes
checking OggFLAC/seekable_stream_decoder.h presence... yes
checking for OggFLAC/seekable_stream_decoder.h... yes
checking for OggFLAC__seekable_stream_decoder_process_single in -lOggFLAC... yes
checking for speex headers... yes
checking for speex_decoder_ctl in -lspeex... yes
checking for speex11 headers... no
checking for MADlib header... yes
checking for mad_decoder_run in -lmad... yes
checking samplerate.h usability... yes
checking samplerate.h presence... yes
checking for samplerate.h... yes
checking for src_simple in -lsamplerate... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking for Jack Audio Connection Kit... yes
checking for Polypaudio 0.7 or later... not installed
checking ltdl.h usability... yes
checking ltdl.h presence... yes
checking for ltdl.h... yes
checking for lt_dlopen in -lltdl... yes
checking for pthread_create in -lpthread... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking for sem_init in -lrt... no
checking for posix_madvise in -lc... yes
checking for posix_fadvise in -lc... no
checking for madvise in -lc... yes
checking for fadvise in -lc... no
checking if madvise needs prototype... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long in -lc... yes
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking for _oss_ioctl in -lossaudio... no
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking sys/asoundlib.h usability... no
checking sys/asoundlib.h presence... no
checking for sys/asoundlib.h... no
checking alsa/asoundlib.h usability... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no
checking for snd_seq_create_simple_port in -lasound... no
checking for ogg_page_version in -logg... yes
checking vorbis/vorbisfile.h usability... yes
checking vorbis/vorbisfile.h presence... yes
checking for vorbis/vorbisfile.h... yes
checking for vorbis_info_init in -lvorbis... yes
checking for ov_open in -lvorbisfile... yes
checking for compilable aKode... yes
checking if akode should be compiled... yes
configure: creating ./config.status
fast creating Makefile
fast creating akode/Makefile
fast creating akode/akodeplay/Makefile
fast creating akode/lib/Makefile
fast creating akode/plugins/Makefile
fast creating akode/plugins/alsa_sink/Makefile
fast creating akode/plugins/ffmpeg_decoder/Makefile
fast creating akode/plugins/jack_sink/Makefile
fast creating akode/plugins/mpc_decoder/Makefile
fast creating akode/plugins/mpc_decoder/mppdec/Makefile
fast creating akode/plugins/mpeg_decoder/Makefile
fast creating akode/plugins/oss_sink/Makefile
fast creating akode/plugins/polyp_sink/Makefile
fast creating akode/plugins/src_resampler/Makefile
fast creating akode/plugins/sun_sink/Makefile
fast creating akode/plugins/xiph_decoder/Makefile
fast creating akode/akode-config
config.pl: fast created 17 file(s).
config.status: creating config.h
config.status: creating akode/lib/akode_export.h
config.status: executing depfiles commands
Good - your configure finished. Start make now
===> Building for akode-plugins-xiph-2.0,1
cd /usr/ports/audio/akode-plugins-xiph/work/akode-2.0/akode && gmake
Making all in lib
gmake[1]: Entering directory
`/usr/ports/audio/akode-plugins-xiph/work/akode-2.0/akode/lib'
cd ../.. && /bin/sh
/usr/ports/audio/akode-plugins-xiph/work/akode-2.0/admin/missing --run
autoheader
configure.in:45: error: Autoconf version 2.58 or higher is required
aclocal.m4:446: AM_INIT_AUTOMAKE is expanded from...
configure.in:45: the top level
autoheader: autom4te failed with exit status: 1
at /usr/local/bin/autoheader line 163
gmake[1]: *** [akode_export.h.in] Error 1
gmake[1]: Leaving directory
`/usr/ports/audio/akode-plugins-xiph/work/akode-2.0/akode/lib'
gmake: *** [all-recursive] Error 1
*** Error code 2
Stop in /usr/ports/audio/akode-plugins-xiph.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade90185.0
make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! audio/akode-plugins-xiph (kdemultimedia-akode-plugins-xiph-3.4.3)
(unknown build error)
---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
t30 : 23:36:57 /root# autoconf --version
autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
t30 : 23:37:53 /root# ls -l /usr/local/bin/autoconf*
lrwxr-xr-x 1 root wheel 11 May 7 23:14 /usr/local/bin/autoconf@ ->
autoconf259
-r-xr-xr-x 1 root wheel 6191 Oct 24 2004 /usr/local/bin/autoconf253*
-r-xr-xr-x 1 root wheel 7672 May 7 23:12 /usr/local/bin/autoconf259*
t30 : 23:37:57 /root# pkg_info | grep -i autoconf
autoconf-2.59_2 Automatically configure source code on many Un*x platforms
t30 : 23:38:21 /root# exit
Script done on Sun May 7 23:38:29 2006
_______________________________________________
kde-freebsd mailing list
[email protected]
http://freebsd.kde.org/mailman/listinfo/kde-freebsd