From nobody@FreeBSD.org  Mon Jun 11 07:03:07 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 02984106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 11 Jun 2012 07:03:07 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id E0A838FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 11 Jun 2012 07:03:06 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q5B736P9076923
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 11 Jun 2012 07:03:06 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q5B736DQ076922;
	Mon, 11 Jun 2012 07:03:06 GMT
	(envelope-from nobody)
Message-Id: <201206110703.q5B736DQ076922@red.freebsd.org>
Date: Mon, 11 Jun 2012 07:03:06 GMT
From: Andrei Lavreniyuk <andy.lavr@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [ERROR] cannot upgrade misc/ossp-uuid to version 1.6.2_2
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         168940
>Category:       ports
>Synopsis:       cannot upgrade misc/ossp-uuid to version 1.6.2_2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    vd
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 11 07:10:06 UTC 2012
>Closed-Date:    Mon Mar 25 14:00:58 UTC 2013
>Last-Modified:  Mon Mar 25 14:00:58 UTC 2013
>Originator:     Andrei Lavreniyuk
>Release:        FreeBSD 8.3-STABLE
>Organization:
Technica-03, Inc.
>Environment:
FreeBSD hp.technica-03.local 8.3-STABLE FreeBSD 8.3-STABLE #0: Tue Jun  5 12:28:26 EEST 2012     root@hp.technica-03.local:/usr/obj/usr/src/sys/HP  amd64
>Description:
/usr/ports/misc/ossp-uuid# make
===>  License check disabled, port has not defined LICENSE
===>  Extracting for ossp-uuid-1.6.2_2
=> SHA256 Checksum OK for uuid-1.6.2.tar.gz.
===>   ossp-uuid-1.6.2_2 depends on file: /usr/local/bin/perl5.14.2 - found
===>  Patching for ossp-uuid-1.6.2_2
===>   ossp-uuid-1.6.2_2 depends on file: /usr/local/bin/perl5.14.2 - found
===>  Applying FreeBSD patches for ossp-uuid-1.6.2_2
===>   ossp-uuid-1.6.2_2 depends on file: /usr/local/bin/perl5.14.2 - found
===>  Configuring for ossp-uuid-1.6.2_2
Configuring OSSP uuid (Universally Unique Identifier), version 1.6.2 (04-Jul-2008)
checking whether make sets $(MAKE)... yes
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for compilation debug mode... disabled
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether to build against external Dmalloc library... no
checking build system type... amd64-portbld-freebsd8.3
checking host system type... amd64-portbld-freebsd8.3
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd8.3 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking for gethostname in -lnsl... no
checking for gethostbyname in -lnsl... no
checking for accept in -lsocket... no
checking for va_copy() function... yes
checking for sys/types.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for netdb.h... yes
checking for ifaddrs.h... yes
checking for net/if.h... yes
checking for net/if_dl.h... yes
checking for net/if_arp.h... yes
checking for netinet/in.h... yes
checking for arpa/inet.h... yes
checking for struct timeval... yes
checking for getifaddrs... yes
checking for nanosleep... yes
checking for Sleep... no
checking for gettimeofday... yes
checking for clock_gettime... yes
checking for long long... yes
checking for long double... yes
checking size of char... 1
checking size of unsigned char... 1
checking size of short... 2
checking size of unsigned short... 2
checking size of int... 4
checking size of unsigned int... 4
checking size of long... 8
checking size of unsigned long... 8
checking size of long long... 8
checking size of unsigned long long... 8
checking whether to build DCE 1.1 backward compatibility API... (cached) no
checking whether to build C++ bindings to C API... (cached) yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd8.3 ld.so
checking how to hardcode library paths into programs... immediate
checking whether to build Perl bindings to C API... (cached) yes
checking whether to build Perl compatibility API... (cached) no
checking for perl... /usr/local/bin/perl5.14.2
checking whether to build PHP bindings to C API... (cached) no
checking for php5... no
checking for php... /usr/local/bin/php
checking whether to build PostgreSQL bindings to C API... (cached) no
checking for pg_config... /usr/local/bin/pg_config
configure: creating ./config.status
config.status: creating Makefile
config.status: creating uuid-config
config.status: creating uuid.pc
config.status: creating uuid.h
config.status: creating config.h
config.status: executing libtool commands
config.status: executing adjustment commands
===>  Building for ossp-uuid-1.6.2_2
libtool: compile:  cc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fstack-protector -fno-delete-null-pointer-checks -fno-strict-aliasing -Wformat -Wformat-security -s -fPIC -DPIC -c ./uuid.c -o uuid.o
libtool: compile:  cc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fstack-protector -fno-delete-null-pointer-checks -fno-strict-aliasing -Wformat -Wformat-security -s -fPIC -DPIC -c ./uuid_md5.c -o uuid_md5.o
libtool: compile:  cc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fstack-protector -fno-delete-null-pointer-checks -fno-strict-aliasing -Wformat -Wformat-security -s -fPIC -DPIC -c ./uuid_sha1.c -o uuid_sha1.o
libtool: compile:  cc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fstack-protector -fno-delete-null-pointer-checks -fno-strict-aliasing -Wformat -Wformat-security -s -fPIC -DPIC -c ./uuid_prng.c -o uuid_prng.o
libtool: compile:  cc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fstack-protector -fno-delete-null-pointer-checks -fno-strict-aliasing -Wformat -Wformat-security -s -fPIC -DPIC -c ./uuid_mac.c -o uuid_mac.o
libtool: compile:  cc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fstack-protector -fno-delete-null-pointer-checks -fno-strict-aliasing -Wformat -Wformat-security -s -fPIC -DPIC -c uuid_time.c -o uuid_time.o
libtool: compile:  cc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fstack-protector -fno-delete-null-pointer-checks -fno-strict-aliasing -Wformat -Wformat-security -s -fPIC -DPIC -c ./uuid_ui64.c -o uuid_ui64.o
libtool: compile:  cc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fstack-protector -fno-delete-null-pointer-checks -fno-strict-aliasing -Wformat -Wformat-security -s -fPIC -DPIC -c uuid_ui128.c -o uuid_ui128.o
libtool: compile:  cc -I. -I. -DHAVE_CONFIG_H -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fstack-protector -fno-delete-null-pointer-checks -fno-strict-aliasing -Wformat -Wformat-security -s -fPIC -DPIC -c ./uuid_str.c -o uuid_str.o
libtool: link: warning: `-rpath' is ignored for archives
libtool: link: warning: `-version-info/-version-number' is ignored for archives
libtool: link: ar cru libuuid.a  uuid.o uuid_md5.o uuid_sha1.o uuid_prng.o uuid_mac.o uuid_time.o uuid_ui64.o uuid_ui128.o uuid_str.o
libtool: link: ranlib libuuid.a
libtool: compile:  c++ -I. -I. -DHAVE_CONFIG_H -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fstack-protector -fno-delete-null-pointer-checks -fno-strict-aliasing -Wformat -Wformat-security -s -fPIC -DPIC -fconserve-space -c ./uuid++.cc -o uuid++.o
libtool: link: ar cru .libs/libuuid++.a  uuid++.o uuid.o uuid_md5.o uuid_sha1.o uuid_prng.o uuid_mac.o uuid_time.o uuid_ui64.o uuid_ui128.o uuid_str.o
libtool: link: ranlib .libs/libuuid++.a
libtool: link: ( cd ".libs" && rm -f "libuuid++.la" && ln -s "../libuuid++.la" "libuuid++.la" )
cc -I. -I.  -DHAVE_CONFIG_H -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fstack-protector -fno-delete-null-pointer-checks -fno-strict-aliasing -Wformat -Wformat-security -s -fPIC -DPIC -c ./uuid_cli.c
libtool: link: cc -o uuid uuid_cli.o  libuuid.a
no source directory found (where libuuid.la is located) at Makefile.PL line 37.
*** Error code 2

Stop in /usr/ports/misc/ossp-uuid/work/uuid-1.6.2.
*** Error code 1

Stop in /usr/ports/misc/ossp-uuid.

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->vd 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jun 11 22:11:23 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=168940 

From: Peter Zehm <Peter.Zehm@bsdenergy.net>
To: bug-followup@FreeBSD.org, andy.lavr@gmail.com
Cc:  
Subject: Re: ports/168940: cannot upgrade misc/ossp-uuid to version 1.6.2_2
Date: Tue, 03 Jul 2012 01:28:38 +0200

 This is a multi-part message in MIME format.
 --------------080700090403030205090104
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
  > ...
  > checking whether to build Perl bindings to C API... (cached) yes
  > ...
 
 your make output looks like you're using the make switch '-DWITH_PERL'.
 Without this option the port builds well. The problem seems to be
 introduced by files/patch-Makefile.in long ago were 'LIB_NAME' is
 changed from "libuuid.la" to "libuuid.a". But this change was not made
 for the perl-bindings. Putting the attached patches in the files
 directory should solve the problem.
 (I didn't check the PHP or Postgres bindings since they are currently
 not supported by the Makefile.)
 
 --------------080700090403030205090104
 Content-Type: text/plain; charset=ISO-8859-15;
  name="patch-Makefile.PL"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="patch-Makefile.PL"
 
 --- Makefile.PL.orig	2008-03-08 19:31:40.000000000 +0200
 +++ Makefile.PL	2012-07-03 01:16:16.000000000 +0200
 @@ -44,7 +44,7 @@
  all pure_all:
  	\@if [ ! -d build ]; then mkdir build; fi
  	\@if [ ! -f build/Makefile ]; then (cd build && ../configure --disable-shared); fi
 -	\@if [ ! -f build/libuuid.la ]; then (cd build && \$(MAKE) \$(MFLAGS) libuuid.la); fi
 +	\@if [ ! -f build/libuuid.a ]; then (cd build && \$(MAKE) \$(MFLAGS) libuuid.a); fi
  	\@if [ ! -f perl/Makefile ]; then (cd perl && \$(PERL) Makefile.PL \$(ARGS)); fi
  	\@cd perl && \$(MAKE) \$(MFLAGS) \$\@
  
 
 --------------080700090403030205090104
 Content-Type: text/plain; charset=ISO-8859-15;
  name="patch-perl-Makefile.PL"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="patch-perl-Makefile.PL"
 
 --- perl/Makefile.PL.orig	2007-01-01 19:13:18.000000000 +0100
 +++ perl/Makefile.PL	2012-07-03 01:15:34.000000000 +0200
 @@ -33,9 +33,9 @@
  use ExtUtils::MakeMaker;
  
  #   determine source directory
 -my ($srcdir) = map { my $d = $_; $d =~ s/\/libuuid\.la$//; $d }
 -               grep { -f $_ } ("../libuuid.la", glob("../*/libuuid.la"))
 -    or die "no source directory found (where libuuid.la is located)";
 +my ($srcdir) = map { my $d = $_; $d =~ s/\/libuuid\.a$//; $d }
 +               grep { -f $_ } ("../libuuid.a", glob("../*/libuuid.a"))
 +    or die "no source directory found (where libuuid.a is located)";
  
  #   determine extra build options
  my $compat = 0;
 
 --------------080700090403030205090104--

From: Andrei Lavreniyuk <andy.lavr@gmail.com>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/168940: cannot upgrade misc/ossp-uuid to version 1.6.2_2
Date: Wed, 20 Mar 2013 12:48:28 +0200

 Please close PR.
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Mon Mar 25 13:59:50 UTC 2013 
State-Changed-Why:  
Closed at submitter's request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=168940 
>Unformatted:
