FIleHandler.vala causes build error

Bug #1432076 reported by Ken Harkey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Power Installer
Fix Committed
Undecided
Unassigned

Bug Description

Hey boss, ran a new build after you said you updated libarchive dependency and I am now running into this build error:

/build/buildd/power-installer-1/src/Backend/FileHandler.vala:109.13-109.35: error: The name `support_filter_all' does not exist in the context of `Archive.Read'
            read.support_filter_all();
            ^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
make[3]: *** [src/power-installer_valac.stamp] Error 1
make[3]: Leaving directory `/build/buildd/power-installer-1/obj-x86_64-linux-gnu'
make[2]: *** [src/CMakeFiles/power-installer.dir/all] Error 2
make[2]: Leaving directory `/build/buildd/power-installer-1/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/power-installer-1/obj-x86_64-linux-gnu'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

You can check out the full build log here:
https://launchpad.net/~justsomedood/+archive/ubuntu/justsomeelementary/+build/7060199/+files/buildlog_ubuntu-trusty-amd64.power-installer_1%3A1-0nightly%7E65%2B20150310%7Eubuntu0.3.1_BUILDING.txt.gz (amd64)

https://launchpad.net/~justsomedood/+archive/ubuntu/justsomeelementary/+build/7060200/+files/buildlog_ubuntu-trusty-i386.power-installer_1%3A1-0nightly%7E65%2B20150310%7Eubuntu0.3.1_BUILDING.txt.gz (i386)

Revision history for this message
Adam Bieńkowski (donadigo) wrote :

Well for this time I just removed it from the code but it does exist in the LibArchive documentation and it fails to build only on the Launchpad...

Changed in power-installer:
status: New → Triaged
Revision history for this message
Ken Harkey (kenny727) wrote :

Power installer now builds fine for my ppa. Really strange that it would build locally but not in launchpad. Perhaps it's an issue with debuild or dpkg-buildpackage or whatever.

Revision history for this message
Adam Bieńkowski (donadigo) wrote :

I changed support_filter_all to: support_compression_all in order to support all archive extensions and it builds fine on Launchpad now. I think I need to provide VAPI file to use support_filter_all...

Changed in power-installer:
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.