New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not build XRDP debel branch. #75

Closed
AkiraPenguin opened this Issue Oct 31, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@AkiraPenguin

AkiraPenguin commented Oct 31, 2016

On Ubuntu 16.04.1, I tried it.

$ git clone --depth 1 -b devel https://scarygliders/X11RDP-o-Matic.git
$ cd X11RDP-o-Matic/
$ sudo ./X11rdp-o-matic.sh --branch devel --nox11rdp --justdoit

And error occurred.

patching file buildx.sh
Hunk #1 FAILED at 250.
1 out of 1 hunk FAILED -- saving rejects to file buildx.sh.rej

I edited X11rdp-o-matic.sh.

   # Patch Jay's buildx.sh.
   # This will patch the make command for parallel makes if that was requested,
   # which should speed up compilation. It will make a backup copy of the original buildx.sh.
-  if $PARALLELMAKE
-  then
-    patch -b -d "$WORKINGDIR/xrdp/xorg/X11R7.6" buildx.sh < "$PATCHDIR/buildx_patch.diff"
-  fi
+#  if $PARALLELMAKE
+#  then
+#    patch -b -d "$WORKINGDIR/xrdp/xorg/X11R7.6" buildx.sh < "$PATCHDIR/buildx_patch.diff"
+#  fi
 
   # Patch rdp Makefile
   patch -b -d "$WORKINGDIR/xrdp/xorg/X11R7.6/rdp" Makefile < "$PATCHDIR/rdp_Make

And retied. Error Occurred.

cp: cannot stat 'prog_std.txt': No such file or directory
dh_installdocs: cp --reflink=auto -a prog_std.txt debian/xrdp/usr/share/doc/xrdp returned exit code 1
debian/rules:18: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
@metalefty

This comment has been minimized.

Show comment
Hide comment
@metalefty

metalefty Oct 31, 2016

Collaborator

I know it's broken. Use metalefty/X11RDP-o-Matic rootless branch or hang on new release.

Collaborator

metalefty commented Oct 31, 2016

I know it's broken. Use metalefty/X11RDP-o-Matic rootless branch or hang on new release.

@metalefty metalefty closed this Oct 31, 2016

@AkiraPenguin

This comment has been minimized.

Show comment
Hide comment
@AkiraPenguin

AkiraPenguin Oct 31, 2016

Can not build xrdp with metalefty/X11RDP-o-Matic rootless branch.

$ git clone --depth 1 -b rootless https://github.com/metalefty/X11RDP-o-Matic.git
$ cd X11RDP-o-Matic/
$ ./X11rdp-o-matic.sh --nox11rdp --noinstall --justdoit
...
Building packages started, please be patient...
Do the following command to see build progress.
    $ tail -f /tmp/tmp.PnrbM2SPHu.X11RDP-o-Matic/build.log
Using the following xrdp configuration: 
    --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-fuse --enable-jpeg --enable-opus


Oops, something going wrong around line: 395
See logs to get further information:
/tmp/tmp.PnrbM2SPHu.X11RDP-o-Matic/build.log
/tmp/tmp.PnrbM2SPHu.X11RDP-o-Matic/sudo.log
/tmp/tmp.PnrbM2SPHu.X11RDP-o-Matic/apt.log
Exitting...

/tmp/tmp.PnrbM2SPHu.X11RDP-o-Matic/build.log

