stamps/02-patch-stamp: No such file or directory

Asked by miufullzero

/usr/bin/make -f debian/rules2 binary
make[1]: Entering directory '/home/ubuntu/gcc-8-8.3.0/gcc-8.3.0'
dh_testdir
: # give information about the build process
------------------------ Build process variables ------------------------
Memory on this machine:
MemTotal: 16360468 kB
MemFree: 7770484 kB
MemAvailable: 15842600 kB
SwapCached: 0 kB
SwapTotal: 4017148 kB
SwapFree: 4017148 kB
Number of parallel processes used for the build: 1
DEB_BUILD_OPTIONS:
Package source: gcc-8
GCC version: 8.3.0
Base Debian version: 8
Configured with: -v
  --with-pkgversion='Ubuntu/Linaro 8.3.0-6'
  --with-bugurl='file:///usr/share/doc/gcc-8/README.Bugs'
  --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++
  --prefix=/usr
  --with-gcc-major-version-only
  --program-suffix=-8
  --program-prefix=aarch64-linux-gnu-
  --enable-shared
  --enable-linker-build-id
  --libexecdir=/usr/lib
  --without-included-gettext
  --enable-threads=posix
  --libdir=/usr/lib
  --enable-nls
  --enable-bootstrap
  --enable-clocale=gnu
  --enable-libstdcxx-debug
  --enable-libstdcxx-time=yes
  --with-default-libstdcxx-abi=new
  --enable-gnu-unique-object
  --disable-libquadmath
  --disable-libquadmath-support
  --enable-plugin
  --enable-default-pie
  --with-system-zlib
  --disable-libphobos
  --enable-multiarch
  --enable-fix-cortex-a53-843419
  --disable-werror
  --enable-checking=release
  --build=aarch64-linux-gnu
  --host=aarch64-linux-gnu
  --target=aarch64-linux-gnu

Using shell /bin/bash -e
Architecture: arm64 (GNU: aarch64-linux-gnu)
CPPFLAGS:
CFLAGS:
LDFLAGS:
BOOT_CFLAGS: -g -O2 -fno-stack-protector
DEBIAN_BUILDARCH:
Install prefix: /usr
Will not build the biarch compilers
Will build the C++ compiler
Will build the ObjC compiler.
Will not build the extra ObjC runtime for garbage collection.
Will build the Obj-C++ compiler
Will build the Fortran 95 compiler.
Will build the Ada compiler.
Will build the shared Ada libraries.
Will build the Go compiler.
Will build the D compiler
Will not build the phobos D runtime library: disabled for cpu arm64
Will build with SSP support.
Will run the testsuite.
Will enable national language support.
-----------------------------------------------------------------------------

rm -f stamps/04-configure-stamp stamps/05-build-stamp
cat debian/README.Debian stamps/02-patch-stamp > debian/README.Debian.arm64
cat: stamps/02-patch-stamp: No such file or directory
make[1]: *** [debian/rules2:1084: stamps/04-configure-stamp] Error 1
make[1]: Leaving directory '/home/ubuntu/gcc-8-8.3.0/gcc-8.3.0'
make: *** [debian/rules:70: binary] Error 2

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu gcc-8 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

See https://launchpad.net/ubuntu/+source/gcc-8
There is no support for gcc-8 version 8.3.0 on Ubuntu.
You have to help yourself.

Remark: It seems to me that there are some preliminary steps missing.
As far as I can see from the sources, stamps/02-patch-stamp is created by the debian/rules.patch makefile.
Are you using dpkg-buildpackage?

Revision history for this message
miufullzero (mfz0721) said :
#2

patch: **** Only garbage was found in the patch input.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

What exactly are you doing?

Revision history for this message
miufullzero (mfz0721) said :
#4

root@ubuntu:/home/ubuntu/gcc-8-8.3.0/gcc-8.3.0# pwd
/home/ubuntu/gcc-8-8.3.0/gcc-8.3.0
root@ubuntu:/home/ubuntu/gcc-8-8.3.0/gcc-8.3.0# ls
ABOUT-NLS COPYING INSTALL libgfortran libtool-ldflags Makefile.in
ChangeLog COPYING3 install-sh libgo libtool.m4 Makefile.tpl
ChangeLog.jit COPYING3.LIB intl libgomp libvtv MD5SUMS
ChangeLog.tree-ssa COPYING.LIB LAST_UPDATED libhsail-rt ltgcc.m4 missing
compile COPYING.RUNTIME libada libiberty ltmain.sh mkdep
config debian libasan libitm lt~obsolete.m4 mkinstalldirs
config.guess depcomp libatomic libmpx lto-plugin move-if-change
config-ml.in fixincludes libbacktrace libobjc ltoptions.m4 NEWS
config.rpath gcc libcc1 liboffloadmic ltsugar.m4 README
config.sub gcc-8_8.3.0-6.diff libcpp libquadmath ltversion.m4 rules.patch
configure gnattools libdecnumber libsanitizer MAINTAINERS symlink-tree
configure.ac gotools libffi libssp maintainer-scripts ylwrap
contrib include libgcc libstdc++-v3 Makefile.def zlib
root@ubuntu:/home/ubuntu/gcc-8-8.3.0/gcc-8.3.0# fakeroot debian/rules binary

