Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-10419

Zabbix 2.4.7 Ubuntu build files calls build options twice for db packages

XMLWordPrintable

      Hello, guys.

      I've got your Debian packaging instructions from following url:
      http://repo.zabbix.com/zabbix/2.4/ubuntu/pool/main/z/zabbix/zabbix_2.4.7-1+trusty.debian.tar.gz
      In it I found duplication of commands passed to build:

      CONFFLAGS_COMMON  = --host=$(DEB_HOST_GNU_TYPE) \
                          --build=$(DEB_BUILD_GNU_TYPE) \
                          --prefix=/usr \
                          --mandir=\$${prefix}/share/man \
                          --infodir=\$${prefix}/share/info \
                          --sysconfdir=/etc/zabbix \
                          --enable-server \
                          --enable-agent \
                          --enable-proxy \
                          --enable-java \
                          --with-jabber \
                          --with-ldap \
                          --enable-ipv6 \
                          --with-net-snmp \
                          --with-openipmi \
                          --with-ssh2 \
                          --with-libcurl \
                          --with-unixodbc \
                          --with-libxml2
      
      <...>
      CONFFLAGS_SERVER_MYSQL = $(CONFFLAGS_COMMON) --with-mysql
      CONFFLAGS_SERVER_PGSQL = $(CONFFLAGS_COMMON) --with-postgresql
      CONFFLAGS_SERVER_SQLITE3 = $(CONFFLAGS_COMMON) --with-sqlite3
      <...>
      	cd $(BUILDDIR)-$(*) && ./configure $(CONFFLAGS_COMMON) $(CONFFLAGS_SERVER_$(*))
      

      Should be:

      	cd $(BUILDDIR)-$(*) && ./configure $(CONFFLAGS_SERVER_$(*))
      

      Otherwise (now) it adds same parameters twice. It's trivial but still worth to fix it I think.

            Unassigned Unassigned
            Paskal Dmitry Verkhoturov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: