ostree fix build with new toolchain
This commit is contained in:
@@ -15,12 +15,10 @@ def setup():
|
|||||||
shelltools.system("env NOCONFIGURE=1 ./autogen.sh")
|
shelltools.system("env NOCONFIGURE=1 ./autogen.sh")
|
||||||
|
|
||||||
autotools.configure("--disable-silent-rules \
|
autotools.configure("--disable-silent-rules \
|
||||||
--enable-gtk-doc \
|
|
||||||
--without-selinux \
|
--without-selinux \
|
||||||
--with-curl \
|
--with-curl \
|
||||||
--with-openssl \
|
--with-openssl \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-installed-tests=exclusive \
|
|
||||||
--enable-trivial-httpd-cmdline \
|
--enable-trivial-httpd-cmdline \
|
||||||
--disable-http2 \
|
--disable-http2 \
|
||||||
--without-dracut \
|
--without-dracut \
|
||||||
@@ -28,7 +26,6 @@ def setup():
|
|||||||
|
|
||||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||||
|
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
autotools.make()
|
autotools.make()
|
||||||
|
|
||||||
|
|||||||
+11
@@ -0,0 +1,11 @@
|
|||||||
|
diff -Nuar libostree-2018.8.orig/configure.ac libostree-2018.8/configure.ac
|
||||||
|
--- libostree-2018.8.orig/configure.ac 2018-08-22 16:53:53.000000000 +0300
|
||||||
|
+++ libostree-2018.8/configure.ac 2018-10-13 21:50:43.341668859 +0300
|
||||||
|
@@ -35,7 +35,6 @@
|
||||||
|
-Werror=empty-body \
|
||||||
|
-Werror=strict-prototypes \
|
||||||
|
-Werror=missing-prototypes \
|
||||||
|
- -Werror=implicit-function-declaration \
|
||||||
|
"-Werror=format=2 -Werror=format-security -Werror=format-nonliteral" \
|
||||||
|
-Werror=pointer-arith -Werror=init-self \
|
||||||
|
-Werror=missing-declarations \
|
||||||
@@ -12,9 +12,8 @@
|
|||||||
<IsA>app:console</IsA>
|
<IsA>app:console</IsA>
|
||||||
<Summary>Operating system and container binary deployment and upgrades</Summary>
|
<Summary>Operating system and container binary deployment and upgrades</Summary>
|
||||||
<Description>OSTree is a tool for managing bootable, immutable, versioned filesystem trees</Description>
|
<Description>OSTree is a tool for managing bootable, immutable, versioned filesystem trees</Description>
|
||||||
<Archive sha1sum="3248dda7bf73007f8bae0cf3c6007a425994a307" type="targz">https://github.com/ostreedev/ostree/archive/v2018.8.tar.gz</Archive>
|
<Archive sha1sum="c8dabfe09e987a15d99e4723be23f23da9f7bbb3" type="tarxz">https://github.com/ostreedev/ostree/releases/download/v2018.8/libostree-2018.8.tar.xz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>gtk-doc</Dependency>
|
|
||||||
<Dependency>glib2-devel</Dependency>
|
<Dependency>glib2-devel</Dependency>
|
||||||
<Dependency>xz-devel</Dependency>
|
<Dependency>xz-devel</Dependency>
|
||||||
<Dependency>zlib-devel</Dependency>
|
<Dependency>zlib-devel</Dependency>
|
||||||
@@ -32,7 +31,7 @@
|
|||||||
<Dependency>gnutls-devel</Dependency-->
|
<Dependency>gnutls-devel</Dependency-->
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
<Patch level="1">bsdiff_libglnx_submodule.patch</Patch>
|
<Patch level="1">disable_werror_implicit_funtion_declaraction.patch</Patch>
|
||||||
</Patches>
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
@@ -40,6 +39,9 @@
|
|||||||
<Name>ostree</Name>
|
<Name>ostree</Name>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>xz</Dependency>
|
<Dependency>xz</Dependency>
|
||||||
|
<Dependency>curl</Dependency>
|
||||||
|
<Dependency>avahi-glib</Dependency>
|
||||||
|
<Dependency>avahi-libs</Dependency>
|
||||||
<Dependency>zlib</Dependency>
|
<Dependency>zlib</Dependency>
|
||||||
<Dependency>fuse</Dependency>
|
<Dependency>fuse</Dependency>
|
||||||
<Dependency>glib2</Dependency>
|
<Dependency>glib2</Dependency>
|
||||||
@@ -49,7 +51,6 @@
|
|||||||
<Dependency>libgpg-error</Dependency>
|
<Dependency>libgpg-error</Dependency>
|
||||||
<Dependency>libutil-linux</Dependency>
|
<Dependency>libutil-linux</Dependency>
|
||||||
<Dependency>openssl</Dependency>
|
<Dependency>openssl</Dependency>
|
||||||
<Dependency>libgcc</Dependency>
|
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/usr/bin</Path>
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
@@ -70,6 +71,7 @@
|
|||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency release="current">ostree</Dependency>
|
<Dependency release="current">ostree</Dependency>
|
||||||
<Dependency>xz-devel</Dependency>
|
<Dependency>xz-devel</Dependency>
|
||||||
|
<Dependency>curl-devel</Dependency>
|
||||||
<Dependency>zlib-devel</Dependency>
|
<Dependency>zlib-devel</Dependency>
|
||||||
<Dependency>fuse-devel</Dependency>
|
<Dependency>fuse-devel</Dependency>
|
||||||
<Dependency>glib2-devel</Dependency>
|
<Dependency>glib2-devel</Dependency>
|
||||||
|
|||||||
Reference in New Issue
Block a user