Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#58489 closed defect (duplicate)

Inkscape install is failing

Reported by: justinMBullard (Justin Bullard) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: intltool

Description (last modified by mf2k (Frank Schima))

sudo port install inkscape
Password:
--->  Computing dependencies for intltool
--->  Configuring intltool
Error: Failed to configure intltool, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_intltool/intltool/work/intltool-0.51.0/config.log
Error: Failed to configure intltool: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_intltool/intltool/main.log for details.
Error: Problem while installing intltool
Error: Unable to execute port: upgrade gdk-pixbuf2 failed
~:vi /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_intltool/intltool/main.log
~:vi /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_intltool/intltool/work/intltool-0.51.0/config.log

Requesting intltool version that does not exist.

:info:archivefetch --->  intltool-0.51.0_5.darwin_18.noarch.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch intltool-0.51.0_5.darwin_18.noarch.tbz2 from https://packages.macports.org/intltool
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch intltool-0.51.0_5.darwin_18.noarch.tbz2 from http://aus.us.packages.macports.org/macports/packages/intltool
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch intltool-0.51.0_5.darwin_18.noarch.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/intltool
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found

Attachments (5)

main.log (64.5 KB) - added by justinMBullard (Justin Bullard) 5 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_intltool/intltool/main.log
config.log (6.4 KB) - added by justinMBullard (Justin Bullard) 5 years ago.
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_intltool/intltool/work/intltool-0.51.0/config.log
config.2.log (168.5 KB) - added by justinMBullard (Justin Bullard) 5 years ago.
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gawk/gawk/work/gawk-5.0.0/config.log
main.2.log (71.5 KB) - added by justinMBullard (Justin Bullard) 5 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libpng/libpng/main.log
config.3.log (18.2 KB) - added by justinMBullard (Justin Bullard) 5 years ago.
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/libgd-2.2.5/config.log

Download all attachments as: .zip

Change History (22)

Changed 5 years ago by justinMBullard (Justin Bullard)

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_intltool/intltool/main.log

Changed 5 years ago by justinMBullard (Justin Bullard)

Attachment: config.log added

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_intltool/intltool/work/intltool-0.51.0/config.log

comment:1 Changed 5 years ago by justinMBullard (Justin Bullard)

Description: modified (diff)

comment:2 Changed 5 years ago by kencu (Ken)

please uninstall gawk, then clean and try your build again.

comment:3 Changed 5 years ago by mf2k (Frank Schima)

Priority: HighNormal

The Priority field is for use by Macports team members only, please do not set it.

comment:4 Changed 5 years ago by mf2k (Frank Schima)

In the future, please use WikiFormatting, fill in the Port field with the port that fails to build and Cc the port maintainer(s) (port info --maintainers intltool).

comment:5 Changed 5 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: Install failure removed
Port: intltool added

comment:6 Changed 5 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: newclosed

Duplicate of #57955.

comment:7 Changed 5 years ago by kencu (Ken)

Justin, please let us know if that workrd for you.

Changed 5 years ago by justinMBullard (Justin Bullard)

Attachment: config.2.log added

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gawk/gawk/work/gawk-5.0.0/config.log

comment:8 Changed 5 years ago by justinMBullard (Justin Bullard)

I removed gawk but not the install of gawk failed. Error: Failed to configure gawk, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gawk/gawk/work/gawk-5.0.0/config.log Error: Failed to configure gawk: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gawk/gawk/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port gawk failed

comment:9 Changed 5 years ago by justinMBullard (Justin Bullard)

And inkscape install fails again Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libpng/libpng/work/libpng-1.6.37" && /usr/bin/make -j8 -w all Exit code: 2 Error: Failed to build libpng: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libpng/libpng/main.log for details. Error: Unable to execute port: upgrade gdk-pixbuf2 failed

Changed 5 years ago by justinMBullard (Justin Bullard)

Attachment: main.2.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libpng/libpng/main.log

comment:10 Changed 5 years ago by kencu (Ken)

OK -- you're not getting the gawk error any longer, at least. This error you're seeing now is kinda weird:

	:info:build /bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/clang  -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -no-undefined -export-dynamic -version-number 16:37:0   -export-symbols libpng.sym -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -o libpng16.la -rpath /opt/local/lib png.lo pngerror.lo pngget.lo pngmem.lo pngpread.lo pngread.lo pngrio.lo pngrtran.lo pngrutil.lo pngset.lo pngtrans.lo pngwio.lo pngwrite.lo pngwtran.lo pngwutil.lo  mips/mips_init.lo mips/filter_msa_intrinsics.lo intel/intel_init.lo intel/filter_sse2_intrinsics.lo powerpc/powerpc_init.lo powerpc/filter_vsx_intrinsics.lo   -lz
