Re: perl5.XX-file-rsyncp

2014-02-05 Thread rmgls
On Thu, 30 Jan 2014 13:31:50 -0600
Ryan Schmidt  wrote:
 
> On Jan 30, 2014, at 06:59, rm...@free.fr wrote:
> 
> > i try to compile backuppc, and i am facing this situation:
> > perl5.12-file-rsyncp, (dependance)
> > does not compile, please see main.log.
> >=20
> > i tried perl5.16-file-rsyncp with the same result, and of course the =
> variant has
> > the same problem.
> >=20
> > what to do then?
> 
> I get the same problem on Mavericks. This software seems to have its own 
> implementation of the strlcpy function, which conflicts with the way =
> that function is defined on Mavericks. A solution would be to rename the 
> local copy to something else. This problem needs to be reported to the 
> developers of File::RsyncP so that they can fix it in whatever way they 
> see fit. However, since the last release was in 2006, the project may be 
> deceased, so we may need to fix it ourselves. In any case, filing a 
> ticket in the MacPorts issue tracker would also be best.
Hello Ryan,

Sorry for my late reply. i was off.

i will fill a ticket for this issue.

best regards.

rmgls
rm...@free.fr

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: perl5.XX-file-rsyncp

2014-02-05 Thread rmgls
On Thu, 30 Jan 2014 09:49:22 -0500
Brandon Allbery  wrote:
>> On Thu, Jan 30, 2014 at 7:59 AM,  wrote:

>> i try to compile backuppc, and i am facing this situation:
>>  perl5.12-file-rsyncp, (dependance)
>> does not compile, please see main.log.
>>

Hello Brandon,

First of all, sorry for the late reply.

I upgraded to Maverick but xcode and commandline tools are installed.

> Did you just upgrade to Mavericks? The errors in the log suggest that
> `size_t` is not defined, which would suggest that you are missing the Xcode
> Command Line Tools (specifically the system header files component). If you
> have upgraded, you will need to follow the instructions at
> http://trac.macports.org/wiki/Migration to bring MacPorts into sync with
> the new OS and Xcode.

> But the above is guessing, because this does not look like a clean build
> --- information about its configuration phase is missing. Please `sudo port
> clean p5.12-file-rsyncp` and attempt the build again, then attach the
> `main.log` from that. Alternately, if this was a truncated log, please
> place the full `main.log` where it can be read.

The beginning of the Main.log that i discarded says: fetching archive...
it was not more informative.

another thing:
it seems to me that perl5.XX-file-rsyncp try to install before gcc42 and llvm
was installed. if it is true, isit a normal behaviour?

Best regards

rmgls
rm...@free.fr

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: perl5.XX-file-rsyncp

2014-01-30 Thread Ryan Schmidt

On Jan 30, 2014, at 06:59, rm...@free.fr wrote:

> i try to compile backuppc, and i am facing this situation:
> perl5.12-file-rsyncp, (dependance)
> does not compile, please see main.log.
> 
> i tried perl5.16-file-rsyncp with the same result, and of course the variant 
> has
> the same problem.
> 
> what to do then?

I get the same problem on Mavericks. This software seems to have its own 
implementation of the strlcpy function, which conflicts with the way that 
function is defined on Mavericks. A solution would be to rename the local copy 
to something else. This problem needs to be reported to the developers of 
File::RsyncP so that they can fix it in whatever way they see fit. However, 
since the last release was in 2006, the project may be deceased, so we may need 
to fix it ourselves. In any case, filing a ticket in the MacPorts issue tracker 
would also be best.



___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: perl5.XX-file-rsyncp

2014-01-30 Thread Brandon Allbery
On Thu, Jan 30, 2014 at 7:59 AM,  wrote:

> i try to compile backuppc, and i am facing this situation:
>  perl5.12-file-rsyncp, (dependance)
> does not compile, please see main.log.
>

Did you just upgrade to Mavericks? The errors in the log suggest that
`size_t` is not defined, which would suggest that you are missing the Xcode
Command Line Tools (specifically the system header files component). If you
have upgraded, you will need to follow the instructions at
http://trac.macports.org/wiki/Migration to bring MacPorts into sync with
the new OS and Xcode.

But the above is guessing, because this does not look like a clean build
--- information about its configuration phase is missing. Please `sudo port
clean p5.12-file-rsyncp` and attempt the build again, then attach the
`main.log` from that. Alternately, if this was a truncated log, please
place the full `main.log` where it can be read.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


