[MacPorts] #19837: Error installing font-adobe-utopia-type1
#19837: Error installing font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: blb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Brand new Mac Pro. Mac OS X 10.5.7. Macports 1.7.1. Xcode 3.1.2. I see the following error: {{{ ---> Fetching font-adobe-utopia-type1 ---> Verifying checksum(s) for font-adobe-utopia-type1 ---> Extracting font-adobe-utopia-type1 ---> Configuring font-adobe-utopia-type1 ---> Building font-adobe-utopia-type1 ---> Staging font-adobe-utopia-type1 into destroot Error: Target org.macports.destroot returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_font-adobe-utopia-type1/work/font-adobe-utopia- type1-1.0.1" && make install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_font-adobe-utopia-type1/work/destroot " returned error 2 Command output: make[1]: Nothing to be done for `install-exec-am'. /bin/sh ./mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_font-adobe-utopia- type1/work/destroot/opt/local/share/fonts/Type1 mkdir -p -- /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_font-adobe-utopia- type1/work/destroot/opt/local/share/fonts/Type1 /usr/bin/install -c -m 644 UTB_____.afm /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_font-adobe-utopia- type1/work/destroot/opt/local/share/fonts/Type1/UTB_____.afm /usr/bin/install -c -m 644 UTBI____.afm /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_font-adobe-utopia- type1/work/destroot/opt/local/share/fonts/Type1/UTBI____.afm /usr/bin/install -c -m 644 UTBI____.pfa /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_font-adobe-utopia- type1/work/destroot/opt/local/share/fonts/Type1/UTBI____.pfa /usr/bin/install -c -m 644 UTB_____.pfa /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_font-adobe-utopia- type1/work/destroot/opt/local/share/fonts/Type1/UTB_____.pfa /usr/bin/install -c -m 644 UTI_____.afm /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_font-adobe-utopia- type1/work/destroot/opt/local/share/fonts/Type1/UTI_____.afm /usr/bin/install -c -m 644 UTI_____.pfa /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_font-adobe-utopia- type1/work/destroot/opt/local/share/fonts/Type1/UTI_____.pfa /usr/bin/install -c -m 644 UTRG____.afm /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_font-adobe-utopia- type1/work/destroot/opt/local/share/fonts/Type1/UTRG____.afm /usr/bin/install -c -m 644 UTRG____.pfa /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_font-adobe-utopia- type1/work/destroot/opt/local/share/fonts/Type1/UTRG____.pfa make install-data-hook /opt/local/bin/mkfontscale /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_font-adobe-utopia- type1/work/destroot/opt/local/share/fonts/Type1 /opt/local/bin/mkfontdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_font-adobe-utopia- type1/work/destroot/opt/local/share/fonts/Type1 /usr/X11/bin/fc-cache /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_font-adobe-utopia- type1/work/destroot/opt/local/share/fonts/Type1 dyld: Library not loaded: /usr/X11/lib/libfontconfig.1.dylib Referenced from: /usr/X11/bin/fc-cache Reason: image not found make[2]: *** [install-data-hook] Trace/BPT trap make[1]: *** [install-data-am] Error 2 make: *** [install-am] Error 2 Error: The following dependencies failed to build: xorg-fonts font-adobe- utopia-type1 font-alias font-arabic-misc font-bh-100dpi font-bh-75dpi font-bh-lucidatypewriter-100dpi font-bh-lucidatypewriter-75dpi font-bh-ttf font-bh-type1 font-bitstream-100dpi font-bitstream-75dpi font-bitstream- speedo font-bitstream-type1 font-cronyx-cyrillic font-cursor-misc font- daewoo-misc font-dec-misc font-ibm-type1 font-isas-misc font-jis-misc font-micro-misc font-misc-cyrillic font-misc-ethiopic font-misc-meltho font-misc-misc font-mutt-misc font-schumacher-misc font-screen-cyrillic font-sony-misc font-sun-misc font-winitzki-cyrillic font-xfree86-type1 xorg-encodings xorg-fontsproto xorg-glproto xorg-libAppleWM xorg-libXext xorg-libXfixes xorg-libXfont xorg-fontcacheproto xorg-libXt xorg-libsm xorg-libice xorg-libxkbfile xorg-randrproto xorg-recordproto xorg- renderproto xorg-resourceproto xorg-scrnsaverproto xorg-trapproto xorg- videoproto xorg-xineramaproto Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/19837> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19837: Error installing font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: blb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Changes (by macsforever2000@…): * cc: jeremyhu@… (added) -- Ticket URL: <http://trac.macports.org/ticket/19837#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19837: Error installing font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: blb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Comment(by jeremyhu@…): As far as MP is concerned, this should be fixed with r51724 But I'm now curious why you are missing /usr/X11/lib/libfontconfig.1.dylib ? Did you uninstall OSX's X11 to use MacPorts'? That doesn't seem the case because you have /usr/X11/bin/fc-cache present. What's the output of: ls -l /usr/X11/lib/libfont* -- Ticket URL: <http://trac.macports.org/ticket/19837#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19837: Error installing font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: blb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Comment(by macsforever2000@…): {{{ $ ls -l /usr/X11/lib/libfont* -rwxr-xr-x 1 root wheel 1078864 Sep 23 2007 /usr/X11/lib/libfontconfig.1.1.0.dylib lrwxr-xr-x 1 root wheel 21 May 18 08:36 /usr/X11/lib/libfontconfig.1.3.0.dylib -> libfontconfig.1.dylib -rwxr-xr-x 1 root wheel 780624 May 17 19:04 /usr/X11/lib/libfontconfig.1.dylib lrwxr-xr-x 1 root wheel 21 May 18 08:36 /usr/X11/lib/libfontconfig.dylib -> libfontconfig.1.dylib -rwxr-xr-x 1 root wheel 931 May 17 19:04 /usr/X11/lib/libfontconfig.la lrwxr-xr-x 1 root wheel 18 May 18 08:36 /usr/X11/lib/libfontenc.1.0.0.dylib -> libfontenc.1.dylib -rwxr-xr-x 1 root wheel 119144 May 17 19:41 /usr/X11/lib/libfontenc.1.dylib lrwxr-xr-x 1 root wheel 18 May 18 08:36 /usr/X11/lib/libfontenc.dylib -> libfontenc.1.dylib -rwxr-xr-x 1 root wheel 820 May 17 19:41 /usr/X11/lib/libfontenc.la }}} It's a clean install of Mac OS X on the latest Mac Pro, then I updated to 10.5.7. -- Ticket URL: <http://trac.macports.org/ticket/19837#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19837: Error installing font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: blb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Comment(by macsforever2000@…): I'm sorry, ignore my last post. Here's the output from the machine in question: {{{ $ ls -l /usr/X11/lib/libfont* -rwxr-xr-x 1 root wheel 1056752 Mar 19 00:38 /usr/X11/lib/libfontconfig.1.3.0.dylib -rwxr-xr-x 1 root wheel 152960 Mar 12 18:38 /usr/X11/lib/libfontenc.1.dylib }}} -- Ticket URL: <http://trac.macports.org/ticket/19837#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19837: Error installing font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: blb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Comment(by blb@…): I think we need to also set FCCACHE in configure.env to make sure it uses MacPorts' fc-cache, since Frank says fontconfig was already installed when this failed. Though looking at configure it should be picking up MacPorts' anyway since it just goes through PATH. Possibly seeing config.log would help figure out why it picked the one in /usr/X11. -- Ticket URL: <http://trac.macports.org/ticket/19837#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19837: Error installing font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: blb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Comment(by macsforever2000@…): Yes, fontconfig is installed: {{{ The following ports are currently installed: fontconfig @2.6.0_2+macosx (active) }}} -- Ticket URL: <http://trac.macports.org/ticket/19837#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19837: Error installing font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: blb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Comment(by jeremyhu@…): So you obviously have: /usr/X11/lib/libfontconfig.1.dylib I don't understand why you're seeing this: dyld: Library not loaded: /usr/X11/lib/libfontconfig.1.dylib Referenced from: /usr/X11/bin/fc-cache Reason: image not found Do you have any LD_* or DYLD_* environment variables set? As for fc-cache... it looks like the configure script just prefers the system one over MP's ... but that's alright since we end up running it ourselves in post-activate now... I really have no clue why you're seeing the /usr/X11/bin/fc-cache failure. Your data seems contradictory. Am I missing something? What is the output of: file /usr/X11/lib/libfontconfig.1.dylib perhaps it's missing your arch (yes, I'm grasping at straws here) -- Ticket URL: <http://trac.macports.org/ticket/19837#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19837: Error installing font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: blb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Comment(by blb@…): I can't seem to get it to prefer /usr/X11/bin/fc-cache here, configure definitely picked the MacPorts' one. Looking at your config.log, the PATH is right so it should have hit MacPorts' first; does /opt/local/bin/fc- cache exist? If so, does {{{/opt/local/bin/fc-cache -h}}} work or fail? Note that using MacPorts' fc-cache in post-activate won't fix running the other one at destroot time if that one fails. Though -- Ticket URL: <http://trac.macports.org/ticket/19837#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19837: Error installing font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: blb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Comment(by macsforever2000@…): Replying to [comment:7 jeremyhu@…]:
So you obviously have: /usr/X11/lib/libfontconfig.1.dylib
No, I don't. See my next comment. Sorry for the mistake. -- Ticket URL: <http://trac.macports.org/ticket/19837#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19837: Error installing font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: blb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Comment(by macsforever2000@…): Replying to [comment:8 blb@…]:
I can't seem to get it to prefer /usr/X11/bin/fc-cache here, configure definitely picked the MacPorts' one. Looking at your config.log, the PATH is right so it should have hit MacPorts' first; does /opt/local/bin/fc- cache exist? If so, does {{{/opt/local/bin/fc-cache -h}}} work or fail?
Yes, it exists. {{{ $ /opt/local/bin/fc-cache -?usage: /opt/local/bin/fc-cache [-frsvV?] [--force|--really-force] [--system-only] [--verbose] [--version] [--help] [dirs] Build font information caches in [dirs] (all directories in font configuration by default). -f, --force scan directories with apparently valid caches -r, --really-force erase all existing caches, then rescan -s, --system-only scan system-wide directories only -v, --verbose display status information while busy -V, --version display font config version and exit -?, --help display this help and exit }}} -- Ticket URL: <http://trac.macports.org/ticket/19837#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19837: Error installing font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: blb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Comment(by jeremyhu@…): configure.ac is doing: {{{ AC_PATH_PROG(MKFONTDIR, mkfontdir) AC_PATH_PROG(FCCACHE, fc-cache) }}} So it should find/use MP's fc-cache ... -- Ticket URL: <http://trac.macports.org/ticket/19837#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19837: Error installing font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: blb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: font-adobe-utopia-type1 ------------------------------------------+--------------------------------- Comment(by blb@…): Hmm, so fontconfig was available at the time, and fc-cache is in /opt/local/bin and should have been seen; binpath isn't putting /usr/X11/bin early according to the config.log, and other programs (like mkfontdir) which are in both locations worked properly. fc-cache doesn't appear to crash on simple usage, though I don't recall AC_PATH_PROG actually testing anything. I can't see what would cause it to use a different fc-cache, skipping the MacPorts' one unless it was sunspots... -- Ticket URL: <http://trac.macports.org/ticket/19837#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19837: Error installing font-adobe-utopia-type1 -------------------------------------------+-------------------------------- Reporter: macsforever2000@… | Owner: blb@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: Port: font-adobe-utopia-type1 | -------------------------------------------+-------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => invalid Comment: So today I rebooted and run a selfupdate and the install worked. I'm not sure why it's working now, but I'm going to close this ticket. -- Ticket URL: <http://trac.macports.org/ticket/19837#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts