svn commit: r316406 - in head/japanese: mozc-el mozc-server

Bryan Drewery bdrewery at FreeBSD.org
Sat May 4 13:36:34 UTC 2013


On 4/24/2013 2:32 AM, Daichi GOTO wrote:
> -BUILD_DEPENDS+=	glib:${PORTSDIR}/devel/glib20 \
> +BUILD_DEPENDS+=	emacs:${PORTSDIR}/editors/emacs \
> +		glib:${PORTSDIR}/devel/glib20 \
>  		gtk:${PORTSDIR}/x11-toolkits/gtk20

The format for BUILD_DEPENDS and RUN_DEPENDS is:

   BINARY:PORT [1]
   or
   PKGNAME>VERSION:PORT [2]

[1]
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-depend.html#AEN2240
[2]
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-depend.html#AEN2453

So it is looking for the 'glib' and 'gtk' executable which leads to
failure with poudriere:

> =======================<phase: build-depends  >============================
...
> ===>   ja-mozc-server-1.10.1390.102_2 depends on executable: glib - not found
> ===>    Verifying install for glib in /usr/ports/devel/glib20
> ===>   Installing existing package /packages/All/glib-2.34.3.txz
> Installing glib-2.34.3...Installing libffi-3.0.13... done
> Installing pcre-8.32... done
...
> =======================<phase: configure      >============================
> ===>   ja-mozc-server-1.10.1390.102_2 depends on executable: glib - not found
> ===>    Verifying install for glib in /usr/ports/devel/glib20
> ===>   Installing existing package /packages/All/glib-2.34.3.txz
> Installing glib-2.34.3...glib-2.34.3 already installed
> 
> Failed to install the following 1 package(s): /packages/All/glib-2.34.3.txz
> *** [build-depends] Error code 70

I believe that tinderbox hides this issue as it does not really use the
ports framework for dependencies.

If you are wanting to depend on libglib or libgtk, use LIB_DEPENDS.
Otherwise add in >0 to use glib and gtk as pkgnames.

This fixes it:

http://people.freebsd.org/~bdrewery/mozc-server-fix-build.txt

Becomes:

> =======================<phase: configure      >============================
> ===>   ja-mozc-server-1.10.1390.102_2 depends on file: /usr/local/bin/python2.7 - found
> ===>   ja-mozc-server-1.10.1390.102_2 depends on executable: pkgconf - found
> ===>   ja-mozc-server-1.10.1390.102_2 depends on package: glib>0 - found
> ===>   ja-mozc-server-1.10.1390.102_2 depends on package: gtk>0 - found

There is some unrelated build failure relating to zinnia as well:

http://poudriere.shatow.net/bulk/91i386-dev2-test/2013-05-04_08%3a18%3a09/logs/errors/ja-mozc-server-1.10.1390.102_2.log


-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20130504/4e7e1fed/attachment.sig>


More information about the svn-ports-all mailing list