https://wiki.freebsd.org/PortsAndClang

.if ${OSVERSION} >= 1000000
BROKEN=         Does not build under FreeBSD 10
.endif

Added this as well, and comitted.

Cheers,
Palle


18 okt 2013 kl. 00:01 skrev Palle Girgensohn <gir...@pingpong.net>:

> And we should add a BROKEN for OSVERSION >= 100000 or so? Any idea about the 
> exact version where it broke?
> 
> 17 okt 2013 kl. 23:56 skrev Chris Rees <cr...@bayofrum.net>:
> 
>> Sure.  Not convinced I didn't do this before- check the svn history for any 
>> arguments first!
>> 
>> Chris
>> 
>> 
>> 
>> -----Original Message-----
>> From: Jason Helfman <j...@freebsd.org>
>> To: Palle Girgensohn <gir...@pingpong.net>
>> Cc: Jason Helfman <j...@freebsd.org>, pkg-fall...@freebsd.org, 
>> "pg...@freebsd.org" <pg...@freebsd.org>
>> Sent: Thu, 17 Oct 2013 22:39
>> Subject: Re: [REL - 10amd64-default][databases/postgresql-libpq++] Failed 
>> for postgresql-libpq++-4.0_4 in build
>> 
>> Works for me. Chris?
>> 
>> -jgh
>> 
>> 
>> On Thu, Oct 17, 2013 at 1:35 PM, Palle Girgensohn <gir...@pingpong.net>wrote:
>> 
>>> OK?
>>> 
>>> postgresql-libpq++$ svn diff
>>> Index: Makefile
>>> ===================================================================
>>> --- Makefile    (revision 330638)
>>> +++ Makefile    (working copy)
>>> @@ -13,6 +13,9 @@
>>> MAINTAINER=    pg...@freebsd.org
>>> COMMENT=       C++ interface for  PostgreSQL
>>> 
>>> +DEPRECATED=    Not maintained upstreams for 10+ years.
>>> +EXPIRATION_DATE=2013-11-17
>>> +
>>> USE_PGSQL=     YES
>>> USES=          gmake
>>> USE_LDCONFIG=  YES
>>> 
>>> 
>>> 
>>> 17 okt 2013 kl. 21:29 skrev Jason Helfman <j...@freebsd.org>:
>>> 
>>>> One month timeout, if unsupported or security related issue.
>>>> 
>>>> Does that seem reasonable?
>>>> 
>>>> -jgh
>>>> 
>>>> 
>>>> On Thu, Oct 17, 2013 at 11:32 AM, Palle Girgensohn <gir...@pingpong.net>
>>> wrote:
>>>> pgsql@, maybe it is time to just remove this port?
>>>> 
>>>> I thinks it is really harmful that we still have that port around. Last
>>> note about libpq++ was in version 7.2 of PostgreSQL: [
>>> http://www.postgresql.org/docs/7.2/static/libpqplusplus.html]
>>>> 
>>>> How quickly can we remove it?
>>>> 
>>>> 
>>>> 
>>>> 17 okt 2013 kl. 20:24 skrev pkg-fall...@freebsd.org:
>>>> 
>>>>> You are receiving this mail as a port that you maintain
>>>>> is failing to build on the FreeBSD package build server.
>>>>> Please investigate the failure and submit a PR to fix
>>>>> build.
>>>>> 
>>>>> Maintainer:     pg...@freebsd.org
>>>>> Last committer: b...@freebsd.org
>>>>> Ident:          $FreeBSD: head/databases/postgresql-libpq++/Makefile
>>> 327717 2013-09-20 16:13:47Z bapt $
>>>>> Log URL:
>>> http://beefy2.isc.freebsd.org/bulk/10amd64-default/2013-10-17_07h20m58s/logs/postgresql-libpq++-4.0_4.log
>>>>> Build URL:
>>> http://beefy2.isc.freebsd.org/bulk/10amd64-default/2013-10-17_07h20m58s
>>>>> Log:
>>>>> 
>>>>> ====>> Building databases/postgresql-libpq++
>>>>> build started at Thu Oct 17 18:24:17 UTC 2013
>>>>> port directory: /usr/ports/databases/postgresql-libpq++
>>>>> building for: FreeBSD 10amd64-default-job-14 10.0-BETA1 FreeBSD
>>> 10.0-BETA1 r256420 amd64
>>>>> maintained by: pg...@freebsd.org
>>>>> Makefile ident:      $FreeBSD:
>>> head/databases/postgresql-libpq++/Makefile 327717 2013-09-20 16:13:47Z bapt
>>> $
>>>>> Poudriere version: 3.1-pre
>>>>> 
>>>>> ---Begin Environment---
>>>>> OSVERSION=1000500
>>>>> UNAME_v=FreeBSD 10.0-BETA1 r256420
>>>>> UNAME_r=10.0-BETA1
>>>>> BLOCKSIZE=K
>>>>> MAIL=/var/mail/root
>>>>> 
>>> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
>>>>> STATUS=1
>>>>> MASTERMNT=/usr/local/poudriere/data/build/10amd64-default/ref
>>>>> PKG_EXT=txz
>>>>> tpid=89378
>>>>> POUDRIERE_BUILD_TYPE=bulk
>>>>> PKGNG=1
>>>>> PKGNAME=postgresql-libpq++-4.0_4
>>>>> PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
>>>>> PKG_ADD=/usr/local/sbin/pkg-static add
>>>>> PWD=/root
>>>>> MASTERNAME=10amd64-default
>>>>> USER=root
>>>>> HOME=/root
>>>>> POUDRIERE_VERSION=3.1-pre
>>>>> LOCALBASE=/usr/local
>>>>> PACKAGE_BUILDING=yes
>>>>> PKG_VERSION=/poudriere/pkg-static version
>>>>> PKG_BIN=/usr/local/sbin/pkg-static
>>>>> ---End Environment---
>>>>> 
>>>>> ---Begin OPTIONS List---
>>>>> ---End OPTIONS List---
>>>>> 
>>>>> --CONFIGURE_ARGS--
>>>>> 
>>>>> --End CONFIGURE_ARGS--
>>>>> 
>>>>> --CONFIGURE_ENV--
>>>>> TMPDIR="/tmp" MAKE=gmake SHELL=/bin/sh CONFIG_SHELL=/bin/sh
>>>>> --End CONFIGURE_ENV--
>>>>> 
>>>>> --MAKE_ENV--
>>>>> TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local
>>> LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe
>>> -fno-strict-aliasing"  CPP="cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS="
>>> -L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing"
>>> MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel
>>> -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"
>>> BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"
>>> BSD_INSTALL_DATA="install  -o root -g wheel -m 444"
>>> BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
>>>>> --End MAKE_ENV--
>>>>> 
>>>>> --SUB_LIST--
>>>>> PREFIX=/usr/local
>>>>> LOCALBASE=/usr/local
>>>>> DATADIR=/usr/local/share/libpq++
>>>>> DOCSDIR=/usr/local/share/doc/libpq++
>>>>> EXAMPLESDIR=/usr/local/share/examples/libpq++
>>>>> WWWDIR=/usr/local/www/libpq++
>>>>> ETCDIR=/usr/local/etc/libpq++
>>>>> --End SUB_LIST--
>>>>> 
>>>>> ---Begin make.conf---
>>>>> USE_PACKAGE_DEPENDS=yes
>>>>> BATCH=yes
>>>>> WRKDIRPREFIX=/wrkdirs
>>>>> PORTSDIR=/usr/ports
>>>>> PACKAGES=/packages
>>>>> DISTDIR=/distfiles
>>>>> #### /usr/local/etc/poudriere.d/make.conf ####
>>>>> WITH_PKGNG=yes
>>>>> NO_RESTRICTED=yes
>>>>> DISABLE_MAKE_JOBS=poudriere
>>>>> ---End make.conf---
>>>>> ===>  Cleaning for postgresql-libpq++-4.0_4
>>>>> =======================<phase: check-config
>>>> ============================
>>>>> 
>>> ===========================================================================
>>>>> =======================<phase: pkg-depends
>>>> ============================
>>>>> ===>   postgresql-libpq++-4.0_4 depends on file: /usr/local/sbin/pkg -
>>> not found
>>>>> ===>    Verifying install for /usr/local/sbin/pkg in
>>> /usr/ports/ports-mgmt/pkg
>>>>> ===>   Installing existing package /packages/All/pkg-1.1.4_8.txz
>>>>> Installing pkg-1.1.4_8... done
>>>>> If you are upgrading from the old package format, first run:
>>>>> 
>>>>> # pkg2ng
>>>>> ===>   Returning to build of postgresql-libpq++-4.0_4
>>>>> 
>>> ===========================================================================
>>>>> =======================<phase: fetch-depends
>>>> ============================
>>>>> 
>>> ===========================================================================
>>>>> =======================<phase: fetch
>>>> ============================
>>>>> ===> Fetching all distfiles required by postgresql-libpq++-4.0_4 for
>>> building
>>>>> 
>>> ===========================================================================
>>>>> =======================<phase: checksum
>>>> ============================
>>>>> ===> Fetching all distfiles required by postgresql-libpq++-4.0_4 for
>>> building
>>>>> => SHA256 Checksum OK for postgresql/libpq++-4.0.tar.gz.
>>>>> 
>>> ===========================================================================
>>>>> =======================<phase:
>>> extract-depends>============================
>>>>> 
>>> ===========================================================================
>>>>> =======================<phase: extract
>>>> ============================
>>>>> ===> Fetching all distfiles required by postgresql-libpq++-4.0_4 for
>>> building
>>>>> ===>  Extracting for postgresql-libpq++-4.0_4
>>>>> => SHA256 Checksum OK for postgresql/libpq++-4.0.tar.gz.
>>>>> 
>>> ===========================================================================
>>>>> =======================<phase: patch-depends
>>>> ============================
>>>>> 
>>> ===========================================================================
>>>>> =======================<phase: patch
>>>> ============================
>>>>> ===>  Patching for postgresql-libpq++-4.0_4
>>>>> ===>  Applying FreeBSD patches for postgresql-libpq++-4.0_4
>>>>> /usr/bin/sed -i.bak "s,/usr/local/pgsql,/usr/local,;
>>> s,^CFLAGS.*,CFLAGS=-O2 -pipe -fno-strict-aliasing,;
>>> s,\...SO_MINOR_VERSION.,,;  s,\-I,\-fPIC \-I,;
>>> s,\(\-[IL]\)[^/]*,\\1/usr/local,"
>>> /wrkdirs/usr/ports/databases/postgresql-libpq++/work/libpq++-4.0/Makefile
>>>>> 
>>> ===========================================================================
>>>>> =======================<phase: build-depends
>>>> ============================
>>>>> ===>   postgresql-libpq++-4.0_4 depends on executable: gmake - not
>>> found
>>>>> ===>    Verifying install for gmake in /usr/ports/devel/gmake
>>>>> ===>   Installing existing package /packages/All/gmake-3.82_1.txz
>>>>> Installing gmake-3.82_1...Installing gettext-0.18.3.1... done
>>>>> done
>>>>> ===>   Returning to build of postgresql-libpq++-4.0_4
>>>>> 
>>> ===========================================================================
>>>>> =======================<phase: lib-depends
>>>> ============================
>>>>> ===>   postgresql-libpq++-4.0_4 depends on shared library: pq.5 - not
>>> found
>>>>> ===>    Verifying install for pq.5 in
>>> /usr/ports/databases/postgresql90-client
>>>>> ===>   Installing existing package
>>> /packages/All/postgresql90-client-9.0.14.txz
>>>>> Installing postgresql90-client-9.0.14...Installing libxml2-2.8.0_2...
>>> done
>>>>> done
>>>>> The PostgreSQL port has a collection of "side orders":
>>>>> 
>>>>> postgresql-docs
>>>>> For all of the html documentation
>>>>> 
>>>>> p5-Pg
>>>>> A perl5 API for client access to PostgreSQL databases.
>>>>> 
>>>>> postgresql-tcltk
>>>>> If you want tcl/tk client support.
>>>>> 
>>>>> postgresql-jdbc
>>>>> For Java JDBC support.
>>>>> 
>>>>> postgresql-odbc
>>>>> For client access from unix applications using ODBC as access
>>>>> method. Not needed to access unix PostgreSQL servers from Win32
>>>>> using ODBC. See below.
>>>>> 
>>>>> ruby-postgres, py-PyGreSQL
>>>>> For client access to PostgreSQL databases using the ruby & python
>>>>> languages.
>>>>> 
>>>>> postgresql-plperl, postgresql-pltcl & postgresql-plruby
>>>>> For using perl5, tcl & ruby as procedural languages.
>>>>> 
>>>>> postgresql-contrib
>>>>> Lots of contributed utilities, postgresql functions and
>>>>> datatypes. There you find pg_standby, pgcrypto and many other cool
>>>>> things.
>>>>> 
>>>>> etc...
>>>>> ===>   Returning to build of postgresql-libpq++-4.0_4
>>>>> 
>>> ===========================================================================
>>>>> =======================<phase: configure
>>>> ============================
>>>>> ===>  Configuring for postgresql-libpq++-4.0_4
>>>>> 
>>> ===========================================================================
>>>>> =======================<phase: build
>>>> ============================
>>>>> ===>  Building for postgresql-libpq++-4.0_4
>>>>> gmake[1]: Entering directory
>>> `/wrkdirs/usr/ports/databases/postgresql-libpq++/work/libpq++-4.0'
>>>>> c++ -c -O2 -pipe -fno-strict-aliasing -DHAVE_NAMESPACE_STD
>>> -DHAVE_CXX_STRING_HEADER -DDLLIMPORT="" -fPIC -I/usr/local/include
>>> pgconnection.cc
>>>>> c++ -c -O2 -pipe -fno-strict-aliasing -DHAVE_NAMESPACE_STD
>>> -DHAVE_CXX_STRING_HEADER -DDLLIMPORT="" -fPIC -I/usr/local/include
>>> pgdatabase.cc
>>>>> pgdatabase.cc:75:16: error: use of undeclared identifier 'atoi'; did
>>> you mean 'stoi'?
>>>>>      return a[0] ? atoi(a) : -1;
>>>>>                    ^~~~
>>>>>                    stoi
>>>>> /usr/include/c++/v1/string:3996:20: note: 'stoi' declared here
>>>>> int                stoi  (const string& __str, size_t* __idx = 0, int
>>> __base = 10);
>>>>>                 ^
>>>>> 1 error generated.
>>>>> gmake[1]: *** [pgdatabase.o] Error 1
>>>>> gmake[1]: Leaving directory
>>> `/wrkdirs/usr/ports/databases/postgresql-libpq++/work/libpq++-4.0'
>>>>> *** Error code 1
>>>>> 
>>>>> Stop.
>>>>> make: stopped in /usr/ports/databases/postgresql-libpq++
>>>>> ===>  Cleaning for postgresql-libpq++-4.0_4
>>>> 
>>>> 
>>>> 
>>>> 
>>>> --
>>>> Jason Helfman          | FreeBSD Committer
>>>> j...@freebsd.org     | http://people.freebsd.org/~jgh  | The Power to
>>> Serve
>>> 
>>> 
>> 
>> 
>> -- 
>> Jason Helfman          | FreeBSD Committer
>> j...@freebsd.org     | http://people.freebsd.org/~jgh  | The Power to Serve
>> 
>> -- 
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>> 
>> 
>> -- 
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>> 
> 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to