Revision history for this message
miufullzero (mfz0721) said :
#5

root@ubuntu:/home/ubuntu/gcc-8-8.3.0/gcc-8.3.0# pwd
/home/ubuntu/gcc-8-8.3.0/gcc-8.3.0
root@ubuntu:/home/ubuntu/gcc-8-8.3.0/gcc-8.3.0# ls
ABOUT-NLS COPYING INSTALL libgfortran libtool-ldflags Makefile.in
ChangeLog COPYING3 install-sh libgo libtool.m4 Makefile.tpl
ChangeLog.jit COPYING3.LIB intl libgomp libvtv MD5SUMS
ChangeLog.tree-ssa COPYING.LIB LAST_UPDATED libhsail-rt ltgcc.m4 missing
compile COPYING.RUNTIME libada libiberty ltmain.sh mkdep
config debian libasan libitm lt~obsolete.m4 mkinstalldirs
config.guess depcomp libatomic libmpx lto-plugin move-if-change
config-ml.in fixincludes libbacktrace libobjc ltoptions.m4 NEWS
config.rpath gcc libcc1 liboffloadmic ltsugar.m4 README
config.sub gcc-8_8.3.0-6.diff libcpp libquadmath ltversion.m4 rules.patch
configure gnattools libdecnumber libsanitizer MAINTAINERS symlink-tree
configure.ac gotools libffi libssp maintainer-scripts ylwrap
contrib include libgcc libstdc++-v3 Makefile.def zlib
root@ubuntu:/home/ubuntu/gcc-8-8.3.0/gcc-8.3.0# fakeroot debian/rules binary

Revision history for this message
miufullzero (mfz0721) said :
#6

root@ubuntu:/home/ubuntu/gcc-8-8.3.0/gcc-8.3.0# pwd
/home/ubuntu/gcc-8-8.3.0/gcc-8.3.0
root@ubuntu:/home/ubuntu/gcc-8-8.3.0/gcc-8.3.0# ls
ABOUT-NLS COPYING INSTALL libgfortran libtool-ldflags Makefile.in
ChangeLog COPYING3 install-sh libgo libtool.m4 Makefile.tpl
ChangeLog.jit COPYING3.LIB intl libgomp libvtv MD5SUMS
ChangeLog.tree-ssa COPYING.LIB LAST_UPDATED libhsail-rt ltgcc.m4 missing
compile COPYING.RUNTIME libada libiberty ltmain.sh mkdep
config debian libasan libitm lt~obsolete.m4 mkinstalldirs
config.guess depcomp libatomic libmpx lto-plugin move-if-change
config-ml.in fixincludes libbacktrace libobjc ltoptions.m4 NEWS
config.rpath gcc libcc1 liboffloadmic ltsugar.m4 README
config.sub gcc-8_8.3.0-6.diff libcpp libquadmath ltversion.m4 rules.patch
configure gnattools libdecnumber libsanitizer MAINTAINERS symlink-tree
configure.ac gotools libffi libssp maintainer-scripts ylwrap
contrib include libgcc libstdc++-v3 Makefile.def zlib
root@ubuntu:/home/ubuntu/gcc-8-8.3.0/gcc-8.3.0# fakeroot debian/rules binary

Revision history for this message
miufullzero (mfz0721) said :
#7

I tried running fakeroot debian/rules clean
fakeroot debian/rules binary

It reports :

Messages:

rm -f stamps/04-configure-stamp stamps/05-build-stamp
cat debian/README.Debian stamps/02-patch-stamp > debian/README.Debian.arm64
cat: stamps/02-patch-stamp: No such file or directory
make[1]: *** [debian/rules2:1084: stamps/04-configure-stamp] Error 1
make[1]: Leaving directory '/home/ubuntu/gcc-8-8.3.0/gcc-8.3.0'
make: *** [debian/rules:70: binary] Error 2

Revision history for this message
miufullzero (mfz0721) said :
#8

patch -p1 < debian/rules.patch
patch: **** Only garbage was found in the patch input.

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

"debian/rules.patch" is not a patch file that has to be used with "patch ...", but this file is a makefile that has to be used with "make ...".

Have you tried the command dpkg-buildpackage? That should execute all steps in the right sequence.

Revision history for this message
miufullzero (mfz0721) said :
#10

dpkg-buildpackage I tried

Revision history for this message
Manfred Hampl (m-hampl) said :
#11

"dpkg-buildpackage I tried"

... and what was the result?

Revision history for this message
Launchpad Janitor (janitor) said :
#12

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.