scarygliders/X11RDP-o-Matic

Can not build XRDP debel branch. -- metalefty/X11RDP-o-Matic rootless branch

Closed this issue · 6 comments

Can not build xrdp with metalefty/X11RDP-o-Matic rootless branch.
And no way to reporting issue in 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

It seems you're trying to build master branch.

dpkg-source: info: building xrdp using existing ./xrdp_0.9.0~20160302+gitf422461+master.orig.tar.xz
                                                                                 ~~~~~~

It doesn't support master branch right now. You need to specify "--branch devel".

it doesn't support master branch, but need specify "--branch devel" ?

Yes, it depends on status of xrdp. After devel branch merged to master branch, it should support master branch.

It's understood. I completed build for xrdp.
Please document it to "README.md".

Thank you very very much.

I merged rootless to devel branch. I'll complete the document before merging devel into master.