Opened 15 years ago

Closed 15 years ago

#21043 closed defect (invalid)

update error

Reported by: timyding@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: upgrade outdate Cc:
Port:

Description (last modified by blb@…)

Today, I installed new macport for snow leopard and wanted to upgrade it.

I ran 'selfupdate' and got error when I ran 'upgrade outdate'.

The message is:

% sudo port -d upgrade outdated                                         [~]
...
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/fontconfig
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: fontconfig 2.7.1_0 exists in the ports tree
DEBUG: fontconfig 2.6.0_2 +macosx is the latest installed
DEBUG: fontconfig 2.6.0_2 +macosx is active
DEBUG: Merging existing variants macosx into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/fontconfig
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.0.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port fontconfig.
DEBUG: Requested variant i386 is not provided by port fontconfig.
DEBUG: Executing variant macosx provides macosx
--->  Computing dependencies for fontconfig
DEBUG: Searching for dependency: libiconv
DEBUG: Found Dependency: receipt exists for libiconv
DEBUG: Searching for dependency: expat
DEBUG: Found Dependency: receipt exists for expat
DEBUG: Searching for dependency: freetype
DEBUG: Found Dependency: receipt exists for freetype
DEBUG: Executing org.macports.main (fontconfig)
DEBUG: Skipping completed org.macports.fetch (fontconfig)
DEBUG: Skipping completed org.macports.checksum (fontconfig)
DEBUG: Skipping completed org.macports.extract (fontconfig)
DEBUG: Skipping completed org.macports.patch (fontconfig)
DEBUG: Skipping completed org.macports.configure (fontconfig)
--->  Building fontconfig
DEBUG: Executing org.macports.build (fontconfig)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/fontconfig-2.7.1" && /usr/bin/make -j2 all'
/usr/bin/make  all-recursive
Making all in fontconfig
make[2]: Nothing to be done for `all'.
Making all in fc-case
/usr/bin/make  all-am
make[3]: Nothing to be done for `all-am'.
Making all in fc-lang
/usr/bin/make  all-am
make[3]: Nothing to be done for `all-am'.
Making all in fc-glyphname
/usr/bin/make  all-am
make[3]: Nothing to be done for `all-am'.
Making all in fc-arch
/usr/bin/make  all-am
make[3]: Nothing to be done for `all-am'.
Making all in src
/usr/bin/make  all-am
/bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.2  -O2 -arch x86_64 -version-info 5:1:4 -no-undefined  -L/opt/local/lib -o libfontconfig.la -rpath /opt/local/lib fcatomic.lo fcblanks.lo fccache.lo fccfg.lo fccharset.lo fcdbg.lo fcdefault.lo fcdir.lo fcformat.lo fcfreetype.lo fcfs.lo fcinit.lo fclang.lo fclist.lo fcmatch.lo fcmatrix.lo fcname.lo fcpat.lo fcserialize.lo fcstr.lo fcxml.lo ftglue.lo  -L/opt/local/lib -lfreetype -lz -L/opt/local/lib -lxml2 -lpthread -lz -liconv -lm    
libtool: link: /usr/bin/gcc-4.2 -dynamiclib  -o .libs/libfontconfig.1.dylib  .libs/fcatomic.o .libs/fcblanks.o .libs/fccache.o .libs/fccfg.o .libs/fccharset.o .libs/fcdbg.o .libs/fcdefault.o .libs/fcdir.o .libs/fcformat.o .libs/fcfreetype.o .libs/fcfs.o .libs/fcinit.o .libs/fclang.o .libs/fclist.o .libs/fcmatch.o .libs/fcmatrix.o .libs/fcname.o .libs/fcpat.o .libs/fcserialize.o .libs/fcstr.o .libs/fcxml.o .libs/ftglue.o   -L/opt/local/lib /opt/local/lib/libfreetype.dylib /opt/local/lib/libxml2.dylib -lpthread -lz /opt/local/lib/libiconv.dylib -lm  -arch x86_64   -install_name  /opt/local/lib/libfontconfig.1.dylib -compatibility_version 6 -current_version 6.1 -Wl,-single_module
ld: warning: in /opt/local/lib/libfreetype.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libxml2.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libz.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libiconv.dylib, file is not of required architecture
Undefined symbols:
  "_FT_Load_Sfnt_Table", referenced from:
      _FcFreeTypeQueryFace in fcfreetype.o
  "_xmlSAX2GetLineNumber", referenced from:
      _FcConfigMessage in fcxml.o
      _FcConfigMessage in fcxml.o
  "_FT_Get_Sfnt_Table", referenced from:
      _FcFreeTypeCharSetAndSpacing in fcfreetype.o
      _FcFreeTypeQueryFace in fcfreetype.o
      _FcFreeTypeQueryFace in fcfreetype.o
  "_FT_Done_Face", referenced from:
      _FcFreeTypeQuery in fcfreetype.o
  "_FT_Get_First_Char", referenced from:
      _FcFreeTypeCharSetAndSpacingForSize in fcfreetype.o
  "_FT_Done_FreeType", referenced from:
      _FcFreeTypeQuery in fcfreetype.o
  "_FT_New_Face", referenced from:
      _FcFreeTypeQuery in fcfreetype.o
  "_FT_Get_Sfnt_Name_Count", referenced from:
      _FcFreeTypeQueryFace in fcfreetype.o
  "_FT_Select_Charmap", referenced from:
      _FcFreeTypeCharIndex in fcfreetype.o
      _FcFreeTypeCharSetAndSpacingForSize in fcfreetype.o
  "_FT_Init_FreeType", referenced from:
      _FcFreeTypeQuery in fcfreetype.o
  "_xmlCtxtGetLastError", referenced from:
      _FcConfigParseAndLoad in fcxml.o
  "_xmlParseChunk", referenced from:
      _FcConfigParseAndLoad in fcxml.o
  "_FT_Get_Char_Index", referenced from:
      _FcFreeTypeCharIndex in fcfreetype.o
      _FcFreeTypeCharSetAndSpacingForSize in fcfreetype.o
  "_FT_Load_Glyph", referenced from:
      _FcFreeTypeCheckGlyph in fcfreetype.o
  "_xmlCreatePushParserCtxt", referenced from:
      _FcConfigParseAndLoad in fcxml.o
  "_FT_Get_Sfnt_Name", referenced from:
      _FcFreeTypeQueryFace in fcfreetype.o
  "_xmlFreeParserCtxt", referenced from:
      _FcConfigParseAndLoad in fcxml.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [libfontconfig.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/fontconfig-2.7.1" && /usr/bin/make -j2 all " returned error 2
Command output:   "_FT_New_Face", referenced from:
      _FcFreeTypeQuery in fcfreetype.o
  "_FT_Get_Sfnt_Name_Count", referenced from:
      _FcFreeTypeQueryFace in fcfreetype.o
  "_FT_Select_Charmap", referenced from:
      _FcFreeTypeCharIndex in fcfreetype.o
      _FcFreeTypeCharSetAndSpacingForSize in fcfreetype.o
  "_FT_Init_FreeType", referenced from:
      _FcFreeTypeQuery in fcfreetype.o
  "_xmlCtxtGetLastError", referenced from:
      _FcConfigParseAndLoad in fcxml.o
  "_xmlParseChunk", referenced from:
      _FcConfigParseAndLoad in fcxml.o
  "_FT_Get_Char_Index", referenced from:
      _FcFreeTypeCharIndex in fcfreetype.o
      _FcFreeTypeCharSetAndSpacingForSize in fcfreetype.o
  "_FT_Load_Glyph", referenced from:
      _FcFreeTypeCheckGlyph in fcfreetype.o
  "_xmlCreatePushParserCtxt", referenced from:
      _FcConfigParseAndLoad in fcxml.o
  "_FT_Get_Sfnt_Name", referenced from:
      _FcFreeTypeQueryFace in fcfreetype.o
  "_xmlFreeParserCtxt", referenced from:
      _FcConfigParseAndLoad in fcxml.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [libfontconfig.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/fontconfig-2.7.1" && /usr/bin/make -j2 all " returned error 2
Command output:   "_FT_New_Face", referenced from:
      _FcFreeTypeQuery in fcfreetype.o
  "_FT_Get_Sfnt_Name_Count", referenced from:
      _FcFreeTypeQueryFace in fcfreetype.o
  "_FT_Select_Charmap", referenced from:
      _FcFreeTypeCharIndex in fcfreetype.o
      _FcFreeTypeCharSetAndSpacingForSize in fcfreetype.o
  "_FT_Init_FreeType", referenced from:
      _FcFreeTypeQuery in fcfreetype.o
  "_xmlCtxtGetLastError", referenced from:
      _FcConfigParseAndLoad in fcxml.o
  "_xmlParseChunk", referenced from:
      _FcConfigParseAndLoad in fcxml.o
  "_FT_Get_Char_Index", referenced from:
      _FcFreeTypeCharIndex in fcfreetype.o
      _FcFreeTypeCharSetAndSpacingForSize in fcfreetype.o
  "_FT_Load_Glyph", referenced from:
      _FcFreeTypeCheckGlyph in fcfreetype.o
  "_xmlCreatePushParserCtxt", referenced from:
      _FcConfigParseAndLoad in fcxml.o
  "_FT_Get_Sfnt_Name", referenced from:
      _FcFreeTypeQueryFace in fcfreetype.o
  "_xmlFreeParserCtxt", referenced from:
      _FcConfigParseAndLoad in fcxml.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [libfontconfig.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for fontconfig): org.macports.destroot org.macports.build
DEBUG: couldn't read file "/opt/local/share/macports/Tcl/darwintrace1.0/pkgIndex.tcl": no such file or directory
    while executing
"source [file join $dir pkgIndex.tcl]"
Error: Unable to upgrade port: 1

There is not the file "opt/local/share/macports/Tcl/darwintrace1.0/pkgIndex.tcl".
I can not know which port and how to solve this problem. Help!

Change History (2)

comment:1 Changed 15 years ago by blb@…

Description: modified (diff)
Type: updatedefect

Did you follow the Migration information on upgrading to a new OS version?

comment:2 Changed 15 years ago by tobypeterson

Resolution: invalid
Status: newclosed

Closing, originator clearly didn't read the Migration info

Note: See TracTickets for help on using tickets.