Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to build debian #16

Closed
magowiz opened this issue Jun 18, 2018 · 5 comments
Closed

unable to build debian #16

magowiz opened this issue Jun 18, 2018 · 5 comments

Comments

@magowiz
Copy link

magowiz commented Jun 18, 2018

I tried to make build a debian docker image but it fails, probably because of extra %3D at the end of url make is trying to download, infact , without %3D with browser I can get the file.
Is there a directory where I can put the downloaded file and use the one downloaded via firefox ?

Please let me know, below the full transcript of make


$ make -f Makefile.omd-labs-debian build
./hooks/build 
CLUTTER_IM_MODULE=xim
COLORTERM=truecolor
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
DESKTOP_SESSION=ubuntu
DISPLAY=:0
DOCKER_REPO=index.docker.io/consol/omd-labs-debian
GDMSESSION=ubuntu
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_SHELL_SESSION_MODE=ubuntu
GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/1d63c7dd_f085_467c_9ef8_392577038b2c
GNOME_TERMINAL_SERVICE=:1.86
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GTK_IM_MODULE=ibus
GTK_MODULES=gail:atk-bridge
HOME=/home/magowiz
IMAGE_NAME=local/omd-labs-debian:nightly
IM_CONFIG_PHASE=2
LANG=it_IT.UTF-8
LESSCLOSE=/usr/bin/lesspipe %s %s
LESSOPEN=| /usr/bin/lesspipe %s
LOGNAME=magowiz
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
MAKEFLAGS=
MAKELEVEL=1
MAKE_TERMERR=/dev/pts/3
MAKE_TERMOUT=/dev/pts/3
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
MFLAGS=
OLDPWD=/home/magowiz/docker
PATH=/home/magowiz/script:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=/home/magowiz/docker/omd-labs-docker
QT4_IM_MODULE=xim
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
SESSION_MANAGER=local/dell-vs15:@/tmp/.ICE-unix/6988,unix/dell-vs15:/tmp/.ICE-unix/6988
SHELL=/bin/bash
SHLVL=2
SOURCE_BRANCH=master
SSH_AGENT_PID=8341
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TERM=xterm-256color
TEXTDOMAINDIR=/usr/share/locale/
TEXTDOMAIN=im-config
USER=magowiz
USERNAME=magowiz
_=/usr/bin/env
VTE_VERSION=5201
WINDOWPATH=2
XAUTHORITY=/run/user/1000/gdm/Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
XDG_CURRENT_DESKTOP=ubuntu:GNOME
XDG_DATA_DIRS=/usr/share/ubuntu:/home/magowiz/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:/home/magowiz/snap/anbox/common/app-data
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_ID=2
XDG_SESSION_TYPE=x11
XDG_VTNR=2
XMODIFIERS=@im=ibus
Sending build context to Docker daemon  197.1kB
Step 1/35 : FROM debian:8
8: Pulling from library/debian
3d77ce4481b1: Already exists 
error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/4e/4eb8376dc2a33d7b87d6aa2a5b4bd024023382f7094a7e5b1c3bdd0fdaba19f9/data?verify=1529329612-e6Z2JYW9JsC7oOWVMvrzEj2S2Ik%3D: net/http: TLS handshake timeout
Makefile.omd-labs-debian:31: recipe for target 'build' failed
make: *** [build] Error 1

@simonmeggle
Copy link

I just tried the same, it works for me.
Are you behind a proxy?
Just a guess, does docker logout; docker login solve the problem?

/ Simon

@magowiz
Copy link
Author

magowiz commented Jun 18, 2018

yes I'm behind a proxy, tried logout/login trick (I had to do it 2 times before it worked).
anyway it seems I've got problems getting key of omd-labs repository :


gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: requesting key A57B9ED7 from hkp server keys.gnupg.net
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error
Get:1 http://labs.consol.de jessie InRelease [30.4 kB]
Hit http://security.debian.org jessie/updates InRelease
Get:2 http://security.debian.org jessie/updates/main amd64 Packages [624 kB]
Ign http://deb.debian.org jessie InRelease
Hit http://deb.debian.org jessie-updates InRelease
Ign http://labs.consol.de jessie InRelease
Hit http://deb.debian.org jessie Release.gpg
Get:3 http://labs.consol.de jessie/main amd64 Packages [7922 B]
Hit http://deb.debian.org jessie Release
Get:4 http://deb.debian.org jessie-updates/main amd64 Packages [23.0 kB]
Get:5 http://deb.debian.org jessie/main amd64 Packages [9064 kB]
Fetched 9750 kB in 6s (1418 kB/s)
Reading package lists...
W: GPG error: http://labs.consol.de jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F8C1CA08A57B9ED7
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils bind9-host bsd-mailx cron
  curl dbus dialog dnsutils exim4 exim4-base exim4-config exim4-daemon-light
  fontconfig fontconfig-config fonts-dejavu-core fonts-liberation fping
  geoip-database graphviz libaio1 libapache2-mod-fcgid libapache2-mod-php5
  libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
  libavahi-client3 libavahi-common-data libavahi-common3 libbind9-90
  libboost-program-options1.55.0 libboost-regex1.55.0 libboost-system1.55.0
  libboost-thread1.55.0 libcairo2 libcap-ng0 libcdt5 libcgraph6 libcups2
  libcurl3 libdatrie1 libdbd-mysql-perl libdbi-perl libdbi1 libdbus-1-3
  libdns100 libestr0 libfile-copy-recursive-perl libfontconfig1
  libfreeradius-client2 libfreetype6 libgd3 libgeoip1 libglib2.0-0
  libglib2.0-data libgraphite2-3 libgvc6 libgvpr2 libharfbuzz0b
  libhtml-template-perl libice6 libicu52 libisc95 libisccc90 libisccfg90
  libjbig0 libjpeg62-turbo libjson-c2 libldb1 liblockfile-bin liblockfile1
  liblogging-stdlog0 liblognorm1 libltdl7 liblwres90 libmysqlclient18
  libnet-snmp-perl libntdb1 libonig2 libpango-1.0-0 libpango1.0-0
  libpangocairo-1.0-0 libpangoft2-1.0-0 libpangox-1.0-0 libpangoxft-1.0-0
  libpathplan4 libpci3 libperl5.20 libpixman-1-0 libpng12-0 libpython-stdlib
  libpython2.7 libpython2.7-minimal libpython2.7-stdlib libqdbm14 libreadline5
  libsensors4 libsm6 libsmbclient libsnmp-base libsnmp-perl libsnmp30
  libsqlite3-0 libtalloc2 libtdb1 libterm-readkey-perl libtevent0 libthai-data
  libthai0 libtiff5 libvpx1 libwbclient0 libxaw7 libxcb-render0 libxcb-shm0
  libxdot4 libxft2 libxml2 libxmu6 libxpm4 libxrender1 libxt6 logrotate
  mariadb-client-10.0 mariadb-client-core-10.0 mariadb-common mariadb-server
  mariadb-server-10.0 mariadb-server-core-10.0 mime-support mysql-common
  omd-2.71.20180616-labs-edition php-pear php5 php5-cgi php5-cli php5-common
  php5-gd php5-json php5-readline php5-sqlite psmisc python python-ldap
  python-minimal python-talloc python2.7 python2.7-minimal rsyslog samba-libs
  sgml-base shared-mime-info snmp ssl-cert time traceroute ucf unzip
  update-inetd x11-common xdg-user-dirs xinetd xml-core
Suggested packages:
  www-browser apache2-doc apache2-suexec-pristine apache2-suexec-custom
  anacron checksecurity dbus-x11 rblcheck mail-reader eximon4 exim4-doc-html
  exim4-doc-info spf-tools-perl swaks gsfonts graphviz-doc cups-common
  libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl
  libgd-tools geoip-bin libipc-sharedcache-perl libcrypt-des-perl
  libdigest-hmac-perl libio-socket-inet6-perl lm-sensors snmp-mibs-downloader
  mariadb-test tinyca php5-dev php5-user-cache python-doc python-tk
  python-ldap-doc python-pyasn1 python2.7-doc binutils binfmt-support
  rsyslog-mysql rsyslog-pgsql rsyslog-mongodb rsyslog-doc rsyslog-gnutls
  rsyslog-gssapi rsyslog-relp sgml-base-doc openssl-blacklist zip debhelper