perl5.XX-file-rsyncp

2014-01-30 Thread rmgls
Hi,

i try to compile backuppc, and i am facing this situation:
 perl5.12-file-rsyncp, (dependance)
does not compile, please see main.log.

i tried perl5.16-file-rsyncp with the same result, and of course the variant has
the same problem.

what to do then?

Thanks in advance and best regards.

rmgls



...

debug:build build phase started at Wed Jan 29 15:29:16 CET 2014
:notice:build --->  Building p5.12-file-rsyncp
:debug:build Executing org.macports.build (p5.12-file-rsyncp)
:debug:build port disallows a parallel build
:debug:build Environment: CPATH='/opt/local/include' 
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-file-rsyncp/p5.12-file-rsyncp/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' 
MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:build Assembled command: 'cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-file-rsyncp/p5.12-file-rsyncp/work/File-RsyncP-0.70"
 && /usr/bin/make -w all'
:debug:build Executing command line:  cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-file-rsyncp/p5.12-file-rsyncp/work/File-RsyncP-0.70"
 && /usr/bin/make -w all 
:info:build make: Entering directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-file-rsyncp/p5.12-file-rsyncp/work/File-RsyncP-0.70'
:info:build make[1]: Entering directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-file-rsyncp/p5.12-file-rsyncp/work/File-RsyncP-0.70/Digest'
:info:build make[1]: Leaving directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-file-rsyncp/p5.12-file-rsyncp/work/File-RsyncP-0.70/Digest'
:info:build make[1]: Entering directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-file-rsyncp/p5.12-file-rsyncp/work/File-RsyncP-0.70/FileList'
:info:build /usr/bin/clang -c   -pipe -Os -fno-common -DPERL_DARWIN 
-I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -fstack-protector 
-I/opt/local/include -arch x86_64 -O3   -DVERSION=\"0.70\" 
-DXS_VERSION=\"0.70\"  
"-I/opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE"  
-DPERL_BYTEORDER= flist.c
:info:build flist.c:153:15: warning: passing 'char *' to parameter of type 
'unsigned char *' converts between pointers to integer types with different 
sign [-Wpointer-sign]
:info:build readfd(f, buf, len);
:info:build   ^~~
:info:build flist.c:116:56: note: passing argument to parameter 'buffer' here
:info:build static void readfd(struct file_list *f, unsigned char *buffer, 
size_t N)
:info:build^
:info:build flist.c:729:8: error: expected parameter declarator
:info:build size_t strlcpy(char *d, const char *s, size_t bufsize)
:info:build^
:info:build /usr/include/secure/_string.h:105:44: note: expanded from macro 
'strlcpy'
:info:build   __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest))
:info:build^
:info:build /usr/include/secure/_common.h:39:62: note: expanded from macro 
'__darwin_obsz'
:info:build #define __darwin_obsz(object) __builtin_object_size (object, 
_USE_FORTIFY_LEVEL > 1 ? 1 : 0)
:info:build  ^
:info:build /usr/include/secure/_common.h:30:32: note: expanded from macro 
'_USE_FORTIFY_LEVEL'
:info:build #define _USE_FORTIFY_LEVEL 2
:info:build^
:info:build flist.c:729:8: error: expected ')'
:info:build /usr/include/secure/_string.h:105:44: note: expanded from macro 
'strlcpy'
:info:build   __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest))
:info:build^
:info:build /usr/include/secure/_common.h:39:62: note: expanded from macro 
'__darwin_obsz'
:info:build #define __darwin_obsz(object) __builtin_object_size (object, 
_USE_FORTIFY_LEVEL > 1 ? 1 : 0)
:info:build  ^
:info:build /usr/include/secure/_common.h:30:32: note: expanded from macro 
'_USE_FORTIFY_LEVEL'
:info:build #define _USE_FORTIFY_LEVEL 2
:info:build^
:info:build flist.c:729:8: note: to match this '('
:info:build /usr/include/secure/_string.h:105:44: note: expanded from macro 
'strlcpy'
:info:build   __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest))
:info:build^
:info:build /usr/include/secure/_common.h:39:53: note: expanded from macro 
'__darwin_obsz'
:info:build #define __darwin_obsz(object) __builtin_object_size (object, 
_USE_FORTIFY_LEVEL > 1 ? 1 : 0)