Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 May 2013 08:36:15 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Daichi GOTO <daichi@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r316406 - in head/japanese: mozc-el mozc-server
Message-ID:  <51850ECF.1060207@FreeBSD.org>
In-Reply-To: <201304240732.r3O7WvR2018519@svn.freebsd.org>
References:  <201304240732.r3O7WvR2018519@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2SJIVUSGGXRRSHXUENTSG
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 4/24/2013 2:32 AM, Daichi GOTO wrote:
> -BUILD_DEPENDS+=3D	glib:${PORTSDIR}/devel/glib20 \
> +BUILD_DEPENDS+=3D	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/makefil=
e-depend.html#AEN2240
[2]
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefil=
e-depend.html#AEN2453

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

> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<p=
hase: build-depends  >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=2E..
> =3D=3D=3D>   ja-mozc-server-1.10.1390.102_2 depends on executable: glib=
 - not found
> =3D=3D=3D>    Verifying install for glib in /usr/ports/devel/glib20
> =3D=3D=3D>   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
=2E..
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<p=
hase: configure      >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D>   ja-mozc-server-1.10.1390.102_2 depends on executable: glib=
 - not found
> =3D=3D=3D>    Verifying install for glib in /usr/ports/devel/glib20
> =3D=3D=3D>   Installing existing package /packages/All/glib-2.34.3.txz
> Installing glib-2.34.3...glib-2.34.3 already installed
>=20
> Failed to install the following 1 package(s): /packages/All/glib-2.34.3=
=2Etxz
> *** [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:

> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<p=
hase: configure      >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D>   ja-mozc-server-1.10.1390.102_2 depends on file: /usr/local=
/bin/python2.7 - found
> =3D=3D=3D>   ja-mozc-server-1.10.1390.102_2 depends on executable: pkgc=
onf - found
> =3D=3D=3D>   ja-mozc-server-1.10.1390.102_2 depends on package: glib>0 =
- found
> =3D=3D=3D>   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


--=20
Regards,
Bryan Drewery


------enig2SJIVUSGGXRRSHXUENTSG
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJRhQ7UAAoJEG54KsA8mwz5Q+cP/iegtGDS4QxbmsJm8UFOvkIz
HUlZPwKkWqFGQG7SYTfF1OjBrZlOfhUz6SXZjYlceUqC1M11aXa5cda83/CH+BC9
qfylQlht85y1YG2wL2X1X1p2+dMpll3WMpyz8PeeruR2fqFPZ0DojAAVJZxmG2lY
zLLd6Yre4zD9GMwJh1qT16GepUAyTLKWSDcjWDI+P5PQKG75QQvkXLBhOt3ns6cO
iJiUD6L4WGcuGinmDG9DYkbug4xCfFm8NbPqm1w9ZbDqw6x5Igylt0MoYQWdg/dF
Sv4lX+WKC5BIyutC0CrapU0NpIF1VBrDT1QOyfTAVPHWVglCqtUVBp3sS1hw2Bmw
Nyojvk56owKhCDAKP4QcDh6nfo59k8mJTdfa+K+2Bhat1+PwP+xs+sWbGqLYO5tn
+JnwOpS4XwC18/+4PRUXT6U4i3hqNTU5SnHwXQ6Z74bp3G+EHcGjNjU8orJIzU0s
+4jLMY0QeG/zCoYZbXCi480vr3Go7eO6VLFjradLt0pxRMCQxD5kJuYDDRYRQL0y
sdy0EuMHX0OlYJWEaG6upMOpuJGxarbaupje7CrQRPLPTq3y22kXw3PnjY+Gcak7
nyULHy091L5kFWrBiWjLeroLV516HAmNSdv+qQuP48bCRsHIYYvkV5JA9IXFoKce
6vaVp1MUC8fU3wa87nWp
=Zkvq
-----END PGP SIGNATURE-----

------enig2SJIVUSGGXRRSHXUENTSG--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51850ECF.1060207>