problem with ffmpeg port

John Francis Lee jfl at robinlea.com
Mon Jul 26 23:07:24 UTC 2010


Thanks... I did that and ffmpeg did install!

But...

[jfl at 28amen ~/www/robinlea.com]$ ffmpeg -i introduction.wav introduction.mp3
FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jul 26 2010 22:42:00 with gcc 3.4.6 [FreeBSD] 20060305
  configuration: --prefix=/usr/local --mandir=/usr/local/man
--enable-shared --enable-gpl --enable-postproc --enable-avfilter
--enable-avfilter-lavf --enable-pthreads --enable-x11grab
--enable-memalign-hack --cc=cc
--extra-cflags=-I/usr/local/include/vorbis -I/usr/local/include
--extra-ldflags=-L/usr/local/lib --extra-libs=-pthread --disable-debug
--disable-sse --disable-mmx --enable-libopencore-amrnb --enable-version3
--enable-libopencore-amrwb --enable-version3 --enable-libdirac
--enable-libfaac --enable-nonfree --enable-libfaad --enable-libfaadbin
--enable-libgsm --enable-libmp3lame --enable-libopenjpeg
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-libx264 --enable-libxvid
  libavutil     50.15. 1 / 50.15. 1
  libavcodec    52.72. 2 / 52.72. 2
  libavformat   52.64. 2 / 52.64. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.19. 0 /  1.19. 0
  libswscale     0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
Bus error: 10 (core dumped)

I had had a look at the manpage for portupgrade and saw a reference to

 pkgdb -F

So I ran that I and noticed a duplicated origin for archivers/xz :

 Duplicated origin: archivers/xz - lzmautils-4.32.7 xz-4.999.9_1

and so unregistered lzmautils-4.32.7

then

  cd /ports/multimedia/ffmpeg
  sudo make deinstall
  sudo make install

but ffmpeg still dumps core.

Any further suggestions?

This is what pkgdb -F shows now

[jfl at 28amen ~/www/robinlea.com]$ sudo pkgdb -F
Password:
--->  Checking the package registry database
Stale origin: 'misc/ldconfig_compat': perhaps moved or obsoleted.
-> The port 'misc/ldconfig_compat' was removed on 2010-05-14 because:
	"Supported releases don't need the port anymore"
-> Hint:  ldconfig_compat-1.0_8 is required by the following package(s):
	p5-DBD-mysql50-3.0006
	mysql-scripts-5.0.24
	mysql-server-5.0.24
	squid-2.6.12
	mysql-client-5.0.24
-> Hint: checking for overwritten files...
 -> No files installed by ldconfig_compat-1.0_8 have been overwritten by
other packages.
Deinstall ldconfig_compat-1.0_8 ? [no]
Duplicated origin: textproc/p5-XML-LibXML - p5-XML-LibXML-1.69,1
p5-XML-LibXML-Common-0.13
Unregister any of them? [no]
Duplicated origin: lang/python25 - python25-2.5.2_2 python25-2.5.4_1
Unregister any of them? [no]

Thanks again for your help.


On 07/27/2010 05:19 AM, Ryan Coleman wrote:
> do this:
> 
> #make install -DFORCE_PKG_REGISTER
> 
> 
> on that particular port, in this case /archivers/xz.
> 
> 
> On Jul 26, 2010, at 4:34 PM, John Francis Lee wrote:
> 
>> Thanks
>>
>> [jfl at 28amen /ports/multimedia/ffmpeg]$ cd ../../archivers/xz/
>> [jfl at 28amen /ports/archivers/xz]$ sudo make deinstall
>> Password:
>> ===>  Deinstalling for archivers/xz
>> [jfl at 28amen /ports/archivers/xz]$ sudo make install
>> ===>  Installing for xz-4.999.9_1
>> ===>   Generating temporary packing list
>> ===>  Checking if archivers/xz already installed
>> ===>   An older version of archivers/xz is already installed
>> (lzmautils-4.32.7)
>>      You may wish to ``make deinstall'' and install this port again
>>      by ``make reinstall'' to upgrade it properly.
>>      If you really wish to overwrite the old port of archivers/xz
>>      without deleting it first, set the variable "FORCE_PKG_REGISTER"
>>      in your environment or the "make install" command line.
>> *** Error code 1
>>
>> Stop in /ports/archivers/xz.
>>
>>
>> Should I try the FORCE_PKG_REGISTER bit? If so how?
>>
>> Thanks for your help...
>>
>> Or how do I portupgrade/portmanager/etc...
>>
>> Thanks again.
>>
>> On 07/27/2010 04:29 AM, Chuck Swiger wrote:
>>> Hi--
>>>
>>> On Jul 26, 2010, at 2:22 PM, John Francis Lee wrote:
>>>> ===>    Verifying install for /usr/local/bin/xz in /usr/ports/archivers/xz
>>>> ===>  Installing for xz-4.999.9_1
>>>> ===>   Generating temporary packing list
>>>> ===>  Checking if archivers/xz already installed
>>>> ===>   An older version of archivers/xz is already installed
>>>> (lzmautils-4.32.7)
>>>>     You may wish to ``make deinstall'' and install this port again
>>>>     by ``make reinstall'' to upgrade it properly.
>>>>     If you really wish to overwrite the old port of archivers/xz
>>>>     without deleting it first, set the variable "FORCE_PKG_REGISTER"
>>>>     in your environment or the "make install" command line.
>>>> *** Error code 1
>>>
>>> This is the relevant bit.  You need to upgrade archivers/xz first by following the suggestions, or else use a tool like portupgrade/portmanager/etc...
>>>
>>> Regards,
>>
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 
> 


-- 
"This message may have been intercepted and read by U.S. government
agencies including the FBI, CIA, and NSA and/or the present government
of Thailand without notice or warrant or knowledge of sender or recipient."

John Francis Lee
246/3 Thanon Kaew Wai
Mueang Chiangrai 57000
Thailand


More information about the freebsd-questions mailing list