Re: ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ"

2018-12-26 Thread Alfonso Siciliano
Hello,

> > FreeBSD 13.0-CURRENT r342466 GENERIC-NODEBUG
> > grahamperrin@momh167-gjp4-8570p:~ % iridium
> > ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ"
> > Any ideas?
> 
> I can confirm that I'm getting this, too, on my Pinebook running
> HardenedBSD 13-CURRENT/arm64.
> 

Same problem:

alfix@alffbsd:~/% uname -v
FreeBSD 13.0-CURRENT r342466 GENERIC 
alfix@alffbsd:~/% mplayer
ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ"



Regards,
Alfonso

--- 
Alfonso S. Siciliano 
   http://alfix.gitlab.io
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ"

2018-12-26 Thread Shawn Webb
On Wed, Dec 26, 2018 at 10:20:05AM +, Graham Perrin wrote:
> grahamperrin@momh167-gjp4-8570p:~ % date ; uname -v
> Wed Dec 26 10:18:52 GMT 2018
> FreeBSD 13.0-CURRENT r342466 GENERIC-NODEBUG
> grahamperrin@momh167-gjp4-8570p:~ % iridium
> ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ"
> grahamperrin@momh167-gjp4-8570p:~ % pkg query '%o %v %R' iridium-browser
> www/iridium 2018.5.67_6 FreeBSD
> grahamperrin@momh167-gjp4-8570p:~ %
> 
> Any ideas?

I can confirm that I'm getting this, too, on my Pinebook running
HardenedBSD 13-CURRENT/arm64.

Thanks,

-- 
Shawn Webb
Cofounder and Security Engineer
HardenedBSD

Tor-ified Signal:+1 443-546-8752
Tor+XMPP+OTR:latt...@is.a.hacker.sx
GPG Key ID:  0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE


signature.asc
Description: PGP signature


Re: workaround for VMware WS NAT bug triggered by OpenSSH 7.8p1 changes

2018-12-26 Thread Yuri Pankov
Dag-Erling Smørgrav wrote:
> Yuri Pankov  writes:
>> There's apparently a bug in VMware Workstation NAT implementation,
>> [...] The patch itself is attached.
> 
> Could you please open a differential and add me as reviewer?

https://reviews.freebsd.org/D18636

And there's already a PR for this:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234426



signature.asc
Description: OpenPGP digital signature


Re: unknown (doubled?) poudriere jail below /usr/obj/usr/local/...

2018-12-26 Thread Matthias Apitz
El día Wednesday, December 26, 2018 a las 09:49:20AM +0100, Matthias Apitz 
escribió:

> 
> Hello,
> 
> I've update on December 23 an amd64 system to r342378 and
> created a new ZFS jail and ports within poudriere with:
> 
> # poudriere jail  -c -j freebsd-r342378 -m svn+http -v head@r342378
> # poudriere ports -c -p ports-20181223  -m svn -U svn://svn.freebsd.org/ports/
> 
> The relevant values from poudriere.conf are:
> 
> 

I did (just for test) a 2nd jail creation as:

# poudriere jail  -c -j freebsd-r342378test -m svn+http -v head@r342378

this checks out the source tree to 
/usr/local/poudriere/jails/freebsd-r342378test/usr/src

and compiles it to /usr/obj/usr/local/poudriere/jails/freebsd-r342378test/usr 
...
one can also see this in the run of the compiler, here an example:

...
c++  -O2 -pipe
-I/usr/obj/usr/local/poudriere/jails/freebsd-r342378test/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvm
-I/usr/local/poudriere/jails/freebsd-r342378test/usr/src/lib/clang/include
-I/usr/local/poudriere/jails/freebsd-r342378test/usr/src/contrib/llvm/include
-DLLVM_BUILD_GLOBAL_ISEL -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
-DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd13.0\"
-DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd13.0\"
-DDEFAULT_SYSROOT=\"/usr/obj/usr/local/poudriere/jails/freebsd-r342378test/usr/src/amd64.amd64/tmp\"
-DLLVM_TARGET_ENABLE_X86
-DLLVM_NATIVE_ASMPARSER=LLVMInitializeX86AsmParser
-DLLVM_NATIVE_ASMPRINTER=LLVMInitializeX86AsmPrinter
-DLLVM_NATIVE_DISASSEMBLER=LLVMInitializeX86Disassembler
-DLLVM_NATIVE_TARGET=LLVMInitializeX86Target
-DLLVM_NATIVE_TARGETINFO=LLVMInitializeX86TargetInfo
-DLLVM_NATIVE_TARGETMC=LLVMInitializeX86TargetMC -ffunction-sections
-fdata-sections -gline-tables-only -MD -MF.depend.X86FoldTablesEmitter.o
-MTX86FoldTablesEmitter.o -Qunused-arguments
-I/usr/obj/usr/local/poudriere/jails/freebsd-r342378test/usr/src/amd64.amd64/tmp/legacy/usr/include
-std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++
-Wno-c++11-extensions  -c
/usr/local/poudriere/jails/freebsd-r342378test/usr/src/contrib/llvm/utils/TableGen/X86FoldTablesEmitter.cpp
-o X86FoldTablesEmitter.o
...