395	:info:build libtool: link: sed 's|^|_|' < libpng.sym > .libs/libpng16-symbols.expsym
396	:info:build libtool: link: /usr/bin/clang -dynamiclib  -o .libs/libpng16.16.dylib  .libs/png.o .libs/pngerror.o .libs/pngget.o .libs/pngmem.o .libs/pngpread.o .libs/pngread.o .libs/pngrio.o .libs/pngrtran.o .libs/pngrutil.o .libs/pngset.o .libs/pngtrans.o .libs/pngwio.o .libs/pngwrite.o .libs/pngwtran.o .libs/pngwutil.o mips/.libs/mips_init.o mips/.libs/filter_msa_intrinsics.o intel/.libs/intel_init.o intel/.libs/filter_sse2_intrinsics.o powerpc/.libs/powerpc_init.o powerpc/.libs/filter_vsx_intrinsics.o   -L/opt/local/lib -lz  -Os -arch x86_64 -Wl,-headerpad_max_install_names -Wl,-syslibroot -Wl,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64   -install_name  /opt/local/lib/libpng16.16.dylib -compatibility_version 54 -current_version 54.0 -Wl,-single_module -Wl,-exported_symbols_list,.libs/libpng16-symbols.expsym
397	:info:build libtool: link: dsymutil .libs/libpng16.16.dylib || :
398	:info:build warning: no debug symbols in executable (-arch x86_64)
399	:info:build libtool: link: (cd ".libs" && rm -f "libpng16.dylib" && ln -s "libpng16.16.dylib" "libpng16.dylib")
400	:info:build libtool: link: ar cru .libs/libpng16.a  png.o pngerror.o pngget.o pngmem.o pngpread.o pngread.o pngrio.o pngrtran.o pngrutil.o pngset.o pngtrans.o pngwio.o pngwrite.o pngwtran.o pngwutil.o mips/mips_init.o mips/filter_msa_intrinsics.o intel/intel_init.o intel/filter_sse2_intrinsics.o powerpc/powerpc_init.o powerpc/filter_vsx_intrinsics.o
401	:info:build /opt/local/bin/ranlib: object: .libs/libpng16.a(png.o) malformed object (unknown load command 1)
402	:info:build ar: internal ranlib command failed
403	:info:build make[1]: *** [libpng16.la] Error 1

And off the top of my head, I don't really get what is happening to you here.

Don't forget to always clean between build attempts. othewise you're just wasting your time on the subsequent ones.

I will ponder it further. Maybe somebody knows...

BTW, your actual error is not building inkscape just yet -- you're still trying to build libpng

Last edited 5 years ago by kencu (Ken) (previous) (diff)

comment:11 Changed 5 years ago by kencu (Ken)

So I can build libpng with no trouble at all on Mojave. Let's just try that.

sudo port clean inkscape
sudo port clean libpng
sudo port -v install libpng

and see where you get with that.

comment:12 Changed 5 years ago by kencu (Ken)

please show me which variety of cctools you have installed:

port -v installed cctools

comment:13 Changed 5 years ago by justinMBullard (Justin Bullard)

The following ports are currently installed:

cctools @895_4+llvm50 (active) platform='darwin 17' archs='x86_64' date='2018-07-19T00:43:35-0400'

comment:14 Changed 5 years ago by justinMBullard (Justin Bullard)

I was able to install libpng now. However I tried to install inkscape after I installed libpng and it failed configure: error: could not determine ar interface Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/libgd-2.2.5" && ./configure --prefix=/opt/local --disable-werror --with-freetype=/opt/local --with-fontconfig=/opt/local --with-jpeg=/opt/local --with-png=/opt/local --with-tiff=/opt/local --with-webp=/opt/local --with-zlib=/opt/local --without-liq --with-xpm=/opt/local --x-includes=/opt/local/include --x-libraries=/opt/local/lib Exit code: 1 Error: Failed to configure gd2, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/libgd-2.2.5/config.log Error: Failed to configure gd2: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/main.log for details. Error: Unable to execute port: upgrade ImageMagick failed

Error seems to be clang: error: unsupported option '-V -Wno-atomic-implicit-seq-cst' clang: error: no input files configure:3470: $? = 1 configure:3459: /usr/bin/clang -qversion >&5 clang: error: unknown argument '-qversion', did you mean '--version'? clang: error: no input files

Changed 5 years ago by justinMBullard (Justin Bullard)

Attachment: config.3.log added

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/libgd-2.2.5/config.log

comment:15 Changed 5 years ago by kencu (Ken)

OK, I think I see your issue. Somehow your version of cctools is not the right version for Mojave. It's both too old, and the wrong variant, and installed for the wrong operating system (darwin 17 instead of 18).

I think you need to start fresh, and follow these instructions <https://trac.macports.org/wiki/Migration> or you'll never get this set up right.

comment:16 Changed 5 years ago by kencu (Ken)

Please report back when you've done that -- I have a feeling that should get you straightened out!

comment:17 Changed 5 years ago by justinMBullard (Justin Bullard)

Fixing the cctools did work. Thank you.

Note: See TracTickets for help on using tickets.