Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lu Xu
slapos
Commits
45299ea7
Commit
45299ea7
authored
Apr 11, 2019
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Plain Diff
Update Release Candidate
parents
8ef54ba7
ffb1fada
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
66 additions
and
21 deletions
+66
-21
component/golang/buildout.cfg
component/golang/buildout.cfg
+2
-2
component/helloweb/buildout.cfg
component/helloweb/buildout.cfg
+1
-1
component/perl/0001-Fix-missing-build-dependency-for-pods.patch
...ent/perl/0001-Fix-missing-build-dependency-for-pods.patch
+44
-0
component/perl/buildout.cfg
component/perl/buildout.cfg
+1
-0
component/slapos/obs.cfg
component/slapos/obs.cfg
+12
-12
stack/slapos.cfg
stack/slapos.cfg
+6
-6
No files found.
component/golang/buildout.cfg
View file @
45299ea7
...
...
@@ -64,8 +64,8 @@ environment-extra =
[golang1.12]
<= golang-common
url = https://dl.google.com/go/go1.12.src.tar.gz
md5sum =
b3332feba8a945a193b47a52d9981bb9
url = https://dl.google.com/go/go1.12.
3.
src.tar.gz
md5sum =
648486d1bab417e6517bc5ed9be766ce
# go1.11 needs go1.4 to bootstrap
environment-extra =
...
...
component/helloweb/buildout.cfg
View file @
45299ea7
...
...
@@ -25,7 +25,7 @@ parts =
install =
lab.nexedi.com/nexedi/helloweb/go/...
golang = ${golang1.1
1
:location}
golang = ${golang1.1
2
:location}
# -*- go -*-
...
...
component/perl/0001-Fix-missing-build-dependency-for-pods.patch
0 → 100644
View file @
45299ea7
From 26cf06121b03ef60fd49af6f0f56e743b332f6b0 Mon Sep 17 00:00:00 2001
From: Dan Dedrick <ddedrick@lexmark.com>
Date: Thu, 12 Oct 2017 21:49:39 -0400
Subject: [PATCH] Fix missing build dependency for pods
When building perl with highly parallel options (e.g. -j 32) on a machine
with many cores (e.g. 32) ocassionaly it fails with the following type
of error.
make[1]: Entering directory '.../cpan/podlators'
Can't locate Getopt/Long.pm in @INC (you may need to install the Getopt::Long module) (@INC contains: .../cpan/AutoLoader/lib .../dist/Carp/lib .../dist/PathTools .../dist/PathTools/lib .../cpan/ExtUtils-Install/lib .../cpan/ExtUtils-MakeMaker/lib .../cpan/ExtUtils-Manifest/lib .../cpan/File-Path/lib .../ext/re .../dist/Term-ReadLine/lib .../dist/Exporter/lib .../ext/File-Find/lib .../cpan/Text-Tabs/lib .../dist/constant/lib .../cpan/version/lib .../lib ../../lib .) at .../cpan/ExtUtils-MakeMaker/lib/ExtUtils/Command/MM.pm line 109.
Makefile:445: recipe for target 'manifypods' failed
make[1]: *** [manifypods] Error 2
The scripts pod2man, pod2text, podchecker, podselect, and pod2usage all use
Getopt-Long and since they are all part of nonxs modules this needs to be
added here to prevent these build races.
---
write_buildcustomize.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/write_buildcustomize.pl b/write_buildcustomize.pl
index 8666a6bce2..7a55405029 100644
--- a/write_buildcustomize.pl
+++ b/write_buildcustomize.pl
@@ -39,6 +39,7 @@
my @toolchain = qw(cpan/AutoLoader/lib
cpan/Text-Tabs/lib
dist/constant/lib
cpan/version/lib
+ cpan/Getopt-Long/lib
);
# Text-ParseWords used only in ExtUtils::Liblist::Kid::_win32_ext()
@@ -47,7 +48,6 @@
my @toolchain = qw(cpan/AutoLoader/lib
push @toolchain, qw(
cpan/Text-ParseWords/lib
dist/ExtUtils-ParseXS/lib
- cpan/Getopt-Long/lib
cpan/parent/lib
cpan/ExtUtils-Constant/lib
) if $^O eq 'MSWin32';
--
2.13.6
component/perl/buildout.cfg
View file @
45299ea7
...
...
@@ -15,6 +15,7 @@ siteprefix = ${buildout:parts-directory}/site_${:_buildout_section_name_}
patch-options = -p1
patches =
${:_profile_base_location_}/perl-keep-linker-flags-in-ldflags.patch#4e8e0c59d7176eafb0c7402dea17bef1
${:_profile_base_location_}/0001-Fix-missing-build-dependency-for-pods.patch#85aff81f3bea34fcd6ce9a611ee1cdb2
configure-command =
sh Configure -des \
-Dprefix=${buildout:parts-directory}/${:_buildout_section_name_} \
...
...
component/slapos/obs.cfg
View file @
45299ea7
...
...
@@ -42,23 +42,23 @@ make-options +=
DESTDIR=${buildout:destdir}
environment +=
PERL5LIB=${perl:location}/lib/5.2
6
.1/
PERL5LIB=${perl:location}/lib/5.2
8
.1/
[intltool]
environment +=
PERL5LIB=${perl:location}/lib/5.2
6
.1/
PERL5LIB=${perl:location}/lib/5.2
8
.1/
[autoconf]
environment +=
PERL5LIB=${perl:location}/lib/5.2
6
.1/
PERL5LIB=${perl:location}/lib/5.2
8
.1/
[automake]
environment +=
PERL5LIB=${perl:location}/lib/5.2
6
.1/
PERL5LIB=${perl:location}/lib/5.2
8
.1/
[firewalld]
environment +=
PERL5LIB=${perl:location}/lib/5.2
6
.1/
PERL5LIB=${perl:location}/lib/5.2
8
.1/
[dbus]
...
...
@@ -99,7 +99,7 @@ make-options +=
DESTDIR=${buildout:destdir}
environment =
PERL5LIB=${perl:location}/lib/5.2
6
.1/
PERL5LIB=${perl:location}/lib/5.2
8
.1/
PERL=${perl:location}/bin/perl
[bison-go]
...
...
@@ -124,7 +124,7 @@ environment +=
LDFLAGS=-L${glib:location}/lib -Wl,-rpath=${glib:location}/lib -L${libffi:location}/lib -Wl,-rpath=${libffi:location}/lib -lffi -L${python2.7:location}/lib
ACLOCAL_PATH=${pkgconfig:location}/share/aclocal:${gettext:location}/share/aclocal:${libtool:location}/share/aclocal:${glib:location}/share/aclocal:${intltool:location}/share/aclocal
M4=${m4:location}/bin/m4
PERL5LIB=${perl:location}/lib/5.2
6
.1/
PERL5LIB=${perl:location}/lib/5.2
8
.1/
post-install =
sed -i 's#!${python2.7:location}/bin/python2.7#!/opt/slapos/parts/python2.7/bin/python2.7#' ${python2.7:location}/bin/python-config
...
...
@@ -157,14 +157,14 @@ environment +=
[perl-CPAN-package]
perl-PERL5LIB=${perl:location}/lib/5.2
6
.1/
perl-PERL5LIB=${perl:location}/lib/5.2
8
.1/
pre-configure =
sed -i "s#'/opt/slapos/parts/perl#'${perl:location}#" ${perl:location}/lib/5.2
6
.1/*-linux-thread-multi/Config.pm
sed -i "s#'/opt/slapos/parts/site_perl#'${buildout:destdir}/parts/site_perl#" ${perl:location}/lib/5.2
6
.1/*-linux-thread-multi/Config.pm
sed -i "s#'/opt/slapos/parts/perl#'${perl:location}#" ${perl:location}/lib/5.2
8
.1/*-linux-thread-multi/Config.pm
sed -i "s#'/opt/slapos/parts/site_perl#'${buildout:destdir}/parts/site_perl#" ${perl:location}/lib/5.2
8
.1/*-linux-thread-multi/Config.pm
post-install =
sed -i "s#'${perl:location}#'/opt/slapos/parts/perl#" ${perl:location}/lib/5.2
6
.1/*-linux-thread-multi/Config.pm
sed -i "s#'${buildout:destdir}/parts/site_perl#'/opt/slapos/parts/site_perl#" ${perl:location}/lib/5.2
6
.1/*-linux-thread-multi/Config.pm
sed -i "s#'${perl:location}#'/opt/slapos/parts/perl#" ${perl:location}/lib/5.2
8
.1/*-linux-thread-multi/Config.pm
sed -i "s#'${buildout:destdir}/parts/site_perl#'/opt/slapos/parts/site_perl#" ${perl:location}/lib/5.2
8
.1/*-linux-thread-multi/Config.pm
[perl]
location = ${buildout:destdir}/parts/perl
...
...
stack/slapos.cfg
View file @
45299ea7
...
...
@@ -135,7 +135,7 @@ pytz = 2016.10
requests = 2.13.0
six = 1.11.0
slapos.cookbook = 1.0.92
slapos.core = 1.4.2
1
slapos.core = 1.4.2
2
slapos.extension.strip = 0.4
slapos.extension.shared = 1.0
slapos.libnetworkcache = 0.16
...
...
@@ -150,7 +150,7 @@ xml-marshaller = 0.9.7
paramiko = 2.1.3
# Required by:
# slapos.core==1.4.2
1
# slapos.core==1.4.2
2
Flask = 0.12
# Required by:
...
...
@@ -222,7 +222,7 @@ jsonschema = 3.0.0a3
lockfile = 0.12.2
# Required by:
# slapos.core==1.4.2
1
# slapos.core==1.4.2
2
# XXX 'slapos node format' raises an exception with netifaces 0.10.5.
netifaces = 0.10.4
...
...
@@ -255,7 +255,7 @@ python-dateutil = 2.7.3
rpdb = 0.1.5
# Required by:
# slapos.core==1.4.2
1
# slapos.core==1.4.2
2
supervisor = 3.3.3
# Required by:
...
...
@@ -263,11 +263,11 @@ supervisor = 3.3.3
tzlocal = 1.5.1
# Required by:
# slapos.core==1.4.2
1
# slapos.core==1.4.2
2
uritemplate = 3.0.0
# Required by:
# slapos.core==1.4.2
1
# slapos.core==1.4.2
2
zope.interface = 4.3.3
[networkcache]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment