On Sun, 2009-02-22 at 10:12 +0200, Ion-Mihai Tetcu wrote:
> On Sun, 22 Feb 2009 11:44:43 +0800
> "Eric L. Chen" <d9364...@mail.nchu.edu.tw> wrote:
> 
> > On Sat, 2009-02-21 at 12:29 -0800, q...@freebsd.org wrote:
> > > Hi,
> > > 
> > > 
> > > 
> > > Excerpt from
> > > http://QAT.TecNik93.com/logs/7-STABLE-FPT-NPD/ptlib-2.4.4.log :
> > > 
> > > 
> > > building ptlib-2.4.4 in
> > > directory /usr/local/tinderbox/7-STABLE-FPT-NPD maintained by:
> > > d9364...@mail.nchu.edu.tw building for:  7.1-STABLE amd64
> > > Makefile ident: $FreeBSD: ports/devel/ptlib/Makefile,v 1.1
> > > 2009/02/21 19:01:07 gabor Exp $ port
> > > directory: /usr/ports/devel/ptlib
> > > 
> > > .................................<Last 40 lines of the
> > > log>..................
> > > 
> > > 
> > >       If there are vulnerabilities in these programs there may be a
> > > security risk to the system. FreeBSD makes no guarantee about the
> > > security of ports included in the Ports Collection. Please type
> > > 'make deinstall' to deinstall the port if this is a concern.
> > > 
> > >       For more information, and contact details about the security
> > >       status of this software, see the following webpage: 
> > > http://www.openh323.org/
> > > ================================================================
> > > ====================<phase 7: make package>====================
> > > ===>  Building package for ptlib-2.4.4
> > > tar: lib/libpt.so.2.4: Cannot stat: No such file or directory
> > > tar: lib/libpt.so.2: Cannot stat: No such file or directory
> > > tar: Error exit delayed from previous errors.
> > > pkg_create: make_dist: tar command failed with code 256
> > > Creating package /tmp/packages/All/ptlib-2.4.4.tbz
> > > Registering depends: openldap-client-2.4.14 expat-2.0.1.
> > > Registering conflicts: pwlib-*.
> > > Creating bzip'd tar ball in '/tmp/packages/All/ptlib-2.4.4.tbz'
> > > *** Error code 1
> > > 
> > > Stop in /a/ports/devel/ptlib.
> > > Deleting ptlib-2.4.4
> > > pkg_delete: file '/usr/local/lib/libpt.so.2.4' doesn't exist
> > > pkg_delete: file '/usr/local/lib/libpt.so.2' doesn't exist
> > > pkg_delete: couldn't entirely delete package (perhaps the packing
> > > list is incorrectly specified?)
> > > ================================================================
> > > 
> > > === Checking filesystem state
> > > list of extra files and directories in / (not present before this
> > > port was installed but present after it was deinstalled)
> > > 30923859       48 -r--r--r--    1 root
> > > wheel               22577 Feb 21 20:29
> > > usr/local/include/ptbuildopts.h 30923851        0 lrwxr-xr-x    1
> > > root             wheel                  14 Feb 21 20:29
> > > usr/local/lib/libpt.so -> libpt.so.2.4.4 30923852        4
> > > drwxr-xr-x    3 root             wheel                 512 Feb 21
> > > 20:29 usr/local/lib/ptlib-2.4.4 30923853        4 drwxr-xr-x    3
> > > root             wheel                 512 Feb 21 20:29
> > > usr/local/lib/ptlib-2.4.4/devices 30923855        4 drwxr-xr-x    2
> > > root             wheel                 512 Feb 21 20:29
> > > usr/local/lib/ptlib-2.4.4/devices/sound 30923856     1408
> > > -r--r--r--    1 root             wheel              688921 Feb 21
> > > 20:29 usr/local/lib/ptlib-2.4.4/devices/sound/oss_pwplugin.so
> > > ================================================================
> > > build of /usr/ports/devel/ptlib ended at Sat Feb 21 20:29:38 UTC
> > > 2009
> > > 
> > > The tarballed WRKDIR can be found here:
> > > http://QAT.TecNik93.com/wrkdirs/7-STABLE-FPT-NPD/ptlib-2.4.4.tbz
> > > 
> > > PortsMon page for the port:
> > > http://portsmon.freebsd.org/portoverview.py?category=devel&portname=ptlib
> > > 
> > > The build which triggered this BotMail was done under
> > > tinderbox-3.1.2_1; dsversion: 3.1 on RELENG_7 on amd64
> > > with tinderd_flags="-nullfs -plistcheck -onceonly" and ccache
> > > support, with the "official" up-to-date Ports Tree, with the
> > > following vars set: NOPORTDOCS=yes,  NOPORTEXAMPLES=yes,
> > > NOPORTDATA=yes, FORCE_PACKAGE=yes.
> > > 
> > > A description of the testing process can be found here:
> > > http://T32.TecNik93.com/FreeBSD/QA-Tindy/
> > > 
> > > 
> > > Thanks for your work on making FreeBSD better,
> > > 
> > > --
> > > IOnut - Un^d^dregistered ;) FreeBSD "user"
> > >   "Intellectual Property" is   nowhere near as valuable   as
> > > "Intellect" FreeBSD committer -> ite...@freebsd.org, PGP Key ID
> > > 057E9F8B493A297B
> > > 
> > Here is the fix:
> > --- devel/ptlib/pkg-plist   2009-02-22 03:01:07.000000000 +0800
> > +++ devel/ptlib/pkg-plist   2009-02-22 11:41:50.000000000 +0800
> > @@ -172,7 +172,6 @@
> >  @dirrm share/ptlib/make
> >  @dirrm share/ptlib
> >  lib/libpt.so.2.4.4
> > -lib/libpt.so.2.4
> > -lib/libpt.so.2
> > +lib/libpt.so
> >  lib/libpt_s.a
> >  libdata/pkgconfig/ptlib.pc
> 
> The port should be patched to build/install only lib/libpt.so.2 and
> lib/libpt.so. See:
> USE_GNOME=    ltverhack
> http://people.freebsd.org/~mezz/libtool.txt
> http://www.freebsd.org/doc/en/books/developers-handbook/policies-shlib.html
> 
New patch to satisfy shared library's policies. also put in
http://www.freebsd.org/cgi/query-pr.cgi?pr=131961
diff -purN devel/ptlib/Makefile devel/ptlib/Makefile
--- devel/ptlib/Makefile        2009-02-22 03:01:07.000000000 +0800
+++ devel/ptlib/Makefile        2009-02-22 11:48:49.000000000 +0800
@@ -17,12 +17,10 @@ COMMENT=    A cross platform C++ library, u
 
 LIB_DEPENDS=   expat.6:${PORTSDIR}/textproc/expat2
 
