Bug 178638 - emulators/wine-devel
Summary: emulators/wine-devel
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: Gerald Pfeifer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-14 18:10 UTC by David Naylor
Modified: 2013-05-15 00:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Naylor freebsd_committer freebsd_triage 2013-05-14 18:10:00 UTC
Wine fails to install libwine.so even though it is required by the resulting binaries.  This appears to be due to a faulty (GNU) configure.  A rebuild with auto* might fix the issue.  This has not been reported upstream.

Fix: 

Add to the port (approximately):

post-build:
        ${MAKE} -C ${WRKSRC}/libs/wine

post-install:
        ${MAKE} -C ${WRKSRC}/libs/wine install
How-To-Repeat: # cd /usr/ports/emulators/wine-devel
# make deinstall reinstall
..
# cd /usr/local/bin
# ldd wine
wine:
        libwine.so.1 => not found (0)
        libthr.so.3 => /lib/libthr.so.3 (0x80021000)
        libc.so.7 => /lib/libc.so.7 (0x80041000)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-05-14 18:10:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gerald

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 gerald 2013-05-14 20:06:48 UTC
Thanks for the report, David!

I had seen part of that, but misinterpreted the changelog (which
lead me to the assumption that the general library was intentionally
gone).

In consequence, I have increased severity and priority of this bug
and am reworking my automated test harness to catch such cases in
the future, plus I have a fix under test.

Gerald
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-05-14 20:34:36 UTC
Author: gerald
Date: Tue May 14 19:34:28 2013
New Revision: 318193
URL: http://svnweb.freebsd.org/changeset/ports/318193

Log:
  Again install libwine.so.1 which unbreaks several binaries installed by
  this port.
  
  (Right now we are doing this with a bit of a sledgehammer, installing
  the missing library manually; I'll work with upstream to get back to
  a proper approach.)
  
  Bump PORTREVISION.
  
  PR:		178638

Modified:
  head/emulators/wine-devel/Makefile
  head/emulators/wine-devel/pkg-plist

Modified: head/emulators/wine-devel/Makefile
==============================================================================
--- head/emulators/wine-devel/Makefile	Tue May 14 19:31:05 2013	(r318192)
+++ head/emulators/wine-devel/Makefile	Tue May 14 19:34:28 2013	(r318193)
@@ -3,6 +3,7 @@
 
 PORTNAME=	wine
 DISTVERSION=	1.5.30
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	emulators
 MASTER_SITES=	SF/${PORTNAME}/Source \
@@ -150,6 +151,7 @@ post-install:
 	@-${RMDIR} -p ${MAN1PREFIX}/man/de.UTF-8/man1 \
 	              ${MAN1PREFIX}/man/fr.UTF-8/man1 \
 	              ${MAN1PREFIX}/man/pl.UTF-8/man1
+	@${INSTALL_LIB} ${WRKSRC}/libs/wine/libwine.so.1.0 ${WINELIBDIR}/libwine.so.1
 .if !defined(NOPORTDOCS)
 	-@${MKDIR} ${DOCSDIR}
 .for i in README ANNOUNCE AUTHORS

Modified: head/emulators/wine-devel/pkg-plist
==============================================================================
--- head/emulators/wine-devel/pkg-plist	Tue May 14 19:31:05 2013	(r318192)
+++ head/emulators/wine-devel/pkg-plist	Tue May 14 19:34:28 2013	(r318193)
@@ -735,6 +735,7 @@ include/wine/windows/ddk/usbdlib.h
 include/wine/windows/ddk/wdm.h
 include/wine/windows/ddk/winddiui.h
 include/wine/windows/ddk/winsplp.h
+lib/libwine.so.1
 lib/wine/acledit.dll.so
 lib/wine/aclui.dll.so
 lib/wine/activeds.dll.so
_______________________________________________
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 4 Gerald Pfeifer freebsd_committer freebsd_triage 2013-05-15 00:30:13 UTC
State Changed
From-To: open->closed

Fixed. :-)  Plus my testbed enhanced to catch such cases in the 
future (and verified this on the unpackaged version).