Re: svn commit: r346023 - head/usr.bin/strings

2019-09-03 Thread Charlie Li via svn-src-all
Shawn Webb wrote:
> On Mon, Apr 08, 2019 at 03:35:48AM +, Mariusz Zaborski wrote:
>> Author: oshogbo
>> Date: Mon Apr  8 03:35:47 2019
>> New Revision: 346023
>> URL: https://svnweb.freebsd.org/changeset/base/346023
>>
>> Log:
>>   strings: disable Casper support while building native-xtools
> 
> Why?
> 
Discussed in previous thread. Capsicum is not part of the native-xtools
build, so linking fails. This is regardless of both the host and target
architectures. Example:

--- all_subdir_usr.bin/strings ---
Building
/usr/obj/usr/local/poudriere/jails/aarch64-current/usr/src/amd64.amd64/nxb/arm64.aarch64/usr.bin/strings/strings
--- strings ---
ld: error: unable to find library -lcasper
ld: error: unable to find library -lcap_fileargs
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [strings] Error code 1

make[4]: stopped in
/usr/local/poudriere/jails/aarch64-current/usr/src/usr.bin/strings

-- 
Charlie Li
…nope, still don't have an exit line.

(This email address is for mailing list use; replace local-part with
vishwin for off-list communication if possible)



signature.asc
Description: OpenPGP digital signature


svn commit: r346023 - head/usr.bin/strings

2019-09-03 Thread Mariusz Zaborski
Author: oshogbo
Date: Mon Apr  8 03:35:47 2019
New Revision: 346023
URL: https://svnweb.freebsd.org/changeset/base/346023

Log:
  strings: disable Casper support while building native-xtools
  
  Reported by:  Charlie Li
  Tested by:Charlie Li

Modified:
  head/usr.bin/strings/Makefile

Modified: head/usr.bin/strings/Makefile
==
--- head/usr.bin/strings/Makefile   Sun Apr  7 21:01:02 2019
(r346022)
+++ head/usr.bin/strings/Makefile   Mon Apr  8 03:35:47 2019
(r346023)
@@ -10,7 +10,7 @@ PROG= strings
 
 LIBADD=elftc elf
 
-.if ${MK_CASPER} != "no" && !defined(BOOTSTRAPPING)
+.if ${MK_CASPER} != "no" && !defined(BOOTSTRAPPING) && !defined(NXB_TARGET)
 LIBADD+=   casper
 LIBADD+=   cap_fileargs
 CFLAGS+=   -DWITH_CASPER


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


Re: svn commit: r346023 - head/usr.bin/strings

2019-09-03 Thread Shawn Webb
On Mon, Apr 08, 2019 at 03:35:48AM +, Mariusz Zaborski wrote:
> Author: oshogbo
> Date: Mon Apr  8 03:35:47 2019
> New Revision: 346023
> URL: https://svnweb.freebsd.org/changeset/base/346023
> 
> Log:
>   strings: disable Casper support while building native-xtools

Why?

-- 
Shawn Webb
Cofounder / 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: D206 BB45 15E0 9C49 0CF9  3633 C85B 0AF8 AB23 0FB2


signature.asc
Description: PGP signature


Re: svn commit: r346023 - head/usr.bin/strings

2019-04-08 Thread Charlie Li via svn-src-all
Shawn Webb wrote:
> On Mon, Apr 08, 2019 at 03:35:48AM +, Mariusz Zaborski wrote:
>> Author: oshogbo
>> Date: Mon Apr  8 03:35:47 2019
>> New Revision: 346023
>> URL: https://svnweb.freebsd.org/changeset/base/346023
>>
>> Log:
>>   strings: disable Casper support while building native-xtools
> 
> Why?
> 
Discussed in previous thread. Capsicum is not part of the native-xtools
build, so linking fails. This is regardless of both the host and target
architectures. Example:

--- all_subdir_usr.bin/strings ---
Building
/usr/obj/usr/local/poudriere/jails/aarch64-current/usr/src/amd64.amd64/nxb/arm64.aarch64/usr.bin/strings/strings
--- strings ---
ld: error: unable to find library -lcasper
ld: error: unable to find library -lcap_fileargs
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [strings] Error code 1

make[4]: stopped in
/usr/local/poudriere/jails/aarch64-current/usr/src/usr.bin/strings

-- 
Charlie Li
…nope, still don't have an exit line.

(This email address is for mailing list use; replace local-part with
vishwin for off-list communication if possible)



signature.asc
Description: OpenPGP digital signature


Re: svn commit: r346023 - head/usr.bin/strings

2019-04-08 Thread Shawn Webb
On Mon, Apr 08, 2019 at 03:35:48AM +, Mariusz Zaborski wrote:
> Author: oshogbo
> Date: Mon Apr  8 03:35:47 2019
> New Revision: 346023
> URL: https://svnweb.freebsd.org/changeset/base/346023
> 
> Log:
>   strings: disable Casper support while building native-xtools

Why?

-- 
Shawn Webb
Cofounder / 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: D206 BB45 15E0 9C49 0CF9  3633 C85B 0AF8 AB23 0FB2


signature.asc
Description: PGP signature


svn commit: r346023 - head/usr.bin/strings

2019-04-07 Thread Mariusz Zaborski
Author: oshogbo
Date: Mon Apr  8 03:35:47 2019
New Revision: 346023
URL: https://svnweb.freebsd.org/changeset/base/346023

Log:
  strings: disable Casper support while building native-xtools
  
  Reported by:  Charlie Li
  Tested by:Charlie Li

Modified:
  head/usr.bin/strings/Makefile

Modified: head/usr.bin/strings/Makefile
==
--- head/usr.bin/strings/Makefile   Sun Apr  7 21:01:02 2019
(r346022)
+++ head/usr.bin/strings/Makefile   Mon Apr  8 03:35:47 2019
(r346023)
@@ -10,7 +10,7 @@ PROG= strings
 
 LIBADD=elftc elf
 
-.if ${MK_CASPER} != "no" && !defined(BOOTSTRAPPING)
+.if ${MK_CASPER} != "no" && !defined(BOOTSTRAPPING) && !defined(NXB_TARGET)
 LIBADD+=   casper
 LIBADD+=   cap_fileargs
 CFLAGS+=   -DWITH_CASPER
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"