[MacPorts] #23147: gtk2hs-0.10.1 fails to build

MacPorts noreply at macports.org
Wed Jan 6 04:42:50 PST 2010


#23147: gtk2hs-0.10.1 fails to build
--------------------------------+-------------------------------------------
 Reporter:  tascafoo@…          |       Owner:  gwright@…           
     Type:  defect              |      Status:  new                 
 Priority:  Normal              |   Milestone:                      
Component:  ports               |     Version:  1.8.2               
 Keywords:                      |        Port:  gtk2hs              
--------------------------------+-------------------------------------------
Changes (by jmr@…):

  * owner:  macports-tickets@… => gwright@…
  * port:  => gtk2hs


Old description:

> Variants: +no_x11 +quartz
> OS: 10.5 Tiger
> Architecture: ppc (G5)
>
> {{{/opt/local/bin/ghc +RTS -RTS -prof -hisuf p_hi -osuf p_o -c
> glib/System/Glib/Flags.hs -o glib/System/Glib/Flags.p_o -O
> -XForeignFunctionInterface -iglib -package-conf package.conf.inplace
> -hide-all-packages -ignore-package glib -package base-4.1.0.0 -package-
> name glib-0.10.1 '-#include<glib-object.h>' -I/opt/local/include/glib-2.0
> -I/opt/local/lib/glib-2.0/include -I/opt/local/include
> /opt/local/bin/ghc +RTS -RTS -prof -hisuf p_hi -osuf p_o -c
> glib/System/Glib/GList.hs -o glib/System/Glib/GList.p_o -O
> -XForeignFunctionInterface -iglib -package-conf package.conf.inplace
> -hide-all-packages -ignore-package glib -package base-4.1.0.0 -package-
> name glib-0.10.1 '-#include<glib-object.h>' -I/opt/local/include/glib-2.0
> -I/opt/local/lib/glib-2.0/include -I/opt/local/include
> make[1]: *** No rule to make target `glib/System/Glib/GObject_stub.p_o',
> needed by `libHSglib_p.a'.  Stop.
> make[1]: *** Waiting for unfinished jobs....
> 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_devel_gtk2hs/work/gtk2hs-0.10.1"
> && /usr/bin/make -j2 all " returned error 2
> DEBUG: Backtrace: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gtk2hs/work/gtk2hs-0.10.1"
> && /usr/bin/make -j2 all " returned 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 gtk2hs):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets> }}}
>
> Full error log attached. Please notice that I can easily build
> gtk2hs-0.10.1 from upstream sources without any errors building every
> package except mozembed and sourceview.

New description:

 Variants: +no_x11 +quartz
 OS: 10.5 Tiger
 Architecture: ppc (G5)

 {{{
 /opt/local/bin/ghc +RTS -RTS -prof -hisuf p_hi -osuf p_o -c
 glib/System/Glib/Flags.hs -o glib/System/Glib/Flags.p_o -O
 -XForeignFunctionInterface -iglib -package-conf package.conf.inplace
 -hide-all-packages -ignore-package glib -package base-4.1.0.0 -package-
 name glib-0.10.1 '-#include<glib-object.h>' -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 /opt/local/bin/ghc +RTS -RTS -prof -hisuf p_hi -osuf p_o -c
 glib/System/Glib/GList.hs -o glib/System/Glib/GList.p_o -O
 -XForeignFunctionInterface -iglib -package-conf package.conf.inplace
 -hide-all-packages -ignore-package glib -package base-4.1.0.0 -package-
 name glib-0.10.1 '-#include<glib-object.h>' -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 make[1]: *** No rule to make target `glib/System/Glib/GObject_stub.p_o',
 needed by `libHSglib_p.a'.  Stop.
 make[1]: *** Waiting for unfinished jobs....
 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_devel_gtk2hs/work/gtk2hs-0.10.1"
 && /usr/bin/make -j2 all " returned error 2
 DEBUG: Backtrace: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gtk2hs/work/gtk2hs-0.10.1"
 && /usr/bin/make -j2 all " returned 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 gtk2hs):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 Full error log attached. Please notice that I can easily build
 gtk2hs-0.10.1 from upstream sources without any errors building every
 package except mozembed and sourceview.

--

Comment:

 Please remember to fill in the Port field and cc the maintainer.

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


More information about the macports-tickets mailing list