Date   

Re: Meta-java - openjdk-8-native - fatal error: sys/sdt.h: No such file or directory

Chuck Wolber
 

I have bumbled into a few recipes like that as well. It caused some concern because bitbake is supposed to avoid contamination like that.

You can use the ERROR_QA variable to do compile-host-path and install-host-path checks in your distro config. That should produce errors when something like your issue happens.

..Ch:W..


On Fri, Oct 30, 2020 at 8:56 AM Darcy Watkins <dwatkins@...> wrote:

Hi,

 

My host OS has systemtap-sdt-devel installed for some reason.  I temporarily renamed the sdt.h to get it out of the way and the build worked.

 

If all I have to do is remove that package (and hopefully not need something that depends on it) then that works out OK.

 

On the other hand, this could be an indication that when building openjdk-8-native, the recipe is not properly distinguishing the native (target) sysroot versus the host sysroot (for the GCC on the system).  Or the fact that the buildtools are used doesn’t prevent it from still checking the host system’s sysroot.

 

For now, the answer is don’t have systemtap-sdt-devel on your CentOS7 system (or use a docker container without it).

 

 

 

Regards,

 

Darcy

 

Darcy Watkins ::  Senior Staff Engineer, Firmware

 

SIERRA WIRELESS

Direct  +1 604 233 7989   ::  Fax  +1 604 231 1109  ::  Main  +1 604 231 1100

13811 Wireless Way  :: Richmond, BC Canada V6V 3A4

[M4]

dwatkins@... :: www.sierrawireless.com

 

From: Darcy Watkins <dwatkins@...>
Date: Thursday, October 29, 2020 at 8:39 AM
To: "yocto@..." <yocto@...>
Subject: Meta-java - openjdk-8-native - fatal error: sys/sdt.h: No such file or directory

 

Hi,

 

Openjdk-8-native breaks due to some mixup related to sdt.h not found

 

Dunfell branch built on CentOS7 with the buildtools installed.

 

This is first attempt with dunfell.  Warrior built openjdk-8-native OK

 

I remember seeing something like this long ago but I don’t remember the fix.

 

 

--------

 

| /home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/build/tmp/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/hotspot/src/share/vm/utilities/dtrace.hpp:31:10: fatal error: sys/sdt.h: No such file or directory

|    31 | #include <sys/sdt.h>

|       |          ^~~~~~~~~~~

| compilation terminated.

| make[6]: *** [/home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/build/tmp/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/hotspot/make/linux/makefiles/vm.make:310: precompiled.hpp.gch] Error 1

| make[5]: *** [/home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/build/tmp/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/hotspot/make/linux/makefiles/top.make:119: the_vm] Error 2

| make[4]: *** [/home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/build/tmp/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/hotspot/make/linux/Makefile:284: product] Error 2

| make[3]: *** [Makefile:231: generic_build2] Error 2

| make[2]: *** [Makefile:177: product] Error 2

| make[1]: *** [HotspotWrapper.gmk:45: /home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/build/tmp/work/x86_64-linux/openjdk-8-native/272-r0/build/hotspot/_hotspot.timestamp] Error 2

