Re: Help understanding ports tinderbox failure report?

2013-09-23 Thread Pietro Cerutti
On 2013-Sep-22, 17:55, David Wolfskill wrote:
 Back in July, I filed PR ports/180642 (as the port maintainer for
 astro/gpsman) to update that port from 6.4.4 to 6.4.4.1.
[snip]
 I've attached a revised patch, to:
 * Perform the 6.4.4 - 6.4.4.1 upgrade.
 * Replace the USE_TK_RUN ( USE_TK_WRAPPER) with USES+= tk:wrapper,run.
 * Avoid showing the pkg-message if NOPORTDOCS is defined.

David,

please find attached a revised patch, including:

- the update to 6.4.4.1
- update to the new OPTIONS framework (s|NOPORTDOCS|!${PORTOPTIONS:MDOCS})
- install man pages along with docs
- fix wish and datadir paths in gpsman.tcl

Approved?

-- 
Pietro Cerutti
g...@gahr.ch

PGP Public Key:
http://gahr.ch/pgp
Index: Makefile
===
--- Makefile	(revision 327941)
+++ Makefile	(working copy)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	gpsman
-PORTVERSION=	6.4.4
+PORTVERSION=	6.4.4.1
 CATEGORIES=	astro tk geography
 MASTER_SITES=	SF/${PORTNAME}/distrib
 EXTRACT_SUFX=	.tgz
@@ -10,7 +10,7 @@
 MAINTAINER=	da...@catwhisker.org
 COMMENT=	A Tcl/Tk-based GPS management utility
 
-USE_TK_RUN=	84+
+USES+=		tk:wrapper
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 SUB_FILES=	pkg-message
@@ -20,11 +20,8 @@
 PORTDATA=	*
 PLIST_FILES=	bin/gpsman
 
-# MAN1=		gpsman.1
-# MANCOMPRESSED=	yes
+.include bsd.port.options.mk
 
-.include bsd.port.pre.mk
-
 .if ${OSVERSION}  800045
 GPSMAN_DEFAULT_PORT?=	/dev/cuad0
 .else
@@ -31,13 +28,17 @@
 GPSMAN_DEFAULT_PORT?=	/dev/cuau0
 .endif
 
+.if ${PORT_OPTIONS:MDOCS}
+MAN1=		gpsman.1
+.endif
+
 post-patch:
-	@(cd ${WRKSRC}  ${REINPLACE_CMD} s|/dev/ttyS0|${GPSMAN_DEFAULT_PORT}| \
- 		util/exerciser.tcl manual/html/info/l_realtime.doc.txt gpsman.tcl)
+	@${REINPLACE_CMD} s|/dev/ttyS0|${GPSMAN_DEFAULT_PORT}| \
+ 		${WRKSRC}/util/exerciser.tcl \
+		${WRKSRC}/manual/html/info/l_realtime.doc.txt \
+		${WRKSRC}/gpsman.tcl
+	@${REINPLACE_CMD} -e s:%%WISH%%:${WISH}:; s:%%DATADIR%%:${DATADIR}:g ${WRKSRC}/gpsman.tcl
 
-pre-install:
-	@${REINPLACE_CMD} -e s:%%PREFIX%%:${PREFIX}:g ${WRKSRC}/gpsman.tcl
-
 do-install:
 	@${MKDIR} ${PREFIX}/share/gpsman/gmsrc/gmicons
 	@${MKDIR} ${PREFIX}/share/gpsman/util
