Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#21756 closed defect (invalid)

poppler, gd2, gtk - build failure on Snow Leopard, breaks libXdmcp

Reported by: macwright@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port:

Description (last modified by jmroot (Joshua Root))

Hi, was using gnuplot, tried to install poppler, poppler build failed and broke gnuplot. Sordid tale below.

(building poppler)

~/Scratch/pdf % sudo port install poppler
--->  Computing dependencies for libpixman
--->  Fetching libpixman
--->  Attempting to fetch pixman-0.16.0.tar.bz2 from http://xorg.freedesktop.org/archive/individual/lib/
--->  Verifying checksum(s) for libpixman
--->  Extracting libpixman
--->  Configuring libpixman
--->  Building libpixman
--->  Staging libpixman into destroot
--->  Deactivating libpixman @0.14.0_0
--->  Computing dependencies for libpixman
--->  Installing libpixman @0.16.0_0
--->  Activating libpixman @0.16.0_0
--->  Cleaning libpixman
--->  Computing dependencies for xorg-util-macros
--->  Fetching xorg-util-macros
--->  Attempting to fetch util-macros-1.3.0.tar.bz2 from http://distfiles.macports.org/xorg-util-macros
--->  Verifying checksum(s) for xorg-util-macros
--->  Extracting xorg-util-macros
--->  Configuring xorg-util-macros
--->  Building xorg-util-macros
--->  Staging xorg-util-macros into destroot
--->  Deactivating xorg-util-macros @1.2.2_0
--->  Computing dependencies for xorg-util-macros
--->  Installing xorg-util-macros @1.3.0_0
--->  Activating xorg-util-macros @1.3.0_0
--->  Cleaning xorg-util-macros
Warning: Skipping upgrade since ncursesw 5.7_0 >= ncursesw 5.7_0, even though installed variants "" do not match "+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since ncurses 5.7_0 >= ncurses 5.7_0, even though installed variants "" do not match "+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested variants.
--->  Computing dependencies for xorg-xproto
--->  Fetching xorg-xproto
--->  Attempting to fetch xproto-7.0.16.tar.bz2 from http://distfiles.macports.org/xorg-xproto
--->  Verifying checksum(s) for xorg-xproto
--->  Extracting xorg-xproto
--->  Configuring xorg-xproto
--->  Building xorg-xproto
--->  Staging xorg-xproto into destroot
--->  Deactivating xorg-xproto @7.0.15_0
--->  Computing dependencies for xorg-xproto
--->  Installing xorg-xproto @7.0.16_0
--->  Activating xorg-xproto @7.0.16_0
--->  Cleaning xorg-xproto
--->  Computing dependencies for xorg-libXdmcp
--->  Fetching xorg-libXdmcp
--->  Attempting to fetch libXdmcp-1.0.3.tar.bz2 from http://distfiles.macports.org/xorg-libXdmcp
--->  Verifying checksum(s) for xorg-libXdmcp
--->  Extracting xorg-libXdmcp
--->  Configuring xorg-libXdmcp
--->  Building xorg-libXdmcp
--->  Staging xorg-libXdmcp into destroot
--->  Deactivating xorg-libXdmcp @1.0.2_1
--->  Computing dependencies for xorg-libXdmcp
--->  Installing xorg-libXdmcp @1.0.3_0
--->  Activating xorg-libXdmcp @1.0.3_0
--->  Cleaning xorg-libXdmcp
--->  Computing dependencies for python_select
--->  Fetching python_select
--->  Attempting to fetch select-0.3.tar.gz from http://distfiles.macports.org/python_select
--->  Verifying checksum(s) for python_select
--->  Extracting python_select
--->  Configuring python_select
--->  Building python_select
--->  Staging python_select into destroot
--->  Deactivating python_select @0.2.1_0+darwin_9
--->  Computing dependencies for python_select
--->  Installing python_select @0.3_0+darwin_10
--->  Activating python_select @0.3_0+darwin_10
--->  Cleaning python_select
--->  Computing dependencies for glib2
--->  Fetching glib2
--->  Attempting to fetch glib-2.20.5.tar.bz2 from ftp://ftp.gtk.org/pub/glib/2.20/
--->  Verifying checksum(s) for glib2
--->  Extracting glib2
--->  Applying patches to glib2
--->  Configuring glib2
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_glib2/work/glib-2.20.5" && ./configure --prefix=/opt/local --enable-static " returned error 1
Command output: checking dependency style of /usr/bin/gcc-4.2... (cached) gcc3
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
checking for c++... /usr/bin/g++-4.2
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/g++-4.2 accepts -g... yes
checking dependency style of /usr/bin/g++-4.2... gcc3
checking for gcc... (cached) /usr/bin/gcc-4.2
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/gcc-4.2 accepts -g... (cached) yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... (cached) none needed
checking dependency style of /usr/bin/gcc-4.2... (cached) gcc3
checking whether /usr/bin/gcc-4.2 and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for pkg-config... /opt/local/bin/pkg-config
checking for gawk... (cached) gawk
checking for perl5... /opt/local/bin/perl
checking for indent... indent
checking for /opt/local/bin/perl... /opt/local/bin/perl
checking for a Python interpreter with version >= 2.4... python
checking for python... /opt/local/bin/python
checking for python version... 2.6
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages
checking for iconv_open... no
checking for libiconv_open in -liconv... no
checking for iconv_open in -liconv... no
configure: error: *** No iconv() implementation found in C library or libiconv

Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade gtk2 failed

