Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

(SOLVED) Failed to compile timezone data during emerge @world

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
The Great Pengu
n00b
n00b
User avatar
Posts: 6
Joined: Mon Apr 06, 2026 5:39 pm

(SOLVED) Failed to compile timezone data during emerge @world

  • Quote

Post by The Great Pengu » Mon Apr 06, 2026 6:44 pm

Hi,

I am fairly new to Linux, having toyed with Pop_OS for a bit and then moved on to Endeavoros over the course of three years. I have recently wanted to learn more about Linux and figured the best way to do so was to learn Gentoo. I have been going through the Installation Manual using the minimal-install live-usb and tried to emerge @world, and shortly after it began, it gave me this error:

ERROR: sys-libs/timezone-data-2026a::gentoo failed (compile phase):
emake failed

I am unsure how to fix this. Do I need to finish the time zone instructions and go back?

Thanks in advance!
Last edited by The Great Pengu on Mon Apr 06, 2026 9:48 pm, edited 1 time in total.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56264
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

Re: Failed to compile timezone data during emerge @world

  • Quote

Post by NeddySeagoon » Mon Apr 06, 2026 7:22 pm

The Great Pengu,

Welcome to Gentoo.
To help us help you we need to see the build log.

Proceed as follows

Code: Select all

emerge wgetpaste 
This tool puts files an command output onto the web so we can see it.

Code: Select all

emerge -1av sys-libs/timezone-data
It will fail but at the end it will say
If you need help ...
that will include the location of the build log.

Code: Select all

wgetpaste /full/path/to/build.log
will put it on the web and give you a URL that you post here.

You may need to use the -s and -S options to wgetpaste.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
The Great Pengu
n00b
n00b
User avatar
Posts: 6
Joined: Mon Apr 06, 2026 5:39 pm

Re: Failed to compile timezone data during emerge @world

  • Quote

Post by The Great Pengu » Mon Apr 06, 2026 9:06 pm

[/quote]

Code: Select all

wgetpaste /full/path/to/build.log
will put it on the web and give you a URL that you post here.

Here is the URL: https://bpa.st/XOSVQ
Top
GDH-gentoo
Advocate
Advocate
User avatar
Posts: 2176
Joined: Sat Jul 20, 2019 7:02 pm
Location: South America

Re: Failed to compile timezone data during emerge @world

  • Quote

Post by GDH-gentoo » Mon Apr 06, 2026 9:34 pm

The Great Pengu wrote: Mon Apr 06, 2026 9:06 pmHere is the URL: https://bpa.st/XOSVQ

Code: Select all

make j4 -l5 REDO=posix_only TOPDIR= ZICDIR=$(TOPDIR)/usr/bin 'CFLAGS=-march=native -O2 -pipe -std=gnu99  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DHAVE_GETTEXT=1 -DTZ_DOMAIN=\"libc\" -DZIC_BLOAT_DEFAULT=\"fat\"' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs' LDLIBS= 
make: *** No rule to make target 'j4'.  Stop.
If I had to guess, you have a typo in /etc/portage/make.conf. You must have written j4 in MAKEOPTS instead of -j4 (with a leading hyphen).
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Top
The Great Pengu
n00b
n00b
User avatar
Posts: 6
Joined: Mon Apr 06, 2026 5:39 pm

Re: Failed to compile timezone data during emerge @world

  • Quote

Post by The Great Pengu » Mon Apr 06, 2026 9:40 pm

If I had to guess, you have a typo in [ic wrote:/etc/portage/make.conf[/ic]. You must have written j4 in MAKEOPTS instead of -j4 (with a leading hyphen).
Yep. That was it. It is happily compiling now. Thanks for the fix!
Top
Post Reply

5 posts • Page 1 of 1

Return to “Installing Gentoo”

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 Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy