! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Can't build git master: engines/mice/preview.h: No such file or directory
Status:
RESOLVED: INVALID
Product:
Xfce4-session
Component:
General

Comments

Description Paulo Marcel Coelho Aragão 2018-07-09 17:04:46 CEST
Trying to build git master on Xubuntu 18.04, make fails:

make[4]: Entering directory '/home/paulo/src/xfce4-session/engines/mice'
  CC       libmice_la-mice.lo
mice.c:33:10: fatal error: engines/mice/preview.h: No such file or directory
 #include <engines/mice/preview.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~
Comment 1 Andre Miranda editbugs 2018-07-12 05:32:33 CEST
I have a Xubuntu 18.10 VM around and it was able to build xfce4-session successfully.
That header file is generated by gdk-pixbuf-csource, please check if that command is valid and if you have the libgdk-pixbuf2.0-dev package installed.
Comment 2 Paulo Marcel Coelho Aragão 2018-07-12 09:18:49 CEST
libgdk-pixbuf2.0-dev was already installed:

paulo:~$ apt policy  libgdk-pixbuf2.0-dev
libgdk-pixbuf2.0-dev:
  Installed: 2.36.11-2
  Candidate: 2.36.11-2
  Version table:
 *** 2.36.11-2 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status

Checked /var/log/apt, it was installed on 2018/04/28.

and gdk-pixbuf-csource can be run:

paulo:~$ gdk-pixbuf-csource
Usage: gdk-pixbuf-csource-3.0 [options] [image]
       gdk-pixbuf-csource-3.0 [options] --build-list [[name image]...]
  --stream                   generate pixbuf data stream
  --struct                   generate GdkPixdata structure
  --macros                   generate image size/pixel macros
  --rle                      use one byte run-length-encoding
  --raw                      provide raw image data copy
  --extern                   generate extern symbols
  --static                   generate static symbols
  --decoder                  provide rle decoder
  --name=identifier          C macro/variable name
  --build-list               parse (name, image) pairs
  -h, --help                 show this help message
  -v, --version              print version informations
  --g-fatal-warnings         make warnings fatal (abort)

Weird, I ran autogen.sh and make again, collecting the output to paste here, and the build completed OK.  libgdk-pixbuf2.0-dev has been installed since 2018-04-28, so I'm at a loss to know what changed since 2018-07-09 that might have "fixed" the issue.

Thanks for your pointer ! I don't see any buttons to close the issue, so I suppose I can't do it myself.
Comment 3 Paulo Marcel Coelho Aragão 2018-07-12 09:30:42 CEST
I wonder if you could help me out: I wanted to build xfce4-session from git master because of (from NEWS):

- xfsm now does session management for clients using the Gtk application                                                                                                                          
  dbus interface.                                                                                                                                                                                 
- xfsm has been ported to GDBus.                                                                                                                                                                  

I use quodlibet to manage my music, and quodlibet was always abruptly killed on logout, so I opened an issue and the team implemented registering the client with a session manager via D-Bus. But xfce4-session 4.12.1 doesn't implement client registering using D-Bus, hence my need to build it from source to test that.

My doubt is: can I use this xfce4-session 4.13 that I built from source with my xfce 4.12.1 stock install without disrupting everything ? I was afraid of restarting xfce and not being able to revert it in case there were serious incompatibilities. So I uninstalled what I built.
Comment 4 Andre Miranda editbugs 2018-07-13 04:11:28 CEST
I think so, not 100% sure, since this is one of components I never actually touched its code :)
You can make install and see if it works well. In the worst scenario you won't be able to login, but it's easy to access a TTY and revert the damage.
By the way, Xubuntu 18.10 is already shipping 4.13 components, I don't know Ubuntu very well, maybe you can use the xfce4-session package from that version.
Comment 5 Paulo Marcel Coelho Aragão 2018-07-13 05:08:06 CEST
Thanks ! I'll try and post back the result, for the record.

I checked xfce4-session here:

https://packages.ubuntu.com/search?keywords=xfce4-session

and it still shows 4.12.1 for 18.10.

Bug #14528

Reported by:
Paulo Marcel Coelho Aragão
Reported on: 2018-07-09
Last modified on: 2018-07-13

People

Assignee:
Xfce Bug Triage
CC List:
3 users

Version

Version:
4.13.0

Attachments

Additional information