Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#25864 closed defect (worksforme)

freetype-2.4.1: No such file or directory

Reported by: davidhasovic@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: freetype

Description (last modified by ryandesign (Ryan Carsten Schmidt))

i have done port selfupdate and port upgrade outdated

sudo port install -f kcachegrind
--->  Computing dependencies for kcachegrind
--->  Dependencies to be installed: kdelibs3 dejavu-fonts fontconfig freetype flex glib2 hicolor-icon-theme jasper jpeg libart_lgpl libpng libxml2 libxslt mesa glut makedepend xorg-xproto xorg-dri2proto xorg-glproto xorg-libXfixes xorg-fixesproto xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-libXdmcp xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXi xorg-libXext xorg-libXmu xorg-libXt xorg-libsm xorg-libice openexr ilmbase qt3 Xft2 xrender xorg-renderproto xorg-libXcursor xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto tiff unsermake python26 gdbm tk tcl xorg-libXScrnSaver xorg-scrnsaverproto
--->  Applying patches to freetype
Error: Target org.macports.patch returned: shell command failed
Log for freetype is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_freetype/main.log
Error: The following dependencies failed to build: kdelibs3 dejavu-fonts fontconfig freetype flex glib2 hicolor-icon-theme jasper jpeg libart_lgpl libpng libxml2 libxslt mesa glut makedepend xorg-xproto xorg-dri2proto xorg-glproto xorg-libXfixes xorg-fixesproto xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-libXdmcp xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXi xorg-libXext xorg-libXmu xorg-libXt xorg-libsm xorg-libice openexr ilmbase qt3 Xft2 xrender xorg-renderproto xorg-libXcursor xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto tiff unsermake python26 gdbm tk tcl xorg-libXScrnSaver xorg-scrnsaverproto
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Can anyone help?

Thank you in advance :-)

Change History (6)

comment:1 Changed 14 years ago by davidhasovic@…

here is the log also:

version:1
:debug:main Executing org.macports.main (freetype)
:debug:main Skipping completed org.macports.fetch (freetype)
:debug:main Skipping completed org.macports.checksum (freetype)
:debug:main setting option extract.cmd to /usr/bin/bzip2
:debug:main Skipping completed org.macports.extract (freetype)
:debug:patch patch phase started at Thu Jul 29 22:14:47 BST 2010
:debug:patch Executing org.macports.patch (freetype)
:msg:patch --->  Applying patches to freetype
:info:patch --->  Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/print/freetype/files/patch-detect.mk.diff
:debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_freetype/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_freetype/work/freetype-2.4.1" && /usr/bin/patch -p0'
:info:patch sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_freetype/work/freetype-2.4.1: No such file or directory
:info:patch shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_freetype/work/freetype-2.4.1" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/print/freetype/files/patch-detect.mk.diff'" returned error 1
:error:patch Target org.macports.patch returned: shell command failed
:debug:patch Backtrace: shell command failed
while executing
"command_exec patch "" "< '$patch'""
(procedure "portpatch::patch_main" line 33)
invoked from within
"$procedure $targetname"
:info:patch Warning: the following items did not execute (for freetype): org.macports.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:patch Log for freetype is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_freetype/main.log

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: freetype added
Summary: i cannot install kcache grind on snow leopard 10.6.4freetype-2.4.1: No such file or directory

Please remember to use WikiFormatting, to fill in the Port field and Summary line relevant to the port that actually failed (freetype in this case) (not the port that you ultimately wanted to install), and to Cc that port's maintainer (that's me in this case).

Please clean the port and try again:

sudo port clean freetype
sudo port install freetype

If it fails again, immediately attach (not paste) the main.log; the log you copied above was obviously done after the port had already failed once and you tried again without cleaning.

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Did that work?

comment:4 Changed 14 years ago by davidhasovic@…

Yup it worked!

Thank you very much.

David

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

Resolution: worksforme
Status: newclosed

comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

This was probably caused by #29223.

Note: See TracTickets for help on using tickets.