Re: FreeBSD Port: fetchmail-6.3.26_9

2019-01-06 Thread Oleg V. Nauman
On Sunday, January 6, 2019 9:58:29 PM EET Alex V. Petrov wrote:
> New depence?
> 
> checking for Kerberos V in /usr/local... found
> checking for krb5_des_string_to_key in -lcrypto... no
> checking for krb5_des_string_to_key in -lk5crypto... no
> configure: error: Kerberos 5 DES libraries not found
> gmake[2]: *** [Makefile:622: config.status] Error 1
> gmake[2]: Leaving directory
> '/usr/ports/mail/fetchmail/work/fetchmail-6.3.26'
> ===> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
> the maintainer.
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/ports/mail/fetchmail
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/ports/mail/fetchmail
> 
> ===>>> make build failed for mail/fetchmail
> ===>>> Aborting update


 I'm observing another fetchmail configure failure ( 13.0 CURRENT ):

...
checking for procmail... no
checking for sendmail... /usr/sbin/sendmail
checking for maildrop... /usr/local/bin/maildrop
configure: Will not use a fallback MDA.
checking size of short... 0
checking size of int... 0
checking size of long... 0
checking opie.h usability... yes
checking opie.h presence... yes
checking for opie.h... yes
checking for opiegenerator in -lopie... no
configure: error: cannot find libopie, which is required for OPIE support.
gmake[2]: *** [Makefile:622: config.status] Error 1
gmake[2]: Leaving directory '/usr/obj/usr/ports/mail/fetchmail/work/
fetchmail-6.3.26'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

..

# ldconfig -rv|grep opie
59:-lopie.8 => /usr/lib/libopie.so.8
1162:-lopie.7 => /usr/local/lib/compat/libopie.so.7

Thank you

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: FreeBSD Port: fetchmail-6.3.26_9

2019-01-06 Thread Alex V. Petrov
I have openssl from ports and 12.0-STABLE

07.01.2019 05:01, Corey Halpin пишет:
> When I build with the options you've shown on 11.2/amd64 using OpenSSL
> from base, I don't see the failure you're reporting.
> 
> Instead, my configure output shows:
> 
> checking for Kerberos V in /usr/local... found
> checking for krb5_des_string_to_key in -lcrypto... no
> checking for krb5_des_string_to_key in -lk5crypto... yes
> checking for krb5_init_context in -lkrb5... yes
> 
> Looking through the Makefile for krb5, I'm not seeing any obvious way
> to disable the des_string_to_key functions. Do you perhaps have
> something non-obvious in your make.conf that would affect how krb5 is
> built? Does a rebuild of krb5 make any difference?
> 
> ~crh
> 
> On 2019-01-07, Alex V. Petrov wrote:
>> make -C mail/fetchmail  showconfig
>> ===> The following configuration options are available for
>> fetchmail-6.3.26_9:
>>  DOCS=on: Build and/or install documentation
>>  NLS=on: Native Language Support
>>  NTLM=off: NTLM authentication support
>>  POP2=off: POP2 Protocol support[obsolete]
>>  X11=off: Python/Tkinter dependencies for ``fetchmailconf''
>> > GSSAPI Security API support: you have to select exactly one of them
>>  GSSAPI_BASE=off: GSSAPI support via base system (needs Kerberos)
>>  GSSAPI_HEIMDAL=off: GSSAPI support via security/heimdal
>>  GSSAPI_MIT=on: GSSAPI support via security/krb5
>>  GSSAPI_NONE=off: Disable GSSAPI support
>> ===> Use 'make config' to modify these settings
>>
>> 07.01.2019 03:16, Corey Halpin пишет:
>>> make showconfig
>>
>> --
>> -
>> Alex.

-- 
-
Alex.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: FreeBSD Port: fetchmail-6.3.26_9

2019-01-06 Thread Alex V. Petrov
make -C mail/fetchmail  showconfig
===> The following configuration options are available for
fetchmail-6.3.26_9:
 DOCS=on: Build and/or install documentation
 NLS=on: Native Language Support
 NTLM=off: NTLM authentication support
 POP2=off: POP2 Protocol support[obsolete]
 X11=off: Python/Tkinter dependencies for ``fetchmailconf''