@@ -47,8 +48,8 @@
 	${INSTALL_DATA} ${WRKSRC}/util/*.tcl ${PREFIX}/share/gpsman/util
 	${INSTALL_SCRIPT} ${WRKSRC}/gpsman.tcl ${PREFIX}/share/gpsman
 	${LN} -fs ${PREFIX}/share/gpsman/gpsman.tcl ${PREFIX}/bin/gpsman
-#	${INSTALL_MAN} ${WRKSRC}/gpsman.1 ${PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
+	${INSTALL_MAN} ${WRKSRC}/man/man1/gpsman.1 ${MAN1PREFIX}/man/man1
 	@${MKDIR} ${PREFIX}/share/doc/gpsman/html/info
 	${INSTALL_DATA} ${WRKSRC}/manual/*.pdf ${PREFIX}/share/doc/gpsman
 	${INSTALL_DATA} ${WRKSRC}/manual/html/*.html ${PREFIX}/share/doc/gpsman/html
@@ -61,4 +62,4 @@
 	@${CAT} ${PKGMESSAGE}
 .endif
 
-.include bsd.port.post.mk
+.include bsd.port.mk
Index: distinfo
===
--- distinfo	(revision 327941)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (gpsman-6.4.4.tgz) = b7a6f94d24dfd47507240fd0f1e3db94305ca8485c31db3a9fbf9637656027fe
-SIZE (gpsman-6.4.4.tgz) = 1418214
+SHA256 (gpsman-6.4.4.1.tgz) = 214a8dbb3d8e0b0b798fc0cb1a422764d8747cd431105d55d54308d5deb9910c
+SIZE (gpsman-6.4.4.1.tgz) = 1417223
Index: files/patch-gpsman.tcl
===
--- files/patch-gpsman.tcl	(revision 327941)
+++ files/patch-gpsman.tcl	(working copy)
@@ -7,7 +7,7 @@
  #!/bin/sh
  # This is a Tcl/Tk script to be interpreted by wish (Tk8.3 or better): \
 -exec wish $0 -- $@
-+exec wish8.4 $0 -- $@
++exec %%WISH%% $0 -- $@
  
  #
  #  gpsman --- GPS Manager: a manager for GPS receiver data
@@ -16,7 +16,7 @@
  
   # path to directory containing program files
 -set SRCDIR gmsrc
-+set SRCDIR %%PREFIX%%/share/gpsman/gmsrc
++set SRCDIR %%DATADIR%%/gmsrc
  
  # all other defaults configuration is now done in file $SRCDIR/config.tcl
  
Index: pkg-descr
===
--- pkg-descr	(revision 327941)
+++ pkg-descr	(working copy)
@@ -5,4 +5,4 @@
 logging information in NMEA from any GPS receiver.
 
 Author: Miguel Filgueiras
-WWW:	http://gpsman.sourceforge.net/
+WWW: http://gpsman.sourceforge.net/


pgp2s1akEv8O4.pgp
Description: PGP signature


Re: Help understanding ports tinderbox failure report?

2013-09-23 Thread Tijl Coosemans
On Mon, 23 Sep 2013 10:08:11 +0200 Pietro Cerutti wrote:
 On 2013-Sep-22, 17:55, David Wolfskill wrote:
 Back in July, I filed PR ports/180642 (as the port maintainer for
 astro/gpsman) to update that port from 6.4.4 to 6.4.4.1.
 [snip]
 I've attached a revised patch, to:
 * Perform the 6.4.4 - 6.4.4.1 upgrade.
 * Replace the USE_TK_RUN ( USE_TK_WRAPPER) with USES+= tk:wrapper,run.
 * Avoid showing the pkg-message if NOPORTDOCS is defined.
 
 please find attached a revised patch, including:
 
 - the update to 6.4.4.1
 - update to the new OPTIONS framework (s|NOPORTDOCS|!${PORTOPTIONS:MDOCS})
 - install man pages along with docs
 - fix wish and datadir paths in gpsman.tcl
 
 Approved?

The tinderbox build also defined NOPORTDATA.  This variable makes little
sense, but you could support it in the do-install target (don't install
${PREFIX}/share/gpsman (aka ${DATADIR})).

Since you converted NOPORTDOCS, could you also add OPTIONS_DEFINE=DOCS?

Manpages are always installed I think.  If they are optional they fall
under the MANPAGES option.


signature.asc
Description: PGP signature


Re: Help understanding ports tinderbox failure report?

2013-09-23 Thread Pietro Cerutti
On 2013-Sep-23, 10:23, Tijl Coosemans wrote:
 On Mon, 23 Sep 2013 10:08:11 +0200 Pietro Cerutti wrote:
  On 2013-Sep-22, 17:55, David Wolfskill wrote:
  Back in July, I filed PR ports/180642 (as the port maintainer for
  astro/gpsman) to update that port from 6.4.4 to 6.4.4.1.
  [snip]
  I've attached a revised patch, to:
  * Perform the 6.4.4 - 6.4.4.1 upgrade.
  * Replace the USE_TK_RUN ( USE_TK_WRAPPER) with USES+= 
  tk:wrapper,run.
  * Avoid showing the pkg-message if NOPORTDOCS is defined.
  
  please find attached a revised patch, including:
  
  - the update to 6.4.4.1
  - update to the new OPTIONS framework (s|NOPORTDOCS|!${PORTOPTIONS:MDOCS})
  - install man pages along with docs
  - fix wish and datadir paths in gpsman.tcl
  
  Approved?
 
 The tinderbox build also defined NOPORTDATA.  This variable makes little
 sense, but you could support it in the do-install target (don't install
 ${PREFIX}/share/gpsman (aka ${DATADIR})).

I see the problem. In this case, it makes little sense to avoid
installing PORTDATA for this port, as everything is in DATADIR,
including the script that is symlinked to ${PREFIX}/bin/gpsman, and the
port won't work without the stuff in DATADIR.

 Since you converted NOPORTDOCS, could you also add OPTIONS_DEFINE=DOCS?

i'm not sure it's common to add OPTIONS only for DOCS.

 Manpages are always installed I think.  If they are optional they fall
 under the MANPAGES option.

This makes sense. A revised patch is attached.

-- 
Pietro Cerutti
g...@gahr.ch

PGP Public Key:
http://gahr.ch/pgp
Index: Makefile
===
--- Makefile	(revision 327941)
+++ Makefile	(working copy)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	gpsman
-PORTVERSION=	6.4.4
+PORTVERSION=	6.4.4.1
 CATEGORIES=	astro tk geography
 MASTER_SITES=	SF/${PORTNAME}/distrib
 EXTRACT_SUFX=	.tgz
@@ -10,21 +10,16 @@
 MAINTAINER=	da...@catwhisker.org
 COMMENT=	A Tcl/Tk-based GPS management utility
 
-USE_TK_RUN=	84+
+USES+=		tk:wrapper,run
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
-SUB_FILES=	pkg-message
 NO_STAGE=	yes
 NO_BUILD=	yes
 PORTDOCS=	*
-PORTDATA=	*
-PLIST_FILES=	bin/gpsman
+MAN1=		gpsman.1
 
-# MAN1=		gpsman.1
-# MANCOMPRESSED=	yes
+.include bsd.port.options.mk
 
-.include bsd.port.pre.mk
-
 .if ${OSVERSION}  800045
 GPSMAN_DEFAULT_PORT?=	/dev/cuad0
 .else
@@ -31,30 +26,31 @@
 GPSMAN_DEFAULT_PORT?=	/dev/cuau0
 .endif
 
+.if ${PORT_OPTIONS:MDOCS}
+SUB_FILES=	pkg-message
+.endif
+
 post-patch:
-	@(cd ${WRKSRC}  ${REINPLACE_CMD} s|/dev/ttyS0|${GPSMAN_DEFAULT_PORT}| \
- 		util/exerciser.tcl manual/html/info/l_realtime.doc.txt gpsman.tcl)
+	@${REINPLACE_CMD} s|/dev/ttyS0|${GPSMAN_DEFAULT_PORT}| \
+ 		${WRKSRC}/util/exerciser.tcl \
+		${WRKSRC}/manual/html/info/l_realtime.doc.txt \
+		${WRKSRC}/gpsman.tcl
+	@${REINPLACE_CMD} -e s:%%WISH%%:${WISH}:; s:%%DATADIR%%:${DATADIR}:g ${WRKSRC}/gpsman.tcl
 
-pre-install:
-	@${REINPLACE_CMD} -e s:%%PREFIX%%:${PREFIX}:g ${WRKSRC}/gpsman.tcl
-
 do-install:
-	@${MKDIR} ${PREFIX}/share/gpsman/gmsrc/gmicons
-	@${MKDIR} ${PREFIX}/share/gpsman/util
-	${INSTALL_DATA} ${WRKSRC}/gmsrc/*.tcl ${PREFIX}/share/gpsman/gmsrc
-	${INSTALL_DATA} ${WRKSRC}/gmsrc/gmicons/* ${PREFIX}/share/gpsman/gmsrc/gmicons
-	${INSTALL_DATA} ${WRKSRC}/util/*.sh ${PREFIX}/share/gpsman/util
-	${INSTALL_DATA} ${WRKSRC}/util/*.tcl ${PREFIX}/share/gpsman/util
-	${INSTALL_SCRIPT} ${WRKSRC}/gpsman.tcl ${PREFIX}/share/gpsman
-	${LN} -fs ${PREFIX}/share/gpsman/gpsman.tcl ${PREFIX}/bin/gpsman
-#	${INSTALL_MAN} ${WRKSRC}/gpsman.1 ${PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${PREFIX}/share/doc/gpsman/html/info
-	${INSTALL_DATA} ${WRKSRC}/manual/*.pdf ${PREFIX}/share/doc/gpsman
-	${INSTALL_DATA} ${WRKSRC}/manual/html/*.html ${PREFIX}/share/doc/gpsman/html
-	${RM} ${PREFIX}/share/doc/gpsman/html/index.html
-	${LN} ${PREFIX}/share/doc/gpsman/html/GPSMandoc.html ${PREFIX}/share/doc/gpsman/html/index.html
-	${INSTALL_DATA} ${WRKSRC}/manual/html/*.gif ${PREFIX}/share/doc/gpsman/html
+	${INSTALL_SCRIPT} ${WRKSRC}/gpsman.tcl ${PREFIX}/bin/gpsman
+	${INSTALL_MAN} ${WRKSRC}/man/man1/gpsman.1 ${MAN1PREFIX}/man/man1
+	@${MKDIR} ${DATADIR}/gmsrc/gmicons
+	@${MKDIR} ${DATADIR}/util
+	${INSTALL_DATA} ${WRKSRC}/gmsrc/*.tcl ${DATADIR}/gmsrc
+	${INSTALL_DATA} ${WRKSRC}/gmsrc/gmicons/* ${DATADIR}/gmsrc/gmicons
+	${INSTALL_DATA} ${WRKSRC}/util/*.sh ${DATADIR}/util
+	${INSTALL_DATA} ${WRKSRC}/util/*.tcl ${DATADIR}/util
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}/html/info
+	${INSTALL_DATA} ${WRKSRC}/manual/*.pdf ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/manual/html/*.html ${DOCSDIR}/html
+	${INSTALL_DATA} ${WRKSRC}/manual/html/*.gif ${DOCSDIR}/html
 .for i in gif txt ps
 	${INSTALL_DATA} ${WRKSRC}/manual/html/info/*.${i} ${PREFIX}/share/doc/gpsman/html/info
 .endfor
@@ -61,4 +57,4 @@
 	@${CAT} ${PKGMESSAGE}
 .endif
 
-.include bsd.port.post.mk
+.include bsd.port.mk
Index: distinfo
===
--- distinfo	

Re: Help understanding ports tinderbox failure report?

2013-09-23 Thread Tijl Coosemans
On Mon, 23 Sep 2013 10:46:00 +0200 Pietro Cerutti wrote:
 On 2013-Sep-23, 10:23, Tijl Coosemans wrote:
 On Mon, 23 Sep 2013 10:08:11 +0200 Pietro Cerutti wrote:
 On 2013-Sep-22, 17:55, David Wolfskill wrote:
 Back in July, I filed PR ports/180642 (as the port maintainer for
 astro/gpsman) to update that port from 6.4.4 to 6.4.4.1.
 [snip]
 I've attached a revised patch, to:
 * Perform the 6.4.4 - 6.4.4.1 upgrade.
 * Replace the USE_TK_RUN ( USE_TK_WRAPPER) with USES+= 
 tk:wrapper,run.
 * Avoid showing the pkg-message if NOPORTDOCS is defined.
 
 please find attached a revised patch, including:
 
 - the update to 6.4.4.1
 - update to the new OPTIONS framework (s|NOPORTDOCS|!${PORTOPTIONS:MDOCS})
 - install man pages along with docs
 - fix wish and datadir paths in gpsman.tcl
 
 Approved?
 
 The tinderbox build also defined NOPORTDATA.  This variable makes little
 sense, but you could support it in the do-install target (don't install
 ${PREFIX}/share/gpsman (aka ${DATADIR})).
 
 I see the problem. In this case, it makes little sense to avoid
 installing PORTDATA for this port, as everything is in DATADIR,
 including the script that is symlinked to ${PREFIX}/bin/gpsman, and the
 port won't work without the stuff in DATADIR.
 
 Since you converted NOPORTDOCS, could you also add OPTIONS_DEFINE=DOCS?
 
 i'm not sure it's common to add OPTIONS only for DOCS.

It's supposed to be.  The dialog won't appear if users set or unset the
DOCS option in make.conf (just like adding NOPORTDOCS to make.conf before).


signature.asc
Description: PGP signature


Re: Help understanding ports tinderbox failure report?

2013-09-23 Thread Pietro Cerutti
On 2013-Sep-23, 11:16, Tijl Coosemans wrote:
 On Mon, 23 Sep 2013 10:46:00 +0200 Pietro Cerutti wrote:
  On 2013-Sep-23, 10:23, Tijl Coosemans wrote:
  On Mon, 23 Sep 2013 10:08:11 +0200 Pietro Cerutti wrote:
  On 2013-Sep-22, 17:55, David Wolfskill wrote:
  Back in July, I filed PR ports/180642 (as the port maintainer for
  astro/gpsman) to update that port from 6.4.4 to 6.4.4.1.
  [snip]
  I've attached a revised patch, to:
  * Perform the 6.4.4 - 6.4.4.1 upgrade.
  * Replace the USE_TK_RUN ( USE_TK_WRAPPER) with USES+= 
  tk:wrapper,run.
  * Avoid showing the pkg-message if NOPORTDOCS is defined.
  
  please find attached a revised patch, including:
  
  - the update to 6.4.4.1
  - update to the new OPTIONS framework (s|NOPORTDOCS|!${PORTOPTIONS:MDOCS})
  - install man pages along with docs
  - fix wish and datadir paths in gpsman.tcl
  
  Approved?
  
  The tinderbox build also defined NOPORTDATA.  This variable makes little
  sense, but you could support it in the do-install target (don't install
  ${PREFIX}/share/gpsman (aka ${DATADIR})).
  
  I see the problem. In this case, it makes little sense to avoid
  installing PORTDATA for this port, as everything is in DATADIR,
  including the script that is symlinked to ${PREFIX}/bin/gpsman, and the
  port won't work without the stuff in DATADIR.
  
  Since you converted NOPORTDOCS, could you also add OPTIONS_DEFINE=DOCS?
  
  i'm not sure it's common to add OPTIONS only for DOCS.
 
 It's supposed to be.  The dialog won't appear if users set or unset the
 DOCS option in make.conf (just like adding NOPORTDOCS to make.conf before).

Can you please elaborate on this?

-- 
Pietro Cerutti
g...@gahr.ch

PGP Public Key:
http://gahr.ch/pgp


pgpbo_K7K6BlR.pgp
Description: PGP signature


editors/vim: why text file browser is missing in default build?

2013-09-23 Thread CeDeROM
Hello :-)

When I get binary package of VIM there is no browser on :bro op
command. When I build it by hand I have this browser. Is it possible
to introduce file browser by default? I mean the text file browser in
console mode...

Best regards :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Current unassigned ports problem reports

2013-09-23 Thread FreeBSD bugmaster
(Note: an HTML version of this report is available at
http://www.freebsd.org/cgi/query-pr-summary.cgi?category=ports .)

The following is a listing of current problems submitted by FreeBSD users.
These represent problem reports covering all versions including
experimental development code and obsolete releases.


S Tracker  Resp.  Description

o ports/182315[maintainer update] Unbreak ddd on FreeBSD 10
o ports/182307w11-wm/icewm doesn't run on current
o ports/182303FIX: build problem of x11/xbelld
o ports/182299[maintainer-update] devel/awscli - update to 1.1.0
o ports/182293Specify GCC version for devel/libopkele
o ports/182290[Patch] Update games/klavaro to version 1.9.9
o ports/182288New port: devel/lnphost
o ports/182287Update MariaDB 5.5.33a databases/mariadb55-{client,ser
o ports/182285[PATCH] japanese/csrd: take maintainership and etc.
o ports/182283audio/akode*: Fix build with Clang and newer versions 
o ports/182281[maintainer update] sysutils/p5-Sys-Filesystem update 
f ports/182280devel/gdb fails to build when PYTHON option enabled
o ports/182246[MAINTAINER] dns/opendnssec: update to 1.3.15
o ports/182244[maintainer update] Update to deskutils/ljcharm
f ports/182240[patch] devel/ragel: unbreak with libc++ (again)
o ports/182225sysutils/filewatcherd: update to 1.0-beta2
f ports/182220[PATCH] graphics/opencolorio: Fix build on 10.0-ALPHA 
f ports/182216can't fetch print/cups-samba distfile
f ports/182215audio/mumble: no sound, failed to load CELT plugins
o ports/182209Ports containing Hyper-V integration components for Fr
o ports/182208sysutils/ldap-account-manager: fix depends
f ports/182199dns/mdnsd failing on assertion because badly defined f
f ports/182197[PATCH] lang/spidermonkey17: Fix typo
o ports/182195(RELEASE - head-amd64-default) irc/scrollz: Build fail
f ports/182191astro/qlandkartegt : 1.7.4
f ports/182184[maintainer][patch] Upgrade port games/xtrojka to 1.2.
o ports/182183[MAINTAINER] dns/ldns: fix build of py-ldns
o ports/182168[maintainer update] sysutils/ciso clang support
f ports/182153lang/spidermonkey17 fails configure
o ports/182138[NEW PORT] devel/pecl-jsmin: PHP extension for minifyi
o ports/182136USE_GCC defaults to 4.6 but gcc46 does not support pow
o ports/182130x11/xmove does not build with clang [patch]
f ports/182127security/bro fails to build
o ports/182117patch - update net/widentd for clang
o ports/182113[patch] editors/nvi-m17n: Cannot search multibyte char
f ports/182097[patch] unbreak ports/emulators/fmsx
f ports/182085devel/git-review: drop argparse dependency
f ports/182082emulators/dynamips-community upgrade to 0.2.10 and hea
o ports/182078[maintainer] graphics/mapnik: fix Clang 3.3 build
f ports/182077maintainer update: science/minc2
o ports/182056[NEW PORT] emulators/petitecloud -- thin frontend for 
f ports/182054[PATCH] dns/libidn: Amend to pkg-config data, to fix F
o ports/182051sysutils/wiimms upgrade to 2.23a and fix head compilat
o ports/182043Build failed for print/ansiprint 1.0 during build#820
o ports/182040misc/sls port has build errors
o ports/182039devel/xa65: CLANG fixes
o ports/182037Response for Build failed for games/mangband 1.1.2 dur
f ports/182034[patch] update sysutils/zxfer for FreeBSD 9.2
o ports/182033[maintainer] make devel/wordgrinder build when gcc is 
o ports/182015audio/aureal-kmod is unfetchable
f ports/182007graphics/openimageio: ormatspec.cpp:994:9: error: no m
f ports/181990audio/mumble: uses needs pkgconfig
o ports/181967graphics/aaphoto: Missing OpenMP functionality because
o ports/181959New port: sysutils/zjail Management tool for ZFS based
o ports/181945[ New Port] sysutils/jail-primer
f ports/181944games/iourbanterror: gcc not found
o ports/181943New port: finance/fixc simple Financial Information eX
f ports/181927[PATCH] fix net/fping Makefile comment
f ports/181923security/heimdal JOBS_UNSAFE and default prefix locati
o ports/181919[PATCH] x11-toolkits/Xaw3d has an overflow error in ge
f ports/181912x11-toolkits/swt-devel: bad zipfile offset (local head
o ports/181904[PATCH] graphics/libwmf: fix warning of make index whe
o ports/181901[MAINTAINER-UPDATE] games/assaultcube: using GCC to bu
o 

www/cherokee (1.2.101) : configure error cannot compute sizeof (sig_atomic_t)

2013-09-23 Thread Raynald de Lahondès

Hi,

I've come accross a compilation failure : (ports are fresh)

make
===   cherokee-1.2.101_4 depends on executable: gmake - found
===   cherokee-1.2.101_4 depends on executable: pkgconf - found
===   cherokee-1.2.101_4 depends on shared library: pcre - found
===   cherokee-1.2.101_4 depends on shared library: intl - found
===  Configuring for cherokee-1.2.101_4
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c -o root -g 
wheel

checking whether build environment is sane... yes
[]
checking size of sig_atomic_t... configure: error: in 
`/usr/ports/www/cherokee/work/cherokee-1.2.101':

configure: error: cannot compute sizeof (sig_atomic_t)
See `config.log' for more details
===  Script configure failed unexpectedly.
Please report the problem to po...@freebsd.org [maintainer] and attach the
/usr/ports/www/cherokee/work/cherokee-1.2.101/config.log including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** [do-configure] Error code 1

pkg info output:
GeoIP-1.4.8_3  Find the country that any IP address or 
hostname originates from

dialog4ports-0.1.5_1   Console Interface to configure ports
gettext-0.18.1.1_1 GNU gettext package
gmake-3.82_1   GNU version of 'make' utility
libiconv-1.14_1A character set conversion library
libtool-2.4.2  Generic shared library support script
libxml2-2.8.0_2XML parser library for GNOME
nagios-plugins-1.4.16_2,1  Plugins for Nagios
nrpe-2.13_2Nagios Remote Plugin Executor
ntp-4.2.6p5_2  The Network Time Protocol Distribution
pcre-8.33  Perl Compatible Regular Expressions library
perl-5.14.4Practical Extraction and Report Language
pkg-1.1.4  New generation package manager
pkg_search-1.3 A nifty script searching the ports database
pkgconf-0.9.2_1Utility to help to configure compiler and 
linker flags

postgresql-client-9.0.13   PostgreSQL database (client)
postgresql-server-9.0.13   The most advanced open-source database 
available anywhere
py27-psycopg2-2.5.1The high performance Python adapter for 
PostgreSQL
python27-2.7.5_1   Interpreted object-oriented programming 
language
rsync-3.0.9_3  Network file distribution/synchronization 
utility

screen-4.0.3_14A multi-screen window manager
smartmontools-6.1  S.M.A.R.T. disk monitoring tools
uwsgi-1.9.13   Developer-friendly WSGI server which uses 
uwsgi protoc


--
Raynald de Lahondès - Président

SIBIO
102 avenue Gaston Roussel
Parc Biocitech
93230 ROMAINVILLE

Tél: 01.48.46.68.09
GSM: 06.21.89.55.76

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: editors/vim: why text file browser is missing in default build?

2013-09-23 Thread A.J. 'Fonz' van Werven
CeDeROM wrote:

 When I get binary package of VIM there is no browser on :bro op
 command. When I build it by hand I have this browser. Is it possible
 to introduce file browser by default? I mean the text file browser in
 console mode...

That sounds like something you'd best take up with the port maintainer.
The full-blown Vim port (editors/vim) has quite a few options and some
kind of choice has to be made as to which one of those are enabled by
default (I'm assuming that default settings are used for building the
official binary packages). So essentially you'd have to convince the port
maintainer that this particular feature should be enabled by default.

Note: if you built editors/vim using the default settings and got that
browser while the binary package doesn't have it, the port maintainer may
be able to explain how that can happen.

Hth,

AvW

-- 
I'm not completely useless, I can be used as a bad example.


pgpGvf8gtWkxA.pgp
Description: PGP signature


Re: Help in testing Basho Riak port

2013-09-23 Thread Big Lebowski
Hi, everyone!

I am proud to announce, that I've finished testing and the port has reached
the point where it was good enough for send-pr, so, here it is:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182317
Once it gets commited, I'll be even more proud ;) and will move on to port
few more things.

Kind regards,
B.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: editors/vim: why text file browser is missing in default build?

2013-09-23 Thread CeDeROM
On Mon, Sep 23, 2013 at 1:50 PM, A.J. 'Fonz' van Werven
free...@skysmurf.nl wrote:
 CeDeROM wrote:
 When I get binary package of VIM there is no browser on :bro op
 command. When I build it by hand I have this browser. Is it possible
 to introduce file browser by default? I mean the text file browser in
 console mode...

 That sounds like something you'd best take up with the port maintainer.

Uhm, I can see no make config options, ane the :bro op is gone
even with my own build :-( Is it possible to bring it back and
possibly make a default?

Best regards! :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP] Stage support for the ports tree

2013-09-23 Thread Christian Weisgerber
Baptiste Daroussin b...@freebsd.org wrote:

 To convert your ports to make them use the staging area, please refer to:
 https://wiki.freebsd.org/ports/StageDir

| * When converting remove the MAN* and add the man pages as any normal
|   files in pkg-plist for them to be tracked. 

What about INFO?

-- 
Christian naddy Weisgerber  na...@mips.inka.de

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: editors/vim: why text file browser is missing in default build?

2013-09-23 Thread A.J. 'Fonz' van Werven
CeDeROM wrote:

 Uhm, I can see no make config options, ane the :bro op is gone
 even with my own build :-( Is it possible to bring it back and
 possibly make a default?

Oh yeah, I seem to remember there was something peculiar about editors/vim
and make config. You should be able to specify the option(s) you want by
manually editing the port Makefile, but I have no idea which option adds
your browser thing. The port maintainer probably knows, though.

AvW

-- 
I'm not completely useless, I can be used as a bad example.


pgpHoIBgujep5.pgp
Description: PGP signature


Re: Help understanding ports tinderbox failure report?

2013-09-23 Thread Tijl Coosemans
On Mon, 23 Sep 2013 11:28:19 +0200 Pietro Cerutti wrote:
 On 2013-Sep-23, 11:16, Tijl Coosemans wrote:
 On Mon, 23 Sep 2013 10:46:00 +0200 Pietro Cerutti wrote:
 On 2013-Sep-23, 10:23, Tijl Coosemans wrote:
 Since you converted NOPORTDOCS, could you also add OPTIONS_DEFINE=DOCS?
 
 i'm not sure it's common to add OPTIONS only for DOCS.
 
 It's supposed to be.  The dialog won't appear if users set or unset the
 DOCS option in make.conf (just like adding NOPORTDOCS to make.conf before).
 
 Can you please elaborate on this?

A few months ago there was a discussion about some ports having a single
DOCS option while others didn't.  This was considered inconsistent and
there was a request for an official policy.  Some people wanted the
option while others didn't want to be bothered with such simple dialogs
everywhere.  The consensus that was eventually reached was to always add
a DOCS option even if it's the only option (same for NLS and some others),
but to allow users to set options in make.conf and let the dialog stay
hidden if all options for a port are already defined.

So, if you set DOCS in make.conf (e.g. OPTIONS_UNSET= DOCS) all dialogs
where DOCS is the only option stay hidden.

This way users who want to configure DOCS separately per port can do so
and users who want to configure DOCS globally can do so as well.  This
works for all options by the way, not just DOCS.


signature.asc
Description: PGP signature


Re: Help understanding ports tinderbox failure report?

2013-09-23 Thread Pietro Cerutti
On 2013-Sep-23, 17:55, Tijl Coosemans wrote:
 On Mon, 23 Sep 2013 11:28:19 +0200 Pietro Cerutti wrote:
  On 2013-Sep-23, 11:16, Tijl Coosemans wrote:
  On Mon, 23 Sep 2013 10:46:00 +0200 Pietro Cerutti wrote:
  On 2013-Sep-23, 10:23, Tijl Coosemans wrote:
  Since you converted NOPORTDOCS, could you also add OPTIONS_DEFINE=DOCS?
  
  i'm not sure it's common to add OPTIONS only for DOCS.
  
  It's supposed to be.  The dialog won't appear if users set or unset the
  DOCS option in make.conf (just like adding NOPORTDOCS to make.conf before).
  
  Can you please elaborate on this?
 
 A few months ago there was a discussion about some ports having a single
 DOCS option while others didn't.  This was considered inconsistent and
 there was a request for an official policy.  Some people wanted the
 option while others didn't want to be bothered with such simple dialogs
 everywhere.  The consensus that was eventually reached was to always add
 a DOCS option even if it's the only option (same for NLS and some others),
 but to allow users to set options in make.conf and let the dialog stay
 hidden if all options for a port are already defined.
 
 So, if you set DOCS in make.conf (e.g. OPTIONS_UNSET= DOCS) all dialogs
 where DOCS is the only option stay hidden.
 
 This way users who want to configure DOCS separately per port can do so
 and users who want to configure DOCS globally can do so as well.  This
 works for all options by the way, not just DOCS.

Thanks a lot for this clear summary. I'll revise the patch.

-- 
Pietro Cerutti
g...@gahr.ch

PGP Public Key:
http://gahr.ch/pgp


pgp9iSU36PE1u.pgp
Description: PGP signature


Re: [HEADSUP] Stage support for the ports tree

2013-09-23 Thread Baptiste Daroussin
On Mon, Sep 23, 2013 at 03:23:47PM +, Christian Weisgerber wrote:
 Baptiste Daroussin b...@freebsd.org wrote:
 
  To convert your ports to make them use the staging area, please refer to:
  https://wiki.freebsd.org/ports/StageDir
 
 | * When converting remove the MAN* and add the man pages as any normal
 |   files in pkg-plist for them to be tracked. 
 
 What about INFO?
 
 -- 
 Christian naddy Weisgerber  na...@mips.inka.de
 
 ___
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Info hasn't changed for now, has I haven't been able to figure out a reliable
way to handle it.

regards,
Bapt


pgpwtiVThalBc.pgp
Description: PGP signature


Portupgrade port error

2013-09-23 Thread Jos Chrispijn
   Dear group,
   Just tried to upgrade to portupgrade with portmaster but something goes
   wrong here:
   ===  Building package for portupgrade-2.4.11.2,2
   Creating package /usr/ports/packages/All/portupgrade-2.4.11.2,2.tbz
   Registering depends: ruby19-bdb-0.6.6_1 db41-4.1.25_4 ruby-1.9.3.448,1
   libexecinfo-1.1_3 libffi-3.0.13 libyaml-0.1.4_2.
   Registering conflicts: portupgrade-devel-*.
   Creating bzip'd tar ball in
   '/usr/ports/packages/All/portupgrade-2.4.11.2,2.tbz'
   tar: libdata/ldconfig/portupgrade: 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/ports-mgmt/portupgrade.
   *** [install] Error code 1
   Stop in /usr/ports/ports-mgmt/portupgrade.
   === A backup package for portupgrade-2.4.11.1,2 should
  be located in /usr/ports/packages/portmaster-backup
   === Installation of portupgrade-2.4.11.2,2 (ports-mgmt/portupgrade)
   failed
   === Aborting update
   === Update for ports-mgmt/portupgrade failed
   === Aborting update
   === Killing background jobs
   Terminated
   === You can restart from the point of failure with this command
   line:
  portmaster flags ports-mgmt/portupgrade
   === Exiting
   Can you tell me how I can solve this issue?
   Thanks in advance,
   Jos Chrispijn
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [HEADSUP] Stage support for the ports tree

2013-09-23 Thread Boris Samorodov
23.09.2013 17:45, Baptiste Daroussin пишет:

 If you find any bug and have any diffulty to convert you port to stage
 directory, please report it.

Are DESKTOP_ENTRIES supposed to work with stage?

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: [HEADSUP] Stage support for the ports tree

2013-09-23 Thread Baptiste Daroussin
On Mon, Sep 23, 2013 at 09:59:04PM +0400, Boris Samorodov wrote:
 23.09.2013 17:45, Baptiste Daroussin пишет:
 
  If you find any bug and have any diffulty to convert you port to stage
  directory, please report it.
 
 Are DESKTOP_ENTRIES supposed to work with stage?
 
 -- 
 WBR, Boris Samorodov (bsam)
 FreeBSD Committer, http://www.FreeBSD.org The Power To Serve

Yes if not that needs to be fixed

regards,
Bapt


pgpueySlFILWK.pgp
Description: PGP signature


Re: [HEADSUP] Stage support for the ports tree

2013-09-23 Thread Boris Samorodov
23.09.2013 22:01, Baptiste Daroussin пишет:
 On Mon, Sep 23, 2013 at 09:59:04PM +0400, Boris Samorodov wrote:
 23.09.2013 17:45, Baptiste Daroussin пишет:

 If you find any bug and have any diffulty to convert you port to stage
 directory, please report it.

 Are DESKTOP_ENTRIES supposed to work with stage?

 
 Yes if not that needs to be fixed

The Makefile does not define NO_STAGE=yes. However:
-
% make -V DESKTOPDIR
/usr/local/share/applications
-

Should that be ${STAGEDIR}/usr/local/share/applications?

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: [HEADSUP] Stage support for the ports tree

2013-09-23 Thread Baptiste Daroussin
On Mon, Sep 23, 2013 at 10:10:07PM +0400, Boris Samorodov wrote:
 23.09.2013 22:01, Baptiste Daroussin пишет:
  On Mon, Sep 23, 2013 at 09:59:04PM +0400, Boris Samorodov wrote:
  23.09.2013 17:45, Baptiste Daroussin пишет:
 
  If you find any bug and have any diffulty to convert you port to stage
  directory, please report it.
 
  Are DESKTOP_ENTRIES supposed to work with stage?
 
  
  Yes if not that needs to be fixed
 
 The Makefile does not define NO_STAGE=yes. However:
 -
 % make -V DESKTOPDIR
 /usr/local/share/applications
 -
 
 Should that be ${STAGEDIR}/usr/local/share/applications?
 
 -- 
 WBR, Boris Samorodov (bsam)
 FreeBSD Committer, http://www.FreeBSD.org The Power To Serve


nope, I ll have a lool later and come back to you.

regards,
Bapt


pgpbCnKaownBj.pgp
Description: PGP signature


Re: [HEADSUP] Stage support for the ports tree

2013-09-23 Thread Baptiste Daroussin
On Mon, Sep 23, 2013 at 10:10:07PM +0400, Boris Samorodov wrote:
 23.09.2013 22:01, Baptiste Daroussin пишет:
  On Mon, Sep 23, 2013 at 09:59:04PM +0400, Boris Samorodov wrote:
  23.09.2013 17:45, Baptiste Daroussin пишет:
 
  If you find any bug and have any diffulty to convert you port to stage
  directory, please report it.
 
  Are DESKTOP_ENTRIES supposed to work with stage?
 
  
  Yes if not that needs to be fixed
 
 The Makefile does not define NO_STAGE=yes. However:
 -
 % make -V DESKTOPDIR
 /usr/local/share/applications
 -
 
 Should that be ${STAGEDIR}/usr/local/share/applications?
 
 -- 
 WBR, Boris Samorodov (bsam)
 FreeBSD Committer, http://www.FreeBSD.org The Power To Serve

Do you have a failing case?

From what I see it should work. and it is normal that DESKTOPDIR is
/usr/local/share/applications when running make -VDESKTOPDIR

regards,
Bapt


pgp9PZnBW6LiZ.pgp
Description: PGP signature


Re: [HEADSUP] Stage support for the ports tree

2013-09-23 Thread Boris Samorodov
24.09.2013 00:18, Baptiste Daroussin пишет:
 On Mon, Sep 23, 2013 at 10:10:07PM +0400, Boris Samorodov wrote:
 23.09.2013 22:01, Baptiste Daroussin пишет:
 On Mon, Sep 23, 2013 at 09:59:04PM +0400, Boris Samorodov wrote:
 23.09.2013 17:45, Baptiste Daroussin пишет:

 If you find any bug and have any diffulty to convert you port to stage
 directory, please report it.

 Are DESKTOP_ENTRIES supposed to work with stage?


 Yes if not that needs to be fixed

 The Makefile does not define NO_STAGE=yes. However:
 -
 % make -V DESKTOPDIR
 /usr/local/share/applications
 -

 Should that be ${STAGEDIR}/usr/local/share/applications?

 -- 
 WBR, Boris Samorodov (bsam)
 FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
 
 Do you have a failing case?
 
 From what I see it should work. and it is normal that DESKTOPDIR is
 /usr/local/share/applications when running make -VDESKTOPDIR

Minimal patch attached. I get the following error at phase: stage:
http://gw.wart.ru/bulk/10-amd64-default/2013-09-23_20h32m32s/logs/errors/eos-movrec-0.3.2.b_1.log

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
Index: /poudriere/ports/default/graphics/eos-movrec/Makefile
===
--- /poudriere/ports/default/graphics/eos-movrec/Makefile	(revision 328026)
+++ /poudriere/ports/default/graphics/eos-movrec/Makefile	(working copy)
@@ -26,7 +26,6 @@
 DESKTOP_ENTRIES=EOS Camera Movie Recorder ${COMMENT} ${PORTNAME} \
 		eos_movrec Graphics;Photography;Qt; false
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|GLIBC|${OPSYS}|' ${WRKSRC}/os_api.h
 .for s in 16 32 128 256 512
@@ -36,10 +35,10 @@
 
 post-install:
 .for s in ${ICON_SIZES}
-	@${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps
 	${INSTALL_DATA} ${WRKSRC}/mac.icons/${PORTNAME}_${s}.png \
-		${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
+		${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
 .endfor
-	${LN} -sf ${PREFIX}/share/icons/hicolor/32x32/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
+	${LN} -sf ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/
 
 .include bsd.port.mk
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: [HEADSUP] Stage support for the ports tree

2013-09-23 Thread Baptiste Daroussin
On Tue, Sep 24, 2013 at 12:29:21AM +0400, Boris Samorodov wrote:
 24.09.2013 00:18, Baptiste Daroussin пишет:
  On Mon, Sep 23, 2013 at 10:10:07PM +0400, Boris Samorodov wrote:
  23.09.2013 22:01, Baptiste Daroussin пишет:
  On Mon, Sep 23, 2013 at 09:59:04PM +0400, Boris Samorodov wrote:
  23.09.2013 17:45, Baptiste Daroussin пишет:
 
  If you find any bug and have any diffulty to convert you port to stage
  directory, please report it.
 
  Are DESKTOP_ENTRIES supposed to work with stage?
 
 
  Yes if not that needs to be fixed
 
  The Makefile does not define NO_STAGE=yes. However:
  -
  % make -V DESKTOPDIR
  /usr/local/share/applications
  -
 
  Should that be ${STAGEDIR}/usr/local/share/applications?
 
  -- 
  WBR, Boris Samorodov (bsam)
  FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
  
  Do you have a failing case?
  
  From what I see it should work. and it is normal that DESKTOPDIR is
  /usr/local/share/applications when running make -VDESKTOPDIR
 
 Minimal patch attached. I get the following error at phase: stage:
 http://gw.wart.ru/bulk/10-amd64-default/2013-09-23_20h32m32s/logs/errors/eos-movrec-0.3.2.b_1.log
 
Can you try with the following patch applied to bsd.port.mk?
http://people.freebsd.org/~bapt/desktop.diff

One remark below

 Index: /poudriere/ports/default/graphics/eos-movrec/Makefile
 ===
 --- /poudriere/ports/default/graphics/eos-movrec/Makefile (revision 
 328026)
 +++ /poudriere/ports/default/graphics/eos-movrec/Makefile (working copy)
 @@ -26,7 +26,6 @@
  DESKTOP_ENTRIES=EOS Camera Movie Recorder ${COMMENT} ${PORTNAME} \
   eos_movrec Graphics;Photography;Qt; false
  
 -NO_STAGE=yes
  post-patch:
   @${REINPLACE_CMD} -e 's|GLIBC|${OPSYS}|' ${WRKSRC}/os_api.h
  .for s in 16 32 128 256 512
 @@ -36,10 +35,10 @@
  
  post-install:
  .for s in ${ICON_SIZES}
 - @${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps
 + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps
   ${INSTALL_DATA} ${WRKSRC}/mac.icons/${PORTNAME}_${s}.png \
 - ${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
 + 
 ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
  .endfor
 - ${LN} -sf ${PREFIX}/share/icons/hicolor/32x32/apps/${PORTNAME}.png 
 ${PREFIX}/share/pixmaps/
 + ${LN} -sf 
 ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/${PORTNAME}.png 
 ${STAGEDIR}${PREFIX}/share/pixmaps/

^^
Here this should be ${LN} -sf 
${PREFIX}/share/icons/hicolor/32x32/apps/${PORTNAME}.png 
${STAGEDIR}${PREFIX}/share/pixmaps/
otherwise the created symlink will point inside the STAGEDIR which you don't
want :)

regards,
Bapt


pgpPd4crpcb1A.pgp
Description: PGP signature


Re: [HEADSUP] Stage support for the ports tree

2013-09-23 Thread Boris Samorodov
24.09.2013 00:40, Baptiste Daroussin пишет:
 On Tue, Sep 24, 2013 at 12:29:21AM +0400, Boris Samorodov wrote:
 24.09.2013 00:18, Baptiste Daroussin пишет:
 On Mon, Sep 23, 2013 at 10:10:07PM +0400, Boris Samorodov wrote:
 23.09.2013 22:01, Baptiste Daroussin пишет:
 On Mon, Sep 23, 2013 at 09:59:04PM +0400, Boris Samorodov wrote:
 23.09.2013 17:45, Baptiste Daroussin пишет:

 If you find any bug and have any diffulty to convert you port to stage
 directory, please report it.

 Are DESKTOP_ENTRIES supposed to work with stage?


 Yes if not that needs to be fixed

 The Makefile does not define NO_STAGE=yes. However:
 -
 % make -V DESKTOPDIR
 /usr/local/share/applications
 -

 Should that be ${STAGEDIR}/usr/local/share/applications?

 -- 
 WBR, Boris Samorodov (bsam)
 FreeBSD Committer, http://www.FreeBSD.org The Power To Serve

 Do you have a failing case?

 From what I see it should work. and it is normal that DESKTOPDIR is
 /usr/local/share/applications when running make -VDESKTOPDIR

 Minimal patch attached. I get the following error at phase: stage:
 http://gw.wart.ru/bulk/10-amd64-default/2013-09-23_20h32m32s/logs/errors/eos-movrec-0.3.2.b_1.log

 Can you try with the following patch applied to bsd.port.mk?
 http://people.freebsd.org/~bapt/desktop.diff

The patch works! Thanks!!

 One remark below
 
 Index: /poudriere/ports/default/graphics/eos-movrec/Makefile
 ===
 --- /poudriere/ports/default/graphics/eos-movrec/Makefile(revision 
 328026)
 +++ /poudriere/ports/default/graphics/eos-movrec/Makefile(working copy)
 @@ -26,7 +26,6 @@
  DESKTOP_ENTRIES=EOS Camera Movie Recorder ${COMMENT} ${PORTNAME} \
  eos_movrec Graphics;Photography;Qt; false
  
 -NO_STAGE=   yes
  post-patch:
  @${REINPLACE_CMD} -e 's|GLIBC|${OPSYS}|' ${WRKSRC}/os_api.h
  .for s in 16 32 128 256 512
 @@ -36,10 +35,10 @@
  
  post-install:
  .for s in ${ICON_SIZES}
 -@${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps
 +@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps
  ${INSTALL_DATA} ${WRKSRC}/mac.icons/${PORTNAME}_${s}.png \
 -${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
 +
 ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
  .endfor
 -${LN} -sf ${PREFIX}/share/icons/hicolor/32x32/apps/${PORTNAME}.png 
 ${PREFIX}/share/pixmaps/
 +${LN} -sf 
 ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/${PORTNAME}.png 
 ${STAGEDIR}${PREFIX}/share/pixmaps/
 
 ^^
 Here this should be ${LN} -sf 
 ${PREFIX}/share/icons/hicolor/32x32/apps/${PORTNAME}.png 
 ${STAGEDIR}${PREFIX}/share/pixmaps/
 otherwise the created symlink will point inside the STAGEDIR which you don't
 want :)

I see the error, thanks.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

how to force upgrade

2013-09-23 Thread Aryeh Friedman
I have a port that has a very serious security flaw (no password required
for super user level privileges) and in the fix I want to force the
uninstalling of all previously installed versions (for obvious reasons)...
how do I go about doing this... please note I am also the author of the
ported software so can make any changes also needed there
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Portupgrade port error

2013-09-23 Thread Kevin Oberman
On Mon, Sep 23, 2013 at 11:05 AM, Jos Chrispijn j...@webrz.net wrote:

Dear group,
Just tried to upgrade to portupgrade with portmaster but something goes
wrong here:
===  Building package for portupgrade-2.4.11.2,2
Creating package /usr/ports/packages/All/portupgrade-2.4.11.2,2.tbz
Registering depends: ruby19-bdb-0.6.6_1 db41-4.1.25_4 ruby-1.9.3.448,1
libexecinfo-1.1_3 libffi-3.0.13 libyaml-0.1.4_2.
Registering conflicts: portupgrade-devel-*.
Creating bzip'd tar ball in
'/usr/ports/packages/All/portupgrade-2.4.11.2,2.tbz'
tar: libdata/ldconfig/portupgrade: 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/ports-mgmt/portupgrade.
*** [install] Error code 1
Stop in /usr/ports/ports-mgmt/portupgrade.
=== A backup package for portupgrade-2.4.11.1,2 should
   be located in /usr/ports/packages/portmaster-backup
=== Installation of portupgrade-2.4.11.2,2 (ports-mgmt/portupgrade)
failed
=== Aborting update
=== Update for ports-mgmt/portupgrade failed
=== Aborting update
=== Killing background jobs
Terminated
=== You can restart from the point of failure with this command
line:
   portmaster flags ports-mgmt/portupgrade
=== Exiting
Can you tell me how I can solve this issue?
Thanks in advance,
Jos Chrispijn


A little more detail might help. Exactly what command did you enter? What
options? What is in your portmasterrc file (if you have one)? Are you
running pkg or pkgng? Does /usr/local/libdata/ldconfig/portupgrade exist?
(It should have just been ceated?)
-- 
R. Kevin Oberman, Network Engineer
E-mail: rkober...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


port /devel/xsd - Compile Error: 'xsd-frontend/semantic-graph/fundamental.hxx' file not found

2013-09-23 Thread Miguel Clara
Its not the first time I've build KDE in freebsd-10, and I've found this
error while compiling xsd (kde-pim dependency)


ports/devel/xsd/work/xsd-3.3.0-2+dep/libxsd-frontend/xsd-frontend/semanticgraph.hxx:20:10:
fatal error:
  'xsd-frontend/semantic-graph/fundamental.hxx' file not found

#include xsd-frontend/semantic-graph/fundamental.hxx

The problem is that fundamental.hxx is not being converted by gm4, its easy
to do it manually, but still its always annoying that kde4 stops building
when it gets here!

Anyway, just wanted to report this, should be a small fix I guess!

Thanks!
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Portupgrade port error

2013-09-23 Thread Bryan Drewery
On 9/23/2013 1:05 PM, Jos Chrispijn wrote:
Dear group,
Just tried to upgrade to portupgrade with portmaster but something goes
wrong here:
===  Building package for portupgrade-2.4.11.2,2
Creating package /usr/ports/packages/All/portupgrade-2.4.11.2,2.tbz
Registering depends: ruby19-bdb-0.6.6_1 db41-4.1.25_4 ruby-1.9.3.448,1
libexecinfo-1.1_3 libffi-3.0.13 libyaml-0.1.4_2.
Registering conflicts: portupgrade-devel-*.
Creating bzip'd tar ball in
'/usr/ports/packages/All/portupgrade-2.4.11.2,2.tbz'
tar: libdata/ldconfig/portupgrade: 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/ports-mgmt/portupgrade.
*** [install] Error code 1
Stop in /usr/ports/ports-mgmt/portupgrade.

It's an issue with the new stage support in the ports tree. I am looking
at it.


-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


portupgrade problem?

2013-09-23 Thread Brian W.
I am having a problem with portupgrade; is anyone else seeing this?

===  Building package for portupgrade-2.4.11.2,2
Creating package /usr/ports/packages/All/portupgrade-2.4.11.2,2.tbz
Registering depends: ruby19-bdb-0.6.6_1 db41-4.1.25_4 ruby-1.9.3.448,1
libexecinfo-1.1_3 libffi-3.0.13 libyaml-0.1.4_2.
Registering conflicts: portupgrade-devel-*.
Creating bzip'd tar ball in
'/usr/ports/packages/All/portupgrade-2.4.11.2,2.tbz'
tar: libdata/ldconfig/portupgrade: 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/ports-mgmt/portupgrade.
*** [reinstall] Error code 1

Stop in /usr/ports/ports-mgmt/portupgrade.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20130923-47104-x5ofv env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=portupgrade-2.4.11.1,2 UPGRADE_PORT_VER=2.4.11.1,2 make
BATCH=yes reinstall
---  Restoring the old version

--
  Fill ALT_PKGDEP section in pkgtools.conf file for portupgrade to be
  aware of alternative dependencies you use.
  E.g.
  ALT_PKGDEP = {
# Use the -nox11 port when another port depends on
category/portexample
'category/portexample' = 'category/portexample-nox11',
  }

  Note also, portupgrade knows nothing about how to handle ports with
  different suffixes (E.g. -nox11). So you should explicitly define
  variables (E.g. WITHOUT_X11=yes) for the ports in /etc/make.conf or
  pkgtools.conf (MAKE_ARGS section) files.
--

** Fix the installation problem and try again.
[Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 99 packages
found (-0 +1) . done]
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! ports-mgmt/portupgrade (portupgrade-2.4.11.1,2) (install error)
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Portupgrade port error

2013-09-23 Thread Bryan Drewery
Sorry for the trouble. I just committed a fix.

On 9/23/2013 1:05 PM, Jos Chrispijn wrote:
Dear group,
Just tried to upgrade to portupgrade with portmaster but something goes
wrong here:
===  Building package for portupgrade-2.4.11.2,2
Creating package /usr/ports/packages/All/portupgrade-2.4.11.2,2.tbz
Registering depends: ruby19-bdb-0.6.6_1 db41-4.1.25_4 ruby-1.9.3.448,1
libexecinfo-1.1_3 libffi-3.0.13 libyaml-0.1.4_2.
Registering conflicts: portupgrade-devel-*.
Creating bzip'd tar ball in
'/usr/ports/packages/All/portupgrade-2.4.11.2,2.tbz'
tar: libdata/ldconfig/portupgrade: 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/ports-mgmt/portupgrade.
*** [install] Error code 1
Stop in /usr/ports/ports-mgmt/portupgrade.
=== A backup package for portupgrade-2.4.11.1,2 should
   be located in /usr/ports/packages/portmaster-backup
=== Installation of portupgrade-2.4.11.2,2 (ports-mgmt/portupgrade)
failed
=== Aborting update
=== Update for ports-mgmt/portupgrade failed
=== Aborting update
=== Killing background jobs
Terminated
=== You can restart from the point of failure with this command
line:
   portmaster flags ports-mgmt/portupgrade
=== Exiting
Can you tell me how I can solve this issue?
Thanks in advance,
Jos Chrispijn
 ___
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
 


-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


Re: portupgrade problem?

2013-09-23 Thread Bryan Drewery
Sorry for the trouble. I just committed a fix.

On 9/23/2013 8:06 PM, Brian W. wrote:
 I am having a problem with portupgrade; is anyone else seeing this?
 
 ===  Building package for portupgrade-2.4.11.2,2
 Creating package /usr/ports/packages/All/portupgrade-2.4.11.2,2.tbz
 Registering depends: ruby19-bdb-0.6.6_1 db41-4.1.25_4 ruby-1.9.3.448,1
 libexecinfo-1.1_3 libffi-3.0.13 libyaml-0.1.4_2.
 Registering conflicts: portupgrade-devel-*.
 Creating bzip'd tar ball in
 '/usr/ports/packages/All/portupgrade-2.4.11.2,2.tbz'
 tar: libdata/ldconfig/portupgrade: 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/ports-mgmt/portupgrade.
 *** [reinstall] Error code 1
 
 Stop in /usr/ports/ports-mgmt/portupgrade.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade20130923-47104-x5ofv env UPGRADE_TOOL=portupgrade
 UPGRADE_PORT=portupgrade-2.4.11.1,2 UPGRADE_PORT_VER=2.4.11.1,2 make
 BATCH=yes reinstall
 ---  Restoring the old version
 
 --
   Fill ALT_PKGDEP section in pkgtools.conf file for portupgrade to be
   aware of alternative dependencies you use.
   E.g.
   ALT_PKGDEP = {
 # Use the -nox11 port when another port depends on
 category/portexample
 'category/portexample' = 'category/portexample-nox11',
   }
 
   Note also, portupgrade knows nothing about how to handle ports with
   different suffixes (E.g. -nox11). So you should explicitly define
   variables (E.g. WITHOUT_X11=yes) for the ports in /etc/make.conf or
   pkgtools.conf (MAKE_ARGS section) files.
 --
 
 ** Fix the installation problem and try again.
 [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 99 packages
 found (-0 +1) . done]
 ** Listing the failed packages (-:ignored / *:skipped / !:failed)
 ! ports-mgmt/portupgrade (portupgrade-2.4.11.1,2)(install error)
 


-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature