ports/177601: www/hs-webkit: can't build in jail

John Marino draco at marino.st
Wed Apr 3 08:10:00 UTC 2013


>Number:         177601
>Category:       ports
>Synopsis:       www/hs-webkit: can't build in jail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 03 08:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     John Marino
>Release:        
>Organization:
>Environment:
DragonFly banshee.synsport.com 3.3-DEVELOPMENT DragonFly 2f20b9e-DEVELOPMENT #24: Tue Mar 19 22:35:30 CET 2013     root at banshee.synsport.com:/usr/obj/usr/src/sys/X86_64_BANSHEE_SMP  x86_64
>Description:
www/hs-webkit will not build in a clean environment.  I have been unsuccessful at fixing it.  Here is the log excerpt:

=======================<phase: configure   >==========================
===>   hs-webkit-0.12.4_3 depends on executable: ghc - found
===>   hs-webkit-0.12.4_3 depends on package: ghc>=7.4.2 - found
===>   hs-webkit-0.12.4_3 depends on package: hs-cairo>=0.12 - found
===>   hs-webkit-0.12.4_3 depends on package: hs-glib>=0.12 - found
===>   hs-webkit-0.12.4_3 depends on package: hs-gtk>=0.12 - found
===>   hs-webkit-0.12.4_3 depends on package: hs-mtl>=0 - found
===>   hs-webkit-0.12.4_3 depends on package: hs-pango>=0.12 - found
===>   hs-webkit-0.12.4_3 depends on file: /usr/local/bin/as - found
===>   hs-webkit-0.12.4_3 depends on shared library: webkitgtk-1.0 - found
===>  Configuring for hs-webkit-0.12.4_3
[1 of 2] Compiling SetupWrapper     ( SetupWrapper.hs, SetupWrapper.o )
[2 of 2] Compiling Main             ( Setup.hs, Setup.o )
Linking setup ...
[1 of 2] Compiling Gtk2HsSetup      ( Gtk2HsSetup.hs, dist/setup-wrapper/Gtk2HsSetup.o )
[2 of 2] Compiling Main             ( SetupMain.hs, dist/setup-wrapper/Main.o )
Linking dist/setup-wrapper/setup ...
Configuring webkit-0.12.4...
setup: Missing dependencies on foreign libraries:
* Missing C libraries: webkitgtk-1.0, javascriptcoregtk-1.0
This problem can usually be solved by installing the system packages that
provide these libraries (you may need the "-dev" versions). If the libraries
are already installed but in a non-standard location then you can use the
flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.
*** Error code 1

>How-To-Repeat:
Try building www/hs-webkit in poudriere
>Fix:
The port references a .pc file, but didn't have USE_PKGCONF set.  I added USE_PKGCONF=yes, it didn't work.  
I removed this build depends and added libwebkitgtk-1.0 directly as a LIB_DEPENDS, it didn't work.
I added "CONFIGURE_ARGS+= --extra-include-dirs=${LOCALBASE}/include/webkitgtk-1.0".  It didn't work.

I looked at the source, I couldn't figure out what it was looking for. 

FYI, almost every haskell port builds in dports.  This was tried on head of ports tree.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list