Re: [gentoo-user] openssl: "-bindist" fights "bindist"...and me inbetween

2017-03-12 Thread tuxic
On 03/12 03:36, gentoo-u...@c-14.de wrote:
> On 17-03-12 at 15:29, tu...@posteo.de wrote:
> > Hi,
> > 
> > finally I am on my new root...only a few steps need to be done.
> > 
> [..]
> > and this is, where me trouble starts:
> > 
> > Hostapd wants:
> > # required by net-wireless/hostapd-2.6::gentoo[ssl]
> > # required by hostapd (argument)
> > >=dev-libs/openssl-0.9.8z_p8:0.9.8 -bindist
> > 
> > And others wants:
> >   (dev-libs/openssl-1.0.2k:0/0::gentoo, ebuild scheduled for merge) 
> > conflicts with
> > >=dev-libs/openssl-0.9.8f:0[bindist] required by 
> > (net-misc/openssh-7.4_p1:0/0::gentoo, installed)
> > ^^^ 
> > dev-libs/openssl:0[bindist] required by 
> > (dev-qt/qtnetwork-5.7.1:5/5.7::gentoo, installed)
> >^^^ 
> > 
> > Is there any way around this?
> Disable the bindist flag on openssh and qtnetwork
> 
> -- 
> Simon Thelen
> 

Hi Simon,

thanks for your reply ! :)

Those settings lead to this recursive dependencies:

dev-libs/openssl:0

  (dev-libs/openssl-1.0.2k:0/0::gentoo, ebuild scheduled for merge) pulled in by
dev-libs/openssl:0[bindist=] required by 
(dev-qt/qtnetwork-5.7.1:5/5.7::gentoo, ebuild scheduled for merge)
    


  (dev-libs/openssl-1.0.2k:0/0::gentoo, installed) pulled in by
>=dev-libs/openssl-0.9.8f:0[bindist=] required by 
(net-misc/openssh-7.4_p1:0/0::gentoo, installed)

   

Cheers
Meino






[gentoo-user] invitation to gentobb project

2017-03-12 Thread Ural
Hello guys. I am sorry about a bit of offtopic, but if everyone is
interested, I am inviting anyone into
https://github.com/edannenberg/gentoo-bb project discussion thread here:
https://github.com/edannenberg/gentoo-bb/issues/102, where we user
Docker as engine and Gentoo GNU/Linux as host OS. We have some ideas on
(possibly) the best server and LAMP/LEMP management using Gentoo, Docker
and GentooBB. Discussing the most table, fastest and secure dedicated
server configuration to host everything. Thanks



Re: [gentoo-user] Building mongodb-3.4.2 scons error

2017-03-12 Thread Dick Middleton
On 03/12/17 17:49, Helmut Jarausch wrote:
> What's your glibc?  If it is version 2.24 or 2.25 you probably need the
> following patch

It's 2.23-r3.  Maybe I should upgrade; next level is 2.24-r1

I applied your patch as given (that was a learning experience) but sadly it
didn't help. Error is the same.

> I have compiled it with gcc-5.4.0 as well as with gcc-6.3.0

There must be something I need to do.

Dick



Re: [gentoo-user] Building mongodb-3.4.2 scons error

2017-03-12 Thread Helmut Jarausch
What's your glibc?  If it is version 2.24 or 2.25 you probably need the  
following patch




--- a/src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp.ORIG	 
2017-02-01 20:00:25.0 +0100
+++ b/src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp	2017-02-09  
17:14:07.153905985 +0100

@@ -50,6 +50,8 @@
 #include "mongo/db/storage/storage_options.h"
 #include "mongo/util/clock_source.h"
 #include "mongo/util/log.h"
