Stop installing intltool package into Alpine and CentOS CI images (!107)
... as the GParted build no longer uses it. (Intltool is not explicitly installed into the Ubuntu CI image). However removing intltool from the GitLab CentOS Continuous Integration image causes the build job to fail like this: $ ./autogen.sh ... **Warning**: I am going to run `configure' with no arguments. If you wish to pass any to it, please specify them on the `./autogen.sh' command line. Processing ./configure.ac Running autoreconf... autoreconf: Entering directory `.' autoreconf: running: autopoint --force Can't exec "autopoint": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 345. autoreconf: failed to run autopoint: No such file or directory autoreconf: autopoint is needed because this package uses Gettext This is because on CentOS 7 autopoint is provided by the gettext-devel package which was installed as a requirement for intltool. Fix the build by explicitly installing the package. (On Alpine Linux the gettext-dev package is automatically installed and on Ubuntu the autopoint package is automatically installed so those CI images don't need to explicitly include the relevant package). Closes !107 - Migrate from intltool to gettext translation
This commit is contained in:
parent
8450d8c605
commit
0e46d6a7de
|
@ -9,8 +9,8 @@ stages:
|
|||
- cat /proc/version
|
||||
- cat /etc/os-release
|
||||
- apk update
|
||||
- apk add gnome-common yelp-tools automake autoconf glib-dev intltool
|
||||
libtool g++ parted-dev gtkmm3-dev itstool make git polkit-dev
|
||||
- apk add gnome-common yelp-tools automake autoconf glib-dev libtool g++
|
||||
parted-dev gtkmm3-dev itstool make git polkit-dev
|
||||
# Extra packages only needed during the test stage.
|
||||
- apk add btrfs-progs btrfs-progs-extra e2fsprogs e2fsprogs-extra exfatprogs
|
||||
dosfstools mtools f2fs-tools jfsutils cryptsetup lvm2 udftools
|
||||
|
@ -23,9 +23,9 @@ stages:
|
|||
- cat /proc/version
|
||||
- cat /etc/os-release
|
||||
- yum update -y
|
||||
- yum install -y which gnome-common yelp-tools glib2-devel intltool
|
||||
gcc-c++ libuuid-devel parted-devel gtkmm30-devel make
|
||||
polkit file polkit-devel
|
||||
- yum install -y which gnome-common yelp-tools glib2-devel gcc-c++
|
||||
libuuid-devel parted-devel gtkmm30-devel make polkit file
|
||||
polkit-devel gettext-devel
|
||||
# Extra packages only needed during the test stage.
|
||||
# Install EPEL repo first for f2fs-tools and ntfsprogs.
|
||||
- yum install -y epel-release
|
||||
|
|
Loading…
Reference in New Issue