Re: [gentoo-user] Building, daq, failed

2014-09-14 Thread Alan McKinnon
On 14/09/2014 09:10, meino.cra...@gmx.de wrote:
 Hi,
 
 The command emerge =daq-daq-2.0.2 failed with:
 Configuring source in /var/tmp/portage/net-libs/daq-2.0.2/work/daq-2.0.2 
 ...
  * econf: updating daq-2.0.2/config.guess with 
 /usr/share/gnuconfig/config.guess
  * econf: updating daq-2.0.2/config.sub with /usr/share/gnuconfig/config.sub
 ./configure --prefix=/usr --build=x86_64-pc-linux-gnu 
 --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info 
 --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib 
 --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking 
 --enable-ipv6 --enable-pcap-module --enable-afpacket-module 
 --enable-dump-module --disable-nfq-module --disable-ipq-module 
 --disable-static --disable-ipfw-module --disable-bundled-modules
 configure: loading site script /usr/share/config.site
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... /bin/mkdir -p
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking whether make supports nested variables... yes
 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
 checking whether the C compiler works... no
 configure: error: in `/var/tmp/portage/net-libs/daq-2.0.2/work/daq-2.0.2':
 configure: error: C compiler cannot create executables
 See `config.log' for more details
 
 The relevant part of the config.log shows:
 configure:3355: $? = 0
 configure:3344: x86_64-pc-linux-gnu-gcc -v 5
 Using built-in specs.
 COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.2/x86_64-pc-linux-gnu-gcc
 COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/lto-wrapper
 Target: x86_64-pc-linux-gnu
 Configured with: 
 /var/tmp/portage/sys-devel/gcc-4.8.2/work/gcc-4.8.2/configure 
 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr 
 --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.2 
 --includedir=/usr/lib/gcc/x86_64-pc-linux-
 gnu/4.8.2/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.2 
 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.2/man 
 --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.2/info 
 --with-gxx-include-dir=/usr/lib/gcc/x86_64-p
 c-linux-gnu/4.8.2/include/g++-v4 
 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.8.2/python 
 --enable-languages=c,c++,objc,fortran --enable-obsolete --enable-secureplt 
 --disable-werror --with-system-zlib --enable-nls --without-incl
 uded-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ 
 --with-pkgversion='Gentoo 4.8.2 p1.3r1, pie-0.5.8r1' --enable-libstdcxx-time 
 --enable-shared --enable-threads=posix --enable-__cxa_atexit 
 --enable-clocale=gnu -
 -enable-multilib --with-multilib-list=m32,m64 --disable-altivec 
 --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp 
 --disable-libmudflap --disable-libssp --enable-lto --without-cloog
 Thread model: posix
 gcc version 4.8.2 (Gentoo 4.8.2 p1.3r1, pie-0.5.8r1) 
 configure:3355: $? = 0
 configure:3344: x86_64-pc-linux-gnu-gcc -V 5
 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V'
 x86_64-pc-linux-gnu-gcc: fatal error: no input files
 compilation terminated.
 configure:3355: $? = 1
 configure:3344: x86_64-pc-linux-gnu-gcc -qversion 5
 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion'
 x86_64-pc-linux-gnu-gcc: fatal error: no input files
 compilation terminated.
 configure:3355: $? = 1
 configure:3375: checking whether the C compiler works
 configure:3397: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -msse3 -ggdb 
 -combine -ffast-math -fopenmp -fprefetch-loop-arrays 
 -ftree-parallelize-loops=12 -funroll-all-loops -fwhole-program 
 -mtune=amdfam10 -O3  -Wl,-O1 -Wl,--as-needed 
 conftest.c  5
 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-combine'
 configure:3401: $? = 1
 configure:3439: result: no
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME daq
 | #define PACKAGE_TARNAME daq
 | #define PACKAGE_VERSION 2.0.2
 | #define PACKAGE_STRING daq 2.0.2
 | #define PACKAGE_BUGREPORT snort-t...@sourcefire.com
 | #define PACKAGE_URL 
 | #define PACKAGE daq
 | #define VERSION 2.0.2
 | /* end confdefs.h.  */
 | 
 | int
 | main ()
 | {
 | 
 |   ;
 |   return 0;
 | }
 configure:3444: error: in 
 `/var/tmp/portage/net-libs/daq-2.0.2/work/daq-2.0.2':
 configure:3446: error: C compiler cannot create executables
 See `config.log' for more details
 
 To check I reemerged 'less' and this compiles fine. So, gcc works fine
 so far.
 
 What's wrong here? Wrong gcc-version? daq not compatible with gcc (or
 vice versa)?


I think it's wrong gcc-version because of these silly errors:

