Bug 189411 - databases/freetds-devel (0.92.79) make install lstat error
Summary: databases/freetds-devel (0.92.79) make install lstat error
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: Kurt Jaeger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-07 10:30 UTC by kvanbiesen
Modified: 2014-05-08 19:08 UTC (History)
0 users

See Also:


Attachments
file.diff (482 bytes, patch)
2014-05-07 10:30 UTC, kvanbiesen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description kvanbiesen 2014-05-07 10:30:00 UTC
"Make install" fails on installing latest FreeTDS-Devel Version

compiling works, no problems, installing throws errors
--------------------------
===>   Registering installation for freetds-devel-0.92.79_1,1
pkg-static: lstat(/usr/ports/databases/freetds-devel/work/stage/usr/local/%%ODBC%%lib/libtdsodbc.so.0.0.0): No such file or directory
pkg-static: lstat(/usr/ports/databases/freetds-devel/work/stage/usr/local/%%ODBC%%lib/libtdsodbc.so.0): No such file or directory
pkg-static: lstat(/usr/ports/databases/freetds-devel/work/stage/usr/local/%%ODBC%%lib/libtdsodbc.so): No such file or directory
pkg-static: lstat(/usr/ports/databases/freetds-devel/work/stage/usr/local/%%ODBC%%lib/libtdsodbc.la): No such file or directory
pkg-static: lstat(/usr/ports/databases/freetds-devel/work/stage/usr/local/%%ODBC%%lib/libtdsodbc.a): No such file or directory
pkg-static: lstat(/usr/ports/databases/freetds-devel/work/stage/usr/local/%%ODBC%%bin/bsqlodbc): No such file or directory
*** Error code 74

Stop.
make[2]: stopped in /usr/ports/databases/freetds-devel
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/databases/freetds-devel
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/freetds-devel
-------------------------------------------------------

Fix: Solution1:
remove the %%ODBC%% entries in the pkg-plist and everyhing works fine.

imho not needed, since its not used ^^ (patch included)

Solution2:
setting the ODBC variable in the Makefile to ""

PLIST_SUB=	ODBC=



Patch attached with submission follows:
How-To-Repeat: Just Run "make install" in /usr/ports/databases/freetds-devel
Comment 1 Edwin Groothuis freebsd_committer 2014-05-07 10:30:03 UTC
Maintainer of databases/freetds-devel,

Please note that PR ports/189411 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/189411

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer 2014-05-07 10:30:04 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Kurt Jaeger freebsd_committer 2014-05-08 13:55:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pi

I'll take it.
Comment 4 dfilter service freebsd_committer 2014-05-08 18:57:14 UTC
Author: pi
Date: Thu May  8 17:57:10 2014
New Revision: 353340
URL: http://svnweb.freebsd.org/changeset/ports/353340
QAT: https://qat.redports.org/buildarchive/r353340/

Log:
  databases/freetds-devel: fix pkg-plist for make install,
  	change MAINTAINER email
  
  PR: ports/189411
  Submitted by:	Kris Van Biesen
  Approved by:    jadawin (mentor)

Modified:
  head/databases/freetds-devel/Makefile
  head/databases/freetds-devel/pkg-plist

Modified: head/databases/freetds-devel/Makefile
==============================================================================
--- head/databases/freetds-devel/Makefile	Thu May  8 17:42:31 2014	(r353339)
+++ head/databases/freetds-devel/Makefile	Thu May  8 17:57:10 2014	(r353340)
@@ -9,7 +9,7 @@ CATEGORIES=	databases
 MASTER_SITES=	ftp://ftp.freetds.org/pub/freetds/stable/
 PKGNAMESUFFIX=	-devel
 
-MAINTAINER=	fbsd-ports@opsec.eu
+MAINTAINER=	pi@FreeBSD.org
 COMMENT=	Sybase/Microsoft TDS protocol library
 
 LICENSE=	LGPL20

Modified: head/databases/freetds-devel/pkg-plist
==============================================================================
--- head/databases/freetds-devel/pkg-plist	Thu May  8 17:42:31 2014	(r353339)
+++ head/databases/freetds-devel/pkg-plist	Thu May  8 17:57:10 2014	(r353340)
@@ -40,10 +40,10 @@ lib/libsybdb.la
 lib/libsybdb.so
 lib/libsybdb.so.5
 lib/libsybdb.so.5.0.0
-%%ODBC%%lib/libtdsodbc.so.0.0.0
-%%ODBC%%lib/libtdsodbc.so.0
-%%ODBC%%lib/libtdsodbc.so
-%%ODBC%%lib/libtdsodbc.la
-%%ODBC%%lib/libtdsodbc.a
-%%ODBC%%bin/bsqlodbc
+lib/libtdsodbc.so.0.0.0
+lib/libtdsodbc.so.0
+lib/libtdsodbc.so
+lib/libtdsodbc.la
+lib/libtdsodbc.a
+bin/bsqlodbc
 @dirrm etc/freetds
_______________________________________________
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 5 Kurt Jaeger freebsd_committer 2014-05-08 19:08:58 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!