[winswitch] Unable to build xpra-2.0 on Slackware64 14.2
YuGiOhJCJ Mailing-List
yugiohjcj-mailinglist at laposte.net
Mon Apr 24 19:54:17 BST 2017
OK, now I am using the "--without-dec_avcodec2" and "--without-enc_ffmpeg" options and it compiles fine.
However, I am not able to use xpra.
Indeed, I did 4 tests and all have failed:
1. On my x86 machine, in an X terminal, in a window manager
2. On my x86 machine, in an interactive login shell, without any X xerver launched
3. On my x86_64 machine, in an interactive login shell, without any X xerver launched
4. On my x86_64 machine, in an X terminal, in a window manager
1. On my i686 machine, in an X terminal, in a window manager
-----------------------------------------------------------
$ xpra start --start=urxvt
2017-04-24 20:08:01,063 Warning: rencode import failed:
2017-04-24 20:08:01,063 No module named rencode
Entering daemon mode; any further errors will be reported to:
/home/yugiohjcj/.xpra/S9443.log
$ cat .xpra/S9443.log
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
X.Org X Server 1.16.0
Release Date: 2014-07-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.15.8-desktop i686
Current Operating System: Linux laptop 3.18.20-laptop #1 SMP Tue Aug 18 16:41:13 CEST 2015 i686
Kernel command line: BOOT_IMAGE=Linux-3.18.20 ro root=802 vt.default_utf8=0
Build Date: 13 August 2014 09:03:53AM
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/home/yugiohjcj/.xpra/Xorg.S9443.log", Time: Mon Apr 24 20:08:01 2017
(++) Using config file: "/tmp/python-xpra-2.0.2/etc/xpra/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) module ABI major version (14) doesn't match the server's version (18)
(EE) module ABI major version (19) doesn't match the server's version (21)
(EE) module ABI major version (19) doesn't match the server's version (21)
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/home/yugiohjcj/.xpra/Xorg.S9443.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
2. On my i686 machine, in an interactive login shell, without any X xerver launched
-----------------------------------------------------------------------------------
$ xpra start --start=urxvt
2017-04-24 20:15:33,286 Warning: rencode import failed:
2017-04-24 20:15:33,287 No module named rencode
Entering daemon mode; any further errors will be reported to:
/home/yugiohjcj/.xpra/S9488.log
$ cat .xpra/S9488.log
X.Org X Server 1.16.0
Release Date: 2014-07-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.15.8-desktop i686
Current Operating System: Linux laptop 3.18.20-laptop #1 SMP Tue Aug 18 16:41:13 CEST 2015 i686
Kernel command line: BOOT_IMAGE=Linux-3.18.20 ro root=802 vt.default_utf8=0
Build Date: 13 August 2014 09:03:53AM
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/home/yugiohjcj/.xpra/Xorg.S9488.log", Time: Mon Apr 24 20:15:33 2017
(++) Using config file: "/tmp/python-xpra-2.0.2/etc/xpra/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) module ABI major version (14) doesn't match the server's version (18)
(EE) module ABI major version (19) doesn't match the server's version (21)
(EE) module ABI major version (19) doesn't match the server's version (21)
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/home/yugiohjcj/.xpra/Xorg.S9488.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
2017-04-24 20:15:43,329 Error starting Xvfb:
2017-04-24 20:15:43,331 xpra_Xdummy did not provide a display number using -displayfd
3. On my x64 machine, in an interactive login shell, without any X xerver launched
----------------------------------------------------------------------------------
$ xpra start --start=urxvt
2017-04-24 20:30:36,262 Warning: rencode import failed:
2017-04-24 20:30:36,262 No module named rencode
Entering daemon mode; any further errors will be reported to:
/home/yugiohjcj/.xpra/S9113.log
$ cat .xpra/S9113.log
Failed to rename log file "/home/yugiohjcj/.xpra/Xorg.S9113.log" to "/home/yugiohjcj/.xpra/Xorg.S9113.log": No such file or directory
X.Org X Server 1.18.3
Release Date: 2016-04-04
X Protocol Version 11, Revision 0
Build Operating System: Slackware 14.2 Slackware Linux Project
Current Operating System: Linux desktop 4.9.24-desktop #1 SMP Mon Apr 24 10:54:11 CEST 2017 x86_64
Kernel command line: BOOT_IMAGE=dev000:\EFI\SLACKWARE\vmlinuz root=/dev/sda3 vga=normal ro ro
Build Date: 15 April 2016 11:05:21AM
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/home/yugiohjcj/.xpra/Xorg.S9113.log", Time: Mon Apr 24 20:30:36 2017
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/home/yugiohjcj/.xpra/Xorg.S9113.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
2017-04-24 20:30:46,469 Error starting Xvfb:
2017-04-24 20:30:46,469 xpra_Xdummy did not provide a display number using -displayfd
4. On my x86_64 machine, in an X terminal, in a window manager
-------------------------------------------------------------
$ xpra start --start=urxvt
2017-04-24 20:36:02,000 Warning: rencode import failed:
2017-04-24 20:36:02,000 No module named rencode
Entering daemon mode; any further errors will be reported to:
/home/yugiohjcj/.xpra/S9210.log
$ cat .xpra/S9210.log
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
Failed to rename log file "/home/yugiohjcj/.xpra/Xorg.S9210.log" to "/home/yugiohjcj/.xpra/Xorg.S9210.log": No such file or directory
X.Org X Server 1.18.3
Release Date: 2016-04-04
X Protocol Version 11, Revision 0
Build Operating System: Slackware 14.2 Slackware Linux Project
Current Operating System: Linux desktop 4.9.24-desktop #1 SMP Mon Apr 24 10:54:11 CEST 2017 x86_64
Kernel command line: BOOT_IMAGE=dev000:\EFI\SLACKWARE\vmlinuz root=/dev/sda3 vga=normal ro ro
Build Date: 15 April 2016 11:05:21AM
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/home/yugiohjcj/.xpra/Xorg.S9210.log", Time: Mon Apr 24 20:36:03 2017
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/home/yugiohjcj/.xpra/Xorg.S9210.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
2017-04-24 20:36:13,779 Error starting Xvfb:
2017-04-24 20:36:13,780 xpra_Xdummy did not provide a display number using -displayfd
>From above, I see some errors like:
* server already running
* no screens found
* xpra_Xdummy did not provide a display number using -displayfd
* parse_vt_settings: Cannot open /dev/tty0
But I am not sure to understand what I am doing wrong.
Can you explain me please?
On Mon, 24 Apr 2017 12:37:37 +0700
Antoine Martin <antoine at nagafix.co.uk> wrote:
> On 23/04/17 19:59, YuGiOhJCJ Mailing-List wrote:
> > OK, now I am using xpra 2.0.2 and the "--without-strict" option:
> > ---
> > $ python setup.py install --without-strict
> (snip)
> > gcc -pthread -shared build/temp.linux-x86_64-2.7/xpra/codecs/libav_common/av_log.o -L/usr/lib64 -lavutil -lpython2.7 -o build/lib.linux-x86_64-2.7/xpra/codecs/libav_common/av_log.so -Wall
> > building 'xpra.codecs.dec_avcodec2.decoder' extension
> > creating build/temp.linux-x86_64-2.7/xpra/codecs/dec_avcodec2
> > gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c xpra/codecs/dec_avcodec2/decoder.c -o build/temp.linux-x86_64-2.7/xpra/codecs/dec_avcodec2/decoder.o -Wall -fPIC
> > xpra/codecs/dec_avcodec2/decoder.c: In function ‘__pyx_pf_4xpra_6codecs_12dec_avcodec2_7decoder_7Decoder_26decompress_image’:
> > xpra/codecs/dec_avcodec2/decoder.c:8244:23: warning: implicit declaration of function ‘avcodec_send_packet’ [-Wimplicit-function-declaration]
> > __pyx_v_ret = avcodec_send_packet(__pyx_v_self->codec_ctx, (&__pyx_v_avpkt));
> > ^
> > xpra/codecs/dec_avcodec2/decoder.c:8425:23: warning: implicit declaration of function ‘avcodec_receive_frame’ [-Wimplicit-function-declaration]
> > __pyx_v_ret = avcodec_receive_frame(__pyx_v_self->codec_ctx, __pyx_v_self->av_frame);
> > ^
>
> (snip)
> > building 'xpra.codecs.enc_ffmpeg.encoder' extension
> > creating build/temp.linux-x86_64-2.7/xpra/codecs/enc_ffmpeg
> > gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c xpra/codecs/enc_ffmpeg/encoder.c -o build/temp.linux-x86_64-2.7/xpra/codecs/enc_ffmpeg/encoder.o -Wall -fPIC
> > xpra/codecs/enc_ffmpeg/encoder.c: In function ‘__pyx_pf_4xpra_6codecs_10enc_ffmpeg_7encoder_7Encoder_2init_encoder’:
> > xpra/codecs/enc_ffmpeg/encoder.c:7934:15: warning: implicit declaration of function ‘avcodec_parameters_from_context’ [-Wimplicit-function-declaration]
> > __pyx_v_r = avcodec_parameters_from_context(__pyx_v_self->video_stream->codecpar, __pyx_v_self->video_ctx);
> > ^
> > xpra/codecs/enc_ffmpeg/encoder.c:7934:73: error: ‘AVStream {aka struct AVStream}’ has no member named ‘codecpar’
> > __pyx_v_r = avcodec_parameters_from_context(__pyx_v_self->video_stream->codecpar, __pyx_v_self->video_ctx);
> > ^
> > xpra/codecs/enc_ffmpeg/encoder.c:7953:78: error: ‘AVStream {aka struct AVStream}’ has no member named ‘codecpar’
> > __pyx_t_2 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_self->video_stream->codecpar)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 926; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
> > ^
> > xpra/codecs/enc_ffmpeg/encoder.c:8367:75: error: ‘AVStream {aka struct AVStream}’ has no member named ‘codecpar’
> > __pyx_v_r = avcodec_parameters_from_context(__pyx_v_self->audio_stream->codecpar, __pyx_v_self->audio_ctx);
> > ^
> > xpra/codecs/enc_ffmpeg/encoder.c:8386:80: error: ‘AVStream {aka struct AVStream}’ has no member named ‘codecpar’
> > __pyx_t_4 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_self->audio_stream->codecpar)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 957; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
> > ^
> > xpra/codecs/enc_ffmpeg/encoder.c: In function ‘__pyx_pf_4xpra_6codecs_10enc_ffmpeg_7encoder_7Encoder_32compress_image’:
> > xpra/codecs/enc_ffmpeg/encoder.c:12372:23: warning: implicit declaration of function ‘avcodec_send_frame’ [-Wimplicit-function-declaration]
> > __pyx_v_ret = avcodec_send_frame(__pyx_v_self->video_ctx, __pyx_v_frame);
> > ^
> > xpra/codecs/enc_ffmpeg/encoder.c:12572:25: warning: implicit declaration of function ‘avcodec_receive_packet’ [-Wimplicit-function-declaration]
> > __pyx_v_ret = avcodec_receive_packet(__pyx_v_self->video_ctx, (&__pyx_v_avpkt));
> > ^
> > xpra/codecs/enc_ffmpeg/encoder.c: In function ‘initencoder’:
> > xpra/codecs/enc_ffmpeg/encoder.c:16412:36: error: ‘FF_PROFILE_H264_MULTIVIEW_HIGH’ undeclared (first use in this function)
> > __pyx_t_3 = __Pyx_PyInt_From_int(FF_PROFILE_H264_MULTIVIEW_HIGH); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
> > ^
> > xpra/codecs/enc_ffmpeg/encoder.c:16412:36: note: each undeclared identifier is reported only once for each function it appears in
> > xpra/codecs/enc_ffmpeg/encoder.c:16448:36: error: ‘FF_PROFILE_H264_STEREO_HIGH’ undeclared (first use in this function)
> > __pyx_t_3 = __Pyx_PyInt_From_int(FF_PROFILE_H264_STEREO_HIGH); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 452; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
> > ^
> > xpra/codecs/enc_ffmpeg/encoder.c:16731:36: error: ‘AV_OPT_TYPE_BOOL’ undeclared (first use in this function)
> > __pyx_t_4 = __Pyx_PyInt_From_int(AV_OPT_TYPE_BOOL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 478; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
> > ^
> > error: command 'gcc' failed with exit status 1
> > ---
> >
> > Is there an incompatibility between my ffmpeg and my xpra versions?
> Yes. We require ffmpeg 3.1 or later.
>
> > I am using ffmpeg-2.8.7 (built from source code, not the one provided by my distro).
> (strange choice, since the latest version from the 2.8 branch is 2.8.11)
>
> In any case, you have to use a supported version of ffmpeg or disable
> the codec that break: --without-dec_avcodec2 --without-enc_ffmpeg
>
> Cheers
> Antoine
More information about the shifter-users
mailing list