x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V'
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion'
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-combine'

I haven't 

Re: [gentoo-user] Building, daq, failed

2014-09-14 Thread meino . cramer
Alan McKinnon alan.mckin...@gmail.com [14-09-14 10:12]:
 On 14/09/2014 09:10, meino.cra...@gmx.de wrote:

8 snip 8-

  | int
  | main ()
  | {
  | 
  |   ;
  |   return 0;
  | }
  configure:3444: error: in 
  `/var/tmp/portage/net-libs/daq-2.0.2/work/daq-2.0.2':
  configure:3446: error: C compiler cannot create executables
  See `config.log' for more details
  
  To check I reemerged 'less' and this compiles fine. So, gcc works fine
  so far.
  
  What's wrong here? Wrong gcc-version? daq not compatible with gcc (or
  vice versa)?
 
 
 I think it's wrong gcc-version because of these silly errors:
 
 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V'
 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion'
 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-combine'
 
 I haven't looked into it any further, but I'd say it's a bug in the
 build system so report it to bgo.
 
 Meanwhile, as a workaround to get it to build, install gcc:4.7 and use
 that to build daq. See if that works, if so mention it in your bug report.
 
 
Hi Alan,

thanks for replying ! :)

daq compiles fine with gcc-4.7. .
Bug tracker:
I tried this before (another kind of something-not-working-as-expected).
The bug tracker does not like me...
I tried to log in...no.
I reset my password...tried to log in...no.
Cookies were on on my side.
Sorr...

Best regards,
mcc




 
 -- 
 Alan McKinnon
 alan.mckin...@gmail.com
 
 



Re: [gentoo-user] Building, daq, failed

2014-09-14 Thread Alan McKinnon
On 14/09/2014 10:29, meino.cra...@gmx.de wrote:
 Alan McKinnon alan.mckin...@gmail.com [14-09-14 10:12]:
 On 14/09/2014 09:10, meino.cra...@gmx.de wrote:
 
 8 snip 8-
 
 | int
 | main ()
 | {
 | 
 |   ;
 |   return 0;
 | }
 configure:3444: error: in 
 `/var/tmp/portage/net-libs/daq-2.0.2/work/daq-2.0.2':
 configure:3446: error: C compiler cannot create executables
 See `config.log' for more details

 To check I reemerged 'less' and this compiles fine. So, gcc works fine
 so far.

 What's wrong here? Wrong gcc-version? daq not compatible with gcc (or
 vice versa)?


 I think it's wrong gcc-version because of these silly errors:

 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V'
 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion'
 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-combine'

 I haven't looked into it any further, but I'd say it's a bug in the
 build system so report it to bgo.

 Meanwhile, as a workaround to get it to build, install gcc:4.7 and use
 that to build daq. See if that works, if so mention it in your bug report.

  
 Hi Alan,
 
 thanks for replying ! :)
 
 daq compiles fine with gcc-4.7. .
 Bug tracker:
 I tried this before (another kind of something-not-working-as-expected).
 The bug tracker does not like me...
 I tried to log in...no.
 I reset my password...tried to log in...no.
 Cookies were on on my side.
 Sorr...


That is itself a bug and you should log a ticket on bgo for it.

Oh, wait :-)

With luck there will be a contact admin link at bgo where you can ask
someone to look into that issue for you. Or ask on irc and find one of
the infra/admin people to assist you



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Building, daq, failed

2014-09-14 Thread Neil Bothwick
On Sun, 14 Sep 2014 10:29:44 +0200, meino.cra...@gmx.de wrote:

 Bug tracker:
 I tried this before (another kind of
 something-not-working-as-expected). The bug tracker does not like
 me... I tried to log in...no.
 I reset my password...tried to log in...no.
 Cookies were on on my side.

Did you try deleting all cookies for b.g.o?


-- 
Neil Bothwick

If the bank returns your cheque marked Insufficient Funds, call them
 and ask if they mean you or them. :-)


signature.asc
Description: PGP signature


Re: [gentoo-user] Building, daq, failed

2014-09-14 Thread meino . cramer
Neil Bothwick n...@digimed.co.uk [14-09-14 18:16]:
 On Sun, 14 Sep 2014 10:29:44 +0200, meino.cra...@gmx.de wrote:
 
  Bug tracker:
  I tried this before (another kind of
  something-not-working-as-expected). The bug tracker does not like
  me... I tried to log in...no.
  I reset my password...tried to log in...no.
  Cookies were on on my side.
 
 Did you try deleting all cookies for b.g.o?
 
 
 -- 
 Neil Bothwick
 
 If the bank returns your cheque marked Insufficient Funds, call them
  and ask if they mean you or them. :-)

Jupp...