[MacPorts] #38869: imlib build fails

MacPorts noreply at macports.org
Sat Apr 20 08:02:28 PDT 2013


#38869: imlib build fails
---------------------+--------------------------------
  Reporter:  jule@…  |      Owner:  macports-tickets@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.1.3
Resolution:          |   Keywords:
      Port:  imlib   |
---------------------+--------------------------------
Changes (by macsforever2000@…):

 * keywords:  imlib compile error =>


Old description:

> Imlib fails to build on OSX 10.8, MacPorts 2.1.3, XCode 4.6.1 with the
> following output:
>
> {{{eris:g2c-0.4 root# port -v install gnome-libs
> --->  Computing dependencies for gnome-libs......
> --->  Dependencies to be installed: imlib libghttp oaf libxml orbit
> --->  Building imlib
> make: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/work/imlib-1.9.15'
> /usr/bin/make  all-recursive
> make[1]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/work/imlib-1.9.15'
> Making all in gdk_imlib
> make[2]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/work/imlib-1.9.15/gdk_imlib'
> /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang
> -DSYSTEM_IMRC=\"/opt/local/etc/imrc\" -DIMLIB_LIB=\""/opt/local/lib"\"
> -DSYSCONFDIR=\"/opt/local/etc\" -I. -I.. -I. -I. -I.. -I./..
> -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2
> -I/opt/local/lib/glib/include -I/opt/local/include
> -I/opt/local/include -I/opt/local/include/gtk-1.2
> -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
> -I/opt/local/include -I/opt/local/include -I/opt/local/include  -pipe -O2
> -arch x86_64 -MT cache.lo -MD -MP -MF .deps/cache.Tpo -c -o cache.lo
> cache.c
> /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang
> -DSYSTEM_IMRC=\"/opt/local/etc/imrc\" -DIMLIB_LIB=\""/opt/local/lib"\"
> -DSYSCONFDIR=\"/opt/local/etc\" -I. -I.. -I. -I. -I.. -I./..
> -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2
> -I/opt/local/lib/glib/include -I/opt/local/include
> -I/opt/local/include -I/opt/local/include/gtk-1.2
> -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
> -I/opt/local/include -I/opt/local/include -I/opt/local/include  -pipe -O2
> -arch x86_64 -MT colors.lo -MD -MP -MF .deps/colors.Tpo -c -o colors.lo
> colors.c
> /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang
> -DSYSTEM_IMRC=\"/opt/local/etc/imrc\" -DIMLIB_LIB=\""/opt/local/lib"\"
> -DSYSCONFDIR=\"/opt/local/etc\" -I. -I.. -I. -I. -I.. -I./..
> -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2
> -I/opt/local/lib/glib/include -I/opt/local/include
> -I/opt/local/include -I/opt/local/include/gtk-1.2
> -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
> -I/opt/local/include -I/opt/local/include -I/opt/local/include  -pipe -O2
> -arch x86_64 -MT globals.lo -MD -MP -MF .deps/globals.Tpo -c -o
> globals.lo globals.c
> /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang
> -DSYSTEM_IMRC=\"/opt/local/etc/imrc\" -DIMLIB_LIB=\""/opt/local/lib"\"
> -DSYSCONFDIR=\"/opt/local/etc\" -I. -I.. -I. -I. -I.. -I./..
> -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2
> -I/opt/local/lib/glib/include -I/opt/local/include
> -I/opt/local/include -I/opt/local/include/gtk-1.2
> -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
> -I/opt/local/include -I/opt/local/include -I/opt/local/include  -pipe -O2
> -arch x86_64 -MT load.lo -MD -MP -MF .deps/load.Tpo -c -o load.lo load.c
> libtool: compile:  /usr/bin/clang -DSYSTEM_IMRC=\"/opt/local/etc/imrc\"
> -DIMLIB_LIB=\"/opt/local/lib\" -DSYSCONFDIR=\"/opt/local/etc\" -I. -I..
> -I. -I. -I.. -I./.. -I/opt/local/include/gtk-1.2
> -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
> -I/opt/local/include -I/opt/local/include -I/opt/local/include/gtk-1.2
> -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
> -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2
> -arch x86_64 -MT cache.lo -MD -MP -MF .deps/cache.Tpo -c cache.c  -fno-
> common -DPIC -o .libs/cache.o
> libtool: compile:  /usr/bin/clang -DSYSTEM_IMRC=\"/opt/local/etc/imrc\"
> -DIMLIB_LIB=\"/opt/local/lib\" -DSYSCONFDIR=\"/opt/local/etc\" -I. -I..
> -I. -I. -I.. -I./.. -I/opt/local/include/gtk-1.2
> -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
> -I/opt/local/include -I/opt/local/include -I/opt/local/include/gtk-1.2
> -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
> -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2
> -arch x86_64 -MT globals.lo -MD -MP -MF .deps/globals.Tpo -c globals.c
> -fno-common -DPIC -o .libs/globals.o
> libtool: compile:  /usr/bin/clang -DSYSTEM_IMRC=\"/opt/local/etc/imrc\"
> -DIMLIB_LIB=\"/opt/local/lib\" -DSYSCONFDIR=\"/opt/local/etc\" -I. -I..
> -I. -I. -I.. -I./.. -I/opt/local/include/gtk-1.2
> -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
> -I/opt/local/include -I/opt/local/include -I/opt/local/include/gtk-1.2
> -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
> -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2
> -arch x86_64 -MT colors.lo -MD -MP -MF .deps/colors.Tpo -c colors.c
> -fno-common -DPIC -o .libs/colors.o
> libtool: compile:  /usr/bin/clang -DSYSTEM_IMRC=\"/opt/local/etc/imrc\"
> -DIMLIB_LIB=\"/opt/local/lib\" -DSYSCONFDIR=\"/opt/local/etc\" -I. -I..
> -I. -I. -I.. -I./.. -I/opt/local/include/gtk-1.2
> -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
> -I/opt/local/include -I/opt/local/include -I/opt/local/include/gtk-1.2
> -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
> -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2
> -arch x86_64 -MT load.lo -MD -MP -MF .deps/load.Tpo -c load.c  -fno-
> common -DPIC -o .libs/load.o
> In file included from colors.cIn file included from cache.c::5:
> In file included from globals.cIn file included from :load.c5::
> 56:
> ./gdk_imlib_private.h./gdk_imlib_private.h::104:5:
> ./gdk_imlib_private.h:104:./gdk_imlib_private.h:1045::  :error:
> 104unknown type name 'XShmSegmentInfo':error: 5unknown type name
> 'XShmSegmentInfo':5:
>
> error: unknown type name 'XShmSegmentInfo'
>  error: unknown type name 'XShmSegmentInfo'
>     XShmSegmentInfo     last_shminfo;
>     ^
>     XShmSegmentInfo     last_shminfo;
>     ^
>     XShmSegmentInfo     last_shminfo;
>     ^
>     XShmSegmentInfo     last_shminfo;
>     ^
> ./gdk_imlib_private.h:105:5: error: unknown type name 'XShmSegmentInfo'
>     XShmSegmentInfo     last_sshminfo;
>     ^
> ./gdk_imlib_private.h:105:5: error: unknown type name 'XShmSegmentInfo'
>     XShmSegmentInfo     last_sshminfo;
>     ^
> ./gdk_imlib_private.h:105:5: error: unknown type name 'XShmSegmentInfo'
>     XShmSegmentInfo     last_sshminfo;
>     ^
> ./gdk_imlib_private.h:105:5: error: unknown type name 'XShmSegmentInfo'
>     XShmSegmentInfo     last_sshminfo;
>     ^
> 2 errors generated.
> 2 errors generated.
> 2 errors generated.
> 2 errors generated.
> make[2]: *** [globals.lo] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: *** [load.lo] Error 1
> make[2]: *** [colors.lo] Error 1
> make[2]: *** [cache.lo] Error 1
> make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/work/imlib-1.9.15/gdk_imlib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/work/imlib-1.9.15'
> make: *** [all] Error 2
> make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/work/imlib-1.9.15'
> Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/work/imlib-1.9.15"
> && /usr/bin/make -j4 -w all
> Exit code: 2
> Error: org.macports.build for port imlib returned: command execution
> failed
> Warning: targets not executed for imlib: org.macports.activate
> org.macports.build org.macports.destroot org.macports.install
> Error: Failed to install imlib
> Please see the log file for port imlib for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/main.log
> Error: The following dependencies were not installed: imlib libghttp oaf
> libxml orbit
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port gnome-libs failed}}}

