File tree Expand file tree Collapse file tree 7 files changed +33
-0
lines changed Expand file tree Collapse file tree 7 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,12 @@ RUN set -ex \
80
80
&& rm uuid.tar.gz \
81
81
&& ( \
82
82
cd /usr/src/ossp-uuid \
83
+ && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
84
+ # explicitly update autoconf config.guess and config.sub so they support more arches/libcs
85
+ && wget -O config.guess "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" \
86
+ && wget -O config.sub "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" \
83
87
&& ./configure \
88
+ --build="$gnuArch" \
84
89
--prefix=/usr/local \
85
90
&& make -j "$(nproc)" \
86
91
&& make install \
@@ -94,6 +99,9 @@ RUN set -ex \
94
99
&& grep '/var/run/postgresql' src/include/pg_config_manual.h.new \
95
100
&& mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h \
96
101
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
102
+ # explicitly update autoconf config.guess and config.sub so they support more arches/libcs
103
+ && wget -O config/config.guess "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" \
104
+ && wget -O config/config.sub "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" \
97
105
# configure options taken from:
98
106
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
99
107
&& ./configure \
Original file line number Diff line number Diff line change @@ -80,7 +80,12 @@ RUN set -ex \
80
80
&& rm uuid.tar.gz \
81
81
&& ( \
82
82
cd /usr/src/ossp-uuid \
83
+ && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
84
+ # explicitly update autoconf config.guess and config.sub so they support more arches/libcs
85
+ && wget -O config.guess "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" \
86
+ && wget -O config.sub "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" \
83
87
&& ./configure \
88
+ --build="$gnuArch" \
84
89
--prefix=/usr/local \
85
90
&& make -j "$(nproc)" \
86
91
&& make install \
@@ -94,6 +99,9 @@ RUN set -ex \
94
99
&& grep '/var/run/postgresql' src/include/pg_config_manual.h.new \
95
100
&& mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h \
96
101
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
102
+ # explicitly update autoconf config.guess and config.sub so they support more arches/libcs
103
+ && wget -O config/config.guess "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" \
104
+ && wget -O config/config.sub "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" \
97
105
# configure options taken from:
98
106
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
99
107
&& ./configure \
Original file line number Diff line number Diff line change @@ -71,6 +71,9 @@ RUN set -ex \
71
71
&& grep '/var/run/postgresql' src/include/pg_config_manual.h.new \
72
72
&& mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h \
73
73
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
74
+ # explicitly update autoconf config.guess and config.sub so they support more arches/libcs
75
+ && wget -O config/config.guess "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" \
76
+ && wget -O config/config.sub "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" \
74
77
# configure options taken from:
75
78
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
76
79
&& ./configure \
Original file line number Diff line number Diff line change @@ -71,6 +71,9 @@ RUN set -ex \
71
71
&& grep '/var/run/postgresql' src/include/pg_config_manual.h.new \
72
72
&& mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h \
73
73
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
74
+ # explicitly update autoconf config.guess and config.sub so they support more arches/libcs
75
+ && wget -O config/config.guess "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" \
76
+ && wget -O config/config.sub "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" \
74
77
# configure options taken from:
75
78
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
76
79
&& ./configure \
Original file line number Diff line number Diff line change @@ -71,6 +71,9 @@ RUN set -ex \
71
71
&& grep '/var/run/postgresql' src/include/pg_config_manual.h.new \
72
72
&& mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h \
73
73
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
74
+ # explicitly update autoconf config.guess and config.sub so they support more arches/libcs
75
+ && wget -O config/config.guess "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" \
76
+ && wget -O config/config.sub "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" \
74
77
# configure options taken from:
75
78
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
76
79
&& ./configure \
Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ RUN set -ex \
73
73
&& grep '/var/run/postgresql' src/include/pg_config_manual.h.new \
74
74
&& mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h \
75
75
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
76
+ # explicitly update autoconf config.guess and config.sub so they support more arches/libcs
77
+ && wget -O config/config.guess "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" \
78
+ && wget -O config/config.sub "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" \
76
79
# configure options taken from:
77
80
# https://anonscm.debian.org/cgit/pkg-postgresql/postgresql.git/tree/debian/rules?h=9.5
78
81
&& ./configure \
Original file line number Diff line number Diff line change 11
11
&& rm uuid.tar.gz \
12
12
&& ( \
13
13
cd /usr/src/ossp-uuid \
14
+ && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
15
+ # explicitly update autoconf config.guess and config.sub so they support more arches/libcs
16
+ && wget -O config.guess "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" \
17
+ && wget -O config.sub "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" \
14
18
&& ./configure \
19
+ --build="$gnuArch" \
15
20
--prefix=/usr/local \
16
21
&& make -j "$(nproc)" \
17
22
&& make install \
You can’t perform that action at this time.
0 commit comments