I had a very similar build failure in 1.1.0 on a clean system with no 
previous installations.  For me the fix was to build with skipTests=True 
and the resulting installation has functioned very well, although I do not 
use the Demo Capture Agent.

This is the related bug which I logged during 1.1 QA:
http://opencast.jira.com/browse/MH-7534

[email protected] wrote on 05/06/2011 02:45:43 
PM:

> Adam Mckenzie <[email protected]> 
> Sent by: [email protected]
> 
> 05/06/2011 02:45 PM
> 
> Please respond to
> [email protected]; Please respond to
> Matterhorn Users <[email protected]>
> 
> To
> 
> Sandeep Tamrakar <[email protected]>, Matterhorn Users 
> <[email protected]>
> 
> cc
> 
> Subject
> 
> Re: [Matterhorn-users] Build Failure, help!
> 
> Hi Sandeep,
> 
> Is it possible that gstreamer was installed on the server then? 
> These tests normally run only when gstreamer is installed and the 
> system is a linux one. If gstreamer is installed on the server you 
> could either install the bad plugins or remove gstreamer and the 
> tests should pass. 
> 
> Thanks,
> Adam

> On Fri, May 6, 2011 at 1:41 PM, Sandeep Tamrakar 
<[email protected]
> > wrote:
> Hello adam, here is the result from capture agent. But I am having 
> problem building a matterhorn in the server.
> 
> Factory Details:
>   Long name: AAC audio encoder
>   Class: Codec/Encoder/Audio
>   Description: Free MPEG-2/4 AAC encoder
>   Author(s): Ronald Bultje <[email protected]>
>   Rank: secondary (128)
> 
> Plugin Details:
>   Name: faac
>   Description: Free AAC Encoder (FAAC)
>   Filename: /usr/lib/gstreamer-0.10/libgstfaac.so
>   Version: 0.10.18
>   License: LGPL
>   Source module: gst-plugins-bad
>   Binary package: GStreamer Bad Multiverse Plugins (Ubuntu)
>   Origin URL: https://launchpad.net/distros/ubuntu/+source/gst-
> plugins-bad-multiverse0.10
> 
> GObject
>  +----GstObject
>        +----GstElement
>              +----GstFaac
> 
> Implemented Interfaces:
>   GstPreset
> 
> Pad Templates:
>   SINK template: 'sink'
>     Availability: Always
>     Capabilities:
>       audio/x-raw-int
>              endianness: 1234
>                  signed: true
>                   width: 16
>                   depth: 16
>                    rate: [ 8000, 96000 ]
>                channels: [ 1, 6 ]
> 
>   SRC template: 'src'
>     Availability: Always
>     Capabilities:
>       audio/mpeg
>             mpegversion: { 4, 2 }
>                channels: [ 1, 6 ]
>                    rate: [ 8000, 96000 ]
>           stream-format: { adts, raw }
> 
> Element Flags:
>   no flags set
> 
> Element Implementation:
>   Has change_state() function: gst_faac_change_state
>   Has custom save_thyself() function: gst_element_save_thyself
>   Has custom restore_thyself() function: gst_element_restore_thyself
> 
> Element has no clocking capabilities.
> Element has no indexing capabilities.
> Element has no URI handling capabilities.
> 
> Pads:
>   SRC: 'src'
>     Implementation:
>       Has custom eventfunc(): gst_pad_event_default
>       Has custom queryfunc(): gst_pad_query_default
>         Provides query types:
>       Has custom iterintlinkfunc(): 
gst_pad_iterate_internal_links_default
>     Pad Template: 'src'
>   SINK: 'sink'
>     Implementation:
>       Has chainfunc(): gst_faac_chain
>       Has custom eventfunc(): gst_faac_sink_event
>       Has custom queryfunc(): gst_pad_query_default
>         Provides query types:
>       Has custom iterintlinkfunc(): 
gst_pad_iterate_internal_links_default
>     Pad Template: 'sink'
> 
> Element Properties:
>   name                : The name of the object
>                         flags: readable, writable
>                         String. Default: null Current: "faac0"
>   outputformat        : Format of output frames
>                         flags: readable, writable
>                         Enum "GstFaacOutputFormat" Default: 0, "Raw 
> AAC" Current: 0, "Raw AAC"
>                            (0): Raw AAC          - OUTPUTFORMAT_RAW
>                            (1): ADTS headers     - OUTPUTFORMAT_ADTS
>   bitrate             : Bitrate in bits/sec
>                         flags: readable, writable
>                         Integer. Range: 8000 - 320000 Default: 
> 128000 Current: 128000
>   profile             : MPEG/AAC encoding profile
>                         flags: readable, writable
>                         Enum "GstFaacProfile" Default: 2, "Low 
> complexity profile" Current: 2, "Low complexity profile"
>                            (1): Main profile     - MAIN
>                            (2): Low complexity profile - LC
>                            (3): Scalable sampling rate profile - SSR
>                            (4): Long term prediction profile - LTP
>   tns                 : Use temporal noise shaping
>                         flags: readable, writable
>                         Boolean. Default: false Current: false
>   midside             : Allow mid/side encoding
>                         flags: readable, writable
>                         Boolean. Default: true Current: true
>   shortctl            : Block type encorcing
>                         flags: readable, writable
>                         Enum "GstFaacShortCtl" Default: 0, "Normal 
> block type" Current: 0, "Normal block type"
>                            (0): Normal block type - SHORTCTL_NORMAL
>                            (1): No short blocks  - SHORTCTL_NOSHORT
>                            (2): No long blocks   - SHORTCTL_NOLONG
> 
> Date: Fri, 6 May 2011 13:28:52 -0600
> From: [email protected]
> 
> To: [email protected]
> Subject: Re: [Matterhorn-users] Build Failure, help!
> 
> Hi Sandeep,
> 
> When you were running the capture agent install script did you 
> choose not to install the gstreamer bad plugins? If you run "gst-
> inspect faac" what is the result?
> 
> Thanks,
> Adam

> On Fri, May 6, 2011 at 1:22 PM, Sandeep Tamrakar 
<[email protected]
> > wrote:
> Hello,
> 
> i could not figure out the way to retrieve the complete build log.
> Here is the end of Build log.
> 
> Results :
> 
> Tests in error: 
>   settingCodecToFAACButNotContainerResultsInCorrectCodecAndCorrectMuxer
> 
(org.opencastproject.capture.pipeline.bins.consumers.AudioFilesinkConsumerTest)
> 
> Tests run: 151, Failures: 0, Errors: 1, Skipped: 11
> 
> Exception in thread "TrueZIP ArchiveController Shutdown Hook" 
> java.lang.AssertionError
> at de.schlichtherle.io.UpdatingArchiveController.umount0
> (UpdatingArchiveController.java:673)
> at de.schlichtherle.io.UpdatingArchiveController.umount
> (UpdatingArchiveController.java:594)
> at 
de.schlichtherle.io.ArchiveControllers.umount(ArchiveControllers.java:307)
> at de.schlichtherle.io.ArchiveControllers$ShutdownHook.run
> (ArchiveControllers.java:411)
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] There are test failures.
> 
> Please refer to /opt/matterhorn/1.1.0/modules/matterhorn-capture-
> agent-impl/target/surefire-reports for the individual test results.
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 2 minutes 5 seconds
> [INFO] Finished at: Fri May 06 13:55:56 CDT 2011
> [INFO] Final Memory: 94M/448M
> [INFO] 
> ------------------------------------------------------------------------
> 
> -Sandeep Tamrakar
> TAMUC
> 
> Date: Fri, 6 May 2011 12:13:55 -0600
> From: [email protected]
> To: [email protected]
> Subject: Re: [Matterhorn-users] Build Failure, help!
> 

> On 11-05-06 12:06 PM, Sandeep Tamrakar wrote:
> > What might have caused the failure?
> > I am trying to install 1.1 all in one server for ubuntu 10.04
> 
> 
> 
> That's difficult to diagnose without the build log.  If you can
> reproduce it please send it in and we'll take a look.
> 
> G
> 
> > Sandeep Tamrakar
> > TAMUC
> > 
> > 
> > 
> > _______________________________________________
> 
> 
> > Matterhorn-users mailing list
> > [email protected]
> > http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
> 
> 
> 
> 
> 
> _______________________________________________ Matterhorn-users mailing 
list 
> [email protected] http://
> lists.opencastproject.org/mailman/listinfo/matterhorn-users
> 
> _______________________________________________
> Matterhorn-users mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

> 
> 
> 
> -- 
> Adam McKenzie
> MSc Student
> ARIES Laboratory, University of Saskatchewan
> 
> Web: http://aries.usask.ca/aiwiki/Adam_McKenzie
> Mail: Advanced Research in Intelligent Educational Systems Laboratory
>      Department of Computer Science
>      University of Saskatchewan
>      176 Thorvaldson Building
>      110 Science Place
>      Saskatoon, SK
>      S7N 5C9

> _______________________________________________ Matterhorn-users mailing 
list 
> [email protected] http://
> lists.opencastproject.org/mailman/listinfo/matterhorn-users
> 
> 
> 
> -- 
> Adam McKenzie
> MSc Student
> ARIES Laboratory, University of Saskatchewan
> 
> Web: http://aries.usask.ca/aiwiki/Adam_McKenzie
> Mail: Advanced Research in Intelligent Educational Systems Laboratory
>      Department of Computer Science
>      University of Saskatchewan
>      176 Thorvaldson Building
>      110 Science Place
>      Saskatoon, SK
>      S7N 5C9_______________________________________________
> Matterhorn-users mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to