Is this pollution of /usr/obj with the poudriere jail intention? And can
this be removed later?

For my original jail 'freebsd-r342378' I moved away '/usr/obj/usr/local'
to '/local-UNKNOWN' and the jail is still working fine (compiled fice
hours www/chromium). 

Please, poudriere folks help me to understand this? Is this new with
some version (I have not found anything in /usr/ports/UPDATING or in the
man page). It was not this way in version r314251 (in March 2017).

Thanks

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars, 
Druschba
instead of Nazis, to live instead of to survive.


signature.asc
Description: PGP signature


ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ"

2018-12-26 Thread Graham Perrin
grahamperrin@momh167-gjp4-8570p:~ % date ; uname -v
Wed Dec 26 10:18:52 GMT 2018
FreeBSD 13.0-CURRENT r342466 GENERIC-NODEBUG
grahamperrin@momh167-gjp4-8570p:~ % iridium
ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ"
grahamperrin@momh167-gjp4-8570p:~ % pkg query '%o %v %R' iridium-browser
www/iridium 2018.5.67_6 FreeBSD
grahamperrin@momh167-gjp4-8570p:~ %

Any ideas?

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


unknown (doubled?) poudriere jail below /usr/obj/usr/local/...

2018-12-26 Thread Matthias Apitz

Hello,

I've update on December 23 an amd64 system to r342378 and
created a new ZFS jail and ports within poudriere with:

# poudriere jail  -c -j freebsd-r342378 -m svn+http -v head@r342378
# poudriere ports -c -p ports-20181223  -m svn -U svn://svn.freebsd.org/ports/

The relevant values from poudriere.conf are:

ZPOOL=poudriere
#NO_ZFS=yes
ZROOTFS=/poudriere
BASEFS=/usr/local/poudriere
POUDRIERE_DATA=${BASEFS}/data



Since then I compiled some 1800 ports with:

# poudriere bulk -f /usr/local/etc/poudriere-list -J 4 -j freebsd-r342378 -p 
ports-20181223

All went fine.

While checking something, I now see the poudriere jail also below 
/usr/obj/usr/local:

[root@jet ~]# ls -li /usr/local/poudriere/jails/ 
/usr/obj/usr/local/poudriere/jails/
/usr/local/poudriere/jails/:
total 3
4 drwxr-xr-x  17 root  wheel  21 Mar  4  2017 freebsd-r314251
4 drwxr-xr-x  18 root  wheel  22 Dec 23 21:30 freebsd-r342378

/usr/obj/usr/local/poudriere/jails/:
total 4
31300766 drwxrwxr-x  3 root  wheel  512 Dec 23 19:22 freebsd-r342378

The mounts are:

[root@jet ~]# mount
/dev/da0p2 on / (ufs, local, journaled soft-updates)
devfs on /dev (devfs, local, multilabel)
poudriere on /poudriere (zfs, local, nfsv4acls)
poudriere/poudriere on /poudriere/poudriere (zfs, local, nfsv4acls)
poudriere/poudriere/jails on /poudriere/poudriere/jails (zfs, local, nfsv4acls)
poudriere/poudriere/ports on /poudriere/poudriere/ports (zfs, local, nfsv4acls)
poudriere/mydata on /usr/home/guru/zdata (zfs, local, nfsv4acls)
poudriere/mydata/r338641 on /usr/home/guru/zdata/r338641 (zfs, local, nfsv4acls)
poudriere/poudriere/jails/freebsd-r314251 on 
/usr/local/poudriere/jails/freebsd-r314251 (zfs, local, noatime, nfsv4acls)
poudriere/poudriere/jails/freebsd-r342378 on 
/usr/local/poudriere/jails/freebsd-r342378 (zfs, local, noatime, nfsv4acls)
poudriere/poudriere/ports/ports-20170304 on 
/usr/local/poudriere/ports/ports-20170304 (zfs, local, noatime, nfsv4acls)
poudriere/poudriere/ports/ports-20181223 on 
/usr/local/poudriere/ports/ports-20181223 (zfs, local, noatime, nfsv4acls)

What does this structure below '/usr/obj/usr/local/poudriere/jails/'
mean? Can I remove this?

Thanks for some light on this.

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars, 
Druschba
instead of Nazis, to live instead of to survive.


signature.asc
Description: PGP signature