Сборка пакета заново - в его зависимостях пакеты тоже заново собираются или нет?

AleksBak
ошибка вылезла, что нет libopenjpeg - хотя в случае с компиляцией makepkg не выходила и компилировал все успешно в этом случае

Если использовали какие то ключи с makepkg, можно попробовать добавить их в yaourtrc MAKEPKG="makepkg -ключи"
yaourtr после этого запускать без ключа -A

Проверьте что archlinuxarm стоит первым в списке репозитариев в pacman.conf
yaourtr по идее берет пакбилд с первой репы в списке и зависимости устанавливает от туда же
Посмотрите использовался ли пакбилд https://archlinuxarm.org/packages/armv7h/ffmpeg/files сравните с пакбилдом который вы удачно использовали
и установился ли openjpeg от сюда https://archlinuxarm.org/packages/armv7h/openjpeg
если armv7h вам подходит

Ну и настройки makepkg https://wiki.archlinux.org/index.php/Makepkg#Creating_optimized_packages
Прошу меня извинить - не было возможности вчера и сегодня проверить и написать сюда. Я когда компилирую с makepkg, уже установленный у себя пакет ffmpeg, то вот так:
sudo abs
// копируем abs пакета в какую-то локальную папку
cp -r /var/abs/extra/ffmpeg/ ~/Build/abs
cd ~/Build/abs/ffmpeg
makepkg -As
при этом загружаются исходники версии 3.0.2 как и положено (и с той ссылки, что Вы привели) и далее распаковываются и успешно они компилируются:
==> Making package: ffmpeg 1:3.0.2-2 (Mon Jun 27 09:51:14 GET 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found ffmpeg-3.0.2.tar.bz2
  -> Found ffmpeg-3.0.2.tar.bz2.asc
==> Validating source files with sha256sums...
    ffmpeg-3.0.2.tar.bz2 ... Passed
    ffmpeg-3.0.2.tar.bz2.asc ... Skipped
==> Verifying source file signatures with gpg...
    ffmpeg-3.0.2.tar.bz2 ... Passed
==> Extracting sources...
  -> Extracting ffmpeg-3.0.2.tar.bz2 with bsdtar
далее полученный архив (сам скомпилированный пакет) успешно можно установить в систему.
А когда запускаю такое:
yaourt -SbbA ffmpeg
то в ответ имею:
==> Building ffmpeg from sources.

==> Retrieving PKGBUILD and local sources...
receiving file list ...
rsync: change_dir "/armv7h/extra/ffmpeg" (in abs) failed: No such file or directory (2)
done

sent 8 bytes  received 107 bytes  76.67 bytes/sec
total size is 0  speedup is 0.00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1650) [Receiver=3.1.2]
x PKGBUILD
...
и далее под конец ошибка:
==> Building and installing package
==> Making package: ffmpeg 1:0.11.1-1 (Mon Jun 27 10:37:57 GET 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading ffmpeg-0.11.1.tar.bz2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 5930k  100 5930k    0     0   707k      0  0:00:08  0:00:08 --:--:--  930k
==> Validating source files with md5sums...
    ffmpeg-0.11.1.tar.bz2 ... Passed
==> Extracting sources...
  -> Extracting ffmpeg-0.11.1.tar.bz2 with bsdtar
==> Starting build()...
ERROR: libopenjpeg not found
Ошибка связана с тем, что скачиваются почему-то (!) исходники очень ранней версии, а она как выясняется и имела подобные проблемы, что ранне указал (не находила "нестандартные" хедеры от libopenjpeg). Почему так происходит я абсолютно не пойму покамест. В настройках pacman-а есть ссылки на репозиторий archlinuxarm, но они прописаны через приинклюденный файл /etc/pacman.d/mirrorlist:
[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

[alarm]
Include = /etc/pacman.d/mirrorlist

[aur]
Include = /etc/pacman.d/mirrorlist
а других ссылок на какие-то репозитории нет (были там ссылки некоторые на нестандартные репозитории, но я их закомментировал). На репозитории archlinux-а нет ffmpeg пакета с такой версией!! Откуда этот ffmpeg берется и почему именно такой версии я так и не пойму. Я еще поэкспериментирую с другими пакетами завтра только и отпишусь. Какие еще настройки надо показать? Спасибо большое.
AleksBak
ffmpeg 1:0.11.1-1
Да какой то старый пакбилд качает.
Вы обновляли базу пакетов?
yaourt -Syy
Какую версию выводит первой?
yaourt ffmpeg
будет качать ту что первая в списке.
Проверьте чем различаются abs.conf и pacman.conf может там разный порядок реп
vs220
Вы обновляли базу пакетов?
Да конечно и часто периодически так делаю. Спасибо Вам еще раз. Тут, где ранее я приводил скриншоты после запуска yaourt -SbbA ffmpeg, можно заметить, что вначале выходит какая-то ошибка с rsync связанная. И все хотел про нее спросить тоже.
vs220
Какую версию выводит первой?
yaourt ffmpeg
yaourt ffmpeg
1 extra/ffmpeg 1:3.0.2-2 [installed]
    Complete solution to record, convert and stream audio and video
2 extra/ffmpeg2.8 2.8.7-1.1
    Complete solution to record, convert and stream audio and video
3 extra/ffmpegthumbnailer 2.1.1-1
    Lightweight video thumbnailer that can be used by file managers.
4 extra/ffmpegthumbs 16.04.2-1 (kde-applications kdemultimedia)
    FFmpeg-based thumbnail creator for video files
5 extra/gst-libav 1.8.2-1
    Gstreamer libav Plugin
6 extra/gstreamer0.10-ffmpeg 0.10.13-2 (gstreamer0.10-plugins)
    Gstreamer FFMpeg Plugin
7 community/ffmpeg0.10 0.10.16-1.1
    Complete solution to record, convert and stream audio and video
8 community/ffmpeg2theora 0.30-2
    Simple converter to create Ogg Theora files
9 community/ffms2 2.22-2
    A libav/ffmpeg based source library and Avisynth plugin for easy frame
    accurate access
10 community/kmplayer 0.12.0-1
    Video player plugin for Konqueror and basic
    MPlayer/Xine/ffmpeg/ffserver/VDR frontend for KDE
11 community/qtav 1.10.0-2
    A cross-platform multimedia playback framework based on Qt and FFmpeg
12 community/winff 1.5.4-2
    GUI for ffmpeg
13 alarm/motion-noffmpeg 3.2.12-3
    A software motion detector which grabs images from video4linux devices
    and/or from webcams, built without FFMPEG, and requires fewer dependencies
    (~47MB -> ~3MB)
14 aur/3ncode-git r35.30e0440-1 (1) (0.00)
    Graphical video and audio converter for ffmpeg
15 aur/boblight-v4l r395-1 (0) (0.00)
    Collection of tools for driving lights connected to an external
    controller, compatible to new version of ffmpeg
16 aur/castawesome 0.16.0-1 (13) (0.54)
    A GUI frontend for ffmpeg livestreaming
17 aur/chromaprint-fftw 1.3.1-1 (7) (3.01)
    Extracts fingerprints from any audio source (uses fftw for FFT
    calculations instead of ffmpeg)
18 aur/dbus-soundrecorder 1.2.1-1 (0) (0.00)
    Records sound from Pulse Audio using ffmpeg while watching D-Bus to
    determine tracks and meta data.
19 aur/dmmediaconverter 1.8.0-1 (12) (0.54)
    a FFmpeg frontend (GUI) with video stream copy (pass-through) and other
    features
20 aur/ezthumb 3.0.4-1 (Out of Date) (3) (0.03)
    A video thumbnail generator based on ffmpeg.
21 aur/fbff-git 1:0.70.57b59a0-1 (5) (0.00)
    A small ffmpeg-based framebuffer media player.
22 aur/fdesktoprecorder-hg 1-1 (21) (0.00)
    A program that can video record a single window or your entire desktop
    using ffmpeg. (Mercurial version)
23 aur/ffcast 1:2.4.1-1 (7) (0.14)
    FFcast has almost nothing to do with FFmpeg or screencast ;)
24 aur/ffmpeg-compat-54 1.2.1-3 (58) (2.39)
    Compatibility package for ffmpeg to provide versions 54 of libavcodec,
    libavdevice and libavformat, not anymore provided by the ffmpeg package
25 aur/ffmpeg-compat-55 2.3.4-4 (15) (1.10)
    Compatibility package for ffmpeg to provide versions 55 of libavcodec,
    libavdevice and libavformat, not anymore provided by the ffmpeg package
26 aur/ffmpeg-compat-pc 1-1 (1) (0.00)
    Make ffmpeg-compat work with pkg-config
27 aur/ffmpeg-decklink 1:3.0.2-2 (0) (0.00)
    Complete solution to record, convert and stream audio and video
28 aur/ffmpeg-full 1:3.0.2-3 (Out of Date) (55) (2.71)
    Complete solution to record, convert and stream audio and video (with all
    options)
29 aur/ffmpeg-full-arm-git N.78257.gdd57b31-1 (0) (0.00)
    Record, convert and stream audio and video (Git version with all possible
    libs) - ARM Compliant
30 aur/ffmpeg-full-git N.80614.g7e4e8fd-1 (1) (0.02)
    Record, convert and stream audio and video (Git version with all possible
    libs)
31 aur/ffmpeg-full-nvenc 1:3.1-2 (11) (2.38)
    Record, convert, and stream audio and video (all codecs including Nvidia
    NVENC)
32 aur/ffmpeg-git r77492.f16e4a0-1 (48) (0.39)
    Complete solution to record, convert and stream audio and video (git
    version)
33 aur/ffmpeg-headless 1:3.0.2-1 (6) (0.17)
    Complete solution to record, convert and stream audio and video; optimised
    for server (headless) systems
34 aur/ffmpeg-headless2.8 1:2.8.7-1 (0) (0.00)
    Complete solution to record, convert and stream audio and video; optimised
    for server (headless) systems
35 aur/ffmpeg-libfdk_aac 1:3.0.2-1 (28) (0.38)
    Complete solution to record, convert and stream audio and video (Same as
    official package except with libfdk-aac support)
36 aur/ffmpegthumbs-git r91.c06602f-1 (16) (0.05)
    FFmpeg-based thumbnail creator for video files
37 aur/ffmpegthumbs-mattepaint 0.7-1 (4) (0.01)
    An alternative version of the standard KDE ffmpegthumbs.
38 aur/ffmpegyag 0.7.6-1 (0) (0.00)
    Simple FFmpeg GUI for Linux & Windows
39 aur/ffms2-git 2.22.0.g129952a-1 (11) (0.01)
    An FFmpeg/Libav based source library and Avisynth/Vapoursynth plugin for
    easy frame accurate access. (GIT version)
40 aur/hypervc-qt4 0.4.1-3 (39) (0.00)
    Qt frontend for various command line tools such as ffmpeg or mencoder
41 aur/lib32-ffmpeg 1:3.0.2-2 (10) (0.72)
    Complete solution to record, convert and stream audio and video (32 bit)
42 aur/lib32-ffmpeg-compat 1:0.10.16-2 (2) (0.29)
    Complete and free Internet live audio and video broadcasting solution
    (32bit)
43 aur/libavutil-52 2.3.4-1 (49) (3.64)
    Compatibility package for ffmpeg to provide versions 52 of libavutil not
    anymore provided by the ffmpeg package
44 aur/mingw-w64-ffmpeg 1:3.0.1-1 (5) (0.19)
    Complete solution to record, convert and stream audio and video (mingw-w64)
45 aur/mpd-light 0.19.16-1 (6) (0.04)
    Flexible, powerful, server-side application for playing music. Light
    version without ao, ffmpeg, jack, modplug, pulse, shout, sidplay,
    soundcloud, wavpack, avahi, smbclient support.
46 aur/mpv-build-git 20160501.f54e555-1 (11) (0.13)
    Video player based on MPlayer/mplayer2 (uses statically linked ffmpeg).
    (GIT version)
47 aur/ocaml-ffmpeg 0.1.2-1 (0) (0.00)
    OCaml bindings to the FFmpeg library
48 aur/octave-video 1.2.2-1 (1) (0.05)
    A wrapper for ffmpeg's libavformat and libavcodec, implementing addframe,
    avifile, aviinfo and aviread.
49 aur/openpht-ffmpeg 2.8.7-3 (0) (0.00)
    FFMPEG modified for OpenPHT 1.6
50 aur/opera-beta-ffmpeg-codecs 52.0.2743.10-1 (2) (0.05)
    additional support for proprietary codecs for opera-beta
51 aur/opera-developer-ffmpeg-codecs 53.0.2756.0-1 (11) (2.87)
    additional support for proprietary codecs for opera-developer
52 aur/opera-ffmpeg-codecs 51.0.2704.63-1 (29) (3.37)
    additional support for proprietary codecs for opera
53 aur/pyhenkan-git r83.2b4fb75-1 (1) (0.02)
    Transcoding suite built around VapourSynth and FFmpeg
54 aur/qwinff 0.2.1-1 (8) (1.52)
    A Qt4/5 GUI frontend for ffmpeg
55 aur/sfemovie-git 1-2 (0) (0.00)
    sfeMovie is a simple C++ library that lets you play movies in SFML based
    applications. It relies on FFmpeg to read medias and remains consistent
    with SFML's naming conventions.
56 aur/sundtek-ffmpeg-plugin 1:0.8.r15563.ge9b8523-1 (3) (0.00)
    Sundtek driver plugin to use analog TV with tvheadend
57 aur/tragtor 0.9.2-1 (66) (0.72)
    A graphical user interface for ffmpeg
58 aur/vhs 2.7.6-0 (0) (0.00)
    Video Handler Script (VHS) aka ffmpeg-tui
59 aur/vicky 1.6.2-1 (1) (0.00)
    GUI program that converts video files to sound files using ffmpeg
60 aur/vivaldi-beta-ffmpeg-codecs 48.0.2564.109-1 (3) (0.77)
    additional support for proprietary codecs for vivaldi
61 aur/vivaldi-ffmpeg-codecs 51.0.2704.103-1 (35) (5.15)
    additional support for proprietary codecs for vivaldi
62 aur/vivaldi-snapshot-ffmpeg-codecs 51.0.2704.65-1 (12) (1.67)
    additional support for proprietary codecs for vivaldi
63 aur/zymp3 0.1.7-1 (3) (1.75)
    youtube-dl and ffmpeg frontend, converts videos to mp3
==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
==> --------------------------------------------------------
==> ^C
Извините, что немного длинный список вышел. Если посмотреть, то самый первый в нем только и установлен:
extra/ffmpeg 1:3.0.2-2 [[b]installed[/b]]
и кроме др. установленных получается, что нет (ffmpeg есть еще в зависимостях установленного chromium-а, но это так просто информация). И нет в этом списке этой непонятной версии 0.11.1-1.
vs220
Проверьте чем различаются abs.conf и pacman.conf может там разный порядок реп
Громадное Вам спасибо. Похоже отсюда и растут ноги тут. И даже не ожидал, что такая засада будет. Вот, то что в abs.conf прописано:
#
# /etc/abs.conf
#

# the top-level directory of all your PKGBUILDs
[ "$ABSROOT" = "" ] && ABSROOT="/var/abs/"

#
# Server to sync from
#
SYNCSERVER="rsync.archlinux.org"

#
# The architecture to fetch abs for
# Either i686 or x86_64
#
ARCH="i686"

#
#
# Pacman mirror list used for syncing via tarball
#
MIRRORLIST="/etc/pacman.d/mirrorlist"

#
# REPOS to be parsed by abs (in this order)
#   (prefix a repo with a ! to disable it)
#
# Note: If a repo is removed, it is still fetched!
# Repos must be preceded with a ! to prevent fetching
#
REPOS=(core extra community multilib !testing !community-testing !multilib-test$
       !staging !community-staging !gnome-unstable !kde-unstable)
Только теперь вопрос на что поменять эту переменную: SYNCSERVER и нужно ли (может другого и нет нигде кроме как у "rsync.archlinux.org". Я еще попробую поискать на сайте у archlinuxarm-а. Список внутри /etc/pacman.d/mirrorlist длинный и ведет на сервера с различным геолокациями и все в этом списке они такого формата:
http://au.mirror.archlinuxarm.org/$arch/$repo
где вместо au может быть de например, или ru (!) и т.п.
Не получилось у меня никак решить эту проблему. Некоторые PKGBUILD-ы (в т.ч. и этот пресловутый ffmpeg) для данной архитектуры arm другие, но у archlinuxarm нет своего ABS, насколько я понял:
The ABS is not actually armv7h capable. We don't have a separate ABS, but rather an overlay for those packages that need modified. We based of i686, and then use our github PKGBUILDs as an overlay to that.
ссылка. Когда yaourt запускает процесс компиляции он синхронизирует локальный ABS с помощью rsync-а. Так получается. И никак я не нашел подходящий ключ чтобы отключить эту синхронизацию. Специфичные PKGBUILD-ы для arm находятся на github-е. Но там http интерфейс. Можно склонировать локально и перезаписать у себя эти PKGBUILD-ы на эти скопированные:
git clone https://github.com/archlinuxarm/PKGBUILDs.git
sudo cp -av PKGBUILDs/* /var/abs
Но как(с помощью каких ключей или как еще) указать yaourt-у не обновлять PKGBUILD для какого-то отдельного пакета при его компиляции. Я читал насчет возможности создания немодифицируемых пакетов в вики, когда в PKGBUILD указывается соотв. поле, но пока моих знаний не хватило это сделать.
Даже если закомментирую в abs.conf строчку:
SYNCSERVER="rsync.archlinux.org"
все равно без толку. Странно.
AleksBak
указать yaourt-у не обновлять PKGBUILD
Тут только наверное править скрипт /usr/lib/yaourt/abs.sh

AleksBak
Можно склонировать локально и перезаписать у себя эти PKGBUILD-ы на эти скопированные:

git clone https://github.com/archlinuxarm/PKGBUILDs.git
sudo cp -av PKGBUILDs/* /var/abs

Можно тогда ставить из локальных пакбилдов
cd /var/abs
yaourt -Pi extra/ffmpeg
vs220
Тут только наверное править скрипт /usr/lib/yaourt/abs.sh
Не знал даже, что там простой скрипт. Столько ценного узнал от Вас. Спасибо.
 
Зарегистрироваться или войдите чтобы оставить сообщение.