Opened 5 years ago

Closed 5 years ago

#57782 closed defect (fixed)

librsvg @2.40.20_0+x11 patch failure

Reported by: mrkapqa Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: pixilla (Bradley Giesbrecht)
Port: librsvg

Description (last modified by mrkapqa)

Hello , i tried to install older Mpv and combined dependendcies (all should be older files) using suggestion to git checkout and run portindex

  1. installed MacPorts 2.3.5-10.6 SnowLeopard (assuming that this is the MacPorts that most matches Mpv@0.26)
  2. sudo port install git
  3. git clone --single-branch https://github.com/macports/macports-ports.git

3a. git checkout @mpv history commit that matches version@0.26

richs-imac:~ rich$ cd macports-ports/
richs-imac:macports-ports rich$ git checkout 25514ec35106cb0203d7f40684abe989dc788b71
HEAD ist jetzt bei 25514ec351 multimedia/mpv: update to 0.26.0. Fixes: https://trac.macports.org/ticket/54023 (#54023)
  1. do portindex
richs-imac:macports-ports rich$ portindex
Creating port index in /Users/rich/macports-ports

Total number of ports parsed:	19943 
Ports successfully parsed:	19941 
Ports failed:			2 
Up-to-date ports skipped:	0
  1. install desired port (mpv) with attributes
richs-imac:macports-ports rich$ cd multimedia/mpv/
richs-imac:mpv rich$ sudo port install +audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband+x11
Password:
Warning: no archive_cxx_stdlib configured for site 'macports_archives'
Warning: no archive_delete_la_files configured for site 'macports_archives'
Warning: no archive_cxx_stdlib configured for site 'macports_archives'
Warning: no archive_delete_la_files configured for site 'macports_archives'


--->  Computing dependencies for mpv
The following dependencies will be installed: 
 AtomicParsley
 Xft2
 XviD
 autoconf
 autoconf-archive
 automake
 cairo
 clang-3.4
 clang_select
 ffmpeg
 flac
 fontconfig
 freetype
 fribidi
 gd2
 gdk-pixbuf2
 giflib
 gmake
 gmp
 gnome-common
 gnutls
 gobject-introspection
 graphite2
 graphviz
 gts
 harfbuzz
 icu
 intltool
 jasper
 jbigkit
 jpeg
 lame
 lcms2
 ld64
 ld64-127
 legacy-support
 libLASi
 libarchive
 libass
 libbluray
 libcddb
 libcdio
 libcdio-paranoia
 libcroco
 libdvdcss
 libdvdnav
 libdvdread
 libgcc
 libgcc8
 libmodplug
 libnetpbm
 libogg
 libopus
 libpixman
 libpng
 librsvg
 libsdl2
 libsndfile
 libtasn1
 libtheora
 libtool
 libvorbis
 libvpx
 libxml2
 libxslt
 llvm-3.4
 llvm_select
 lua52
 lz4
 lzo2
 mesa
 nasm
 nettle
 openjpeg
 ossp-uuid
 p11-kit
 p5.26-data-dump
 p5.26-encode-locale
 p5.26-file-listing
 p5.26-getopt-long
 p5.26-html-form
 p5.26-http-cookies
 p5.26-http-daemon
 p5.26-http-date
 p5.26-http-message
 p5.26-http-negotiate
 p5.26-io-html
 p5.26-libwww-perl
 p5.26-lwp-mediatypes
 p5.26-lwp-protocol-https
 p5.26-net-http
 p5.26-pathtools
 p5.26-scalar-list-utils
 p5.26-sub-name
 p5.26-try-tiny
 p5.26-uri
 p5.26-www-robotrules
 p5.26-xml-parser
 pango
 perl5
 pkgconfig
 py27-beaker
 py27-docutils
 py27-funcsigs
 py27-mako
 py27-markdown
 py27-markupsafe
 py27-roman
 py27-setuptools
 rubberband
 shared-mime-info
 soxr
 speex
 swig
 swig-python
 texinfo
 tiff
 urw-fonts
 vala
 webp
 x264
 x265
 xorg-libX11
 xorg-libXScrnSaver
 xorg-libXau
 xorg-libXaw
 xorg-libXcursor
 xorg-libXdamage
 xorg-libXdmcp
 xorg-libXext
 xorg-libXfixes
 xorg-libXi
 xorg-libXinerama
 xorg-libXmu
 xorg-libXrandr
 xorg-libXt
 xorg-libXv
 xorg-libXxf86vm
 xorg-libice
 xorg-libpthread-stubs
 xorg-libsm
 xorg-libxcb
 xorg-xcb-proto
 xorg-xcb-util
 xorg-xorgproto
 xpm
 xrender
 youtube-dl
 zstd

Continue? [Y/n]: y

all goes well, until

