Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] cross-avr/gcc-4.9.3 fails to emerge

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
Oniryczny
Guru
Guru
User avatar
Posts: 429
Joined: Thu Dec 01, 2011 11:31 am
Location: Poland

[SOLVED] cross-avr/gcc-4.9.3 fails to emerge

  • Quote

Post by Oniryczny » Sat Jun 11, 2016 6:24 am

Code: Select all

 * ERROR: cross-avr/gcc-4.9.3::local failed (compile phase):
 *   emake failed
log is over 22MB, what should I present?
Last edited by Oniryczny on Tue Jun 21, 2016 8:35 am, edited 1 time in total.
cogito ergo sum
Top
krinn
Watchman
Watchman
User avatar
Posts: 7476
Joined: Fri May 02, 2003 6:14 am

  • Quote

Post by krinn » Sat Jun 11, 2016 10:39 am

because jobs runs in parallel, when one error is report, other jobs are still unaware it has happen until they finish, as soon as a new job is trying to start, it is aware of the error and report failure.

so reporting last error is not of any use, all errors next to error 1 are happening because of error 1.

to answer your question: show the part that lead to your log exposing "Error 1"
but also header of the log, it will tells anyone infos about flags and options in use.
Top
Oniryczny
Guru
Guru
User avatar
Posts: 429
Joined: Thu Dec 01, 2011 11:31 am
Location: Poland

  • Quote

Post by Oniryczny » Sat Jun 11, 2016 3:39 pm

I'm sorry but I donot understand what do you mean telling me to show the part that leads to my log exposing "Error 1" :oops:

now even crossdev -t avr fails :(


Last lines from compile

Code: Select all

checking for C compiler default output file name... 
configure: error: in `/var/tmp/portage/cross-avr/gcc-4.9.3/work/build/avr/avrxmega4/libvtv':
configure: error: C compiler cannot create executables
See `config.log' for more details.
Makefile:9461: recipe for target 'configure-target-libvtv' failed
make[1]: *** [configure-target-libvtv] Error 1
make[1]: Leaving directory '/var/tmp/portage/cross-avr/gcc-4.9.3/work/build'
Makefile:840: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: cross-avr/gcc-4.9.3::local failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=cross-avr/gcc-4.9.3::local'`,
 * the complete build log and the output of `emerge -pqv '=cross-avr/gcc-4.9.3::local'`.
 * The complete build log is located at '/var/tmp/portage/cross-avr/gcc-4.9.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/cross-avr/gcc-4.9.3/temp/environment'.
 * Working directory: '/var/tmp/portage/cross-avr/gcc-4.9.3/work/build'
 * S: '/var/tmp/portage/cross-avr/gcc-4.9.3/work/gcc-4.9.3'
 * 
 * Please include /var/tmp/portage/cross-avr/gcc-4.9.3/work/gcc-build-logs.tar.bz2 in your bug report.
 * 

>>> Failed to emerge cross-avr/gcc-4.9.3, Log file:

>>>  '/var/tmp/portage/cross-avr/gcc-4.9.3/temp/build.log'

 * Messages for package cross-avr/gcc-4.9.3:

 * ERROR: cross-avr/gcc-4.9.3::local failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=cross-avr/gcc-4.9.3::local'`,
 * the complete build log and the output of `emerge -pqv '=cross-avr/gcc-4.9.3::local'`.
 * The complete build log is located at '/var/tmp/portage/cross-avr/gcc-4.9.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/cross-avr/gcc-4.9.3/temp/environment'.
 * Working directory: '/var/tmp/portage/cross-avr/gcc-4.9.3/work/build'
 * S: '/var/tmp/portage/cross-avr/gcc-4.9.3/work/gcc-4.9.3'
 * 
 * Please include /var/tmp/portage/cross-avr/gcc-4.9.3/work/gcc-build-logs.tar.bz2 in your bug report.
 * 

 * GNU info directory index is up-to-date.
 * After world updates, it is important to remove obsolete packages with
 * emerge --depclean. Refer to `man emerge` for more information.
#
cogito ergo sum
Top
Syl20
l33t
l33t
User avatar
Posts: 621
Joined: Thu Aug 04, 2005 4:00 pm
Location: France

  • Quote

Post by Syl20 » Tue Jun 14, 2016 1:34 pm

What's the output of gcc-config -l ?
Top
krinn
Watchman
Watchman
User avatar
Posts: 7476
Joined: Fri May 02, 2003 6:14 am

  • Quote

Post by krinn » Tue Jun 14, 2016 3:24 pm

Oniryczny wrote:I'm sorry but I donot understand what do you mean telling me to show the part that leads to my log exposing "Error 1" :oops:
make[1]: *** [configure-target-libvtv] Error 1
I mean this line that show "Error 1" and few lines previous that one. So all good.

If you get C compiler cannot create... It's because the c compiler return an error.
There's plenty reasons why, but the top reason is that because you've made an error in your C/CXXFLAGS.
Top
vanjo9800
Tux's lil' helper
Tux's lil' helper
Posts: 76
Joined: Mon Mar 16, 2015 8:23 pm

  • Quote

Post by vanjo9800 » Tue Jun 14, 2016 7:05 pm

Hi,
I got the same error as you. I am almost sure it is caused from the addition of the

Code: Select all

openmp and vtv
USE flags. Considering that the error is in a file from the vtv library, I think that the vtv library causes the error. And as you wrote, I checked the USE flags of my gcc compiler. And vtv is a flag with which I have compiled my gcc.

So, what could be another sources of error, then?

Thank you in advance!!!
Top
Oniryczny
Guru
Guru
User avatar
Posts: 429
Joined: Thu Dec 01, 2011 11:31 am
Location: Poland

  • Quote

Post by Oniryczny » Thu Jun 16, 2016 9:05 am

error in C/CXXFLAGS?
but i had it working in the past

Code: Select all

# gcc-config -l
 [1] avr-4.9.3

 [2] x86_64-pc-linux-gnu-4.9.3 *
#
cogito ergo sum
Top
Oniryczny
Guru
Guru
User avatar
Posts: 429
Joined: Thu Dec 01, 2011 11:31 am
Location: Poland

  • Quote

Post by Oniryczny » Tue Jun 21, 2016 8:45 am

adding
  • -vtv
to USE flags made cross-avr/gcc-5.3.0 successfully emerged :)
cogito ergo sum
Top
Post Reply

8 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic