cockpit

Edit Package cockpit
No description set
Refresh
Refresh
Source Files
Filename Size Changed
add-genericname.patch 0000000473 473 Bytes
cockpit-0.38.tar.bz2 0002641036 2.52 MB
cockpit.changes 0000000141 141 Bytes
cockpit.pam 0000000711 711 Bytes
cockpit.spec 0000016031 15.7 KB
Revision 3 (latest revision is 174)
Klaus Kämpf's avatar Klaus Kämpf (kwk) committed (revision 3)
Comments 5

Roberto Yokota's avatar

Sound good Klaus !!!! If you do need a help for this project/package, please feel free to contact me.

Thanks and Congrants :) !

Roberto Yokota


Klaus Kämpf's avatar

I just accepted bmanojlovic's request. All kudos should go to him.


Martin von Reichenberg's avatar

Hello,

What a beautiful results we have for the openSUSE Leap 15.5 build:

root@Lenovo-ThinkCentre-Edge--SUSE-LEAP-15-5-SERVER ~/D/S/cockpit-293# ./configure --disable-pcp --enable-pybridge
configure: WARNING: unrecognized options: --enable-pybridge
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for ranlib... ranlib
checking for ar... ar
checking for closefrom... no
checking whether make supports nested variables... (cached) yes
checking whether to install to prefix only... no
checking whether to build selinux policy, and which... no
checking whether to build polkit support... yes
checking whether to build cockpit-ssh... yes
checking whether to install the python cockpit-bridge... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gio-2.0 >= 2.56 gio-unix-2.0... yes
checking for libsystemd >= 235... yes
checking for json-glib-1.0 >= 1.4... yes
checking for gnutls >= 3.6.0... yes
checking for krb5-gssapi >= 1.11 krb5 >= 1.11... yes
checking for polkit-agent-1 >= 0.105... yes
checking for libssh >= 0.8.5... yes
checking for ssh_userauth_publickey_auto_get_current_identity... no
checking for security/pam_appl.h... yes
checking for crypt.h... yes
checking for crypt_r in -lcrypt... yes
checking whether to build with PCP... no
checking for systemd... yes
checking for systemd unit dir... /usr/lib/systemd/system
checking for xgettext... /usr/bin/xgettext
checking for ssh-add... /usr/bin/ssh-add
checking for ssh-agent... /usr/bin/ssh-agent
checking for asan flags... no
checking for system group to which admin users belong... wheel
checking for cockpit-session PATH value... /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
checking whether to build documentation... yes
checking for xsltproc... /usr/bin/xsltproc
checking for xmlto... /usr/bin/xmlto
checking whether to install cockpit-client... no
checking for debug mode... default
checking whether to build with coverage... no
checking build strict... no
checking for a Python interpreter with version >= 3.6... python3
checking for python3... /usr/bin/python3
checking for python3 version... 3.6
checking for python3 platform... linux
checking for GNU default python3 prefix... ${prefix}
checking for GNU default python3 exec_prefix... ${exec_prefix}
checking for python3 script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.6/site-packages
checking for python3 extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib64/python3.6/site-packages
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/guide/version
config.status: creating src/tls/cockpit-certificate-helper
config.status: creating src/ws/cockpit-desktop
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --enable-pybridge

               Cockpit 293
             ================

        prefix:                     /usr/local
        exec_prefix:                ${prefix}
        libdir:                     ${exec_prefix}/lib
        libexecdir:                 ${exec_prefix}/libexec
        bindir:                     ${exec_prefix}/bin
        sbindir:                    ${exec_prefix}/sbin
        datarootdir:                ${prefix}/share
        datadir:                    ${datarootdir}
        sysconfdir:                 ${prefix}/etc
        localstatedir:              ${prefix}/var
        pamdir:                     ${libdir}/security
        systemd unit dir:           /usr/lib/systemd/system

        compiler:                   gcc
        cflags:                     -g -O2 -g
        cppflags:                   

        cockpit-ws user:            root
        cockpit-ws group:           
        cockpit-ws instance user:   root
        cockpit-ws instance group:  
        admin group:                wheel
        cockpit-session PATH:       /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

        Building docs:              yes
        Debug mode:                 default
        Node environment:           production
        With coverage:              no
        With address sanitizer:     no
        With PCP:                   no
        With polkit:                yes
        SELinux Policy:             no

        cockpit-client:             no
        cockpit-ssh:                yes

        ssh-add:                    /usr/bin/ssh-add
        ssh-agent:                  /usr/bin/ssh-agent

Now type 'make' to compile cockpit.
root@Lenovo-ThinkCentre-Edge--SUSE-LEAP-15-5-SERVER ~/D/S/cockpit-293# make all
  GEN      src/ws/mock-dbus-tests.h
  GEN      src/ws/mock-dbus-tests.c
make  all-am
make[1]: Entering directory '/root/Downloads/SOURCEs/cockpit-293'
  CC       src/ws/cockpit_ws-main.o
gcc: error: unrecognized command line option ‘-std=gnu18’; did you mean ‘-std=gnu11’?
make[1]: *** [Makefile:5635: src/ws/cockpit_ws-main.o] Error 1
make[1]: Leaving directory '/root/Downloads/SOURCEs/cockpit-293'
make: *** [Makefile:2825: all] Error 2

Adam Majer's avatar

of course, since it's using, by default, an older GCC that was released with SLE-15 :-)


Martin von Reichenberg's avatar

Seems to be fixed nowadays . . . 👍

openSUSE Build Service is sponsored by