xfce4-terminal not executable?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

xfce4-terminal not executable?

John Found
After some Manjaro Linux update, I noticed that xfce4-terminal is not "executable" file anymore, but recognized as "shared library".

I know that in Linux it is the same ELF format. And the terminal actually can be started from the icons/menus/console of XFCE.

But it is not recognized by WINE as a valid executable, so I can't start it from some Windows programs anymore.

Is this known and intentional change, or there is some bug in the build scripts? Or something else?

--
http://fresh.flatassembler.net
http://asm32.info
John Found <[hidden email]>
_______________________________________________
Xfce4-dev mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce4-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: xfce4-terminal not executable?

Igor Zakharov
25.07.2017, 09:53, "John Found" <[hidden email]>:
> After some Manjaro Linux update, I noticed that xfce4-terminal is not "executable" file anymore, but recognized as "shared library".
>
> I know that in Linux it is the same ELF format. And the terminal actually can be started from the icons/menus/console of XFCE.
>
> But it is not recognized by WINE as a valid executable, so I can't start it from some Windows programs anymore.
>
> Is this known and intentional change, or there is some bug in the build scripts? Or something else?

Hi John,

I'm not using WINE and cannot check it, but I can tell for sure that this wasn't an intentional change. In fact, I'm not even sure how the terminal binary could affect the way it's being recognized by WINE.
I'd rather guess it was a change in WINE itself or its internal configuration...

Regards,
Igor
_______________________________________________
Xfce4-dev mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce4-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: xfce4-terminal not executable?

Igor Zakharov
25.07.2017, 09:59, "Igor Zakharov" <[hidden email]>:

> 25.07.2017, 09:53, "John Found" <[hidden email]>:
>>  After some Manjaro Linux update, I noticed that xfce4-terminal is not "executable" file anymore, but recognized as "shared library".
>>
>>  I know that in Linux it is the same ELF format. And the terminal actually can be started from the icons/menus/console of XFCE.
>>
>>  But it is not recognized by WINE as a valid executable, so I can't start it from some Windows programs anymore.
>>
>>  Is this known and intentional change, or there is some bug in the build scripts? Or something else?
> I'm not using WINE and cannot check it, but I can tell for sure that this wasn't an intentional change. In fact, I'm not even sure how the terminal binary could affect the way it's being recognized by WINE.
> I'd rather guess it was a change in WINE itself or its internal configuration...

Please also see https://bugzilla.xfce.org/show_bug.cgi?id=13737 - I think this is probably the cause of your problem.

Regards,
Igor
_______________________________________________
Xfce4-dev mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce4-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: xfce4-terminal not executable?

Simon Marchi
In reply to this post by John Found
On 2017-07-25 15:19, John Found wrote:

> After some Manjaro Linux update, I noticed that xfce4-terminal is not
> "executable" file anymore, but recognized as "shared library".
>
> I know that in Linux it is the same ELF format. And the terminal
> actually can be started from the icons/menus/console of XFCE.
>
> But it is not recognized by WINE as a valid executable, so I can't
> start it from some Windows programs anymore.
>
> Is this known and intentional change, or there is some bug in the
> build scripts? Or something else?

Is it possible that with the update to your distro, the executables
started to be built as position-independent (PIE)?  IIRC, binaries built
this way have the ELF type "shared object", not sure why.  For example,
on Ubuntu 17.04 they are but on Ubuntu 16.04 they aren't:

ubuntu 17.04$ file /bin/ls
/bin/ls: ELF 64-bit LSB shared object, ...
ubuntu 17.04$ xxd -s 0x10 -l 1 /bin/ls
00000010: 03

ubuntu 16.04$ file /bin/ls
/bin/ls: ELF 64-bit LSB executable, ...
ubuntu 16.04$ xxd -s 0x10 -l 1 /bin/ls
00000010: 02

So the change is likely due to a change in how your distro builds
packages.  Some programs I use also tripped on this problem (e.g.
Eclipse CDT) and had to be updated accordingly.

Simon
_______________________________________________
Xfce4-dev mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce4-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: xfce4-terminal not executable?

John Found
On Tue, 25 Jul 2017 16:21:25 +0200
Simon Marchi <[hidden email]> wrote:

> Is it possible that with the update to your distro, the executables
> started to be built as position-independent (PIE)?  IIRC, binaries built
> this way have the ELF type "shared object", not sure why.  For example,
> on Ubuntu 17.04 they are but on Ubuntu 16.04 they aren't:

Yes, this seems to be the problem:

$file /usr/bin/xfce4-terminal
/usr/bin/xfce4-terminal: ELF 64-bit LSB shared object

$xxd -s 0x10 -l 1 /usr/bin/xfce4-terminal
00000010: 03

So, I will ask on the Manjaro forum and probably WINE mailing list.

Thanks.

--
http://fresh.flatassembler.net
http://asm32.info
John Found <[hidden email]>
_______________________________________________
Xfce4-dev mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce4-dev
Loading...