--->  Fetching archive for librsvg
--->  Attempting to fetch librsvg-2.40.20_0+x11.darwin_10.x86_64.tbz2 from http://lil.fr.packages.macports.org/librsvg
--->  Attempting to fetch librsvg-2.40.20_0+x11.darwin_10.x86_64.tbz2 from http://fco.it.packages.macports.org/mirrors/macports-packages/librsvg
--->  Attempting to fetch librsvg-2.40.20_0+x11.darwin_10.x86_64.tbz2 from https://packages.macports.org/librsvg
--->  Fetching distfiles for librsvg
--->  Attempting to fetch librsvg-2.40.20.tar.xz from http://lil.fr.distfiles.macports.org/librsvg
--->  Verifying checksums for librsvg                                           
--->  Extracting librsvg
--->  Applying patches to librsvg
Error: Failed to patch librsvg: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_librsvg/librsvg/main.log for details.

please see attached error.log;

hope i did not attempt a grave "architektural" design-error.

Attachments (1)

librsvg.txt (7.3 KB) - added by mrkapqa 5 years ago.

Download all attachments as: .zip

Change History (9)

Changed 5 years ago by mrkapqa

Attachment: librsvg.txt added

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Keywords: mpv snow leopard portfile librsvg removed
Port: librsvg added; mpv removed
Resolution: wontfix
Status: newclosed

This is more a "can't fix" than a "won't fix": the problem with using an old version of the ports tree is that you get old bugs. So we really can't provide support for using anything other than the latest version.

You'll either have to find a different commit that works for librsvg, or manually fix the patch that isn't able to apply.

comment:2 Changed 5 years ago by jmroot (Joshua Root)

Resolution: wontfix
Status: closedreopened
Summary: (librsvg@2.40.20_0+x11.darwin_10.x86_64@SnowLeopard) Failed to patch librsvglibrsvg @2.40.20_0+x11 patch failure
Version: 2.3.5

Actually, it looks like you're using the current version of librsvg (I didn't realise at first that a different version is used on 10.6). So you need to configure sources.conf to use your git checkout and start again, since all dependencies of mpv would have been installed from the current ports tree and only mpv itself from the git checkout.

Reopening since this is an issue with the current version, even if the reporter didn't mean to use it. :)

comment:3 Changed 5 years ago by jmroot (Joshua Root)

Cc: pixilla added
Owner: set to dbevans
Status: reopenedassigned

comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:5 Changed 5 years ago by mrkapqa

Hello , i tried today anew with a fresh macports installation, and getting the same error

---> Attempting to fetch librsvg-2.40.20.tar.xz from https://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.gnome.org/sources/librsvg/2.44/ ---> Attempting to fetch librsvg-2.40.20.tar.xz from https://distfiles.macports.org/librsvg ---> Verifying checksums for librsvg ---> Extracting librsvg ---> Applying patches to librsvg Error: Failed to patch librsvg: command execution failed

to see if i can overcome this error with an older build according to your suggestion (to configure sources.conf to use the git checkout)

comment:6 Changed 5 years ago by mrkapqa

Description: modified (diff)

comment:7 Changed 5 years ago by mrkapqa

Hello , i have tried the following:

1.sudo port install git

2.git clone --single-branch https://github.com/macports/macports-ports.git

3.https://trac.macports.org/wiki/howto/SyncingWithGit

sudo nano /opt/local/etc/macports/sources.conf

commented out rsync:// >> inserted file:///Users/rich/macports-ports)

4.sudo port -v sync

5.cd macports-ports

git checkout 29fd6b3cebd9f0f68c276587e9d7bbe7daff0f60

(mpv@0.22)

(https://github.com/macports/macports-ports/tree/29fd6b3cebd9f0f68c276587e9d7bbe7daff0f60)

6.cd multimedia/mpv

7.sudo port install +audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband+x11 6.

richs-imac:mpv rich$ sudo port install +audiocd+bundle+dvd+libarchive+network+opengl+osd+python27+rubberband+x11 Warning: No default port source specified in /opt/local/etc/macports/sources.conf, using last source as default Portfile changed since last build; discarding previous state. Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' ---> Fetching distfiles for gperf ---> Attempting to fetch gperf-3.0.4.tar.gz from https://distfiles.macports.org/gperf ---> Verifying checksums for gperf ---> Extracting gperf ---> Applying patches to gperf ---> Configuring gperf ---> Building gperf ---> Staging gperf into destroot ---> Installing gperf @3.0.4_2 ---> Activating gperf @3.0.4_2 ---> Cleaning gperf Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' ---> Computing dependencies for mpvWarning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Warning: no archive_cxx_stdlib configured for site 'macports_archives' Warning: no archive_delete_la_files configured for site 'macports_archives' Error: Unable to execute port: p5-graveyard does not have a subport 'p5.24-locale-gettext'

please tell me where i erred, thank you very much.

comment:8 Changed 5 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

In 0c03fc0153a64fbdfc4ad161b99e26304c24c6b0/macports-ports (master):

librsvg: fix patch for pre-cargo fallback version, rebuild

Closes: #57782.

Note: See TracTickets for help on using tickets.