+#define __USE_EXTERN_INLINES
+#include 


 namespace mongo {




I have compiled it with gcc-5.4.0 as well as with gcc-6.3.0


[gentoo-user] Building mongodb-3.4.2 scons error

2017-03-12 Thread Dick Middleton
I'm trying to install mongodb 3.4.2 and have a troublesome scons error when
linking the mongo shell.

collect2: error: ld returned 1 exit status
scons: *** [build/opt/mongo/mongo] Error 1
scons: building terminated because of errors.
build/opt/mongo/mongo failed: Error 1
 * ERROR: dev-db/mongodb-3.4.2::gentoo failed (compile phase):
 *   escons failed.
 *
 * Call stack:
 * ebuild.sh, line  115:  Called src_compile
 *   environment, line 3364:  Called escons 'CC=x86_64-pc-linux-gnu-gcc'
'CXX=x86_64-pc-linux-gnu-g++' '--disable-warnings-as-errors'
'--use-system-boost' '--use-system-pcre' '--use-system-snappy'
'--use-system-stemmer' '--use-system-yaml' '--use-system-zlib' '--ssl' 'core'
'tools'
 *   environment, line 1602:  Called die
 * The specific snippet of code:
 *   die "escons failed."

The line in the environment is in a function called escons and it's testing a
value called EAPI to be less than 4 which it isn't.

I've already updated gcc to v5.4 and done the tasks listed here:
http://www.funtoo.org/News:GCC_Update

It's all a bit baffling to me and I'd appreciate a little guidance.

I've attached some of the info but the log file is ~250K

Thanks

Dick
declare -x ABI="amd64"
declare -x ABI_X86="64"
declare -x ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m 
maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
declare -x APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions 
alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file 
authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user 
autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires 
ext_filter file_cache filter headers include info log_config logio mem_cache 
mime mime_magic negotiation rewrite setenvif speling status unique_id userdir 
usertrack vhost_alias"
declare -x ARCH="amd64"
declare -x BOOTSTRAP_USE="cxx unicode internal-glib python_targets_python3_4 
python_targets_python2_7 multilib systemd udev"
declare -x CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita 
karbon braindump author"
declare -x CBUILD="x86_64-pc-linux-gnu"
declare -x CFLAGS="-O2 -pipe"
declare -x CFLAGS_amd64="-m64"
declare -x CFLAGS_default
declare -x CFLAGS_x32="-mx32"
declare -x CFLAGS_x86="-m32"
declare -- CHECKREQS_DISK_BUILD="2400M"
declare -- CHECKREQS_DISK_USR="512M"
declare -- CHECKREQS_MEMORY="1024M"
declare -x CHOST="x86_64-pc-linux-gnu"
declare -x CHOST_amd64="x86_64-pc-linux-gnu"
declare -x CHOST_default="x86_64-pc-linux-gnu"
declare -x CHOST_x32="x86_64-pc-linux-gnux32"
declare -x CHOST_x86="i686-pc-linux-gnu"
declare -x COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
declare -x CPU_FLAGS_X86="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 
ssse3"
declare -x CTARGET_default="x86_64-pc-linux-gnu"
declare -x CXXFLAGS="-O2 -pipe"
declare -x DEFAULT_ABI="amd64"
declare -x DEFINED_PHASES=" compile install postinst preinst prepare pretend 
setup test"
declare DEPEND=">=app-arch/snappy-1.1.3
>=dev-cpp/yaml-cpp-0.5.3
>=dev-libs/boost-1.60[threads(+)]
>=dev-libs/libpcre-8.39[cxx]
dev-libs/snowball-stemmer
net-libs/libpcap
>=sys-libs/zlib-1.2.8
mms-agent? ( app-admin/mms-agent )
ssl? (
!libressl? ( >=dev-libs/openssl-1.0.1g:0= )
libressl? ( dev-libs/libressl:0= )
)
>=sys-devel/gcc-5.3.0:*
sys-libs/ncurses
sys-libs/readline
debug? ( dev-util/valgrind )
kerberos? ( dev-libs/cyrus-sasl[kerberos] )
test? (
dev-python/pymongo
dev-python/pyyaml
) >=dev-util/scons-2.3.0 virtual/pkgconfig"
declare DESCRIPTION="A high-performance, open source, schema-free 
document-oriented database"
declare -x DESTTREE="/usr"
declare -x DIROPTIONS="-m0755"
declare -x EAPI="5"
declare -x ELIBC="glibc"
declare -- EPATCH_COMMON_OPTS="-g0 -E --no-backup-if-mismatch"
declare -- EPATCH_EXCLUDE=""
declare -- EPATCH_FORCE="no"
declare -- EPATCH_MULTI_MSG="Applying various patches (bugfixes/updates) ..."
declare -- EPATCH_N_APPLIED_PATCHES="2"
declare -- EPATCH_OPTS=""
declare -- EPATCH_SINGLE_MSG=""
declare -- EPATCH_SOURCE="/var/tmp/portage/dev-db/mongodb-3.4.2/work/patch"
declare -- EPATCH_SUFFIX="patch.bz2"
declare -- EPATCH_USER_SOURCE="/etc/portage/patches"
declare -x EXEOPTIONS="-m0755"
declare -x FCFLAGS="-O2 -pipe"
declare -x FETCHCOMMAND_SSH="bash -c \"x=\\\${2#ssh://} ; host=\\\${x%%/*} ; 
port=\\\${host##*:} ; host=\\\${host%:*} ; [[ \\\${host} = \\\${port} ]] && 
port= ; exec rsync --rsh=\\\"ssh \\\${port:+-p\\\${port}} \\\${3}\\\" -avP 
\\\"\\\${host}:/\\\${x#*/}\\\" \\\"\\\$1\\\"\" rsync \"\${DISTDIR}/\${FILE}\" 
\"\${URI}\" \"\${PORTAGE_SSH_OPTS}\""
declare -x FFLAGS="-O2 -pipe"
declare -x GCC_SPECS=""
declare -x GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv1

Re: [gentoo-user] openssl: "-bindist" fights "bindist"...and me inbetween

2017-03-12 Thread gentoo-user
On 17-03-12 at 15:29, tu...@posteo.de wrote:
> Hi,
> 
> finally I am on my new root...only a few steps need to be done.
> 
[..]
> and this is, where me trouble starts:
> 
> Hostapd wants:
> # required by net-wireless/hostapd-2.6::gentoo[ssl]
> # required by hostapd (argument)
> >=dev-libs/openssl-0.9.8z_p8:0.9.8 -bindist
> 
> And others wants:
>   (dev-libs/openssl-1.0.2k:0/0::gentoo, ebuild scheduled for merge) conflicts 
> with
> >=dev-libs/openssl-0.9.8f:0[bindist] required by 
> (net-misc/openssh-7.4_p1:0/0::gentoo, installed)
> ^^^ 
> dev-libs/openssl:0[bindist] required by 
> (dev-qt/qtnetwork-5.7.1:5/5.7::gentoo, installed)
>^^^ 
> 
> Is there any way around this?
Disable the bindist flag on openssh and qtnetwork

-- 
Simon Thelen



[gentoo-user] openssl: "-bindist" fights "bindist"...and me inbetween

2017-03-12 Thread tuxic
Hi,

finally I am on my new root...only a few steps need to be done.

One is:
For my tablet I need a temporary wireless access point just to be
fired up for some software updates and thats it. 

For that I used create_ap (Link: https://github.com/oblique/create_ap)
which does a nice job on my old root for this purpose.

Beside other things, create_ap needs three things:
* hostapd 
* haveged 
* dnsmasq

and this is, where me trouble starts:

Hostapd wants:
# required by net-wireless/hostapd-2.6::gentoo[ssl]
# required by hostapd (argument)
>=dev-libs/openssl-0.9.8z_p8:0.9.8 -bindist

And others wants:
  (dev-libs/openssl-1.0.2k:0/0::gentoo, ebuild scheduled for merge) conflicts 
with
>=dev-libs/openssl-0.9.8f:0[bindist] required by 
(net-misc/openssh-7.4_p1:0/0::gentoo, installed)
^^^ 
dev-libs/openssl:0[bindist] required by 
(dev-qt/qtnetwork-5.7.1:5/5.7::gentoo, installed)
   ^^^ 

Is there any way around this?

Thanks a lot for any help in advance!

Cheers
Meino








Re: [gentoo-user] DNS from dialup or wifi for broadband connection?

2017-03-12 Thread Alarig Le Lay
Hi,

On dim. 12 mars 03:18:59 2017, Walter Dnes wrote:
> * Another option, if you know the alternate DNS server address in
>   advance, set up routing of the /32 (for the alternate DNS server)
>   to ppp0 or wlan0 with higher priority than the default route.  This
>   doesn't require any iptables magic.

Why do you want to set a higher priority? /32 is by design more specific
than the default route, so it will be used before.
As a good DNS resolver, you can use 2a00:5884:8218::1 / 89.234.186.18

-- 
alarig


signature.asc
Description: PGP signature


Re: [gentoo-user] ttyUSB not showing up

2017-03-12 Thread Walter Dnes
On Sat, Mar 11, 2017 at 09:47:30PM -0700, the...@sys-concept.com wrote
> I have serial to USB converter, want to connect fax/modem to it.

  I have a USB connector that plugs into a phone outlet in the wall for
emergency internet connectivity via dialup.  43 kbps is painfully slow,
but better than nothing in an emergency.  I assume that your fax also
dials up over a POTS line just like a dialup modem.  In that case you
need to enable...

* PPP protocol
* serial ports
* "USB Modem (CDC ACM) support"

...in your kernel.  In "make menuconfig"...


Device Drivers  --->
   [*] Network device support  --->
   <*>   PPP (point-to-point protocol) support
   <*> PPP BSD-Compress compression
   <*> PPP Deflate compression
   <*> PPP support for async serial ports


  Support for 1 or more "serial ports", depending on how many devices
you have hooked up.

Device Drivers  --->
Character devices  --->
Serial drivers  --->
<*> 8250/16550 and compatible serial support
(8)   Maximum number of 8250/16550 serial ports

  CDC ACM protocol for "serial ports" over USB

Device Drivers  --->
   [*] USB support  --->
   <*> Support for Host-side USB
   <*> USB Modem (CDC ACM) support

  After building the kernel and rebooting, you'll need to create the
"serial ports" like so (root or sudo required).

mkdir -p /dev/usb
mknod /dev/usb/ttyACM0 c 166 0
mknod /dev/usb/ttyACM1 c 166 1
mknod /dev/usb/ttyACM2 c 166 2
mknod /dev/usb/ttyACM3 c 166 3
etc.

  Finally, when configuring "the comm port" for the fax, select one of
the "serial ports" you've created, e.g. "/dev/usb/ttyACM0" (The last
character is number-zero, not letter-ohh.)

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications