Compiling latest aircrack-ng failed on ARM 32bit

2018-07-16 Thread Ralf Wenk
Hello,

the maintainer (Lars Engels) of the aircrack-ng port directed me to this
(po...@freebsd.org) list.

When trying to upgrade the aircrack-ng port the configure script ran
into the following error:

  configure: error: _AX_COMPILER_VERSION_GNU unknown gcc major


The system I try to upgrade aircrack-ng is an RaspberryPI B.
Kernel and world are cross-compiled and relatively new
# uname -a 

FreeBSD IZ-WLAN 12.0-CURRENT FreeBSD 12.0-CURRENT #2 r336070M:\
 Sat Jul  7 21:46:46 CEST 2018\
 r...@hs-karlsruhe.de:/usr/obj/usr/src/arm.armv6/sys/RPI-Bsc  arm
# 

The latest known working version on that system is aircrack-ng-1.2.r4_1.
Both newer versions from ports failed with the same error message.


The configure script stops with:

...
checking whether C compiler accepts -Wno-unused-but-set-variable... yes
checking whether C compiler accepts -Wno-array-bounds... yes
checking for C++ compiler vendor... gnu
checking for C++ compiler version... configure: error: in 
`/usr/ports/net-mgmt/aircrack-ng/work/aircrack-ng-1.3':
configure: error: _AX_COMPILER_VERSION_GNU unknown gcc major
See `config.log' for more details
===>  Script "configure" failed unexpectedly.
Please report the problem to po...@freebsd.org [maintainer] and attach the
"/usr/ports/net-mgmt/aircrack-ng/work/aircrack-ng-1.3/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/aircrack-ng
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade20180711-9802-9x00yb env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=aircrack-ng-1.2.r4_1 UPGRADE_PORT_VER=1.2.r4_1 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! net-mgmt/aircrack-ng (aircrack-ng-1.2.r4_1)   (configure error)
# 



In total config.log contains 4592 lines, so I do not include it whole.
Related to the error message it contains after two thirds of the lines:

...
configure:26780: g++7 -c -O -pipe -I/usr/include -Wl,-rpath=/usr/local/lib/gcc7
 -fno-strict-aliasing  -Wl,-rpath=/usr/local/lib/gcc7  -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=2 conftest.cpp >&5
