glibc_2.31-0ubuntu9.9.debian.tar.xz build error

Bug #1992720 reported by cauc.peter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Description: Ubuntu 20.04.4 LTS
Release: 20.04

1. download glibc by: apt-get source glibc (2.31-0ubuntu9.9)
2. cd glibc-2.31 && DEB_BUILD_OPTIONS="parallel=8" ./debian/rules build

error message:
.....
=== time.h ===
* invalid macro `TIME_UTC'
** macro `CLOCK_REALTIME' not defined
** macro `TIMER_ABSTIME' not defined
=== unistd.h ===
=== utime.h ===
----------
----------
XFAIL: stdlib/tst-system
original exit status 1
error: test-container.c:1096: Unable to exec /tmp/p/glibc-2.31/build-tree/amd64-libc/stdlib/tst-system

Revision history for this message
Nick Rosbrook (enr0n) wrote :

It doesn't look like you're building in a schroot, which would be the recommended way. Try following https://wiki.ubuntu.com/SimpleSbuild to get started building with schroots.

In any case, this is not a valid bug against glibc.

Changed in glibc (Ubuntu):
status: New → Invalid
Revision history for this message
cauc.peter (diyao) wrote : Re: [Bug 1992720] Re: glibc_2.31-0ubuntu9.9.debian.tar.xz build error

thanks, i am newbie to sbuild, and just learn how to build a ubuntu package
from "apt-get source" source code, thanks, i will follow the article you
notice, thanks a lot

Nick Rosbrook <email address hidden> 于2022年10月15日周六 04:25写道:

> It doesn't look like you're building in a schroot, which would be the
> recommended way. Try following https://wiki.ubuntu.com/SimpleSbuild to
> get started building with schroots.
>
> In any case, this is not a valid bug against glibc.
>
>
> ** Changed in: glibc (Ubuntu)
> Status: New => Invalid
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1992720
>
> Title:
> glibc_2.31-0ubuntu9.9.debian.tar.xz build error
>
> Status in glibc package in Ubuntu:
> Invalid
>
> Bug description:
> Description: Ubuntu 20.04.4 LTS
> Release: 20.04
>
> 1. download glibc by: apt-get source glibc (2.31-0ubuntu9.9)
> 2. cd glibc-2.31 && DEB_BUILD_OPTIONS="parallel=8" ./debian/rules build
>
>
> error message:
> .....
> === time.h ===
> * invalid macro `TIME_UTC'
> ** macro `CLOCK_REALTIME' not defined
> ** macro `TIMER_ABSTIME' not defined
> === unistd.h ===
> === utime.h ===
> ----------
> ----------
> XFAIL: stdlib/tst-system
> original exit status 1
> error: test-container.c:1096: Unable to exec
> /tmp/p/glibc-2.31/build-tree/amd64-libc/stdlib/tst-system
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1992720/+subscriptions
>
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.