-CONFLICTS=     pwlib-*
-
 USE_BISON=     build
 USE_GMAKE=     yes
 GNU_CONFIGURE= yes
-USE_GNOME=     gnometarget
+USE_GNOME=     pkgconfig
 WANT_GNOME=    yes
 WANT_SDL=      yes
 USE_OPENSSL=   yes
diff -purN devel/ptlib/files/patch-Makefile.in
devel/ptlib/files/patch-Makefile.in
--- devel/ptlib/files/patch-Makefile.in 2009-02-22 03:01:07.000000000
+0800
+++ devel/ptlib/files/patch-Makefile.in 2009-02-22 21:27:30.000000000
+0800
@@ -1,6 +1,20 @@
---- Makefile.in.orig   2009-01-11 17:53:18.000000000 -0500
-+++ Makefile.in        2009-01-26 15:09:22.000000000 -0500
-@@ -120,9 +120,9 @@
+--- Makefile.in.orig   2009-01-12 06:53:18.000000000 +0800
++++ Makefile.in        2009-02-22 21:15:46.000000000 +0800
+@@ -85,11 +85,11 @@ install:
+                      $(DESTDIR)$(PREFIX)/share/ptlib/make ; \
+               do mkdir -p $$dir ; chmod 755 $$dir ; \
+       done )
+-      $(INSTALL) -m 444
$(PT_LIBDIR)/$(PTLIB_FILE)....@major_version@....@minor_version@@BUILD_TYPE@@BUILD_NUMBER@
 $(DESTDIR)$(LIBDIR)
++      $(INSTALL) -m 444
$(PT_LIBDIR)/$(PTLIB_FILE)....@major_version@....@minor_version@@BUILD_TYPE@@BUILD_NUMBER@
 $(DESTDIR)$(LIBDIR)/$(PTLIB_FILE)....@major_version@
+       $(INSTALL) -m 444 $(PT_LIBDIR)/lib$(PTLIB_BASE)_s.a
$(DESTDIR)$(LIBDIR)
+       (cd $(DESTDIR)$(LIBDIR) ; \
+               rm -f  $(PTLIB_FILE) ; \
+-              ln -sf
$(PTLIB_FILE)....@major_version@....@minor_version@@BUILD_TYPE@@BUILD_NUMBER@
$(PTLIB_FILE) \
++              ln -sf $(PTLIB_FILE)....@major_version@ $(PTLIB_FILE) \
+       )
+ ifeq (1, $(HAS_PLUGINS))
+       if test -e $(PT_LIBDIR)/device/; then \
+@@ -120,9 +120,9 @@ endif
        $(INSTALL) -m 755 make/ptlib-config
$(DESTDIR)$(PREFIX)/share/ptlib/make/
        (cd $(DESTDIR)$(PREFIX)/bin; rm -f ptlib-config ; ln
-snf ../share/ptlib/make/ptlib-config ptlib-config)
  
@@ -13,7 +27,7 @@
  uninstall:
        rm -rf $(DESTDIR)$(PREFIX)/include/ptlib \
               $(DESTDIR)$(PREFIX)/include/ptclib \
-@@ -130,7 +130,7 @@
+@@ -130,7 +130,7 @@ uninstall:
               $(DESTDIR)$(PREFIX)/include/ptbuildopts.h \
               $(DESTDIR)$(PREFIX)/share/ptlib \
               $(DESTDIR)$(LIBDIR)/$(DEV_PLUGIN_DIR) \
diff -purN devel/ptlib/pkg-plist devel/ptlib/pkg-plist
--- devel/ptlib/pkg-plist       2009-02-22 03:01:07.000000000 +0800
+++ devel/ptlib/pkg-plist       2009-02-22 21:27:36.000000000 +0800
@@ -171,8 +171,7 @@ share/ptlib/make/ptlib.mak
 share/ptlib/make/unix.mak
 @dirrm share/ptlib/make
 @dirrm share/ptlib
-lib/libpt.so.2.4.4
-lib/libpt.so.2.4
 lib/libpt.so.2
+lib/libpt.so
 lib/libpt_s.a
 libdata/pkgconfig/ptlib.pc
diff -purN devel/ptlib/Makefile devel/ptlib/Makefile
--- devel/ptlib/Makefile	2009-02-22 03:01:07.000000000 +0800
+++ devel/ptlib/Makefile	2009-02-22 11:48:49.000000000 +0800
@@ -17,12 +17,10 @@ COMMENT=	A cross platform C++ library, u
 
 LIB_DEPENDS=	expat.6:${PORTSDIR}/textproc/expat2
 
-CONFLICTS=	pwlib-*
-
 USE_BISON=	build
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-USE_GNOME=	gnometarget
+USE_GNOME=	pkgconfig
 WANT_GNOME=	yes
 WANT_SDL=	yes
 USE_OPENSSL=	yes
