Bug 183577 - installing security/gnutls3 fails
Summary: installing security/gnutls3 fails
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-01 22:40 UTC by TsurutaniNaoki
Modified: 2014-06-06 15:03 UTC (History)
1 user (show)

See Also:


Attachments
Makefile.diff (727 bytes, patch)
2013-11-18 08:43 UTC, Mamoru IWAKI
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description TsurutaniNaoki 2013-11-01 22:40:00 UTC
	installing security/gnutls3 fails.

Fix: 

I have no idea.
How-To-Repeat: 	% make install
	...
	===>  Building package for gnutls3-3.1.16
	Creating package /usr/ports/security/gnutls3/work/gnutls3-3.1.16.tbz
	Registering depends: libgpg-error-1.12 libidn-1.28_1 gettext-0.18.3.1 libiconv-1.14_1 p11-kit-0.16.3 libtasn1-2.14 pkgconf-0.9.3 nettle-2.7.1 gmp-5.1.3 ca_root_nss-3.15.2_1.
	Creating bzip'd tar ball in '/usr/local/work/usr/ports/security/gnutls3/work/gnutls3-3.1.16.tbz'
	tar: info/gnutls3/gnutls.info-5: Cannot stat: No such file or directory
	tar: Error exit delayed from previous errors.
	pkg_create: make_dist: tar command failed with code 256
	*** Error code 1
	 
	Stop in /usr/ports/security/gnutls3.
	*** Error code 1
	 
	Stop in /usr/ports/security/gnutls3.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-01 22:40:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wg

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 William Grzybowski 2013-11-01 23:44:14 UTC
Build fine for me:
http://beefy2.isc.freebsd.org/bulk/91amd64-default/2013-10-30_16h39m17s/logs/gnutls3-3.1.15.log

Do you have a patch?

-- 
William Grzybowski
------------------------------------------
Curitiba/PR - Brasil
Comment 3 h.ohata 2013-11-03 11:28:47 UTC
Dear William san

This happend due to missing info-5.
You can install via by ports.
Before invoke make command in /usr/ports/security/gnutls3, you can
 delete Info-5 in the pkg-plist 
Because it is not generated.

Refer to the bellow,
--- pkg-plist.org       2013-11-02 14:47:51.000000000 +0900
+++ pkg-plist   2013-11-02 14:48:08.000000000 +0900
@@ -38,7 +38,6 @@
 info/gnutls3/gnutls.info-2
 info/gnutls3/gnutls.info-3
 info/gnutls3/gnutls.info-4
-info/gnutls3/gnutls.info-5
 info/gnutls3/pkcs11-vision.png
 lib/gnutls3/libgnutls-openssl.a
 lib/gnutls3/libgnutls-openssl.la

--
ohata
Comment 4 TsurutaniNaoki 2013-11-07 22:58:44 UTC
Thank you for your reply.
I wonder why no errors are found by users except me.
Error occurs on "staging phase" on my host, but William-san's log shows no error.
If pkg-plist entry is not correct, error should be occur on all the host ?
Comment 5 William Grzybowski 2013-11-07 23:54:23 UTC
Hi,

For some reason your system is not generating info-5, I wonder why.
I wonder if thats because of your locale? Have you tried building with
LC_ALL=en_US.utf8?

On Thu, Nov 7, 2013 at 8:58 PM, Tsurutani Naoki
<turutani@scphys.kyoto-u.ac.jp> wrote:
> Thank you for your reply.
> I wonder why no errors are found by users except me.
> Error occurs on "staging phase" on my host, but William-san's log shows no error.
> If pkg-plist entry is not correct, error should be occur on all the host ?



-- 
William Grzybowski
------------------------------------------
Curitiba/PR - Brasil
Comment 6 TsurutaniNaoki 2013-11-08 09:06:12 UTC
William Grzybowski <william88@gmail.com> wrote:

> Hi,
> 
> For some reason your system is not generating info-5, I wonder why.
> I wonder if thats because of your locale? Have you tried building with
> LC_ALL=en_US.utf8?