> GSSAPI Security API support: you have to select exactly one of them
 GSSAPI_BASE=off: GSSAPI support via base system (needs Kerberos)
 GSSAPI_HEIMDAL=off: GSSAPI support via security/heimdal
 GSSAPI_MIT=on: GSSAPI support via security/krb5
 GSSAPI_NONE=off: Disable GSSAPI support
===> Use 'make config' to modify these settings

07.01.2019 03:16, Corey Halpin пишет:
> make showconfig

-- 
-
Alex.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


FreeBSD Port: fetchmail-6.3.26_9

2019-01-06 Thread Alex V. Petrov
New depence?

checking for Kerberos V in /usr/local... found
checking for krb5_des_string_to_key in -lcrypto... no
checking for krb5_des_string_to_key in -lk5crypto... no
configure: error: Kerberos 5 DES libraries not found
gmake[2]: *** [Makefile:622: config.status] Error 1
gmake[2]: Leaving directory
'/usr/ports/mail/fetchmail/work/fetchmail-6.3.26'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/mail/fetchmail
*** Error code 1

Stop.
make: stopped in /usr/ports/mail/fetchmail

===>>> make build failed for mail/fetchmail
===>>> Aborting update

-- 
-
Alex.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Request for help: remove bundler from ruby 2.6 port

2019-01-06 Thread Yasuhiro KIMURA
From: Yasuhiro KIMURA 
Subject: Re: Request for help: remove bundler from ruby 2.6 port
Date: Sun, 30 Dec 2018 10:35:14 +0900 (JST)

> Thank you for reply. Then I'm going to create full port and post here
> again.

Created.

https://www.utahime.org/FreeBSD/ports/lang_ruby26.20190105.patch

Please take following step to apply this patch.

1. cd /usr/ports
2. svn copy lang/ruby25 lang/ruby26
3. svn delete lang/ruby26/pkg-message
4. svn patch /path/to/this/patch

This time it is full port. So it includes following modules/commands
that are removed from lang/ruby2[234].

* Gem
* Rake
* GDBM

And it make back end dbm library of DBM module selectable from
following ones.

* Berkeley DB (Default)
* GDBM
* libc
* QDBM

---
Yasuhiro KIMURA
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


qemu-arm-static has target_freebsd11_nstat too small vs. arm native's struct nstat

2019-01-06 Thread Mark Millard via freebsd-ports
[The context here is FreeBSD head -r341836 based and ports head -r488859 based.]

Note: I assume that "struct target_shmd_ds" is meant to match the memory layout
of the target's native "struct shmid_ds". Otherwise the reported differences
below could be irrelevant.

For armv7 (and likely armv6) the following code:

printf("sizeof(struct nstat) = %lu\n", (unsigned long) sizeof(struct 
nstat));
printf("st_dev %lu\n", (unsigned long) offsetof(struct nstat, st_dev));
printf("st_ino %lu\n", (unsigned long) offsetof(struct nstat, st_ino));
printf("st_mode %lu\n", (unsigned long) offsetof(struct nstat, 
st_mode));
printf("st_nlink %lu\n", (unsigned long) offsetof(struct nstat, 
st_nlink));
printf("st_uid %lu\n", (unsigned long) offsetof(struct nstat, st_uid));
printf("st_gid %lu\n", (unsigned long) offsetof(struct nstat, st_gid));
printf("st_rdev %lu\n", (unsigned long) offsetof(struct nstat, 
st_rdev));
printf("st_atim %lu\n", (unsigned long) offsetof(struct nstat, 
st_atim));
printf("st_mtim %lu\n", (unsigned long) offsetof(struct nstat, 
st_mtim));
printf("st_ctim %lu\n", (unsigned long) offsetof(struct nstat, 
st_ctim));
printf("st_size %lu\n", (unsigned long) offsetof(struct nstat, 
st_size));
printf("st_blocks %lu\n", (unsigned long) offsetof(struct nstat, 
st_blocks));
printf("st_blksize %lu\n", (unsigned long) offsetof(struct nstat, 
st_blksize));
printf("st_flags %lu\n", (unsigned long) offsetof(struct nstat, 
st_flags));
printf("st_gen %lu\n", (unsigned long) offsetof(struct nstat, st_gen));
printf("st_birthtim %lu\n", (unsigned long) offsetof(struct nstat, 
st_birthtim));

