#126 Can we get an updated source tarball?

open-fixed
5
2013-02-03
2012-09-22
othyro
No

It's been a while since the tarball for r1054 was packaged and released. Could we please have a new one to replace this one? I am seeing some compile errors on the amd64 platform that i know have been resolved in the later builds. I would also like to update this package in pkgsrc-wip and provide the build and install output back to the team.

Discussion

    • assigned_to: nobody --> bgk
    • labels: --> Source/Compile
    • status: open --> pending-fixed
     
  • vbam-1.8.0.1138-src.tar.gz is now up.

     
  • othyro
    othyro
    2012-09-29

    • status: pending-fixed --> open-fixed
     
  • othyro
    othyro
    2012-09-29

    Thanks for the updated tarball. Attached is the build log for that version you posted. It's failing here:

    [ 25%] Building CXX object CMakeFiles/vbamcore.dir/src/common/ffmpeg.cpp.o
    In file included from /usr/pkgsrc/wip/vba-m/work/src/common/ffmpeg.cpp:12:0:
    /usr/pkgsrc/wip/vba-m/work/.buildlink/include/libavformat/avformat.h:158:93: warning: 'AVMetadata' is deprecated (declared at /usr/pkgsrc/wip/vba-m/work/.buildlink/include/libavutil/dict.h:41)
    /usr/pkgsrc/wip/vba-m/work/src/common/ffmpeg.cpp: In member function 'MediaRet MediaRecorder::setup_video_stream(const char*, int, int, int)':
    /usr/pkgsrc/wip/vba-m/work/src/common/ffmpeg.cpp:194:59: error: 'av_opt_set_int' was not declared in this scope
    /usr/pkgsrc/wip/vba-m/work/src/common/ffmpeg.cpp: In member function 'MediaRet MediaRecorder::finish_setup(const char*)':
    /usr/pkgsrc/wip/vba-m/work/src/common/ffmpeg.cpp:262:31: error: 'AVIO_FLAG_WRITE' was not declared in this scope
    *** Error code 1

     
  • You are using an outdated version of ffmpeg. Please update.

     
  • othyro
    othyro
    2012-10-02

    Would ffmpeg-20120609.0.7.13 work or is a later version necessary?

     
  • No, you'll need at least a 0.8 release of ffmpeg (we're at 1.0 currently).
    You can also disable ffmpeg support in vba-m altogether since it's only used by the wxWindows port which you're maybe not using.

     
  • othyro
    othyro
    2012-10-03

    Updated source build, install, and execution log

     
    Attachments
  • othyro
    othyro
    2012-10-03

    Thanks for the feedback. The ffmpeg in pkgsrc is of the 0.7 branch. Thus, ffmpeg support is disabled in vba-m at the moment. Also, ENABLE_LINK is set to OFF, because NetBSD doesn't have shm_open() and shm_link(). This is a lack of implementation of the entire RealTime POSIX set and a PR has been submitted for the issue.

    Attached is the build, install, and execution log of this updated distfile.

     
  • i would prefer if it you didn't distribute NetBSD releases in that case, as you are going to break several titles by disabling Linking.

     
  • othyro
    othyro
    2012-10-04

    I'll get to work on a later version branch of ffmpeg then. I wouldn't want you guys to feel that way.

     
    • status: open-fixed --> pending-fixed
     
  • indeed i did, because it can be obtained directly from the svn browse page and is always the most recent code.

     
  • othyro
    othyro
    2013-02-03

    That wasn't very smart. You just broke all the builds for the source-based package management systems, like pkgsrc, portage, and ports. "Checking out the latest tarball" isn't a great option either, as it's checksums would continually change.

    I do appreciate the updated tarball and will update the vba-m pkgsrc files tomorrow when i have a chance. I would further suggest to not expect people to just check out whatever's your latest version from the repository and start properly versioning this project, providing changelogs and checksums for associated distfiles.

     
  • othyro
    othyro
    2013-02-03

    • status: pending-fixed --> open-fixed
     
  • othyro
    othyro
    2013-02-03

    Actually, i had time now. Here's the build and install log:

    http://filebin.ca/VnreLmQUTJl/b.txt

    Note:

    1) bzcat: /usr/pkgsrc/distfiles//vbam-r1159-src.tar.bz2: trailing garbage after EOF ignored

    Same with tar, bsdtar, and gtar. Fix this.

    2) The ffmpeg option in the above build is disabled, because i'm running an older version of pkgsrc on my home machine. pkgsrc now has ffmpeg >= 0.8 and ffmpeg-1.0, with which i've tested this package. I have been meaning to send you the output of the build with that option enabled, but have been very busy and forgot about it. However, it works just fine and is now a supported package option.

    3) I know you guys didn't like the idea of the package being distributed if the linking function was disabled. NetBSD (and possibly if OPSYS = SunOS) don't have shm_open and shm_unlink, so that feature is only disabled for those platforms. It's the best we can do at this point until i or someone else have time to add those two functions.

    4) This package is stable enough now. It's been in pkgsrc-wip over a year, i've watched the output of the bulk builds and this package hasn't been breaking across different OS versions/architectures/pkgsrc configurations. I'm going to recommend it for import to pkgsrc HEAD. Then, we'll really get to see how it works across platforms, as the bulk build team has even more configurations available. Furthermore, it is my default GB* emulator and i've not seen it do any weird things like crash, corrupt files, or panic the system.

    But listen, you can't do silly things like deleting the distfiles. That breaks our builds and isn't acceptable for something that could be in pkgsrc HEAD (which has stable quarterly releases). It will make users of pkgsrc sad if their build/install breaks due to a distfile not being where it's supposed to be.