Unable to build a *.flatpak for project

Gage Morgan gagemorgan at outlook.com
Tue Aug 2 00:18:14 UTC 2016


Originally posted at https://github.com/Christoffen-Corporation/logo-generator/issues/7. All files that were originally used are linked below, but if anyone is uncomfortable with direct links that automatically download the files to the Downloads folder, I'll attempt to attach them in the message as well (though I've never attached anything in a mailing list before).I'm having Flatpak troubles (I'm in Fedora 24):This is a project I've been working on to learn how different parts of a GNU/Linux system come together with each program. In this case, a Gtk+ application with a CLI backend, GNU Autotools, the works.So, I've tried thus far to get this repository to build locally using ``flatpak build``, but it gets through the process and then subsequently gives me:Failed to register: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknownI'm new to this, but the idea of each application (at least partially) being enclosed in its own OS-like environment is really cool. The output is in a shell script:----flatpak build-init logo-generator3 org.christoffen.Logogenerator3 org.gnome.Sdk org.gnome.Platform 3.20cd logo-generator-2.0.4flatpak build ../logo-generator3 ./configure --prefix=/appflatpak build ../logo-generator3 makeflatpak build ../logo-generator3 make installcd ..flatpak build-finish logo-generator3 --command=logogeneratorflatpak build-export repo logo-generator3flatpak --user remote-add --no-gpg-verify --if-not-exists logo-generator3-repo repoflatpak --user install logo-generator3-repo org.christoffen.Logogenerator3flatpak run org.christoffen.Logogenerator3----And I've outputted the results to a file and copied them here for further convenience (because I know that without exact output it may be difficult to help):----checking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /usr/bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking whether make supports nested variables... yeschecking for pkg-config... /usr/bin/pkg-configchecking pkg-config is at least version 0.9.0... yeschecking for CAIRO... yeschecking for GTK3... yeschecking for gcc... gccchecking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables... checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking whether gcc understands -c and -o together... yeschecking for style of include used by make... GNUchecking dependency style of gcc... gcc3checking that generated files are newer than configure... doneconfigure: creating ./config.statusconfig.status: creating Makefileconfig.status: creating src/Makefileconfig.status: creating config.hconfig.status: config.h is unchangedconfig.status: executing depfiles commandsmake  all-recursivemake[1]: Entering directory '/home/mgagemorgan/flatpak/logo-generator-2.0.4'Making all in srcmake[2]: Entering directory '/home/mgagemorgan/flatpak/logo-generator-2.0.4/src'make[2]: Nothing to be done for 'all'.make[2]: Leaving directory '/home/mgagemorgan/flatpak/logo-generator-2.0.4/src'make[2]: Entering directory '/home/mgagemorgan/flatpak/logo-generator-2.0.4'make[2]: Leaving directory '/home/mgagemorgan/flatpak/logo-generator-2.0.4'make[1]: Leaving directory '/home/mgagemorgan/flatpak/logo-generator-2.0.4'Making install in srcmake[1]: Entering directory '/home/mgagemorgan/flatpak/logo-generator-2.0.4/src'make[2]: Entering directory '/home/mgagemorgan/flatpak/logo-generator-2.0.4/src' /usr/bin/mkdir -p '/app/bin'  /usr/bin/install -c ../logogenerator '/app/bin'make[2]: Nothing to be done for 'install-data-am'.make[2]: Leaving directory '/home/mgagemorgan/flatpak/logo-generator-2.0.4/src'make[1]: Leaving directory '/home/mgagemorgan/flatpak/logo-generator-2.0.4/src'make[1]: Entering directory '/home/mgagemorgan/flatpak/logo-generator-2.0.4'make[2]: Entering directory '/home/mgagemorgan/flatpak/logo-generator-2.0.4'make[2]: Nothing to be done for 'install-exec-am'.make[2]: Nothing to be done for 'install-data-am'.make[2]: Leaving directory '/home/mgagemorgan/flatpak/logo-generator-2.0.4'make[1]: Leaving directory '/home/mgagemorgan/flatpak/logo-generator-2.0.4'Please review the exported files and the metadataCommit: c585870711450e45f0b6c19aefee27ab11d9729d84ea06fee81a99d295c2fe03Metadata Total: 9Metadata Written: 2Content Total: 2Content Written: 1Content Bytes Written: 167 (167 bytes)----Also, I have an image of the terminal's error after I ran the script (because this was originally uploaded to GitHub, but I'll try to attach as well):https://cloud.githubusercontent.com/assets/13326489/17311624/b68c64c6-581a-11e6-8b42-c36ed6ef439c.pngAnd I'll also include the direct files (specifically, the script and the results):build.sh:https://github.com/Christoffen-Corporation/logo-generator/files/394933/build.sh.txt(rename and take off the .txt to turn back to shell)results.txt:https://github.com/Christoffen-Corporation/logo-generator/files/394934/results.txtThanks in advance for any help.--MGage Morgan  		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20160801/53e88011/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: results.txt
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20160801/53e88011/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: build.sh.txt
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20160801/53e88011/attachment-0001.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2016-08-01 19-00-34.png
Type: image/png
Size: 15533 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20160801/53e88011/attachment.png>


More information about the xdg-app mailing list