Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2013 00:18:21 +0100
From:      Raphael Eiselstein <rabe@uugrn.org>
To:        Olli Hauer <ohauer@freebsd.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r313125 - head/www/serf
Message-ID:  <20130316231821.GA5176@ma.sigsys.de>
In-Reply-To: <201302282032.r1SKWKm6038738@svn.freebsd.org>
References:  <201302282032.r1SKWKm6038738@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--wRRV7LY7NUeQGEoC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Olli,

On Thu, Feb 28, 2013 at 08:32:20PM +0000, Olli Hauer wrote:
> Author: ohauer
> Date: Thu Feb 28 20:32:19 2013
> New Revision: 313125
> URL: http://svnweb.freebsd.org/changeset/ports/313125
>=20
> Log:
>   - update to version 1.2.0

Something seems broken with 1.2.0.=20

[root@fbsd9 /usr/ports/www/serf]# make install
=3D=3D=3D>  Installing for serf-1.2.0
=3D=3D=3D>   serf-1.2.0 depends on shared library: apr-1 - found
=3D=3D=3D>   Generating temporary packing list
=3D=3D=3D>  Checking if www/serf already installed
mkdir -p /usr/local/lib /usr/local/include/serf-1
/usr/local/libdata/pkgconfig
/usr/local/share/apr/build-1/libtool --silent --tag=3DCC --mode=3Dinstall
/usr/bin/install -c -o root -g wheel -m 644 libserf-1.la /usr/local/lib
for i in serf.h serf_bucket_types.h serf_bucket_util.h; do \
        /usr/bin/install -c -o root -g wheel -m 644 ./$i
/usr/local/include/serf-1; \
done
/usr/bin/install -c -o root -g wheel -m 644 serf.pc
/usr/local/libdata/pkgconfig/serf-1.pc
/bin/mkdir -p /usr/local/share/doc/serf
install  -o root -g wheel -m 444
/var/tmp/usr/ports/www/serf/work/serf-1.2.0/design-guide.txt
/usr/local/share/doc/serf
=3D=3D=3D>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
=3D=3D=3D>   Registering installation for serf-1.2.0


[root@fbsd9 /usr/ports/www/serf]# make package
=3D=3D=3D>  Building package for serf-1.2.0
tar: include/serf-1/serf_private.h: 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/www/serf.

[root@fbsd9 /usr/ports/www/serf]# find /var/tmp/$PWD/work/ -name serf_priva=
te.h
/var/tmp//usr/ports/www/serf/work/serf-1.2.0/serf_private.h

[root@fbsd9 /usr/ports/www/serf]# find /usr/local/include/serf-1/ -name "*.=
h"
/usr/local/include/serf-1/serf_bucket_types.h
/usr/local/include/serf-1/serf_bucket_util.h
/usr/local/include/serf-1/serf.h

Yes, it is not installed (make install) but still in pkg_plist:

[root@fbsd9 /usr/ports/www/serf]# grep ^include pkg-plist
include/serf-1/serf.h
include/serf-1/serf_bucket_types.h
include/serf-1/serf_bucket_util.h
include/serf-1/serf_private.h

Is is just not needed anymore and pkg_plist has to be patched or is
"make install" just ignoring serf_private.h due to a bug?

=46rom /var/tmp//usr/ports/www/serf/work/serf-1.2.0/Makefile:
[...]
HEADERS =3D serf.h serf_bucket_types.h serf_bucket_util.h
[...]

--> serf_private.h is not listed here and therefore not installed. "make
package" assumes to find include/serf-1/serf_private.h so my guess is
pkg_plist is wrong.

[root@fbsd9 /usr/ports/www/serf]# diff -u pkg-plist.orig pkg-plist
***********************************************************
--- pkg-plist.orig      2013-03-17 00:15:01.100699192 +0100
+++ pkg-plist   2013-03-17 00:15:12.899699867 +0100
@@ -1,7 +1,6 @@
 include/serf-1/serf.h
 include/serf-1/serf_bucket_types.h
 include/serf-1/serf_bucket_util.h
-include/serf-1/serf_private.h
 lib/libserf-1.a
 lib/libserf-1.la
 lib/libserf-1.so
***********************************************************

With this patch "make package" works but I don't know wether serf_private.h
is now just missing on my system or serf_private.h is obsolete(d).


Please review this wild guess as I'm not a programmer and just tried to
build my packages.=20

Best regards
Raphael

--=20
Raphael Eiselstein <rabe@uugrn.org>               http://rabe.uugrn.org/
xmpp:freibyter@gmx.de  | https://www.xing.com/profile/Raphael_Eiselstein  =
=20
GnuPG:                E7B2 1D66 3AF2 EDC7 9828  6D7A 9CDA 3E7B 10CA 9F2D
=2E........|.........|.........|.........|.........|.........|.........|..

--wRRV7LY7NUeQGEoC
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAlFE/b0ACgkQnNo+exDKny10jACgmyBEnXJBOTtQPPHK2rT+sF4A
MxwAnRqpDhic0Uwj6Br3RXpQvUPNhRzC
=gZZW
-----END PGP SIGNATURE-----

--wRRV7LY7NUeQGEoC--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130316231821.GA5176>