Trying to use gnuplot

~/DS/diagrams % gnuplot ec2_small_cost.plt 
dyld: Library not loaded: /opt/local/lib/libXdmcp.6.dylib
  Referenced from: /opt/local/lib/libgd.2.dylib
  Reason: no suitable image found.  Did find:
	/opt/local/lib/libXdmcp.6.dylib: mach-o, but wrong architecture
zsh: trace trap  gnuplot ec2_small_cost.plt

Trying to install gnuplot

~/DS/diagrams % sudo port install gnuplot
Warning: Skipping upgrade since ncursesw 5.7_0 >= ncursesw 5.7_0, even though installed variants "" do not match "+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since ncurses 5.7_0 >= ncurses 5.7_0, even though installed variants "" do not match "+darwin_10". Use 'upgrade --enforce-variants' to switch to the requested variants.
--->  Computing dependencies for xpm
--->  Fetching xpm
--->  Verifying checksum(s) for xpm
--->  Extracting xpm
--->  Configuring xpm
--->  Building xpm
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xpm/work/libXpm-3.5.7" && /usr/bin/make -j2 all " returned error 2
Command output:       _xpmParseDataAndCreate in create.o
  "_XAllocColor", referenced from:
      _AllocColor in create.o
  "_XDefaultVisual", referenced from:
      _CreateColors in create.o
      _CreateColors in create.o
      _XpmCreateImageFromXpmImage in create.o
      _XpmCreateImageFromXpmImage in create.o
      _xpmParseDataAndCreate in create.o
      _xpmParseDataAndCreate in create.o
  "_XQueryColors", referenced from:
      _SetColor in create.o
      _SetColor in create.o
      _CreateColors in create.o
      _XpmCreateXpmImageFromImage in scan.o
  "_XParseColor", referenced from:
      _AllocColor in create.o
  "_XFreeGC", referenced from:
      _xpmCreatePixmapFromImage in CrPFrI.o
  "_XGetGeometry", referenced from:
      _xpmCreateImageFromPixmap in CrIFrP.o
  "_XCreatePixmap", referenced from:
      _xpmCreatePixmapFromImage in CrPFrI.o
  "_XCreateGC", referenced from:
      _xpmCreatePixmapFromImage in CrPFrI.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [libXpm.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade gd2 failed

Change History (2)

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

Description: modified (diff)
Resolution: invalid
Status: newclosed

comment:3 Changed 14 years ago by macwright@…

Touche. You're right - although, in a bind (in the middle of a work week) tracing back through port -d and installing +universal versions of xorg-libs works.

Note: See TracTickets for help on using tickets.