ports/51426: linux_base port does not install c++ shared libs

Brandon D. Valentine bugs at geekpunk.net
Sat Apr 26 01:00:26 UTC 2003


>Number:         51426
>Category:       ports
>Synopsis:       linux_base port does not install c++ shared libs
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 25 18:00:24 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Brandon D. Valentine
>Release:        FreeBSD 4.7-RELEASE-p2 i386
>Organization:
N/A
>Environment:
System: FreeBSD taran 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #2: Tue Dec 17 16:11:41 CST 2002 root at taran:/usr/obj/usr/src/sys/TARAN i386

>Description:

The linux_base port does not install the linux libstdc++ RPM.  This seriously
impairs our compatibility with Linux C++ programs.

This was uncovered by consumers of my linux-flashplugin6 port as well as several
readers of -stable.

>How-To-Repeat:

Install the linux_base-7.1_3 port and run:

% /usr/compat/linux/bin/rpm -qa | grep libstdc++

It returns:

compat-libstdc++-6.2-2.9.0.14

It should return:

libstdc++-2.96-112.7.1
compat-libstdc++-6.2-2.9.0.14
	
>Fix:

Revert do-install target to Revision 1.64 of the Makefile so that the RedHat
Update lisbtdc++ RPM will be installed as a PATCHFILE and bump PORTREVISION.

--- linux_base.patch begins here ---
Index: linux_base/Makefile
===================================================================
RCS file: /home/ncvs/ports/emulators/linux_base/Makefile,v
retrieving revision 1.73
diff -u -r1.73 Makefile
--- linux_base/Makefile	2003/04/09 02:05:12	1.73
+++ linux_base/Makefile	2003/04/25 23:13:42
@@ -7,7 +7,7 @@
 
 PORTNAME=		linux_base
 PORTVERSION=		7.1
-PORTREVISION=		3
+PORTREVISION=		4
 CATEGORIES=		emulators linux
 MASTER_SITES=		${MASTER_SITE_REDHAT_LINUX}
 MASTER_SITE_SUBDIR=	${PORTVERSION}/${LANG}/os/${MACHINE_ARCH}/RedHat/RPMS
@@ -144,6 +144,12 @@
 	done
 	@for F in ${BRAND_FILES}; do \
 		brandelf -t Linux ${LINUXBASE}/$$F; \
+	done
+#
+# Install updates
+	@for R in ${PATCHFILES}; do \
+		${ECHO} $$R; \
+		${RPM} -U ${RPMFLAGS} ${RPMDIR}/$$R; \
 	done
 	@/sbin/sysctl -w ${FALLBACK_ELF_MIB}=${PREVIOUS_ELF}
 #
--- linux_base.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list