diff -purN devel/ptlib/files/patch-Makefile.in devel/ptlib/files/patch-Makefile.in
--- devel/ptlib/files/patch-Makefile.in	2009-02-22 03:01:07.000000000 +0800
+++ devel/ptlib/files/patch-Makefile.in	2009-02-22 21:27:30.000000000 +0800
@@ -1,6 +1,20 @@
---- Makefile.in.orig	2009-01-11 17:53:18.000000000 -0500
-+++ Makefile.in	2009-01-26 15:09:22.000000000 -0500
-@@ -120,9 +120,9 @@
+--- Makefile.in.orig	2009-01-12 06:53:18.000000000 +0800
++++ Makefile.in	2009-02-22 21:15:46.000000000 +0800
+@@ -85,11 +85,11 @@ install:
+                      $(DESTDIR)$(PREFIX)/share/ptlib/make ; \
+ 		do mkdir -p $$dir ; chmod 755 $$dir ; \
+ 	done )
+-	$(INSTALL) -m 444 $(PT_LIBDIR)/$(PTLIB_FILE)....@major_version@....@minor_version@@BUILD_TYPE@@BUILD_NUMBER@ $(DESTDIR)$(LIBDIR)
++	$(INSTALL) -m 444 $(PT_LIBDIR)/$(PTLIB_FILE)....@major_version@....@minor_version@@BUILD_TYPE@@BUILD_NUMBER@ $(DESTDIR)$(LIBDIR)/$(PTLIB_FILE)....@major_version@
+ 	$(INSTALL) -m 444 $(PT_LIBDIR)/lib$(PTLIB_BASE)_s.a $(DESTDIR)$(LIBDIR)
+ 	(cd $(DESTDIR)$(LIBDIR) ; \
+ 		rm -f  $(PTLIB_FILE) ; \
+-		ln -sf $(PTLIB_FILE)....@major_version@....@minor_version@@BUILD_TYPE@@BUILD_NUMBER@ $(PTLIB_FILE) \
++		ln -sf $(PTLIB_FILE)....@major_version@ $(PTLIB_FILE) \
+ 	)
+ ifeq (1, $(HAS_PLUGINS))
+ 	if test -e $(PT_LIBDIR)/device/; then \
+@@ -120,9 +120,9 @@ endif
  	$(INSTALL) -m 755 make/ptlib-config $(DESTDIR)$(PREFIX)/share/ptlib/make/
  	(cd $(DESTDIR)$(PREFIX)/bin; rm -f ptlib-config ; ln -snf ../share/ptlib/make/ptlib-config ptlib-config)
  
@@ -13,7 +27,7 @@
  uninstall:
  	rm -rf $(DESTDIR)$(PREFIX)/include/ptlib \
  	       $(DESTDIR)$(PREFIX)/include/ptclib \
-@@ -130,7 +130,7 @@
+@@ -130,7 +130,7 @@ uninstall:
  	       $(DESTDIR)$(PREFIX)/include/ptbuildopts.h \
  	       $(DESTDIR)$(PREFIX)/share/ptlib \
  	       $(DESTDIR)$(LIBDIR)/$(DEV_PLUGIN_DIR) \
diff -purN devel/ptlib/pkg-plist devel/ptlib/pkg-plist
--- devel/ptlib/pkg-plist	2009-02-22 03:01:07.000000000 +0800
+++ devel/ptlib/pkg-plist	2009-02-22 21:27:36.000000000 +0800
@@ -171,8 +171,7 @@ share/ptlib/make/ptlib.mak
 share/ptlib/make/unix.mak
 @dirrm share/ptlib/make
 @dirrm share/ptlib
-lib/libpt.so.2.4.4
-lib/libpt.so.2.4
 lib/libpt.so.2
+lib/libpt.so
 lib/libpt_s.a
 libdata/pkgconfig/ptlib.pc
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscr...@freebsd.org"

Reply via email to