Forums

Skip to content

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

[SOLVED] Problems emerging openssl

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
Prof. Frink
Apprentice
Apprentice
Posts: 176
Joined: Sat Jan 07, 2017 5:46 pm

[SOLVED] Problems emerging openssl

  • Quote

Post by Prof. Frink » Tue Oct 01, 2019 3:16 pm

Hey,

I am trying to emerging latest stable openssl, I do not know what is the problem.

log1

log2

CU,

Frink
Last edited by Prof. Frink on Thu Oct 03, 2019 11:01 am, edited 1 time in total.
Top
mike155
Advocate
Advocate
Posts: 4438
Joined: Fri Sep 17, 2010 11:33 pm
Location: Frankfurt, Germany

  • Quote

Post by mike155 » Tue Oct 01, 2019 3:24 pm

  1. Your second link doesn't work. The link address starts with a superflous "l".
  2. The first error message I see is:

    Code: Select all

    cc1: error: code model kernel does not support PIC mode
  3. Your CFLAGS seem to be:

    Code: Select all

    CFLAGS="-march=native -masm=intel -mabi=sysv -mcmodel=kernel  -O2 -pipe"
  4. What happens if you change CFLAGS to the recommended default value?

    Code: Select all

    CFLAGS="-march=native -O2 -pipe"
Top
Prof. Frink
Apprentice
Apprentice
Posts: 176
Joined: Sat Jan 07, 2017 5:46 pm

  • Quote

Post by Prof. Frink » Tue Oct 01, 2019 3:30 pm

Thx and sorry. The link works now. And the logs are not actual. Currently my CFLAGS are

Code: Select all

CFLAGS="-march=haswell -masm=intel -mabi=sysv -mcmodel=kernel  -O2 -pipe"

But I think, what you mentioned is, what I tried, when I created the logs, but when I execute the command with my current setting, it is more or less the same.

log3
Top
Prof. Frink
Apprentice
Apprentice
Posts: 176
Joined: Sat Jan 07, 2017 5:46 pm

  • Quote

Post by Prof. Frink » Tue Oct 01, 2019 3:31 pm

Even when I add "--newuse".
Top
mike155
Advocate
Advocate
Posts: 4438
Joined: Fri Sep 17, 2010 11:33 pm
Location: Frankfurt, Germany

  • Quote

Post by mike155 » Tue Oct 01, 2019 4:09 pm

Please try the recommended CFLAGS:

Code: Select all

CFLAGS="-march=native -O2 -pipe"
If I use your CFLAGS, 'emerge openssl' fails on my machine, too - with the error messages you posted.
Top
Prof. Frink
Apprentice
Apprentice
Posts: 176
Joined: Sat Jan 07, 2017 5:46 pm

  • Quote

Post by Prof. Frink » Tue Oct 01, 2019 4:17 pm

mike155 wrote:Please try the recommended CFLAGS:

Code: Select all

CFLAGS="-march=native -O2 -pipe"
If I use your CFLAGS, 'emerge openssl' fails on my machine, too - with the error messages you posted.
Unfortunately there are still problems. But I can try it tomorrow again. No problem. Thx.

[url=https://pastebin.com/nd90ThZM]log4

Code: Select all

[/url]
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Tue Oct 01, 2019 5:05 pm

Prof. Frink wrote:[url=https://pastebin.com/nd90ThZM]log4

Code: Select all

[/url]
You should enable nss use flag to package dev-libs/xmlsec and tk use flag to dev-lang/python:2.7 and dev-lang/python:3.6 (ore remove tk use flag to dev-python/matplotlib and dev-python/pillow packages)
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Prof. Frink
Apprentice
Apprentice
Posts: 176
Joined: Sat Jan 07, 2017 5:46 pm

  • Quote

Post by Prof. Frink » Wed Oct 02, 2019 3:14 pm

It seems like I solved it somehow, with help from you, the gentoo-wiki and tools on my computer. But I had to remove some packages, I need, because of some strange blocks, which I did not really understand, I hope I can install them again, after reboot, but now

Code: Select all

emerge --newuse --update --ask --emptytree --usepkg=n @world
is running and this will take some time.

Thx to you.
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