configure:26780: $? = 0
configure:26788: result: gnu
configure:26793: checking for C++ compiler version
configure:27015: g++7 -o conftest -O -pipe -I/usr/include 
-Wl,-rpath=/usr/local/lib/gcc7 -fno-strict-aliasing  
-Wl,-rpath=/usr/local/lib/gcc7  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
-D_FORTIFY_SOURCE=2  -L/usr/lib  -Wl,-rpath=/usr/local/lib/gcc7 
-L/usr/local/lib/gcc7 conftest.cpp  -ldl -lm >&5
/usr/local/lib/gcc7/libstdc++.so: undefined reference to `__aeabi_idiv@GCC_3.5'
/usr/local/lib/gcc7/libstdc++.so: undefined reference to 
`__aeabi_uldivmod@GCC_3.5'
/usr/local/lib/gcc7/libstdc++.so: undefined reference to 
`__aeabi_uidiv@GCC_3.5'
collect2: error: ld returned 1 exit status
configure:27015: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "aircrack-ng"
| #define PACKAGE_TARNAME "aircrack-ng"
| #define PACKAGE_VERSION "1.3"
| #define PACKAGE_STRING "aircrack-ng 1.3"
| #define PACKAGE_BUGREPORT "https://forum.aircrack-ng.org";
| #define PACKAGE_URL ""
| #define PACKAGE "aircrack-ng"
| #define VERSION "1.3"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define _REVISION "1.3"
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define HAVE_PCAP_H 1
| #define HAVE_PCAP 1
| #define HAVE_PCRE 1
| #define HAVE_SQLITE3_H 1
| #define HAVE_SQLITE3 1
| #define HAVE_SQLITE 1
| #define HAVE_ZLIB 1
| #define HAVE_PTHREAD_PRIO_INHERIT 1
| #define _REENTRANT 1
| /* end confdefs.h.  */
| 
| static long int longval () { return __GNUC__; }
| static unsigned long int ulongval () { return __GNUC__; }
| #include 
| #include 
| int
| main ()
| {
| 
|   FILE *f = fopen ("conftest.val", "w");
|   if (! f)
| return 1;
|   if ((__GNUC__) < 0)
| {
|   long int i = longval ();
|   if (i != (__GNUC__))
|   return 1;
|   fprintf (f, "%ld", i);
| }
|   else
| {
|   unsigned long int i = ulongval ();
|   if (i != (__GNUC__))
|   return 1;
|   fprintf (f, "%lu", i);
| }
|   /* Do not output a trailing newline, as this causes \r\n confusion
|  on some platforms.  */
|   return ferror (f) || fclose (f) != 0;
| 
|   ;
|   return 0;
| }
configure:27018: error: in `/usr/ports/net-mgmt/aircrack-ng/work/aircrack-ng-1.
3':
configure:27021: error: _AX_COMPILER_VERSION_GNU unknown gcc major
See `config.log' for more details

## -

Re: Compiling latest aircrack-ng failed on ARM 32bit

2018-07-16 Thread Kurt Jaeger
Hi!

> the maintainer (Lars Engels) of the aircrack-ng port directed me to this
> (po...@freebsd.org) list.
> 
> When trying to upgrade the aircrack-ng port the configure script ran
> into the following error:
> 
>   configure: error: _AX_COMPILER_VERSION_GNU unknown gcc major
[...]
> ...
> configure:26780: g++7 -c -O -pipe -I/usr/include 
> -Wl,-rpath=/usr/local/lib/gcc7

configure builds with gcc 7 and tries to find out if libm has some
functions like uldivmod. It fails, therefore the configure run
fails. If aircrack does not need those libm functions, maybe
this check can somehow be skipped ?

-- 
p...@opsec.eu+49 171 31013722 years to go !
___
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: Compiling latest aircrack-ng failed on ARM 32bit

2018-07-16 Thread Ralf Wenk
On Mon, 16 Jul 2018 11:27:37 + Mark Linimon wrote:
> On Mon, Jul 16, 2018 at 11:20:57AM +0200, Ralf Wenk wrote:
> > the maintainer (Lars) of the aircrack-ng port directed me to this
> > (po...@freebsd.org) list.
> 
> Hmm.  You may have a slightly older ports tree:
> 
>  - lme@ has stepped down as maintainer
>  - I marked the port broken on arm* about the same time

It is an actual version, as I edited the Makefile by removing the "BROKEN"
lines for ARM architectures to try the 1.3 version as Lars suggested.

Ralf

___
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 ports you maintain which are out of date

2018-07-16 Thread portscout
Dear port maintainer,

The portscout new distfile checker has detected that one or more of your
ports appears to be out of date. Please take the opportunity to check
each of the ports listed below, and if possible and appropriate,
submit/commit an update. If any ports have already been updated, you can
safely ignore the entry.

You will not be e-mailed again for any of the port/version combinations
below.

Full details can be found at the following URL:
http://portscout.freebsd.org/po...@freebsd.org.html


Port| Current version | New version
+-+
devel/ada-util  | 1.8.0   | 1.9.0
+-+
sysutils/busybox| 1.26.2  | 1.29.1
+-+


If any of the above results are invalid, please check the following page
for details on how to improve portscout's detection and selection of
distfiles on a per-port basis:

http://portscout.freebsd.org/info/portscout-portconfig.txt

Thanks.
___
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"


Problems with make fetchindex on FreeBSD-10

2018-07-16 Thread Montgomery-Smith, Stephen
I get this error message if I do "make fetchindex" on FreeBSD-10.

Certificate verification failed for /C=US/O=Let's Encrypt/CN=Let's 
Encrypt Authority X3
675258712:error:14090086:SSL 
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify 
failed:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s3_clnt.c:1191:
fetch: https://www.FreeBSD.org/ports/INDEX-10.bz2: Authentication error

Is this an error at my end or yours?  I have been successfully doing 
"make fetchindex" for many years from this same computer.

Thanks, Stephen
___
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: gimp - outdated

2018-07-16 Thread Ajtim
On Sun, 15 Jul 2018 22:58:04 -0700
Kevin Oberman  wrote:

> On Sun, Jul 15, 2018 at 10:34 PM, Kurt Jaeger  wrote:
> 
> > Hi!
> >  
> > > Is it possible to update GIMP 2.28 to the version 2.10, please?
> > > The last version is 2.10.4.  
> >
> > There is
> >
> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227769
> >
> > which has a gimp-devel port. Unfortunatly, it depends
> > on some gnome-related ports and updates for those.
> > One of them is glib, updating from 2.50.3 to 2.54.3, and I guess,
> > that why no-one dared to touch it.
> >
> > --
> > p...@opsec.eu+49 171 31013722 years
> > to go !  
> 
> 
> Koop recently posted that Gnome 3.28 is close. That would either
> include the Gimp upgrade or would make it straight-forward. I'm
> keeping my fingers crossed.
> --
> Kevin Oberman, Part time kid herder and retired Network Engineer
> E-mail: rkober...@gmail.com
> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

Thank you very much.
___
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"