Bug 184094

Summary: sysutils/libsunacl does not build (samba dependency)
Product: Ports & Packages Reporter: js
Component: Individual Port(s)Assignee: Edward Tomasz Napierala <trasz>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description js 2013-11-19 20:50:00 UTC
julian@block:/usr/ports/sysutils/libsunacl/ > sudo make      
===> Fetching all distfiles required by libsunacl-1.0 for building
===>  Configuring for libsunacl-1.0
===>  Building for libsunacl-1.0
Warning: Object directory not changed from original /usr/ports/sysutils/libsunacl/work/libsunacl-1.0
gcc47  -O2 -pipe -fno-strict-aliasing  -D_ACL_PRIVATE -std=gnu99 -fstack-protector  -c libsunacl.c -o libsunacl.o
gcc47 -fpic -DPIC  -O2 -pipe -fno-strict-aliasing  -D_ACL_PRIVATE -std=gnu99 -fstack-protector  -c libsunacl.c -o libsunacl.So
gcc47  -O2 -pipe -fno-strict-aliasing  -D_ACL_PRIVATE -std=gnu99 -fstack-protector  -c opensolaris_acl.c -o opensolaris_acl.o
gcc47 -fpic -DPIC  -O2 -pipe -fno-strict-aliasing  -D_ACL_PRIVATE -std=gnu99 -fstack-protector  -c opensolaris_acl.c -o opensolaris_acl.So
building static sunacl library
ranlib libsunacl.a
building shared library libsunacl.so.1
julian@block:/usr/ports/sysutils/libsunacl/ > sudo make reinstall
===>  Staging for libsunacl-1.0
===>   Generating temporary packing list
install -C -o root -g wheel -m 444   libsunacl.a /usr/ports/sysutils/libsunacl/work/stage/usr/local/lib
install -s -o root -g wheel -m 444     libsunacl.so.1 /usr/ports/sysutils/libsunacl/work/stage/usr/local/lib
install -l s libsunacl.so.1 /usr/ports/sysutils/libsunacl/work/stage/usr/local/lib/libsunacl.so
install -C -o root -g wheel -m 444  sunacl.h /usr/ports/sysutils/libsunacl/work/stage/usr/local/include
====> Compressing man pages (compress-man)
===>  Building package for libsunacl-1.0
Creating package /usr/ports/sysutils/libsunacl/work/libsunacl-1.0.tbz
Registering depends:.
Creating bzip'd tar ball in '/usr/ports/sysutils/libsunacl/work/libsunacl-1.0.tbz'
tar: lib/libsunacl_p.a: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
*** [do-package] Error code 1

Stop in /usr/ports/sysutils/libsunacl.
*** [reinstall] Error code 1

Stop in /usr/ports/sysutils/libsunacl.

How-To-Repeat: Try to build sysutils/libsunacl from ports.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-20 03:32:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->trasz

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-12-01 04:55:05 UTC
Author: trasz
Date: Sun Dec  1 04:54:57 2013
New Revision: 335364
URL: http://svnweb.freebsd.org/changeset/ports/335364

Log:
  Fix build failure caused by defining NO_PROFILE in src.conf.
  
  Discussed with:	se
  PR:		ports/182864, ports/184094
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sysutils/libsunacl/Makefile

Modified: head/sysutils/libsunacl/Makefile
==============================================================================
--- head/sysutils/libsunacl/Makefile	Sun Dec  1 03:48:54 2013	(r335363)
+++ head/sysutils/libsunacl/Makefile	Sun Dec  1 04:54:57 2013	(r335364)
@@ -11,6 +11,7 @@ COMMENT=	Wrapper providing SunOS NFSv4 A
 
 USE_LDCONFIG=	yes
 PLIST_FILES=	include/sunacl.h lib/libsunacl.a lib/libsunacl.so.1 lib/libsunacl.so
+MAKE_ENV=	NO_PROFILE=yes
 
 .include <bsd.port.pre.mk>
 
@@ -18,8 +19,4 @@ PLIST_FILES=	include/sunacl.h lib/libsun
 IGNORE=		no NFSv4 ACL support before FreeBSD 8.0
 .endif
 
-.if !defined(NO_PROFILE)
-PLIST_FILES+=	lib/libsunacl_p.a
-.endif
-
 .include <bsd.port.post.mk>
_______________________________________________
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 3 Edward Tomasz Napierala freebsd_committer freebsd_triage 2013-12-06 18:06:26 UTC
State Changed
From-To: open->closed

Fixed.  Thanks!