| make: *** [/home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/build/tmp/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga//make/Main.gmk:110: hotspot-only] Error 2

| WARNING: /home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/build/tmp/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_compile.27136:1 exit 1 from 'exit 1'

|

ERROR: Task (/home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/upstream/yocto/meta-java/recipes-core/openjdk/openjdk-8-native_272.bb:do_compile) failed with exit code '1'

NOTE: Tasks Summary: Attempted 973 tasks of which 966 didn't need to be rerun and 1 failed.

 

Summary: 1 task failed:

  /home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/upstream/yocto/meta-java/recipes-core/openjdk/openjdk-8-native_272.bb:do_compile

Summary: There was 1 WARNING message shown.

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

 

 

 

 

Regards,

 

Darcy

 

Darcy Watkins ::  Senior Staff Engineer, Firmware

 

SIERRA WIRELESS

Direct  +1 604 233 7989   ::  Fax  +1 604 231 1109  ::  Main  +1 604 231 1100

13811 Wireless Way  :: Richmond, BC Canada V6V 3A4

[M4]

dwatkins@... :: www.sierrawireless.com






--
"Perfection must be reached by degrees; she requires the slow hand of time." - Voltaire


Re: Meta-java - openjdk-8-native - fatal error: sys/sdt.h: No such file or directory

Darcy Watkins
 

Hi,

 

My host OS has systemtap-sdt-devel installed for some reason.  I temporarily renamed the sdt.h to get it out of the way and the build worked.

 

If all I have to do is remove that package (and hopefully not need something that depends on it) then that works out OK.

 

On the other hand, this could be an indication that when building openjdk-8-native, the recipe is not properly distinguishing the native (target) sysroot versus the host sysroot (for the GCC on the system).  Or the fact that the buildtools are used doesn’t prevent it from still checking the host system’s sysroot.

 

For now, the answer is don’t have systemtap-sdt-devel on your CentOS7 system (or use a docker container without it).

 

 

 

Regards,

 

Darcy

 

Darcy Watkins ::  Senior Staff Engineer, Firmware

 

SIERRA WIRELESS

Direct  +1 604 233 7989   ::  Fax  +1 604 231 1109  ::  Main  +1 604 231 1100

13811 Wireless Way  :: Richmond, BC Canada V6V 3A4

[M4]

dwatkins@... :: www.sierrawireless.com

 

From: Darcy Watkins <dwatkins@...>
Date: Thursday, October 29, 2020 at 8:39 AM
To: "yocto@..." <yocto@...>
Subject: Meta-java - openjdk-8-native - fatal error: sys/sdt.h: No such file or directory

 

Hi,

 

Openjdk-8-native breaks due to some mixup related to sdt.h not found

 

Dunfell branch built on CentOS7 with the buildtools installed.

 

This is first attempt with dunfell.  Warrior built openjdk-8-native OK

 

I remember seeing something like this long ago but I don’t remember the fix.

 

 

--------

 

| /home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/build/tmp/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/hotspot/src/share/vm/utilities/dtrace.hpp:31:10: fatal error: sys/sdt.h: No such file or directory

|    31 | #include <sys/sdt.h>

|       |          ^~~~~~~~~~~

| compilation terminated.

| make[6]: *** [/home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/build/tmp/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/hotspot/make/linux/makefiles/vm.make:310: precompiled.hpp.gch] Error 1

| make[5]: *** [/home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/build/tmp/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/hotspot/make/linux/makefiles/top.make:119: the_vm] Error 2

| make[4]: *** [/home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/build/tmp/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/hotspot/make/linux/Makefile:284: product] Error 2

| make[3]: *** [Makefile:231: generic_build2] Error 2

| make[2]: *** [Makefile:177: product] Error 2

| make[1]: *** [HotspotWrapper.gmk:45: /home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/build/tmp/work/x86_64-linux/openjdk-8-native/272-r0/build/hotspot/_hotspot.timestamp] Error 2

| make: *** [/home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/build/tmp/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga//make/Main.gmk:110: hotspot-only] Error 2

| WARNING: /home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/build/tmp/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_compile.27136:1 exit 1 from 'exit 1'

|

ERROR: Task (/home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/upstream/yocto/meta-java/recipes-core/openjdk/openjdk-8-native_272.bb:do_compile) failed with exit code '1'

NOTE: Tasks Summary: Attempted 973 tasks of which 966 didn't need to be rerun and 1 failed.

 

Summary: 1 task failed:

  /home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/upstream/yocto/meta-java/recipes-core/openjdk/openjdk-8-native_272.bb:do_compile

Summary: There was 1 WARNING message shown.

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

 

 

 

 

Regards,

 

Darcy

 

Darcy Watkins ::  Senior Staff Engineer, Firmware

 

SIERRA WIRELESS

Direct  +1 604 233 7989   ::  Fax  +1 604 231 1109  ::  Main  +1 604 231 1100

13811 Wireless Way  :: Richmond, BC Canada V6V 3A4

[M4]

dwatkins@... :: www.sierrawireless.com


Zeus to Dunfell package license checking change

Anders Montonen
 

Hi,

While upgrading our distro from Zeus to Dunfell, I ran into an issue where some locale packages blocked due to incompatible licenses, even though their licenses have not changed.
For example, the license of libgnutls30 is “LGPLv2.1+", while the license for libgnutls-locale-fi is “GPLv3+ & LGPLv2.1+”. In Zeus, this combination was accepted, but not anymore. Is this intentional?

I also think it’s a bit odd that the localization package has a different license than the library itself, though I haven’t looked if there’s anything explicitly said about this in the source code.

Regards,
Anders Montonen


Re: Yocto OS Creation on Linux Ubuntu 16.04 LTS #yocto

Martin Jansa
 

This URL also fetches for me without any issues.

If you cannot reach it from your location, you can still put an archive with it to your premirror or redirect it to some other repo accessible to you with something like:

in your .gitconfig.

> Please let us know if there is any other alternative to install the Yocto OS or the Valgrind tool on Yocto OS.

Normal iproute2 recipes are currently fetching tarball "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BP}.tar.xz", the recipe you're using commes from some meta-intel-tsn layer:
meta-intel-tsn/recipes-connectivity/iproute2/iproute2_git.bb:do_fetch
which isn't even listed in https://layers.openembedded.org/, so first thing to fix your Yocto OS :) is to get rid of meta-intel-tsn or fix your networking.


On Fri, Oct 30, 2020 at 3:21 PM Sujan KS <katakam.sujan@...> wrote:
Hi

Thank you for your response.sorry missed to include yocto group list.
I tried in two different networks , one is office n/w and other is personal n/w.
Both ways I got the same issue.

We could do it successively for the first time and later, we wanted to do it for the second time, because we need to include Valgrind in
the config files so that we can run the Valgrind tool for our code.

Please let us know if there is any other alternative to install the Yocto OS or the Valgrind tool on Yocto OS.

Regards
Sujan

On Fri, Oct 30, 2020 at 1:50 PM Josef Holzmayr <jester@...> wrote:
For one thing, please keep the list on CC.

Am Fr., 30. Okt. 2020 um 09:11 Uhr schrieb Sujan KS <katakam.sujan@...>:
>
> Hi
>
> We tried all that. There are no n/w issues.
> We found some of the files needed are not available in github.
> Actually we use git commands to get the source code, which failed during the build process and resulted in time out issue.

Second, I have just verified that the URL
git://git.kernel.org/pub/scm/network/iproute2/iproute2.git perfectly
clones here. So it might be a problem with your provider or some
national firewall - another hint is:

git.kernel.org[0: 147.75.46.191]: errno=Connection timed out
git.kernel.org[1: 2604:1380:4080:c00::1]: errno=Network is unreachable

But there's really nothing that we can do about it, sorry. It *IS* a
network issue somewhere between you and the source repository.

Greetz.
>
> Please let us know how to proceed.
>
> Regards
> Sujan
>
>
> On Fri, Oct 30, 2020 at 1:28 PM Josef Holzmayr <jester@...> wrote:
>>
>> Just given the links a quick try here, it seems like your build is
>> having connectivity issues. Please check you uplink, or if it is
>> somehow filtered/proxied.
>>
>> Greetz
>>
>> Am Fr., 30. Okt. 2020 um 08:43 Uhr schrieb <katakam.sujan@...>:
>> >
>> > We are facing issue in yocto OS creation due to time out issue and unable to create the image.
>> >
>> > The log for this is as below,
>> > WARNING: xf86-video-intel-2_2.99.917-r0 do_fetch: Failed to fetch URL git://anongit.freedesktop.org/xorg/driver/xf86-video-intel;branch=master, attempting MIRRORS if available
>> > WARNING: xf86-video-ast-2_1.1.5-r0 do_fetch: Failed to fetch URL http://xorg.freedesktop.org/releases/individual/driver/xf86-video-ast-1.1.5.tar.bz2, attempting MIRRORS if available
>> > WARNING: xinit-1_1.4.1-r0 do_fetch: Failed to fetch URL http://xorg.freedesktop.org/releases/individual/app/xinit-1.4.1.tar.bz2, attempting MIRRORS if available
>> > WARNING: cwautomacros-native-20110201-r0 do_fetch: Failed to fetch URL https://downloads.sourceforge.net/cwautomacros.berlios/cwautomacros-20110201.tar.bz2, attempting MIRRORS if available
>> > WARNING: intel-microcode-20190618-r0 do_fetch: Failed to fetch URL git://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files.git;protocol=https, attempting MIRRORS if available
>> > WARNING: lvm2-2.03.02-r0 do_fetch: Failed to fetch URL ftp://sources.redhat.com/pub/lvm2/releases/LVM2.2.03.02.tgz, attempting MIRRORS if available
>> > WARNING: xdpyinfo-1_1.3.2-r0 do_fetch: Failed to fetch URL http://xorg.freedesktop.org/releases/individual/app/xdpyinfo-1.3.2.tar.bz2, attempting MIRRORS if available
>> > WARNING: xhost-1_1.0.8-r0 do_fetch: Failed to fetch URL http://xorg.freedesktop.org/releases/individual/app/xhost-1.0.8.tar.bz2, attempting MIRRORS if available
>> > WARNING: linux-firmware-1_0.0+gitAUTOINC+711d3297ba-r0 do_fetch: Failed to fetch URL git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git, attempting MIRRORS if available
>> > WARNING: dpkg-1.19.4-r0 do_fetch: Failed to fetch URL http://ftp.debian.org/debian/pool/main/d/dpkg/dpkg_1.19.4.tar.xz, attempting MIRRORS if available
>> > WARNING: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch: Failed to fetch URL git://git.kernel.org/pub/scm/network/iproute2/iproute2.git, attempting MIRRORS if available
>> > ERROR: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-owimWyNVWV"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/user/pdl/yocto_build/scripts:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot/usr/bin/crossscripts:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/usr/sbin:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/usr/bin:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/sbin:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/bin:/home/user/pdl/yocto_build/bitbake/bin:/home/user/pdl/yocto_build/build/tmp-glibc/hosttools"; export HOME="/home/user"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://git.kernel.org/pub/scm/network/iproute2/iproute2.git /home/user/pdl/yocto_build/build/downloads/git2/git.kernel.org.pub.scm.network.iproute2.iproute2.git --progress failed with exit code 128, output:
>> > Cloning into bare repository '/home/user/pdl/yocto_build/build/downloads/git2/git.kernel.org.pub.scm.network.iproute2.iproute2.git'...
>> > fatal: unable to connect to git.kernel.org:
>> > git.kernel.org[0: 147.75.46.191]: errno=Connection timed out
>> > git.kernel.org[1: 2604:1380:4080:c00::1]: errno=Network is unreachableERROR: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch: Fetcher failure for URL: 'git://git.kernel.org/pub/scm/network/iproute2/iproute2.git'. Unable to fetch URL from any source.
>> > ERROR: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch:
>> > ERROR: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch: Function failed: base_do_fetch
>> > ERROR: Logfile of failure stored in: /home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/temp/log.do_fetch.25170
>> > ERROR: Task (/home/user/pdl/yocto_build/meta-intel-tsn/recipes-connectivity/iproute2/iproute2_git.bb:do_fetch) failed with exit code '1'
>> > NOTE: Tasks Summary: Attempted 3220 tasks of which 0 didn't need to be rerun and 1 failed.Summary: 1 task failed:
>> >   /home/user/pdl/yocto_build/meta-intel-tsn/recipes-connectivity/iproute2/iproute2_git.bb:do_fetch
>> > Summary: There were 38 WARNING messages shown.
>> > Summary: There were 4 ERROR messages shown, returning a non-zero exit code.
>> >
>> > Anyone faced similar issue, please help us resolving this issue.
>> >
>> >
>> >




Re: Yocto OS Creation on Linux Ubuntu 16.04 LTS #yocto

Sujan KS
 

Hi

Thank you for your response.sorry missed to include yocto group list.
I tried in two different networks , one is office n/w and other is personal n/w.
Both ways I got the same issue.

We could do it successively for the first time and later, we wanted to do it for the second time, because we need to include Valgrind in
the config files so that we can run the Valgrind tool for our code.

Please let us know if there is any other alternative to install the Yocto OS or the Valgrind tool on Yocto OS.

Regards
Sujan

On Fri, Oct 30, 2020 at 1:50 PM Josef Holzmayr <jester@...> wrote:
For one thing, please keep the list on CC.

Am Fr., 30. Okt. 2020 um 09:11 Uhr schrieb Sujan KS <katakam.sujan@...>:
>
> Hi
>
> We tried all that. There are no n/w issues.
> We found some of the files needed are not available in github.
> Actually we use git commands to get the source code, which failed during the build process and resulted in time out issue.

Second, I have just verified that the URL
git://git.kernel.org/pub/scm/network/iproute2/iproute2.git perfectly
clones here. So it might be a problem with your provider or some
national firewall - another hint is:

git.kernel.org[0: 147.75.46.191]: errno=Connection timed out
git.kernel.org[1: 2604:1380:4080:c00::1]: errno=Network is unreachable

But there's really nothing that we can do about it, sorry. It *IS* a
network issue somewhere between you and the source repository.

Greetz.
>
> Please let us know how to proceed.
>
> Regards
> Sujan
>
>
> On Fri, Oct 30, 2020 at 1:28 PM Josef Holzmayr <jester@...> wrote:
>>
>> Just given the links a quick try here, it seems like your build is
>> having connectivity issues. Please check you uplink, or if it is
>> somehow filtered/proxied.
>>
>> Greetz
>>
>> Am Fr., 30. Okt. 2020 um 08:43 Uhr schrieb <katakam.sujan@...>:
>> >
>> > We are facing issue in yocto OS creation due to time out issue and unable to create the image.
>> >
>> > The log for this is as below,
>> > WARNING: xf86-video-intel-2_2.99.917-r0 do_fetch: Failed to fetch URL git://anongit.freedesktop.org/xorg/driver/xf86-video-intel;branch=master, attempting MIRRORS if available
>> > WARNING: xf86-video-ast-2_1.1.5-r0 do_fetch: Failed to fetch URL http://xorg.freedesktop.org/releases/individual/driver/xf86-video-ast-1.1.5.tar.bz2, attempting MIRRORS if available
>> > WARNING: xinit-1_1.4.1-r0 do_fetch: Failed to fetch URL http://xorg.freedesktop.org/releases/individual/app/xinit-1.4.1.tar.bz2, attempting MIRRORS if available
>> > WARNING: cwautomacros-native-20110201-r0 do_fetch: Failed to fetch URL https://downloads.sourceforge.net/cwautomacros.berlios/cwautomacros-20110201.tar.bz2, attempting MIRRORS if available
>> > WARNING: intel-microcode-20190618-r0 do_fetch: Failed to fetch URL git://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files.git;protocol=https, attempting MIRRORS if available
>> > WARNING: lvm2-2.03.02-r0 do_fetch: Failed to fetch URL ftp://sources.redhat.com/pub/lvm2/releases/LVM2.2.03.02.tgz, attempting MIRRORS if available
>> > WARNING: xdpyinfo-1_1.3.2-r0 do_fetch: Failed to fetch URL http://xorg.freedesktop.org/releases/individual/app/xdpyinfo-1.3.2.tar.bz2, attempting MIRRORS if available
>> > WARNING: xhost-1_1.0.8-r0 do_fetch: Failed to fetch URL http://xorg.freedesktop.org/releases/individual/app/xhost-1.0.8.tar.bz2, attempting MIRRORS if available
>> > WARNING: linux-firmware-1_0.0+gitAUTOINC+711d3297ba-r0 do_fetch: Failed to fetch URL git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git, attempting MIRRORS if available
>> > WARNING: dpkg-1.19.4-r0 do_fetch: Failed to fetch URL http://ftp.debian.org/debian/pool/main/d/dpkg/dpkg_1.19.4.tar.xz, attempting MIRRORS if available
>> > WARNING: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch: Failed to fetch URL git://git.kernel.org/pub/scm/network/iproute2/iproute2.git, attempting MIRRORS if available
>> > ERROR: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-owimWyNVWV"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/user/pdl/yocto_build/scripts:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot/usr/bin/crossscripts:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/usr/sbin:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/usr/bin:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/sbin:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/bin:/home/user/pdl/yocto_build/bitbake/bin:/home/user/pdl/yocto_build/build/tmp-glibc/hosttools"; export HOME="/home/user"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://git.kernel.org/pub/scm/network/iproute2/iproute2.git /home/user/pdl/yocto_build/build/downloads/git2/git.kernel.org.pub.scm.network.iproute2.iproute2.git --progress failed with exit code 128, output:
>> > Cloning into bare repository '/home/user/pdl/yocto_build/build/downloads/git2/git.kernel.org.pub.scm.network.iproute2.iproute2.git'...
>> > fatal: unable to connect to git.kernel.org:
>> > git.kernel.org[0: 147.75.46.191]: errno=Connection timed out
>> > git.kernel.org[1: 2604:1380:4080:c00::1]: errno=Network is unreachableERROR: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch: Fetcher failure for URL: 'git://git.kernel.org/pub/scm/network/iproute2/iproute2.git'. Unable to fetch URL from any source.
>> > ERROR: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch:
>> > ERROR: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch: Function failed: base_do_fetch
>> > ERROR: Logfile of failure stored in: /home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/temp/log.do_fetch.25170
>> > ERROR: Task (/home/user/pdl/yocto_build/meta-intel-tsn/recipes-connectivity/iproute2/iproute2_git.bb:do_fetch) failed with exit code '1'
>> > NOTE: Tasks Summary: Attempted 3220 tasks of which 0 didn't need to be rerun and 1 failed.Summary: 1 task failed:
>> >   /home/user/pdl/yocto_build/meta-intel-tsn/recipes-connectivity/iproute2/iproute2_git.bb:do_fetch
>> > Summary: There were 38 WARNING messages shown.
>> > Summary: There were 4 ERROR messages shown, returning a non-zero exit code.
>> >
>> > Anyone faced similar issue, please help us resolving this issue.
>> >
>> >
>> >


Re: Yocto OS Creation on Linux Ubuntu 16.04 LTS #yocto

Josef Holzmayr
 

For one thing, please keep the list on CC.

Am Fr., 30. Okt. 2020 um 09:11 Uhr schrieb Sujan KS <katakam.sujan@gmail.com>:

Hi

We tried all that. There are no n/w issues.
We found some of the files needed are not available in github.
Actually we use git commands to get the source code, which failed during the build process and resulted in time out issue.
Second, I have just verified that the URL
git://git.kernel.org/pub/scm/network/iproute2/iproute2.git perfectly
clones here. So it might be a problem with your provider or some
national firewall - another hint is:

git.kernel.org[0: 147.75.46.191]: errno=Connection timed out
git.kernel.org[1: 2604:1380:4080:c00::1]: errno=Network is unreachable

But there's really nothing that we can do about it, sorry. It *IS* a
network issue somewhere between you and the source repository.

Greetz.

Please let us know how to proceed.

Regards
Sujan


On Fri, Oct 30, 2020 at 1:28 PM Josef Holzmayr <jester@theyoctojester.info> wrote:

Just given the links a quick try here, it seems like your build is
having connectivity issues. Please check you uplink, or if it is
somehow filtered/proxied.

Greetz

Am Fr., 30. Okt. 2020 um 08:43 Uhr schrieb <katakam.sujan@gmail.com>:

We are facing issue in yocto OS creation due to time out issue and unable to create the image.

The log for this is as below,
WARNING: xf86-video-intel-2_2.99.917-r0 do_fetch: Failed to fetch URL git://anongit.freedesktop.org/xorg/driver/xf86-video-intel;branch=master, attempting MIRRORS if available
WARNING: xf86-video-ast-2_1.1.5-r0 do_fetch: Failed to fetch URL http://xorg.freedesktop.org/releases/individual/driver/xf86-video-ast-1.1.5.tar.bz2, attempting MIRRORS if available
WARNING: xinit-1_1.4.1-r0 do_fetch: Failed to fetch URL http://xorg.freedesktop.org/releases/individual/app/xinit-1.4.1.tar.bz2, attempting MIRRORS if available
WARNING: cwautomacros-native-20110201-r0 do_fetch: Failed to fetch URL https://downloads.sourceforge.net/cwautomacros.berlios/cwautomacros-20110201.tar.bz2, attempting MIRRORS if available
WARNING: intel-microcode-20190618-r0 do_fetch: Failed to fetch URL git://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files.git;protocol=https, attempting MIRRORS if available
WARNING: lvm2-2.03.02-r0 do_fetch: Failed to fetch URL ftp://sources.redhat.com/pub/lvm2/releases/LVM2.2.03.02.tgz, attempting MIRRORS if available
WARNING: xdpyinfo-1_1.3.2-r0 do_fetch: Failed to fetch URL http://xorg.freedesktop.org/releases/individual/app/xdpyinfo-1.3.2.tar.bz2, attempting MIRRORS if available
WARNING: xhost-1_1.0.8-r0 do_fetch: Failed to fetch URL http://xorg.freedesktop.org/releases/individual/app/xhost-1.0.8.tar.bz2, attempting MIRRORS if available
WARNING: linux-firmware-1_0.0+gitAUTOINC+711d3297ba-r0 do_fetch: Failed to fetch URL git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git, attempting MIRRORS if available
WARNING: dpkg-1.19.4-r0 do_fetch: Failed to fetch URL http://ftp.debian.org/debian/pool/main/d/dpkg/dpkg_1.19.4.tar.xz, attempting MIRRORS if available
WARNING: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch: Failed to fetch URL git://git.kernel.org/pub/scm/network/iproute2/iproute2.git, attempting MIRRORS if available
ERROR: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-owimWyNVWV"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/user/pdl/yocto_build/scripts:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot/usr/bin/crossscripts:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/usr/sbin:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/usr/bin:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/sbin:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/bin:/home/user/pdl/yocto_build/bitbake/bin:/home/user/pdl/yocto_build/build/tmp-glibc/hosttools"; export HOME="/home/user"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://git.kernel.org/pub/scm/network/iproute2/iproute2.git /home/user/pdl/yocto_build/build/downloads/git2/git.kernel.org.pub.scm.network.iproute2.iproute2.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/user/pdl/yocto_build/build/downloads/git2/git.kernel.org.pub.scm.network.iproute2.iproute2.git'...
fatal: unable to connect to git.kernel.org:
git.kernel.org[0: 147.75.46.191]: errno=Connection timed out
git.kernel.org[1: 2604:1380:4080:c00::1]: errno=Network is unreachableERROR: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch: Fetcher failure for URL: 'git://git.kernel.org/pub/scm/network/iproute2/iproute2.git'. Unable to fetch URL from any source.
ERROR: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch:
ERROR: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/temp/log.do_fetch.25170
ERROR: Task (/home/user/pdl/yocto_build/meta-intel-tsn/recipes-connectivity/iproute2/iproute2_git.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3220 tasks of which 0 didn't need to be rerun and 1 failed.Summary: 1 task failed:
/home/user/pdl/yocto_build/meta-intel-tsn/recipes-connectivity/iproute2/iproute2_git.bb:do_fetch
Summary: There were 38 WARNING messages shown.
Summary: There were 4 ERROR messages shown, returning a non-zero exit code.

Anyone faced similar issue, please help us resolving this issue.



Re: Yocto OS Creation on Linux Ubuntu 16.04 LTS #yocto

Josef Holzmayr
 

Just given the links a quick try here, it seems like your build is
having connectivity issues. Please check you uplink, or if it is
somehow filtered/proxied.

Greetz

Am Fr., 30. Okt. 2020 um 08:43 Uhr schrieb <katakam.sujan@gmail.com>:


We are facing issue in yocto OS creation due to time out issue and unable to create the image.

The log for this is as below,
WARNING: xf86-video-intel-2_2.99.917-r0 do_fetch: Failed to fetch URL git://anongit.freedesktop.org/xorg/driver/xf86-video-intel;branch=master, attempting MIRRORS if available
WARNING: xf86-video-ast-2_1.1.5-r0 do_fetch: Failed to fetch URL http://xorg.freedesktop.org/releases/individual/driver/xf86-video-ast-1.1.5.tar.bz2, attempting MIRRORS if available
WARNING: xinit-1_1.4.1-r0 do_fetch: Failed to fetch URL http://xorg.freedesktop.org/releases/individual/app/xinit-1.4.1.tar.bz2, attempting MIRRORS if available
WARNING: cwautomacros-native-20110201-r0 do_fetch: Failed to fetch URL https://downloads.sourceforge.net/cwautomacros.berlios/cwautomacros-20110201.tar.bz2, attempting MIRRORS if available
WARNING: intel-microcode-20190618-r0 do_fetch: Failed to fetch URL git://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files.git;protocol=https, attempting MIRRORS if available
WARNING: lvm2-2.03.02-r0 do_fetch: Failed to fetch URL ftp://sources.redhat.com/pub/lvm2/releases/LVM2.2.03.02.tgz, attempting MIRRORS if available
WARNING: xdpyinfo-1_1.3.2-r0 do_fetch: Failed to fetch URL http://xorg.freedesktop.org/releases/individual/app/xdpyinfo-1.3.2.tar.bz2, attempting MIRRORS if available
WARNING: xhost-1_1.0.8-r0 do_fetch: Failed to fetch URL http://xorg.freedesktop.org/releases/individual/app/xhost-1.0.8.tar.bz2, attempting MIRRORS if available
WARNING: linux-firmware-1_0.0+gitAUTOINC+711d3297ba-r0 do_fetch: Failed to fetch URL git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git, attempting MIRRORS if available
WARNING: dpkg-1.19.4-r0 do_fetch: Failed to fetch URL http://ftp.debian.org/debian/pool/main/d/dpkg/dpkg_1.19.4.tar.xz, attempting MIRRORS if available
WARNING: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch: Failed to fetch URL git://git.kernel.org/pub/scm/network/iproute2/iproute2.git, attempting MIRRORS if available
ERROR: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-owimWyNVWV"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/user/pdl/yocto_build/scripts:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot/usr/bin/crossscripts:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/usr/sbin:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/usr/bin:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/sbin:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/bin:/home/user/pdl/yocto_build/bitbake/bin:/home/user/pdl/yocto_build/build/tmp-glibc/hosttools"; export HOME="/home/user"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://git.kernel.org/pub/scm/network/iproute2/iproute2.git /home/user/pdl/yocto_build/build/downloads/git2/git.kernel.org.pub.scm.network.iproute2.iproute2.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/user/pdl/yocto_build/build/downloads/git2/git.kernel.org.pub.scm.network.iproute2.iproute2.git'...
fatal: unable to connect to git.kernel.org:
git.kernel.org[0: 147.75.46.191]: errno=Connection timed out
git.kernel.org[1: 2604:1380:4080:c00::1]: errno=Network is unreachableERROR: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch: Fetcher failure for URL: 'git://git.kernel.org/pub/scm/network/iproute2/iproute2.git'. Unable to fetch URL from any source.
ERROR: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch:
ERROR: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/temp/log.do_fetch.25170
ERROR: Task (/home/user/pdl/yocto_build/meta-intel-tsn/recipes-connectivity/iproute2/iproute2_git.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3220 tasks of which 0 didn't need to be rerun and 1 failed.Summary: 1 task failed:
/home/user/pdl/yocto_build/meta-intel-tsn/recipes-connectivity/iproute2/iproute2_git.bb:do_fetch
Summary: There were 38 WARNING messages shown.
Summary: There were 4 ERROR messages shown, returning a non-zero exit code.

Anyone faced similar issue, please help us resolving this issue.



Yocto OS Creation on Linux Ubuntu 16.04 LTS #yocto

Sujan KS
 

We are facing issue in yocto OS creation due to time out issue and unable to create the image.
 
The log for this is as below,
WARNING: xf86-video-intel-2_2.99.917-r0 do_fetch: Failed to fetch URL git://anongit.freedesktop.org/xorg/driver/xf86-video-intel;branch=master, attempting MIRRORS if available
WARNING: xf86-video-ast-2_1.1.5-r0 do_fetch: Failed to fetch URL http://xorg.freedesktop.org/releases/individual/driver/xf86-video-ast-1.1.5.tar.bz2, attempting MIRRORS if available
WARNING: xinit-1_1.4.1-r0 do_fetch: Failed to fetch URL http://xorg.freedesktop.org/releases/individual/app/xinit-1.4.1.tar.bz2, attempting MIRRORS if available
WARNING: cwautomacros-native-20110201-r0 do_fetch: Failed to fetch URL https://downloads.sourceforge.net/cwautomacros.berlios/cwautomacros-20110201.tar.bz2, attempting MIRRORS if available
WARNING: intel-microcode-20190618-r0 do_fetch: Failed to fetch URL git://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files.git;protocol=https, attempting MIRRORS if available
WARNING: lvm2-2.03.02-r0 do_fetch: Failed to fetch URL ftp://sources.redhat.com/pub/lvm2/releases/LVM2.2.03.02.tgz, attempting MIRRORS if available
WARNING: xdpyinfo-1_1.3.2-r0 do_fetch: Failed to fetch URL http://xorg.freedesktop.org/releases/individual/app/xdpyinfo-1.3.2.tar.bz2, attempting MIRRORS if available
WARNING: xhost-1_1.0.8-r0 do_fetch: Failed to fetch URL http://xorg.freedesktop.org/releases/individual/app/xhost-1.0.8.tar.bz2, attempting MIRRORS if available
WARNING: linux-firmware-1_0.0+gitAUTOINC+711d3297ba-r0 do_fetch: Failed to fetch URL git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git, attempting MIRRORS if available
WARNING: dpkg-1.19.4-r0 do_fetch: Failed to fetch URL http://ftp.debian.org/debian/pool/main/d/dpkg/dpkg_1.19.4.tar.xz, attempting MIRRORS if available
WARNING: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch: Failed to fetch URL git://git.kernel.org/pub/scm/network/iproute2/iproute2.git, attempting MIRRORS if available
ERROR: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-owimWyNVWV"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/user/pdl/yocto_build/scripts:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot/usr/bin/crossscripts:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/usr/sbin:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/usr/bin:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/sbin:/home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/recipe-sysroot-native/bin:/home/user/pdl/yocto_build/bitbake/bin:/home/user/pdl/yocto_build/build/tmp-glibc/hosttools"; export HOME="/home/user"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://git.kernel.org/pub/scm/network/iproute2/iproute2.git /home/user/pdl/yocto_build/build/downloads/git2/git.kernel.org.pub.scm.network.iproute2.iproute2.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/user/pdl/yocto_build/build/downloads/git2/git.kernel.org.pub.scm.network.iproute2.iproute2.git'...
fatal: unable to connect to git.kernel.org:
git.kernel.org[0: 147.75.46.191]: errno=Connection timed out
git.kernel.org[1: 2604:1380:4080:c00::1]: errno=Network is unreachableERROR: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch: Fetcher failure for URL: 'git://git.kernel.org/pub/scm/network/iproute2/iproute2.git'. Unable to fetch URL from any source.
ERROR: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch:
ERROR: iproute2-1.0-gitAUTOINC+97864a5af3-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/user/pdl/yocto_build/build/tmp-glibc/work/corei7-64-oe-linux/iproute2/1.0-gitAUTOINC+97864a5af3-r0/temp/log.do_fetch.25170
ERROR: Task (/home/user/pdl/yocto_build/meta-intel-tsn/recipes-connectivity/iproute2/iproute2_git.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3220 tasks of which 0 didn't need to be rerun and 1 failed.Summary: 1 task failed:
  /home/user/pdl/yocto_build/meta-intel-tsn/recipes-connectivity/iproute2/iproute2_git.bb:do_fetch
Summary: There were 38 WARNING messages shown.
Summary: There were 4 ERROR messages shown, returning a non-zero exit code. 
 
Anyone faced similar issue, please help us resolving this issue. 


Re: musl and reproducible builds

Andrei Gherzan
 

Hi Khem,

30 Oct 2020 05:56:04 Khem Raj <raj.khem@gmail.com>:

Hi Andrei

I have posted a patch for master, please test it out and let me know
if it fixes the issue.
https://patchwork.openembedded.org/patch/177717/
That's exactly what I ended up doing and it works just like glibc. Thanks for pushing the patch.
--

Andrei Gherzan
gpg: rsa4096/D4D94F67AD0E9640 | t: @agherzan


Re: musl and reproducible builds

Khem Raj
 

Hi Andrei

I have posted a patch for master, please test it out and let me know
if it fixes the issue.
https://patchwork.openembedded.org/patch/177717/

On Thu, Oct 29, 2020 at 6:52 PM Khem Raj <raj.khem@gmail.com> wrote:

Hi Andrei

Thanks for the report. What will help is linker command details to
find more details but I know
this issue is not addressed for musl yet so your analysis is right, I
will see if I can fix it if no one else beats me to it and I have time
which is scarce these days.
regardless please open a bug in Bugzilla so we do not forget it.

Thanks
-Khem

On Thu, Oct 29, 2020 at 3:53 PM Andrei Gherzan <andrei@gherzan.ro> wrote:

Hi,

I've hit lately a known issue regarding reproducible builds for which we added a workaround in the case of having glibc as the libc provider[1].

Some context. ARM binaries in a Yocto build contain references to the absolute path of libc C runtime objects `crti.o` and `crtn.o`. Here is an example:

readelf -sW helloworld | grep crt
[...]
35: 00000000 0 FILE LOCAL DEFAULT ABS [...]/yocto//tmp/work/armv7vet2hf-neon-poky-linux-musleabi/hello/1.0-r0/recipe-sysroot/usr/lib/crti.o
38: 00000000 0 FILE LOCAL DEFAULT ABS [...]/yocto//tmp/work/armv7vet2hf-neon-poky-linux-musleabi/hello/1.0-r0/recipe-sysroot/usr/lib/crtn.o

After stripping the respective binary, these paths end up into the debug symbols but the stripped binary still contains the `.gnu_debuglink` section. This section includes, along with the filename of the debugging information file, a CRC value computed on the respective debugging file[2]. This CRC value makes, in turn, the stripped binary, not reproducible.

IA platforms are not affected by this issue.

I am looking for a fix/workaround when using musl as the libc provider. The fix mentioned above for glibc landed in `thud` so since then, this bug is mitigated when using glibc. But, when musl is preferred, the issue is still reproducible on current master's HEAD[3]. This behaviour can easily be reproduced using the qemuarm/qemux86 machines along with a dummy recipe like the one in our documentation[4].

Has anyone looked into this in the past? It very much sounds to me like a linker bug.

[1] http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=cd158dd197a3a41a91679107a94c6f213476921c
[2] https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html
[3] 7231c104303f72c5d72f837de114d4f5a633c7cd
[4] http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/documentation/ref-manual/examples/hello-single

Regards,
--
Andrei


[meta-zephyr][PATCH] zephyr-kernel-test: drop fatal kernel testcase

Naveen Saini
 

kernel 'fatal' testcase has directory structure changes in v2.4.0
version, which does not fit in current meta-zephyr test
build structure. So excluding it for now.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
---
recipes-kernel/zephyr-kernel/zephyr-kernel-test.inc | 1 -
1 file changed, 1 deletion(-)

diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-test.inc b/recipes-kernel/zephyr-kernel/zephyr-kernel-test.inc
index faf28bd..a1e62af 100644
--- a/recipes-kernel/zephyr-kernel/zephyr-kernel-test.inc
+++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-test.inc
@@ -25,7 +25,6 @@ ZEPHYRTESTS = " \
context \
device \
early_sleep \
- fatal \
fifo \
fpu_sharing \
gen_isr_table \
--
2.17.1


Re: musl and reproducible builds

Khem Raj
 

Hi Andrei

Thanks for the report. What will help is linker command details to
find more details but I know
this issue is not addressed for musl yet so your analysis is right, I
will see if I can fix it if no one else beats me to it and I have time
which is scarce these days.
regardless please open a bug in Bugzilla so we do not forget it.

Thanks
-Khem

On Thu, Oct 29, 2020 at 3:53 PM Andrei Gherzan <andrei@gherzan.ro> wrote:

Hi,

I've hit lately a known issue regarding reproducible builds for which we added a workaround in the case of having glibc as the libc provider[1].

Some context. ARM binaries in a Yocto build contain references to the absolute path of libc C runtime objects `crti.o` and `crtn.o`. Here is an example:

readelf -sW helloworld | grep crt
[...]
35: 00000000 0 FILE LOCAL DEFAULT ABS [...]/yocto//tmp/work/armv7vet2hf-neon-poky-linux-musleabi/hello/1.0-r0/recipe-sysroot/usr/lib/crti.o
38: 00000000 0 FILE LOCAL DEFAULT ABS [...]/yocto//tmp/work/armv7vet2hf-neon-poky-linux-musleabi/hello/1.0-r0/recipe-sysroot/usr/lib/crtn.o

After stripping the respective binary, these paths end up into the debug symbols but the stripped binary still contains the `.gnu_debuglink` section. This section includes, along with the filename of the debugging information file, a CRC value computed on the respective debugging file[2]. This CRC value makes, in turn, the stripped binary, not reproducible.

IA platforms are not affected by this issue.

I am looking for a fix/workaround when using musl as the libc provider. The fix mentioned above for glibc landed in `thud` so since then, this bug is mitigated when using glibc. But, when musl is preferred, the issue is still reproducible on current master's HEAD[3]. This behaviour can easily be reproduced using the qemuarm/qemux86 machines along with a dummy recipe like the one in our documentation[4].

Has anyone looked into this in the past? It very much sounds to me like a linker bug.

[1] http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=cd158dd197a3a41a91679107a94c6f213476921c
[2] https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html
[3] 7231c104303f72c5d72f837de114d4f5a633c7cd
[4] http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/documentation/ref-manual/examples/hello-single

Regards,
--
Andrei


musl and reproducible builds

Andrei Gherzan
 

Hi,

I've hit lately a known issue regarding reproducible builds for which we added a workaround in the case of having glibc as the libc provider[1].

Some context. ARM binaries in a Yocto build contain references to the absolute path of libc C runtime objects `crti.o` and `crtn.o`. Here is an example:

readelf -sW helloworld | grep crt
[...]
35: 00000000     0 FILE    LOCAL  DEFAULT  ABS [...]/yocto//tmp/work/armv7vet2hf-neon-poky-linux-musleabi/hello/1.0-r0/recipe-sysroot/usr/lib/crti.o
38: 00000000     0 FILE    LOCAL  DEFAULT  ABS [...]/yocto//tmp/work/armv7vet2hf-neon-poky-linux-musleabi/hello/1.0-r0/recipe-sysroot/usr/lib/crtn.o

After stripping the respective binary, these paths end up into the debug symbols but the stripped binary still contains the `.gnu_debuglink` section. This section includes, along with the filename of the debugging information file, a CRC value computed on the respective debugging file[2]. This CRC value makes, in turn, the stripped binary, not reproducible.

IA platforms are not affected by this issue.

I am looking for a fix/workaround when using musl as the libc provider. The fix mentioned above for glibc landed in `thud` so since then, this bug is mitigated when using glibc. But, when musl is preferred, the issue is still reproducible on current master's HEAD[3]. This behaviour can easily be reproduced using the qemuarm/qemux86 machines along with a dummy recipe like the one in our documentation[4].

Has anyone looked into this in the past? It very much sounds to me like a linker bug.

[3] 7231c104303f72c5d72f837de114d4f5a633c7cd

Regards,
--
Andrei


Re: #yocto #yocto

mail@...
 

Hey,

Yes it got changed to make it clear that it has to be unique. You will get slot of fun when updating to dunfell.

Also each recipes will have its own sysroot. 

Cheers

On Oct 29, 2020 20:37, "Monsees, Steven C (US) via lists.yoctoproject.org" <steven.monsees=baesystems.com@...> wrote:

Maybe the better question is, Does the BBFILE_COLLECTIONS name add now have to be unique ?

In this scenario the  BBFILE_COLLECTIONS name  is currently set to += "intel" for both the respective layer.conf files...

Currently under the "rocko" release this does not cause an isuue.

Thanks,
Steve


Re: #yocto #yocto

Monsees, Steven C (US)
 


Maybe the better question is, Does the BBFILE_COLLECTIONS name add now have to be unique ?

In this scenario the  BBFILE_COLLECTIONS name  is currently set to += "intel" for both the respective layer.conf files...

Currently under the "rocko" release this does not cause an isuue.

Thanks,
Steve


#yocto #yocto

Monsees, Steven C (US)
 

 

I am currently looking at porting from “rocko” to “zeus”…

 

Under your migration pages, I saw that in the project 2.7 release the following change occurred to BitBake:

 

“Bitbake now checks BBFILE_COLLECTIONS for duplicate entries and triggers an error if any are found.”

 

Does this imply that Yocto/BitBake would now throw a “duplicate BBFILE_COLLECTIONS”, if say prior to 2.7 one had 2 layers such as:

 

(1)    ./workspace_1/poky/../meta-intel

(2)    ./workspace_1/poky/../meta-1/meta-2/meta-intel

 

Where #1 was the actual meta-intel recipe, and #2 was for modification/configuration of #1 ?

 

Thanks,

Steve

 

 


Meta-java - openjdk-8-native - fatal error: sys/sdt.h: No such file or directory

Darcy Watkins
 

Hi,

 

Openjdk-8-native breaks due to some mixup related to sdt.h not found

 

Dunfell branch built on CentOS7 with the buildtools installed.

 

This is first attempt with dunfell.  Warrior built openjdk-8-native OK

 

I remember seeing something like this long ago but I don’t remember the fix.

 

 

--------

 

| /home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/build/tmp/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/hotspot/src/share/vm/utilities/dtrace.hpp:31:10: fatal error: sys/sdt.h: No such file or directory

|    31 | #include <sys/sdt.h>

|       |          ^~~~~~~~~~~

| compilation terminated.

| make[6]: *** [/home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/build/tmp/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/hotspot/make/linux/makefiles/vm.make:310: precompiled.hpp.gch] Error 1

| make[5]: *** [/home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/build/tmp/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/hotspot/make/linux/makefiles/top.make:119: the_vm] Error 2

| make[4]: *** [/home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/build/tmp/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga/hotspot/make/linux/Makefile:284: product] Error 2

| make[3]: *** [Makefile:231: generic_build2] Error 2

| make[2]: *** [Makefile:177: product] Error 2

| make[1]: *** [HotspotWrapper.gmk:45: /home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/build/tmp/work/x86_64-linux/openjdk-8-native/272-r0/build/hotspot/_hotspot.timestamp] Error 2

| make: *** [/home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/build/tmp/work/x86_64-linux/openjdk-8-native/272-r0/jdk8u-jdk8u272-ga//make/Main.gmk:110: hotspot-only] Error 2

| WARNING: /home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/build/tmp/work/x86_64-linux/openjdk-8-native/272-r0/temp/run.do_compile.27136:1 exit 1 from 'exit 1'

|

ERROR: Task (/home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/upstream/yocto/meta-java/recipes-core/openjdk/openjdk-8-native_272.bb:do_compile) failed with exit code '1'

NOTE: Tasks Summary: Attempted 973 tasks of which 966 didn't need to be rerun and 1 failed.

 

Summary: 1 task failed:

  /home/dwatkins/workspace/zeta/upgrade-yocto_mg90-MG-os/upstream/yocto/meta-java/recipes-core/openjdk/openjdk-8-native_272.bb:do_compile

Summary: There was 1 WARNING message shown.

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

 

 

 

 

Regards,

 

Darcy

 

Darcy Watkins ::  Senior Staff Engineer, Firmware

 

SIERRA WIRELESS

Direct  +1 604 233 7989   ::  Fax  +1 604 231 1109  ::  Main  +1 604 231 1100

13811 Wireless Way  :: Richmond, BC Canada V6V 3A4

[M4]

dwatkins@... :: www.sierrawireless.com


Re: Cross compilation error finding libraries

Bel Hadj Salem Talel
 

Hi,

Actually the Yocto SDK sets LD variable correctly : here is its value :
aarch64-poky-linux-ld --sysroot=/media/talel/data/sdk-multigate/sysroots/aarch64-poky-linux

Now I'm stuck with linking,
Please help me.
Thansk, Talel


[meta-zephyr][PATCH] zephyr-kernel: add Zephyr RTOS version 2.4.0 support

Jon Mason
 

Update Zephyr to the latest version. Tested via zephyr-philosophers on
qemu-cortex-m3.

Signed-off-by: Jon Mason <jon.mason@arm.com>
---
classes/zephyr-kernel-src.bbclass | 10 +++++-----
...phyr-kernel-src_2.3.bb => zephyr-kernel-src_2.4.bb} | 0
2 files changed, 5 insertions(+), 5 deletions(-)
rename recipes-kernel/zephyr-kernel/{zephyr-kernel-src_2.3.bb => zephyr-kernel-src_2.4.bb} (100%)

diff --git a/classes/zephyr-kernel-src.bbclass b/classes/zephyr-kernel-src.bbclass
index 50e46af030ec..d2452231352d 100644
--- a/classes/zephyr-kernel-src.bbclass
+++ b/classes/zephyr-kernel-src.bbclass
@@ -1,18 +1,18 @@
#Set relevant variables based on Zephyr kernel version

-PREFERRED_VERSION_zephyr-kernel ??= "2.3.0"
+PREFERRED_VERSION_zephyr-kernel ??= "2.4.0"

SRCREV_FORMAT = "default_cmsis"
-SRCREV_default = "b8c78e254ff875680e99c9f131fbe285c4575927"
+SRCREV_default = "7a3b253ced7333f5c0269387a7f3ed1dee69739d"
SRCREV_cmsis = "542b2296e6d515b265e25c6b7208e8fea3014f90"


-SRC_URI = "git://github.com/zephyrproject-rtos/zephyr.git;protocol=https;branch=v2.3-branch;name=default \
+SRC_URI = "git://github.com/zephyrproject-rtos/zephyr.git;protocol=https;branch=v2.4-branch;name=default \
git://github.com/zephyrproject-rtos/cmsis.git;protocol=https;destsuffix=git/modules/cmsis;name=cmsis \
file://0001-cmake-add-yocto-toolchain.patch \
"

-PV = "2.3.0+git${SRCPV}"
+PV = "2.4.0+git${SRCPV}"

LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"
@@ -21,7 +21,7 @@ ZEPHYR_TEST_SRCDIR = "tests/legacy/kernel/"

python () {
src_pn = d.getVar('PREFERRED_VERSION_zephyr-kernel', True)
- if src_pn == '2.3.0':
+ if src_pn == '2.4.0':
return
else:
bb.error("Unsupported Zephyr kernel version requested")
diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src_2.3.bb b/recipes-kernel/zephyr-kernel/zephyr-kernel-src_2.4.bb
similarity index 100%
rename from recipes-kernel/zephyr-kernel/zephyr-kernel-src_2.3.bb
rename to recipes-kernel/zephyr-kernel/zephyr-kernel-src_2.4.bb
--
2.20.1


Re: [prelink-cross][PATCH v5] Add SPDX license headers to all source files

Mark Hatle
 

A quick review of this looks fine. I'm currently swamped with some work stuff
and ELC-E this week.

I intend to get to this (and a few other contributions next week. If you don't
see anything from me next week. Please smack me upside the head.

--Mark

On 10/9/20 3:27 PM, Meh Mbeh Ida Delphine wrote:
Added SPDX headers in all source files except src/makecrc.c since it is not copyrighted.
Skipped Makefile.am as well.
Also cleared redundant license text.
Updated README file with correct email addresses.

Fixes: [YOCTO #13529]

Signed-off-by: Meh Mbeh Ida Delphine <idadelm@gmail.com>
---

Changes in V5:
* None(Address review comments)

Changes in V4:
* Add [YOCTO #13529] tag to git commit log instead of subject line
* Updated the README file with right email addresses

Changes in V3:
* Address review comments
* Change subject line to reflect what the patch is trying to do

Changes in V2:
* Address review comments

README | 4 ++--
src/arch-alpha.c | 15 ++-------------
src/arch-arm.c | 15 ++-------------
src/arch-cris.c | 15 ++-------------
src/arch-i386.c | 15 ++-------------
src/arch-ia64.c | 15 ++-------------
src/arch-mips.c | 16 ++--------------
src/arch-ppc.c | 15 ++-------------
src/arch-ppc64.c | 15 ++-------------
src/arch-s390.c | 15 ++-------------
src/arch-s390x.c | 15 ++-------------
src/arch-sh.c | 15 ++-------------
src/arch-sparc.c | 16 +++-------------
src/arch-sparc64.c | 15 ++-------------
src/arch-x86_64.c | 15 ++-------------
src/cache.c | 15 ++-------------
src/canonicalize.c | 16 ++--------------
src/checksum.c | 15 ++-------------
src/conflict.c | 15 ++-------------
src/crc32.c | 15 ++-------------
src/cxx.c | 15 ++-------------
src/data.c | 15 ++-------------
src/doit.c | 15 ++-------------
src/dso.c | 15 ++-------------
src/dwarf2.c | 15 ++-------------
src/dwarf2.h | 15 ++-------------
src/exec.c | 15 ++-------------
src/execle_open.c | 15 ++-------------
src/execstack.c | 15 ++-------------
src/fptr.c | 15 ++-------------
src/fptr.h | 15 ++-------------
src/gather.c | 15 ++-------------
src/get.c | 15 ++-------------
src/hashtab.c | 17 ++---------------
src/hashtab.h | 16 +++-------------
src/layout.c | 15 ++-------------
src/layout.h | 15 ++-------------
src/main.c | 15 ++-------------
src/md5.c | 16 ++--------------
src/md5.h | 15 ++-------------
src/mdebug.c | 15 ++-------------
src/prelink.c | 15 ++-------------
src/prelink.h | 15 ++-------------
src/prelinktab.h | 15 ++-------------
src/reloc-info.c | 15 ++-------------
src/reloc-info.h | 15 ++-------------
src/reloc.c | 15 ++-------------
src/reloc.h | 15 ++-------------
src/sha.c | 4 ++++
src/sha.h | 4 ++++
src/space.c | 15 ++-------------
src/space.h | 15 ++-------------
src/stabs.c | 15 ++-------------
src/undo.c | 15 ++-------------
src/undoall.c | 15 ++-------------
src/verify.c | 15 ++-------------
56 files changed, 118 insertions(+), 696 deletions(-)

diff --git a/README b/README
index 2d8893b..5f91fab 100644
--- a/README
+++ b/README
@@ -13,8 +13,8 @@ Patch submission
When submitting patches to the cross-prelink project, please do the
following:

-To: mark.hatle@windriver.com
-Cc: yocto@yoctoproject.org
+To: mark.hatle@kernel.crashing.org
+Cc: yocto@lists.yoctoproject.org

Subject: [prelink-cross] ....

diff --git a/src/arch-alpha.c b/src/arch-alpha.c
index 7802a3e..bc5c192 100644
--- a/src/arch-alpha.c
+++ b/src/arch-alpha.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/arch-arm.c b/src/arch-arm.c
index eec7c57..b5ea886 100644
--- a/src/arch-arm.c
+++ b/src/arch-arm.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2004, 2009, 2011, 2013 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/arch-cris.c b/src/arch-cris.c
index 3272779..634bf9f 100644
--- a/src/arch-cris.c
+++ b/src/arch-cris.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/arch-i386.c b/src/arch-i386.c
index a1e0fcc..5a0b2ca 100644
--- a/src/arch-i386.c
+++ b/src/arch-i386.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2011 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/arch-ia64.c b/src/arch-ia64.c
index 6039115..56196de 100644
--- a/src/arch-ia64.c
+++ b/src/arch-ia64.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/arch-mips.c b/src/arch-mips.c
index 02c608f..2875ec3 100644
--- a/src/arch-mips.c
+++ b/src/arch-mips.c
@@ -2,20 +2,8 @@
Written by Richard Sandiford <richard@codesourcery.com>, 2006
Updated by Maciej W. Rozycki <macro@codesourcery.com>, 2008.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/
/* GENERAL NOTES

The psABI defines R_MIPS_REL32 as A - EA + S, where the value of EA
diff --git a/src/arch-ppc.c b/src/arch-ppc.c
index e22e5d5..e296d79 100644
--- a/src/arch-ppc.c
+++ b/src/arch-ppc.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009, 2011 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/arch-ppc64.c b/src/arch-ppc64.c
index a764b99..3f2c375 100644
--- a/src/arch-ppc64.c
+++ b/src/arch-ppc64.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2002, 2003, 2004, 2009 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2002.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/arch-s390.c b/src/arch-s390.c
index e5fe130..1a65f5c 100644
--- a/src/arch-s390.c
+++ b/src/arch-s390.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2010, 2013 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/arch-s390x.c b/src/arch-s390x.c
index e4d82f7..926cfa2 100644
--- a/src/arch-s390x.c
+++ b/src/arch-s390x.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2013 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/arch-sh.c b/src/arch-sh.c
index 1b11312..a852266 100644
--- a/src/arch-sh.c
+++ b/src/arch-sh.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/arch-sparc.c b/src/arch-sparc.c
index e016a79..41b297d 100644
--- a/src/arch-sparc.c
+++ b/src/arch-sparc.c
@@ -1,19 +1,9 @@
/* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+/*
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/arch-sparc64.c b/src/arch-sparc64.c
index aee4601..c6a1027 100644
--- a/src/arch-sparc64.c
+++ b/src/arch-sparc64.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/arch-x86_64.c b/src/arch-x86_64.c
index 2f6c551..249661a 100644
--- a/src/arch-x86_64.c
+++ b/src/arch-x86_64.c
@@ -3,19 +3,8 @@
Copyright (C) 2011 Wind River Systems, Inc.
x32 support by Mark Hatle <mark.hatle@windriver.com>

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/cache.c b/src/cache.c
index 1cc3217..b476581 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2013 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/canonicalize.c b/src/canonicalize.c
index 79df44e..e94ec06 100644
--- a/src/canonicalize.c
+++ b/src/canonicalize.c
@@ -2,20 +2,8 @@
Copyright (C) 1996-2002, 2004, 2005, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.

- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <assert.h>
#include <stdlib.h>
diff --git a/src/checksum.c b/src/checksum.c
index 20a23a0..5c80fc5 100644
--- a/src/checksum.c
+++ b/src/checksum.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2003 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/conflict.c b/src/conflict.c
index 5613ace..83713c5 100644
--- a/src/conflict.c
+++ b/src/conflict.c
@@ -3,19 +3,8 @@
Written by Jakub Jelinek <jakub@redhat.com>, 2001.
Updated by Maciej W. Rozycki <macro@codesourcery.com>, 2008.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/crc32.c b/src/crc32.c
index f36abb5..81e990b 100644
--- a/src/crc32.c
+++ b/src/crc32.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <stdint.h>
diff --git a/src/cxx.c b/src/cxx.c
index 4391ebe..4b911a9 100644
--- a/src/cxx.c
+++ b/src/cxx.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2003, 2007, 2009 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <alloca.h>
diff --git a/src/data.c b/src/data.c
index 751f96f..d648744 100644
--- a/src/data.c
+++ b/src/data.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include "prelink.h"
diff --git a/src/doit.c b/src/doit.c
index 3784866..42e6819 100644
--- a/src/doit.c
+++ b/src/doit.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2003, 2004, 2005, 2007 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <alloca.h>
diff --git a/src/dso.c b/src/dso.c
index 949abf9..9cce846 100644
--- a/src/dso.c
+++ b/src/dso.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2010 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/dwarf2.c b/src/dwarf2.c
index b9588b1..d230bb7 100644
--- a/src/dwarf2.c
+++ b/src/dwarf2.c
@@ -2,19 +2,8 @@
Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/dwarf2.h b/src/dwarf2.h
index b0c80b6..888f2c7 100644
--- a/src/dwarf2.h
+++ b/src/dwarf2.h
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2009, 2010, 2011, 2012 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#define DW_TAG_padding 0x00
#define DW_TAG_array_type 0x01
diff --git a/src/exec.c b/src/exec.c
index ca7fd14..431690e 100644
--- a/src/exec.c
+++ b/src/exec.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/execle_open.c b/src/execle_open.c
index 2ee5cbc..0d4bef5 100644
--- a/src/execle_open.c
+++ b/src/execle_open.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <errno.h>
diff --git a/src/execstack.c b/src/execstack.c
index 97fb453..fe044c5 100644
--- a/src/execstack.c
+++ b/src/execstack.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2003, 2005, 2010 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2003.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <errno.h>
diff --git a/src/fptr.c b/src/fptr.c
index cfe3aed..65a2804 100644
--- a/src/fptr.c
+++ b/src/fptr.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2003, 2007 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/fptr.h b/src/fptr.h
index 36ef7c6..c4ce3f7 100644
--- a/src/fptr.h
+++ b/src/fptr.h
@@ -1,19 +1,8 @@
/* Copyright (C) 2001 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#ifndef FPTR_H
#define FPTR_H
diff --git a/src/gather.c b/src/gather.c
index 277f1b5..0d1e7c4 100644
--- a/src/gather.c
+++ b/src/gather.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/get.c b/src/get.c
index 0659962..bb58b1e 100644
--- a/src/get.c
+++ b/src/get.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2009 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/hashtab.c b/src/hashtab.c
index fa27446..7dc389d 100644
--- a/src/hashtab.c
+++ b/src/hashtab.c
@@ -2,21 +2,8 @@
Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
Contributed by Vladimir Makarov (vmakarov@cygnus.com).

-This file is part of the libiberty library.
-Libiberty is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 2 of the License, or (at your option) any later version.
-
-Libiberty is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with libiberty; see the file COPYING.LIB. If
-not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

/* This package implements basic hash table functionality. It is possible
to search for an entry, create an entry and destroy an entry.
diff --git a/src/hashtab.h b/src/hashtab.h
index 31e63e0..d3f297f 100644
--- a/src/hashtab.h
+++ b/src/hashtab.h
@@ -2,19 +2,8 @@
Copyright (C) 1999, 2000 Free Software Foundation, Inc.
Contributed by Vladimir Makarov (vmakarov@cygnus.com).

-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

/* This package implements basic hash table functionality. It is possible
to search for an entry, create an entry and destroy an entry.
@@ -29,6 +18,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
expanded by creation of new hash table and transferring elements from
the old table to the new table. */

+
#ifndef __HASHTAB_H__
#define __HASHTAB_H__

diff --git a/src/layout.c b/src/layout.c
index 859ab66..29be7a3 100644
--- a/src/layout.c
+++ b/src/layout.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2011 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <alloca.h>
diff --git a/src/layout.h b/src/layout.h
index f481d22..1b10bc0 100644
--- a/src/layout.h
+++ b/src/layout.h
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2004, 2006 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#ifndef LAYOUT_H
#define LAYOUT_H
diff --git a/src/main.c b/src/main.c
index 6ba89d5..39e44ad 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2010, 2011 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <errno.h>
diff --git a/src/md5.c b/src/md5.c
index 0d2fdef..19a8e0b 100644
--- a/src/md5.c
+++ b/src/md5.c
@@ -4,21 +4,9 @@
NOTE: The canonical source of this file is maintained with the GNU C
Library. Bugs can be reported to bug-glibc@prep.ai.mit.edu.

- This program is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2, or (at your option) any
- later version.

- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-
-/* Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <sys/types.h>
#include <stdlib.h>
diff --git a/src/md5.h b/src/md5.h
index 55f6195..eb0b85e 100644
--- a/src/md5.h
+++ b/src/md5.h
@@ -4,19 +4,8 @@
NOTE: The canonical source of this file is maintained with the GNU C
Library. Bugs can be reported to bug-glibc@prep.ai.mit.edu.

- This program is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2, or (at your option) any
- later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#ifndef _MD5_H
#define _MD5_H 1
diff --git a/src/mdebug.c b/src/mdebug.c
index 4c22d2f..eb6d1b5 100644
--- a/src/mdebug.c
+++ b/src/mdebug.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/prelink.c b/src/prelink.c
index 64c4fea..bf774c9 100644
--- a/src/prelink.c
+++ b/src/prelink.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/prelink.h b/src/prelink.h
index 39c4390..4c4c243 100644
--- a/src/prelink.h
+++ b/src/prelink.h
@@ -4,19 +4,8 @@
Written by Jakub Jelinek <jakub@redhat.com>, 2001.
Updated by Maciej W. Rozycki <macro@codesourcery.com>, 2008.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#ifndef PRELINK_H
#define PRELINK_H
diff --git a/src/prelinktab.h b/src/prelinktab.h
index f41c79c..a404292 100644
--- a/src/prelinktab.h
+++ b/src/prelinktab.h
@@ -1,19 +1,8 @@
/* Copyright (C) 2001 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#ifndef PRELINKTAB_H
#define PRELINKTAB_H
diff --git a/src/reloc-info.c b/src/reloc-info.c
index 4ce333c..d51cfc1 100644
--- a/src/reloc-info.c
+++ b/src/reloc-info.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2008 CodeSourcery
Written by Maciej W. Rozycki <macro@codesourcery.com>, 2008.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>

diff --git a/src/reloc-info.h b/src/reloc-info.h
index a8f8b7c..592a92c 100644
--- a/src/reloc-info.h
+++ b/src/reloc-info.h
@@ -1,19 +1,8 @@
/* Copyright (C) 2008 CodeSourcery
Written by Maciej W. Rozycki <macro@codesourcery.com>, 2008.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#ifndef RELOC_INFO_H
#define RELOC_INFO_H
diff --git a/src/reloc.c b/src/reloc.c
index deb0abe..9883dc7 100644
--- a/src/reloc.c
+++ b/src/reloc.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2003, 2005 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/reloc.h b/src/reloc.h
index a2ceff9..ee91f7e 100644
--- a/src/reloc.h
+++ b/src/reloc.h
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#ifndef RELOC_H
#define RELOC_H
diff --git a/src/sha.c b/src/sha.c
index cfbc956..f979bc4 100644
--- a/src/sha.c
+++ b/src/sha.c
@@ -1,3 +1,7 @@
+/*
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/
+
/* sha.c - Functions to compute the SHA1 hash (message-digest) of files
or blocks of memory. Complies to the NIST specification FIPS-180-1.

diff --git a/src/sha.h b/src/sha.h
index 13583e3..810072b 100644
--- a/src/sha.h
+++ b/src/sha.h
@@ -1,3 +1,7 @@
+/*
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/
+
/* sha.h - Declaration of functions and datatypes for SHA1 sum computing
library functions.

diff --git a/src/space.c b/src/space.c
index 4bd4760..8223daf 100644
--- a/src/space.c
+++ b/src/space.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2007 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/space.h b/src/space.h
index 5c9f725..59d087c 100644
--- a/src/space.h
+++ b/src/space.h
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2004 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#ifndef SPACE_H
#define SPACE_H
diff --git a/src/stabs.c b/src/stabs.c
index c0a5a6a..fd0ca28 100644
--- a/src/stabs.c
+++ b/src/stabs.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2005, 2006 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/undo.c b/src/undo.c
index 4c38dab..e6cfae3 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2001, 2002, 2003, 2005, 2010 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2001.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>
diff --git a/src/undoall.c b/src/undoall.c
index 55d2a0b..44a0b4e 100644
--- a/src/undoall.c
+++ b/src/undoall.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2002, 2005 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2002.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <alloca.h>
diff --git a/src/verify.c b/src/verify.c
index 7f530c0..991794a 100644
--- a/src/verify.c
+++ b/src/verify.c
@@ -1,19 +1,8 @@
/* Copyright (C) 2002, 2003, 2006, 2007, 2010 Red Hat, Inc.
Written by Jakub Jelinek <jakub@redhat.com>, 2002.

- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+* SPDX-License-Identifier: GPL-2.0-or-later
+*/

#include <config.h>
#include <assert.h>

1261 - 1280 of 52466