New description:

 Imlib fails to build on OSX 10.8, MacPorts 2.1.3, XCode 4.6.1 with the
 following output:

 {{{
 eris:g2c-0.4 root# port -v install gnome-libs
 --->  Computing dependencies for gnome-libs......
 --->  Dependencies to be installed: imlib libghttp oaf libxml orbit
 --->  Building imlib
 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/work/imlib-1.9.15'
 /usr/bin/make  all-recursive
 make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/work/imlib-1.9.15'
 Making all in gdk_imlib
 make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/work/imlib-1.9.15/gdk_imlib'
 /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang
 -DSYSTEM_IMRC=\"/opt/local/etc/imrc\" -DIMLIB_LIB=\""/opt/local/lib"\"
 -DSYSCONFDIR=\"/opt/local/etc\" -I. -I.. -I. -I. -I.. -I./..
 -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2
 -I/opt/local/lib/glib/include -I/opt/local/include
 -I/opt/local/include -I/opt/local/include/gtk-1.2
 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
 -I/opt/local/include -I/opt/local/include -I/opt/local/include  -pipe -O2
 -arch x86_64 -MT cache.lo -MD -MP -MF .deps/cache.Tpo -c -o cache.lo
 cache.c
 /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang
 -DSYSTEM_IMRC=\"/opt/local/etc/imrc\" -DIMLIB_LIB=\""/opt/local/lib"\"
 -DSYSCONFDIR=\"/opt/local/etc\" -I. -I.. -I. -I. -I.. -I./..
 -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2
 -I/opt/local/lib/glib/include -I/opt/local/include
 -I/opt/local/include -I/opt/local/include/gtk-1.2
 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
 -I/opt/local/include -I/opt/local/include -I/opt/local/include  -pipe -O2
 -arch x86_64 -MT colors.lo -MD -MP -MF .deps/colors.Tpo -c -o colors.lo
 colors.c
 /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang
 -DSYSTEM_IMRC=\"/opt/local/etc/imrc\" -DIMLIB_LIB=\""/opt/local/lib"\"
 -DSYSCONFDIR=\"/opt/local/etc\" -I. -I.. -I. -I. -I.. -I./..
 -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2
 -I/opt/local/lib/glib/include -I/opt/local/include
 -I/opt/local/include -I/opt/local/include/gtk-1.2
 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
 -I/opt/local/include -I/opt/local/include -I/opt/local/include  -pipe -O2
 -arch x86_64 -MT globals.lo -MD -MP -MF .deps/globals.Tpo -c -o globals.lo
 globals.c
 /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/clang
 -DSYSTEM_IMRC=\"/opt/local/etc/imrc\" -DIMLIB_LIB=\""/opt/local/lib"\"
 -DSYSCONFDIR=\"/opt/local/etc\" -I. -I.. -I. -I. -I.. -I./..
 -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2
 -I/opt/local/lib/glib/include -I/opt/local/include
 -I/opt/local/include -I/opt/local/include/gtk-1.2
 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
 -I/opt/local/include -I/opt/local/include -I/opt/local/include  -pipe -O2
 -arch x86_64 -MT load.lo -MD -MP -MF .deps/load.Tpo -c -o load.lo load.c
 libtool: compile:  /usr/bin/clang -DSYSTEM_IMRC=\"/opt/local/etc/imrc\"
 -DIMLIB_LIB=\"/opt/local/lib\" -DSYSCONFDIR=\"/opt/local/etc\" -I. -I..
 -I. -I. -I.. -I./.. -I/opt/local/include/gtk-1.2
 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
 -I/opt/local/include -I/opt/local/include -I/opt/local/include/gtk-1.2
 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
 -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2
 -arch x86_64 -MT cache.lo -MD -MP -MF .deps/cache.Tpo -c cache.c  -fno-
 common -DPIC -o .libs/cache.o
 libtool: compile:  /usr/bin/clang -DSYSTEM_IMRC=\"/opt/local/etc/imrc\"
 -DIMLIB_LIB=\"/opt/local/lib\" -DSYSCONFDIR=\"/opt/local/etc\" -I. -I..
 -I. -I. -I.. -I./.. -I/opt/local/include/gtk-1.2
 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
 -I/opt/local/include -I/opt/local/include -I/opt/local/include/gtk-1.2
 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
 -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2
 -arch x86_64 -MT globals.lo -MD -MP -MF .deps/globals.Tpo -c globals.c
 -fno-common -DPIC -o .libs/globals.o
 libtool: compile:  /usr/bin/clang -DSYSTEM_IMRC=\"/opt/local/etc/imrc\"
 -DIMLIB_LIB=\"/opt/local/lib\" -DSYSCONFDIR=\"/opt/local/etc\" -I. -I..
 -I. -I. -I.. -I./.. -I/opt/local/include/gtk-1.2
 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
 -I/opt/local/include -I/opt/local/include -I/opt/local/include/gtk-1.2
 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
 -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2
 -arch x86_64 -MT colors.lo -MD -MP -MF .deps/colors.Tpo -c colors.c  -fno-
 common -DPIC -o .libs/colors.o
 libtool: compile:  /usr/bin/clang -DSYSTEM_IMRC=\"/opt/local/etc/imrc\"
 -DIMLIB_LIB=\"/opt/local/lib\" -DSYSCONFDIR=\"/opt/local/etc\" -I. -I..
 -I. -I. -I.. -I./.. -I/opt/local/include/gtk-1.2
 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
 -I/opt/local/include -I/opt/local/include -I/opt/local/include/gtk-1.2
 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include
 -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2
 -arch x86_64 -MT load.lo -MD -MP -MF .deps/load.Tpo -c load.c  -fno-common
 -DPIC -o .libs/load.o
 In file included from colors.cIn file included from cache.c::5:
 In file included from globals.cIn file included from :load.c5::
 56:
 ./gdk_imlib_private.h./gdk_imlib_private.h::104:5:
 ./gdk_imlib_private.h:104:./gdk_imlib_private.h:1045::  :error: 104unknown
 type name 'XShmSegmentInfo':error: 5unknown type name 'XShmSegmentInfo':5:

 error: unknown type name 'XShmSegmentInfo'
  error: unknown type name 'XShmSegmentInfo'
     XShmSegmentInfo     last_shminfo;
     ^
     XShmSegmentInfo     last_shminfo;
     ^
     XShmSegmentInfo     last_shminfo;
     ^
     XShmSegmentInfo     last_shminfo;
     ^
 ./gdk_imlib_private.h:105:5: error: unknown type name 'XShmSegmentInfo'
     XShmSegmentInfo     last_sshminfo;
     ^
 ./gdk_imlib_private.h:105:5: error: unknown type name 'XShmSegmentInfo'
     XShmSegmentInfo     last_sshminfo;
     ^
 ./gdk_imlib_private.h:105:5: error: unknown type name 'XShmSegmentInfo'
     XShmSegmentInfo     last_sshminfo;
     ^
 ./gdk_imlib_private.h:105:5: error: unknown type name 'XShmSegmentInfo'
     XShmSegmentInfo     last_sshminfo;
     ^
 2 errors generated.
 2 errors generated.
 2 errors generated.
 2 errors generated.
 make[2]: *** [globals.lo] Error 1
 make[2]: *** Waiting for unfinished jobs....
 make[2]: *** [load.lo] Error 1
 make[2]: *** [colors.lo] Error 1
 make[2]: *** [cache.lo] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/work/imlib-1.9.15/gdk_imlib'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/work/imlib-1.9.15'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/work/imlib-1.9.15'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/work/imlib-1.9.15"
 && /usr/bin/make -j4 -w all
 Exit code: 2
 Error: org.macports.build for port imlib returned: command execution
 failed
 Warning: targets not executed for imlib: org.macports.activate
 org.macports.build org.macports.destroot org.macports.install
 Error: Failed to install imlib
 Please see the log file for port imlib for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_imlib/imlib/main.log
 Error: The following dependencies were not installed: imlib libghttp oaf
 libxml orbit
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port gnome-libs failed
 }}}

--

Comment:

 Please attach the complete main.log file after cleaning the port and
 trying again.

-- 
Ticket URL: <https://trac.macports.org/ticket/38869#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list