Cloning into '/tmp/tmp.PnrbM2SPHu.X11RDP-o-Matic/xrdp'...
Submodule 'librfxcodec' (https://github.com/neutrinolabs/librfxcodec) registered for path 'librfxcodec'
Submodule 'xorgxrdp' (https://github.com/neutrinolabs/xorgxrdp) registered for path 'xorgxrdp'
Cloning into 'librfxcodec'...
Submodule path 'librfxcodec': checked out '61f6e92ecdfd057215da7932b6afefcbfa928446'
Cloning into 'xorgxrdp'...
Submodule path 'xorgxrdp': checked out '68412e5b93d9c41c1e0f3f0e6c4d11c68754fe5f'
patching file Makefile
Hunk #1 succeeded at 42 with fuzz 2 (offset 1 line).
Email-Address       : taniguchi@unknown
License             : apache
Package Name        : xrdp
Maintainer Name     : Taniguchi
Version             : 0.9.0~20160302+gitf422461+master
Package Type        : single
Date                : Mon, 31 Oct 2016 16:12:10 +0900
Currently there is not top level Makefile. This mayrequire additional tuning
Done. Please edit the files in the debian/ subdirectory now.

dpkg-buildpackage: source package xrdp
dpkg-buildpackage: source version 0.9.0~20160302+gitf422461+master-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Taniguchi <taniguchi@unknown>
 dpkg-source --before-build xrdp-0.9.0~20160302+gitf422461+master
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean --with systemd
   dh_testdir
   dh_auto_clean
   dh_clean
 dpkg-source -b xrdp-0.9.0~20160302+gitf422461+master
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building xrdp using existing ./xrdp_0.9.0~20160302+gitf422461+master.orig.tar.xz
patching file Makefile.am
Hunk #1 succeeded at 20 (offset -4 lines).
Hunk #2 succeeded at 28 (offset -4 lines).
patching file common/Makefile.am
Hunk #1 FAILED at 47.
1 out of 1 hunk FAILED
patching file configure.ac
Hunk #1 FAILED at 246.
1 out of 1 hunk FAILED
dpkg-source: info: the patch has fuzz which is not allowed, or is malformed
dpkg-source: info: if patch 'make-fixes.diff' is correctly applied by quilt, use 'quilt refresh' to update it
dpkg-source: error: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -E -b -B .pc/make-fixes.diff/ --reject-file=- < xrdp-0.9.0~20160302+gitf422461+master.orig.NpypKY/debian/patches/make-fixes.diff gave error exit status 1
dpkg-buildpackage: error: dpkg-source -b xrdp-0.9.0~20160302+gitf422461+master gave error exit status 2

And no way for issue to rootless branch.

AkiraPenguin commented Oct 31, 2016

Can not build xrdp with metalefty/X11RDP-o-Matic rootless branch.

$ git clone --depth 1 -b rootless https://github.com/metalefty/X11RDP-o-Matic.git
$ cd X11RDP-o-Matic/
$ ./X11rdp-o-matic.sh --nox11rdp --noinstall --justdoit
...
Building packages started, please be patient...
Do the following command to see build progress.
    $ tail -f /tmp/tmp.PnrbM2SPHu.X11RDP-o-Matic/build.log
Using the following xrdp configuration: 
    --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-fuse --enable-jpeg --enable-opus


Oops, something going wrong around line: 395
See logs to get further information:
/tmp/tmp.PnrbM2SPHu.X11RDP-o-Matic/build.log
/tmp/tmp.PnrbM2SPHu.X11RDP-o-Matic/sudo.log
/tmp/tmp.PnrbM2SPHu.X11RDP-o-Matic/apt.log
Exitting...

/tmp/tmp.PnrbM2SPHu.X11RDP-o-Matic/build.log

Cloning into '/tmp/tmp.PnrbM2SPHu.X11RDP-o-Matic/xrdp'...
Submodule 'librfxcodec' (https://github.com/neutrinolabs/librfxcodec) registered for path 'librfxcodec'
Submodule 'xorgxrdp' (https://github.com/neutrinolabs/xorgxrdp) registered for path 'xorgxrdp'
Cloning into 'librfxcodec'...
Submodule path 'librfxcodec': checked out '61f6e92ecdfd057215da7932b6afefcbfa928446'
Cloning into 'xorgxrdp'...
Submodule path 'xorgxrdp': checked out '68412e5b93d9c41c1e0f3f0e6c4d11c68754fe5f'
patching file Makefile
Hunk #1 succeeded at 42 with fuzz 2 (offset 1 line).
Email-Address       : taniguchi@unknown
License             : apache
Package Name        : xrdp
Maintainer Name     : Taniguchi
Version             : 0.9.0~20160302+gitf422461+master
Package Type        : single
Date                : Mon, 31 Oct 2016 16:12:10 +0900
Currently there is not top level Makefile. This mayrequire additional tuning
Done. Please edit the files in the debian/ subdirectory now.

dpkg-buildpackage: source package xrdp
dpkg-buildpackage: source version 0.9.0~20160302+gitf422461+master-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Taniguchi <taniguchi@unknown>
 dpkg-source --before-build xrdp-0.9.0~20160302+gitf422461+master
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean --with systemd
   dh_testdir
   dh_auto_clean
   dh_clean
 dpkg-source -b xrdp-0.9.0~20160302+gitf422461+master
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building xrdp using existing ./xrdp_0.9.0~20160302+gitf422461+master.orig.tar.xz
patching file Makefile.am
Hunk #1 succeeded at 20 (offset -4 lines).
Hunk #2 succeeded at 28 (offset -4 lines).
patching file common/Makefile.am
Hunk #1 FAILED at 47.
1 out of 1 hunk FAILED
patching file configure.ac
Hunk #1 FAILED at 246.
1 out of 1 hunk FAILED
dpkg-source: info: the patch has fuzz which is not allowed, or is malformed
dpkg-source: info: if patch 'make-fixes.diff' is correctly applied by quilt, use 'quilt refresh' to update it
dpkg-source: error: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -E -b -B .pc/make-fixes.diff/ --reject-file=- < xrdp-0.9.0~20160302+gitf422461+master.orig.NpypKY/debian/patches/make-fixes.diff gave error exit status 1
dpkg-buildpackage: error: dpkg-source -b xrdp-0.9.0~20160302+gitf422461+master gave error exit status 2

And no way for issue to rootless branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment