Moving x264

For people using my overlay, I just want to pass on a warning about the package move from media-libs/x264-svn to media-libs/x264. The x264 development repository had been moved to git, so the -svn name is no longer appropriate. After emerging x264, you can add media-libs/x264-svn-20089999 (for example) to /etc/portage/profile/package.provided for other packages depending on that.

25 Mar 08 - 01:22 | , and

Responses to ‘Moving x264’:

  1. a-nonymous on 25 Mar 08 - 13:28

    There's a problem, as Paludis don't support that.

    Someone said be this on the #paludis irc channel:

    "technically, you can approximate it using importare on empty dirs
    cd some-empty-dir; importare some/package version.. or something equally disarmingly easy"

  2. a-nonymous on 25 Mar 08 - 13:34

    I did this but not works :(

    # importare media-libs/x264-svn 9999
    Building dependency list...importare@1206451892: [WARNING] In program importare media-libs/x264-svn 9999:
    ... When performing install action from command line:
    ... When executing install task:
    ... When building dependency list:
    ... When adding PackageDepSpec '=media-libs/x264-svn-9999:0::unpackaged':
    ... Downgrade to 'media-libs/x264-svn-9999:0::unpackaged' from 'media-libs/x264-svn-20079999:0::installed' forced

    Dependency error:
    * In program importare media-libs/x264-svn 9999:
    * When performing install action from command line:
    * When executing install task:
    * When building dependency list:
    * When adding PackageDepSpec '=media-libs/x264-svn-9999:0::unpackaged':
    * When adding package 'media-libs/x264-svn-9999:0::unpackaged':
    * No suitable destination for 'media-libs/x264-svn-9999:0::unpackaged' in (installed) (paludis::NoDestinationError)

  3. chaoflow on 25 Mar 08 - 14:06

    Reread the original suggestion:

    "you can add media-libs/x264-svn-20089999"

    You added media-libs/x264-svn-9999 - I did not test it myself, but the missing "2008" could be the reason.

  4. Ben on 25 Mar 08 - 16:56

    Well, we're working on moving the portage packages over to plain x264 as well, right now. So that problem should be fixed soon. Keep an eye on https://bugs.gentoo.org/214710 which handles this issue.

  5. a-nonymous on 26 Mar 08 - 00:04

    * media-libs/x264-svn::berkano [N 20099999]
    Reasons: *media-libs/libquicktime-1.0.2:0::gentoo, *media-video/ffmpeg-20079999-r2:0::berkano, 1 more

    Even your overlay uses the damn x264-svn package. Anyone knows a way of solving this under Paludis? I cannot solve it even by the importare trick (tried to mask and unmask stuff but still tries to install the x264-svn from berkano).

  6. a-nonymous on 26 Mar 08 - 00:28

    It works in this way...

    Copy this to /etc/paludis/repositories/unpackaged.conf

    # Paludis unpackaged packages (imported w. importare) repository
    # configuration file

    location = /var/paludis/repositories/unpackaged
    format = installed_unpackaged
    #------

    Then a few more commands...

    mkdir /var/paludis/repositories/unpackaged
    importare --location /var/empty media-libs/x264-svn 20089999
    echo "media-libs/x264-svn" >> /etc/paludis/package_mask.conf
    echo "media-libs/x264-svn::unpackaged" >> /etc/paludis/package_unmask.conf

    It's a bit messy, but works ;)

  7. a-nonymous on 26 Mar 08 - 00:58

    Well, mplayer package now failed to build...

    Updated to revision 12594.
    * working copy: /var/paludis/repositories/gentoo/distfiles/svn-src/ffmpeg/trunk

    * Applying disable-version-rebranding.patch ... [ ok ]
    * Applying ffmpeg-libdir.patch ... [ ok ]
    * Applying ffmpeg-shared-gcc4.1.patch ... [ ok ]
    * Applying ffmpeg-x86-pic-fix.patch ... [ ok ]
    >>> Done src_unpack
    >>> Starting src_compile
    true
    Unknown option "--enable-pp".
    See ./configure --help for available options.

    !!! ERROR in media-video/ffmpeg-20079999-r2:
    !!! In src_compile at line 3657
    !!! configure failed

    !!! Call stack:
    !!! * src_compile (/var/tmp/paludis/media-video/ffmpeg-20079999-r2/temp/loadsaveenv:3657)
    !!! * ebuild_f_compile (/usr/libexec/paludis/0/src_compile.bash:49)
    !!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:462)
    !!! * main (/usr/libexec/paludis/ebuild.bash:480)

    diefunc: making ebuild PID 16431 exit with error
    die trap: exiting with error.

    Install error:
    * In program paludis (--dl-installed-deps-pre pre-or-post --dl-reinstall if-use-changed --show-reasons summary --with-unused-dependencies --show-use-descriptions all --dl-downgrade warning --dl-reinstall-scm weekly) -i media-video/mplayer-resume media-sound/cdparanoia media-sound/twolame media-video/xanim media-video/smplayer net-www/mplayerplug-in www-client/mozilla-firefox media-video/mplayer net-im/ekiga media-video/ffmpeg:
    * When performing install action from command line:
    * When executing install task:
    * When installing 'media-video/ffmpeg-20079999-r2:0::berkano':
    * Install error: Install failed for 'media-video/ffmpeg-20079999-r2:0::berkano'

  8. Ben on 26 Mar 08 - 01:57

    That is not a problem with mplayer, but with ffmpeg. I have left 20079999-r2 unmasked for people who had previously installed that version. Current subversion breaks depending packages, as I mentioned before, which is why I have 20089999 in the overlay without keywords, for the moment.

  9. Ben on 26 Mar 08 - 02:04

    Alternatively, you could mask x264, >=x264-svn-20089999 and >=ffmpeg-20079999, and use the snapshots in portage for x264-svn and ffmpeg.

  10. a-nonymous on 7 Apr 08 - 16:41

    Did this get resolved or still wait with the masked packages? I'm not sure if packages has been fixed to user newer version of the projects and able to use the latest ffmpeg/x264 code.

  11. Ben on 7 Apr 08 - 16:55

    I haven't fixed the packages in portage yet. I'll see if I can do them tonight.

Leave a Reply