Make a port build only on 10-RELEASE or later

2014-10-26 Thread M. P.
Hi,
What is the right way to make a port build only on 10-RELEASE or later?
Is there something like ONLY_FOR_ARCHS but for versions?

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: Make a port build only on 10-RELEASE or later

2014-10-26 Thread Thomas Zander
On 26 October 2014 08:19, M. P. free...@abv.bg wrote:
 What is the right way to make a port build only on 10-RELEASE or later?
 Is there something like ONLY_FOR_ARCHS but for versions?

You mean something like this:
.if ${OSVERSION}  1000100
BROKEN= Not supported on releases before 10.0
.endif

List of OSVERSION numbers:
https://www.freebsd.org/doc/en/books/porters-handbook/versions.html

Riggs
___
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: security/krb5 fails to build

2014-10-26 Thread Matthias Apitz
El día Monday, October 20, 2014 a las 12:40:22AM -0700, Cy Schubert escribió:

 Unfortunately I'm not able to reproduce this locally, nor in my poudriere 
 jail, nor on redports (such as it is). Another person discovered the issue 
 if READLINE support is specified -- which too I am unable to reproduce 
 locally.
 
 Can you try exporting LDFLAGS=--tag=CC prior to building the port? I'm 
 curious to see if that makes a difference to you.

I tried this, but with this the port fails during ./configure

 Also, what options are you using?
 
 ...

Attached below you will see a small change in the Makefile (the
CPPFLAGS have been specified wrong) and the complete log of building
the port in poudriere, containing also the OPTIONS of your port;

my change re/ CPPFLAGS removes some warning of the art 'clang
unused value -L', but does not resolve the libtool error/problem;

let me know if you want me to test tweakings.

matthias


# diff -c Makefile.orig Makefile*** Makefile.orig   2014-10-26 
10:25:57.0 +0100
--- Makefile2014-10-26 10:26:19.0 +0100
***
*** 82,88 
  HTML_DOC_DIR= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/html
  PDF_DOC_DIR=  ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/pdf
  
! CONFIGURE_ARGS+=  CPPFLAGS=-I${OPENSSLINC} -L${OPENSSLLIB} 
-L${LOCALBASE}/include
  
  post-extract:
@${TAR} -C ${WRKDIR} -xzf ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz
--- 82,88 
  HTML_DOC_DIR= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/html
  PDF_DOC_DIR=  ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/pdf
  
! CONFIGURE_ARGS+=  CPPFLAGS=-I${OPENSSLINC} -I${LOCALBASE}/include
  
  post-extract:
@${TAR} -C ${WRKDIR} -xzf ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz




 Building security/krb5
build started at Sun Oct 26 10:27:00 CET 2014
port directory: /usr/ports/security/krb5
building for: FreeBSD freebsd-head-ports-20141018-job-01 11.0-CURRENT FreeBSD 
11.0-CURRENT i386
maintained by: c...@freebsd.org
Makefile ident:  $FreeBSD: head/security/krb5/Makefile 371142 2014-10-18 
17:05:55Z cy $
Poudriere version: 3.1-pre
Host OSVERSION: 1100028
Jail OSVERSION: 1100028

---Begin Environment---
OSVERSION=1100028
UNAME_v=FreeBSD 11.0-CURRENT
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=xterm
MASTERMNT=/usr/local/poudriere/data/.m/freebsd-head-ports-20141018/ref
PKG_EXT=txz
FORCE_PACKAGE=yes
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=krb5-1.13
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
OLDPWD=/root
JAVA_OPTS=-Xms512m -Xmx1024m
PWD=/usr/local/poudriere/data/.m/freebsd-head-ports-20141018/ref/.p/pool
MASTERNAME=freebsd-head-ports-20141018
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=256m
PKG_VERSION=/.p/pkg-static version
PKG_BIN=/usr/local/sbin/pkg-static
---End Environment---

---Begin OPTIONS List---
=== The following configuration options are available for krb5-1.13:
 DNS_FOR_REALM=off: Enable DNS lookups for Kerberos realm names
 KRB5_HTML=on: Install krb5 HTML documentation
 KRB5_PDF=on: Install krb5 PDF documentation
 LDAP=off: LDAP protocol support
 READLINE=off: Command line editing via libreadline
=== Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--
--enable-shared --without-system-verto CPPFLAGS=-I/usr/include 
-I/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
INSTALL=install YACC=yacc 
XDG_DATA_HOME=/wrkdirs/usr/ports/security/krb5/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/krb5/work  
HOME=/wrkdirs/usr/ports/security/krb5/work TMPDIR=/tmp MAKE=gmake 
ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl 
XDG_DATA_HOME=/wrkdirs/usr/ports/security/krb5/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/krb5/work  
HOME=/wrkdirs/usr/ports/security/krb5/work TMPDIR=/tmp SHELL=/bin/sh 
CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site 
lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/krb5/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/krb5/work  
HOME=/wrkdirs/usr/ports/security/krb5/work TMPDIR=/tmp OPENSSLLIB=/usr/lib 
OPENSSLINC=/usr/include  OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl 
OPENSSLLIB=/usr/lib OPENSSLINC=/usr/include  OPENSSLBASE=/usr 
OPENSSLDIR=/etc/ssl XDG_DATA_HOME=/wrkdirs/usr/ports/security/krb5/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/krb5/work  
HOME=/wrkdirs/usr/ports/security/krb5/work TMPDIR=/tmp NO_PIE=yes 
SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  
LIBDIR=/usr/lib  CC=clang CFLAGS=-O2 -pipe  -I/usr/local/include 
-fno-strict-aliasing -std=gnu99  CPP=clang-cpp CPPFLAGS=  LDFLAGS= 
-L/usr/local/lib 

FreeBSD ports you maintain which are out of date

2014-10-26 Thread portscout
Dear port maintainer,

The portscout new distfile checker has detected that one or more of your
ports appears to be out of date. Please take the opportunity to check
each of the ports listed below, and if possible and appropriate,
submit/commit an update. If any ports have already been updated, you can
safely ignore the entry.

You will not be e-mailed again for any of the port/version combinations
below.

Full details can be found at the following URL:
http://portscout.freebsd.org/po...@freebsd.org.html


Port| Current version | New version
+-+
japanese/scim-tables| 0.5.10  | 0.5.14.1
+-+
security/doscan | 0.3.1   | 0.3.3
+-+


If any of the above results are invalid, please check the following page
for details on how to improve portscout's detection and selection of
distfiles on a per-port basis:

http://portscout.freebsd.org/info/portscout-portconfig.txt

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: audio/openal-soft fails to install on FreeBSD 8.4-stable

2014-10-26 Thread Marcus von Appen
On, Sat Oct 25, 2014, Torfinn Ingolfsen wrote:

 On Fri, Oct 24, 2014 at 10:32 PM, Henry Hu henry.hu...@gmail.com wrote:
 
  I just tried it on 8.4-RELEASE/amd64 and it failed with the same error.
  It seems like that the gcc on 8.4 is too old.
  One way to fix it is adding USE_GCC=yes to makefile. This will use gcc 4.8
  by default and it builds successfully. But on later freebsd versions we can
  just use clang.
  Maintainer cc'ed.
 

 Interesting. I tried this:
 root@kg-core1# grep USES Makefile
 USES= tar:bzip2 cmake compiler:c11

I just committed that fix in r371503, thanks!

Cheers
Marcus


pgpLwx2ngeTkv.pgp
Description: PGP signature


Re: Make a port build only on 10-RELEASE or later

2014-10-26 Thread M. P.
 On 26 October 2014 08:19, M. P.  wrote:
 
  What is the right way to make a port build only on 10-RELEASE or later?
 
  Is there something like ONLY_FOR_ARCHS but for versions?
 
 
 
 You mean something like this:
 
 .if ${OSVERSION}  1000100
 
 BROKEN= Not supported on releases before 10.0
 
 .endif
 
 
 
 List of OSVERSION numbers:
 
 https://www.freebsd.org/doc/en/books/porters-handbook/versions.html
 
 
 
 Riggs
 

Thank you.
___
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


Suspending poudriere build immediately upon non-wrkdir file change

2014-10-26 Thread Naram Qashat
I would like to know if there is a way to suspend a poudriere build immediately 
in the case of a file being modified outside of the wrkdir. I know that 
poudriere will let you know of changes to files outside of the wrkdir when it is 
done building, but I need to know exactly when it happens, as the 
devel/mingw32-gcc never gets to finish building for 10.x since it clobbers some 
files installed by devel/mingw32-bin-msvcrt during its build.


Thanks,
Naram Qashat
___
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: audio/openal-soft fails to install on FreeBSD 8.4-stable

2014-10-26 Thread Torfinn Ingolfsen
On Sun, Oct 26, 2014 at 2:33 PM, Marcus von Appen m...@freebsd.org wrote:
 On, Sat Oct 25, 2014, Torfinn Ingolfsen wrote:


 Interesting. I tried this:
 root@kg-core1# grep USES Makefile
 USES= tar:bzip2 cmake compiler:c11

 I just committed that fix in r371503, thanks!

 Cheers
 Marcus

Thanks for the quick response.

-- 
Regards,
Torfinn Ingolfsen
___
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: Suspending poudriere build immediately upon non-wrkdir file change

2014-10-26 Thread Bryan Drewery
On 10/26/2014 11:45 AM, Naram Qashat wrote:
 I would like to know if there is a way to suspend a poudriere build
 immediately in the case of a file being modified outside of the wrkdir.
 I know that poudriere will let you know of changes to files outside of
 the wrkdir when it is done building, but I need to know exactly when it
 happens, as the devel/mingw32-gcc never gets to finish building for 10.x
 since it clobbers some files installed by devel/mingw32-bin-msvcrt
 during its build.
 
 Thanks,
 Naram Qashat

Using filemon we might be able to achieve this. It is not implemented
currently. Patches welcome!

-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


Re: security/krb5 fails to build

2014-10-26 Thread Cy Schubert
In message 20141026093845.ga2...@unixarea.ddr.dd, Matthias Apitz writes:
 El día Monday, October 20, 2014 a las 12:40:22AM -0700, Cy Schubert 
 escribió:
 
  Unfortunately I'm not able to reproduce this locally, nor in my poudriere 
  jail, nor on redports (such as it is). Another person discovered the issue 
  if READLINE support is specified -- which too I am unable to reproduce 
  locally.
  
  Can you try exporting LDFLAGS=--tag=CC prior to building the port? I'm 
  curious to see if that makes a difference to you.
 
 I tried this, but with this the port fails during ./configure
 
  Also, what options are you using?
  
  ...
 
 Attached below you will see a small change in the Makefile (the
 CPPFLAGS have been specified wrong) and the complete log of building
 the port in poudriere, containing also the OPTIONS of your port.

It will fail to link without it. This was true at one time and may very 
well still be true.

 
 my change re/ CPPFLAGS removes some warning of the art 'clang
 unused value -L', but does not resolve the libtool error/problem;
 
 let me know if you want me to test tweakings.

It builds successfully on everything but 11-CURRENT as CURRENT now includes 
readline support which appears incompatible with GNU readline. Try this 
patch. The proper fix is to get it working with libtool in 11-CURRENT. 
Unfortunately libtool has some gas with non-libtool built libraries. The 
patch is a bit of a hack but it should address the 11-CURRENT issue. Can 
you test it for me please?



Index: Makefile
===
--- Makefile(revision 371299)
+++ Makefile(working copy)
@@ -67,7 +67,13 @@
 .endif
 
 .if ${PORT_OPTIONS:MREADLINE}
+.if ${OSVERSION} = 110
+# libtool has some gas with libreadline in 11-CURRENT.
+BUILD_DEPENDS+=
${LOCALBASE}/lib/libreadline.so.6:${PORTSDIR}/devel/readline
+LIB_DEPENDS+=  
${LOCALBASE}/lib/libreadline.so.6:${PORTSDIR}/devel/readline
+.else
 USES+= readline:port
+.endif
 CONFIGURE_ARGS+=   --with-readline
 .endif
 
Cheers,
Cy Schubert cy.schub...@komquats.com
FreeBSD UNIX:  c...@freebsd.org   Web:  http://www.FreeBSD.org

The need of the many outweighs the greed of the few.
___
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