produces:

sizeof(struct nstat) = 128
st_dev 0
st_ino 4
st_mode 8
st_nlink 12
st_uid 16
st_gid 20
st_rdev 24
st_atim 32
st_mtim 48
st_ctim 64
st_size 80
st_blocks 88
st_blksize 96
st_flags 100
st_gen 104
st_birthtim 112

However gdb reports for qemu-arm-static (on amd64):

(gdb) p/d sizeof(struct target_freebsd11_nstat)
$41 = 116
(gdb) p/d &((struct target_freebsd11_nstat *)0)->st_dev   
$42 = 0
(gdb) p/d &((struct target_freebsd11_nstat *)0)->st_ino
$43 = 4
(gdb) p/d &((struct target_freebsd11_nstat *)0)->st_mode
$44 = 8
(gdb) p/d &((struct target_freebsd11_nstat *)0)->st_nlink
$45 = 10
(gdb) p/d &((struct target_freebsd11_nstat *)0)->st_uid  
$46 = 12
(gdb) p/d &((struct target_freebsd11_nstat *)0)->st_gid
$47 = 16
(gdb) p/d &((struct target_freebsd11_nstat *)0)->st_rdev
$48 = 20
(gdb) p/d &((struct target_freebsd11_nstat *)0)->st_atim
$49 = 24
(gdb) p/d &((struct target_freebsd11_nstat *)0)->st_mtim   
$50 = 40
(gdb) p/d &((struct target_freebsd11_nstat *)0)->st_ctim
$51 = 56
(gdb) p/d &((struct target_freebsd11_nstat *)0)->st_size   
$52 = 72
(gdb) p/d &((struct target_freebsd11_nstat *)0)->st_blocks
$53 = 80
(gdb) p/d &((struct target_freebsd11_nstat *)0)->st_blksize
$54 = 88
(gdb) p/d &((struct target_freebsd11_nstat *)0)->st_flags  
$55 = 92
(gdb) p/d &((struct target_freebsd11_nstat *)0)->st_gen  
$56 = 96
(gdb) p/d &((struct target_freebsd11_nstat *)0)->st_birthtim
$57 = 100

So after st_mode the offsets are wrong relative to struct nstat
(native to armv7).

/usr/include/sys/stat.h has:

struct nstat {
__uint32_t st_dev;  /* inode's device */
__uint32_t st_ino;  /* inode's number */
__uint32_t st_mode; /* inode protection mode */
__uint32_t st_nlink;/* number of hard links */
uid_t st_uid;   /* user ID of the file's owner */
gid_t st_gid;   /* group ID of the file's group */
__uint32_t st_rdev; /* device type */
struct  timespec st_atim;   /* time of last access */
struct  timespec st_mtim;   /* time of last data modification */
struct  timespec st_ctim;   /* time of last file status change */
off_t st_size;  /* file size, in bytes */
blkcnt_t st_blocks; /* blocks allocated for file */
blksize_t st_blksize;   /* optimal blocksize for I/O */
fflags_t  st_flags; /* user defined flags for file */
__uint32_t st_gen;  /* file generation number */
struct timespec st_birthtim;/* time of file creation */
/*
 * See comment in the definition of struct freebsd11_stat
 * above about the following padding.
 */
unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec));
unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec));
};

/wrkdirs/usr/ports/emulators/qemu-user-static/work/qemu-bsd-user-4ef7d07/bsd-user/syscall_defs.h
has:

struct target_freebsd11_nstat {
uint32_t  st_dev;   /* inode's device */
uint32_t  st_ino;   /* inode's number */
int16_t   st_mode;  /* inode protection mode */
int16_t   st_nlink; /* number of hard