I tried with LC_ALL=en_US.utf8.  Here is a part of log:
% make install
...
===>  Building package for gnutls3-3.1.16_1
Creating package /usr/ports/security/gnutls3/work/gnutls3-3.1.16_1.tbz
Registering depends: libgpg-error-1.12 libidn-1.28_1 gettext-0.18.3.1 libiconv-1.14_1 p11-
kit-0.20.1 libffi-3.0.13 nettle-2.7.1 gmp-5.1.3 ca_root_nss-3.15.2_1 libtasn1-3.3.
Creating bzip'd tar ball in '/usr/ports/security/gnutls3/work/gnutls3-3.1.16_1.tbz'
tar: Failed to set default locale
tar: info/gnutls3/gnutls.info-5: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
*** Error code 1

Stop in /usr/ports/security/gnutls3.
*** Error code 1

Stop in /usr/ports/security/gnutls3.
%

Setting LANG=C returns the same error.
BTW, I saw your log file, but it does not contain anything about info-5.
Do you really have info-5 installed by gnutls3-3.1.16_1 ?
Comment 7 William Grzybowski 2013-11-08 10:11:57 UTC
On Fri, Nov 8, 2013 at 7:06 AM, Tsurutani Naoki
<turutani@scphys.kyoto-u.ac.jp> wrote:
> William Grzybowski <william88@gmail.com> wrote:
>
>> Hi,
>>
>> For some reason your system is not generating info-5, I wonder why.
>> I wonder if thats because of your locale? Have you tried building with
>> LC_ALL=en_US.utf8?
>
> I tried with LC_ALL=en_US.utf8.  Here is a part of log:
> % make install
> ...
> ===>  Building package for gnutls3-3.1.16_1
> Creating package /usr/ports/security/gnutls3/work/gnutls3-3.1.16_1.tbz
> Registering depends: libgpg-error-1.12 libidn-1.28_1 gettext-0.18.3.1 libiconv-1.14_1 p11-
> kit-0.20.1 libffi-3.0.13 nettle-2.7.1 gmp-5.1.3 ca_root_nss-3.15.2_1 libtasn1-3.3.
> Creating bzip'd tar ball in '/usr/ports/security/gnutls3/work/gnutls3-3.1.16_1.tbz'
> tar: Failed to set default locale
> tar: info/gnutls3/gnutls.info-5: Cannot stat: No such file or directory
> tar: Error exit delayed from previous errors.
> pkg_create: make_dist: tar command failed with code 256
> *** Error code 1
>
> Stop in /usr/ports/security/gnutls3.
> *** Error code 1
>
> Stop in /usr/ports/security/gnutls3.
> %
>
> Setting LANG=C returns the same error.
> BTW, I saw your log file, but it does not contain anything about info-5.
> Do you really have info-5 installed by gnutls3-3.1.16_1 ?

Yes, I do.

-- 
William Grzybowski
------------------------------------------
Curitiba/PR - Brasil
Comment 8 Koichiro IWAO 2013-11-15 15:12:47 UTC
I've already reported the same issue via private e-mail
to the maintainer, I met exactly the same issue.
It seems only Japanese meet no gnutls.info-5 issue.

It wasn't locale issue. Then installed port affects?
For exapmple, ja- prefixed port which only japanese install.
Here's mine.

$ pkg info -oa | awk '{ print $1 }' | grep ^ja-
ja-anthy-9100h_1
ja-font-ipa-00303_1
ja-font-ipa-uigothic-00203
ja-font-ipaex-00201_2
ja-font-kochi-20030809_2
ja-font-migmix-1.0.20130617
ja-font-migu-1.0.20130617
ja-font-mona-ipa-1.0.8_2
ja-font-motoya-al-0.0.20100921_1
ja-font-mplus-2.2.4.055_2
ja-font-mplus-ipa-1.0.20060520.p1_2
ja-font-ricty-3.2.1b_1
ja-font-sazanami-20040629_2
ja-font-shinonome-0.9.11.p1
ja-font-std-0.0.20130501
ja-font-takao-003.02.01_1
ja-font-ume-0.0.456
ja-font-vlgothic-20130607
ja-ibus-anthy-1.2.7_3,1
ja-ibus-mozc-1.11.1502.102
ja-libreoffice-4.0.6
ja-mozc-additions-1.11.1502.102
ja-mozc-server-1.11.1502.102
ja-mozc-tool-1.11.1502.102
ja-nkf-2.1.2,1
ja-tegaki-zinnia-japanese-0.3
ja-zinnia-0.06


-- 
`whois vmeta.jp | nkf -w`
meta <meta@vmeta.jp>
Comment 9 Jonathan Chen 2013-11-18 06:28:01 UTC
I'm encountering the same issue as well, but my LANG is en_NZ.UTF-8. My 
list of Japanese related ports are:

ja-font-ipa-00303_1
ja-font-mplus-ipa-1.0.20060520.p1_2
ja-font-std-0.0.20130501

-- 
Jonathan Chen <jonc@chen.org.nz>
-----------------------------------------------------------------------
"One, with God, is always a majority, but many a martyr has been burned
    at the stake while the votes were being counted."  -- Thomas B. Reed
Comment 10 Mamoru IWAKI 2013-11-18 08:43:29 UTC
Hi,

It looks that /usr/bin/makeinfo is too old.  Actually, a newer version
of makeinfo in print/texinfo worked good.  Try the following patch.
Please commit it if it works.

Cheers


--- Makefile	2013-11-18 17:24:36.000000000 +0900
+++ Makefile	2013-11-18 17:20:15.000000000 +0900
@@ -11,6 +11,7 @@
 MAINTAINER=	wg@FreeBSD.org
 COMMENT=	GNU Transport Layer Security library

+BUILD_DEPENDS+=	${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
 LIB_DEPENDS=	libgpg-error.so:${PORTSDIR}/security/libgpg-error \
 		libnettle.so:${PORTSDIR}/security/nettle \
 		libp11-kit.so:${PORTSDIR}/security/p11-kit \
@@ -27,6 +28,7 @@
 LDFLAGS+=	-L${LOCALBASE}/lib
 CPPFLAGS+=	-fPIC
 GNU_CONFIGURE=	yes
+CONFIGURE_ENV+=	MAKEINFO=${PREFIX}/bin/makeinfo
 CONFIGURE_ARGS+=	--program-suffix=${GNUTLS_SUFFIX} \
 			--includedir="${PREFIX}/include/gnutls${GNUTLS_SUFFIX}" \
 			--libdir="${PREFIX}/lib/gnutls${GNUTLS_SUFFIX}" \

-- 
-----
Mamoru Iwaki
Japan
Comment 11 dfilter service freebsd_committer freebsd_triage 2013-11-18 10:42:44 UTC
Author: wg
Date: Mon Nov 18 10:42:36 2013
New Revision: 334171
URL: http://svnweb.freebsd.org/changeset/ports/334171

Log:
  security/gnutls3: try to fix build for some people
  
  - gnutls.info-5 was not being generated for some people
  
  PR:		ports/183577
  Submitted by:	Mamoru Iwaki <1wkmmr gmail.com>

Modified:
  head/security/gnutls3/Makefile

Modified: head/security/gnutls3/Makefile
==============================================================================
--- head/security/gnutls3/Makefile	Mon Nov 18 10:33:36 2013	(r334170)
+++ head/security/gnutls3/Makefile	Mon Nov 18 10:42:36 2013	(r334171)
@@ -11,6 +11,7 @@ PKGNAMESUFFIX=	${GNUTLS_SUFFIX}
 MAINTAINER=	wg@FreeBSD.org
 COMMENT=	GNU Transport Layer Security library
 
+BUILD_DEPENDS=	${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
 LIB_DEPENDS=	libgpg-error.so:${PORTSDIR}/security/libgpg-error \
 		libnettle.so:${PORTSDIR}/security/nettle \
 		libp11-kit.so:${PORTSDIR}/security/p11-kit \
@@ -23,11 +24,12 @@ USE_AUTOTOOLS=	libtool
 USE_GNOME=	ltverhack
 USE_LDCONFIG=	${PREFIX}/lib/gnutls3
 USE_XZ=		yes
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-CPPFLAGS+=	-fPIC
+CPPFLAGS=	-I${LOCALBASE}/include
+LDFLAGS=	-L${LOCALBASE}/lib
+CPPFLAGS=	-fPIC
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS+=	--program-suffix=${GNUTLS_SUFFIX} \
+CONFIGURE_ENV=		MAKEINFO=${PREFIX}/bin/makeinfo
+CONFIGURE_ARGS=	--program-suffix=${GNUTLS_SUFFIX} \
 			--includedir="${PREFIX}/include/gnutls${GNUTLS_SUFFIX}" \
 			--libdir="${PREFIX}/lib/gnutls${GNUTLS_SUFFIX}" \
 			--disable-guile \
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 12 William Grzybowski freebsd_committer freebsd_triage 2013-11-22 12:31:03 UTC
State Changed
From-To: open->closed

Committed. Thanks!