Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Jun 2007 09:48:12 +0200
From:      Hans Nieser <h.nieser@xs4all.nl>
To:        "Greg 'groggy' Lehey" <grog@freebsd.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: MythTV port compilation error
Message-ID:  <465FCF3C.6070809@xs4all.nl>
In-Reply-To: <465FB7C2.5090305@xs4all.nl>
References:  <465F06C1.20105@xs4all.nl>	<20070601054549.GD85378@wantadilla.lemis.com> <465FB7C2.5090305@xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------020106040304040806000801
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hans Nieser wrote:
> Greg 'groggy' Lehey wrote:
>> [Format recovered--see http://www.lemis.com/email/email-format.html]
>>
>> Computer output unfolded.
>>
>> On Thursday, 31 May 2007 at 19:32:49 +0200, Hans Nieser wrote:
>>> I've been trying occasionally the past few weeks to compile MythTV, but it
>>> keeps failing. I have an updated ports tree. Does anyone know if this is a
>>> known problem, or how to fix it?
>> This is probably better addressed to FreeBSD-questions.  I'm copying
>> that list and copying multimedia@ (the original mailing list) as Bcc.
>>
>>> g++ -Wl,-rpath,/usr/local/lib  -Wl,-rpath,/usr/local/lib -pthread -o mythcommflag main.o mmDetector2.o  pgm.o  EdgeDetector.o  CannyEdgeDetector.o  PGMConverter.o  BorderDetector. omEventRelayer.o  moc_CommDetectorBase.o  moc_LogoDetectorBase.o moc_SceneChangeDetectorBlibavcodec -L../../libs/libavformat -L../../libs/libmythfreemheg -L../../libs/libmythui -L hupnp-0.20 -lmythlivemedia-0.20 -lmyth-0.20 -lmythui-0.20 -lfreetype -lmp3lame -L/usr/loca
>>> main.o(.text+0x1f9c): In function `FlagCommercials(QString, QString)': /usr/ports/multimedia/mythtv/work/mythtv-fixes-0.20-13053/programs/mythcommflag/main.cpp:4
>>> *** Error code 1
>> OK, I've tried to reconstitute the output you quoted, but it looks as
>> if you have truncated the lines.  In particular, the important part of
>> the last line seems to be missing.
>>
>> At first sight, this did look like a problem I've seen, but it's
>> difficult to say.  What do you have in /var/db/ports/mythtv/options?
>> What revision of the port are you compiling (i.e. what is PORTREVISION
>> in the Makefile)?  What version of FreeBSD are you running?
>>
> 
> Yeah I was puzzled by what seems to be a truncated error message as well
> but this really seems to be all I was getting. The contents of the options
> file are:
> 
> # This file is auto-generated by 'make config'.
> # No user-servicable parts inside!
> # Options for mythtv-0.20
> _OPTIONS_READ=mythtv-0.20
> WITHOUT_LIRC=true
> WITHOUT_MYSQL_LOCAL=true
> 
> The portrevision is 2 ("PORTVERSION=    0.20"
> and "PORTREVISION=   2" in the Makefile).
> 
> I'm running 6.1-RELEASE-p6
> 
> I'll try to recompile it again and make sure I did in fact copy paste the
> error correctly (I did resize my terminal window so maybe it somehow
> screwed up and truncated the lines or something)

Ah it does seem like the terminal I copied it from was borked. I have
attached the actual error.

>From googling around a bit I can see that I'm not the only one with this
problem and that it's not specific to FreeBSD, I couldn't find any
solution unfortunately.


--------------020106040304040806000801
Content-Type: text/plain;
 name="mythtv-compile-error"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
 filename="mythtv-compile-error"

g++ -Wl,-rpath,/usr/local/lib  -Wl,-rpath,/usr/local/lib -pthread -o myth=
commflag main.o  CommDetectorFactory.o  CommDetectorBase.o  Histogram.o  =
ClassicLogoDetector.o  ClassicSceneChangeDetector.o  ClassicCommDetector.=
o  quickselect.o  CommDetector2.o  pgm.o  EdgeDetector.o  CannyEdgeDetect=
or.o  PGMConverter.o  BorderDetector.o  FrameAnalyzer.o  TemplateFinder.o=
  TemplateMatcher.o  HistogramAnalyzer.o  BlankFrameDetector.o  SceneChan=
geDetector.o moc_SlotRelayer.o  moc_CustomEventRelayer.o  moc_CommDetecto=
rBase.o  moc_LogoDetectorBase.o  moc_SceneChangeDetectorBase.o  moc_Class=
icCommDetector.o   -L/usr/local/lib -L/usr/local/lib -L../../libs/libmyth=
 -L../../libs/libmythtv -L../../libs/libavutil -L../../libs/libavcodec -L=
=2E./../libs/libavformat -L../../libs/libmythfreemheg -L../../libs/libmyt=
hui -L../../libs/libmythupnp -L../../libs/libmythlivemedia -lmythtv-0.20 =
-lmythavformat-0.20 -lmythavutil-0.20 -lmythavcodec-0.20 -lmythfreemheg-0=
=2E20 -lmythupnp-0.20 -lmythlivemedia-0.20 -lmyth-0.20 -lmythui-0.20 -lfr=
eetype -lmp3lame -L/usr/local/lib -lXinerama -lXv -lXxf86vm -lXrandr -lvi=
aXvMC -lXvMC -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm
main.o(.text+0x1f9c): In function `FlagCommercials(QString, QString)':
/usr/ports/multimedia/mythtv/work/mythtv-fixes-0.20-13053/programs/mythco=
mmflag/main.cpp:495: undefined reference to `ProgramInfo::GetRecordFilena=
me(QString const&, bool) const'
*** Error code 1

Stop in /usr/ports/multimedia/mythtv/work/mythtv-fixes-0.20-13053/program=
s/mythcommflag.
*** Error code 1

Stop in /usr/ports/multimedia/mythtv/work/mythtv-fixes-0.20-13053/program=
s.
*** Error code 1

Stop in /usr/ports/multimedia/mythtv/work/mythtv-fixes-0.20-13053.
*** Error code 1

Stop in /usr/ports/multimedia/mythtv.
*** Error code 1

Stop in /usr/ports/multimedia/mythtv.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.381=
59.58 env UPGRADE_TOOL=3Dportupgrade UPGRADE_PORT=3Dmythtv-0.20 UPGRADE_P=
ORT_VER=3D0.20 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! multimedia/mythtv (mythtv-0.20)       (linker error)
--->  Packages processed: 0 done, 500 ignored, 0 skipped and 1 failed


--------------020106040304040806000801--



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