Recommended packages:
  mailx
The following NEW packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils bind9-host bsd-mailx cron
  curl dbus dialog dnsutils exim4 exim4-base exim4-config exim4-daemon-light
  fontconfig fontconfig-config fonts-dejavu-core fonts-liberation fping
  geoip-database graphviz libaio1 libapache2-mod-fcgid libapache2-mod-php5
  libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
  libavahi-client3 libavahi-common-data libavahi-common3 libbind9-90
  libboost-program-options1.55.0 libboost-regex1.55.0 libboost-system1.55.0
  libboost-thread1.55.0 libcairo2 libcap-ng0 libcdt5 libcgraph6 libcups2
  libcurl3 libdatrie1 libdbd-mysql-perl libdbi-perl libdbi1 libdbus-1-3
  libdns100 libestr0 libfile-copy-recursive-perl libfontconfig1
  libfreeradius-client2 libfreetype6 libgd3 libgeoip1 libglib2.0-0
  libglib2.0-data libgraphite2-3 libgvc6 libgvpr2 libharfbuzz0b
  libhtml-template-perl libice6 libicu52 libisc95 libisccc90 libisccfg90
  libjbig0 libjpeg62-turbo libjson-c2 libldb1 liblockfile-bin liblockfile1
  liblogging-stdlog0 liblognorm1 libltdl7 liblwres90 libmysqlclient18
  libnet-snmp-perl libntdb1 libonig2 libpango-1.0-0 libpango1.0-0
  libpangocairo-1.0-0 libpangoft2-1.0-0 libpangox-1.0-0 libpangoxft-1.0-0
  libpathplan4 libpci3 libperl5.20 libpixman-1-0 libpng12-0 libpython-stdlib
  libpython2.7 libpython2.7-minimal libpython2.7-stdlib libqdbm14 libreadline5
  libsensors4 libsm6 libsmbclient libsnmp-base libsnmp-perl libsnmp30
  libsqlite3-0 libtalloc2 libtdb1 libterm-readkey-perl libtevent0 libthai-data
  libthai0 libtiff5 libvpx1 libwbclient0 libxaw7 libxcb-render0 libxcb-shm0
  libxdot4 libxft2 libxml2 libxmu6 libxpm4 libxrender1 libxt6 logrotate
  mariadb-client-10.0 mariadb-client-core-10.0 mariadb-common mariadb-server
  mariadb-server-10.0 mariadb-server-core-10.0 mime-support mysql-common
  omd-2.71.20180616-labs-edition omd-labs-edition-daily php-pear php5 php5-cgi
  php5-cli php5-common php5-gd php5-json php5-readline php5-sqlite psmisc
  python python-ldap python-minimal python-talloc python2.7 python2.7-minimal
  rsyslog samba-libs sgml-base shared-mime-info snmp ssl-cert time traceroute
  ucf unzip update-inetd x11-common xdg-user-dirs xinetd xml-core
0 upgraded, 167 newly installed, 0 to remove and 5 not upgraded.
Need to get 281 MB of archives.
After this operation, 1186 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  omd-2.71.20180616-labs-edition omd-labs-edition-daily
E: There are problems and -y was used without --force-yes
find: `/omd/versions/default/skel/etc/logrotate.d': No such file or directory
The command '/bin/sh -c $HOME/install_omd.sh debian $OMD_VERSION' returned a non-zero code: 1
Makefile.omd-labs-debian:31: recipe for target 'build' failed
make: *** [build] Error 1

@simonmeggle
Copy link

Ok, that's another problem.
Most PGP keyservers are contacted on port 11371. I think this is not possible behind a http/https proxy...
I have bound the gpg command to contact a port 80 friendly keyserver. Please pull and try again.

@magowiz
Copy link
Author

magowiz commented Jun 19, 2018

I see, infact for some repository (I'm using ubuntu on my work laptop) I had to manually download the gpg key. I'll try again as soon as possible and let you know.

@magowiz
Copy link
Author

magowiz commented Jun 20, 2018

I tried today and it worked this time, thanks for the quick fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants