[Bug 1083962] Review Request: maxscale - A database-centric proxy that works with MariaDB and MySQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1083962



--- Comment #18 from Paulo Andrade <paulo.cesar.pereira.de.andrade@xxxxxxxxx> ---
Sorry for the delay looking into it again.
It is failing to build. Note that reviews usually should be done on rawhide,
so, I suppose you tested it on fedora 20.

$ fedora-review -b 1083962
INFO: Processing bugzilla bug: 1083962
INFO: Getting .spec and .srpm Urls from : 1083962
INFO:   --> SRPM url: http://nux.se/maxscale/maxscale-1.0.1-0.0.be$
fedora-review -b 1083962
INFO: Processing bugzilla bug: 1083962
INFO: Getting .spec and .srpm Urls from : 1083962
INFO:   --> SRPM url:
http://nux.se/maxscale/maxscale-1.0.1-0.0.beta.1.fc20.src.rpm
INFO:   --> Spec url: http://nux.se/maxscale/maxscale.spec
INFO: Using review directory: /home/pcpa/rpmbuild/1083962-maxscale
INFO: Downloading .spec and .srpm files
INFO: No upstream for (Source2): maxscale.logrotate.systemd
INFO: No upstream for (Source3): maxscale.profile.d
INFO: Downloading (Source0):
https://downloads.mariadb.com/files/SkySQL/MaxScale/maxscale-1.0.1-beta/maxscale.src.1.0.1-beta.tar.gz
INFO: No upstream for (Source1): maxscale.service
INFO: No upstream for (Source4): maxscale.sysconfig
INFO: No upstream for (Source5): maxscale.tmpfiles.d
INFO: Running checks and generating report
ERROR:
Exception(/home/pcpa/rpmbuild/1083962-maxscale/srpm/maxscale-1.0.1-0.0.beta.1.fc20.src.rpm)
Config(fedora-rawhide-x86_64) 4 minutes 41 seconds
INFO: Results and/or logs in: /home/pcpa/rpmbuild/1083962-maxscale/results
ERROR: Command failed. See logs for output.
ERROR: 'mock build failed, see
/home/pcpa/rpmbuild/1083962-maxscale/results/build.log'ta.1.fc20.src.rpm
INFO:   --> Spec url: http://nux.se/maxscale/maxscale.spec
INFO: Using review directory: /home/pcpa/rpmbuild/1083962-maxscale
INFO: Downloading .spec and .srpm files
INFO: No upstream for (Source2): maxscale.logrotate.systemd
INFO: No upstream for (Source3): maxscale.profile.d
INFO: Downloading (Source0):
https://downloads.mariadb.com/files/SkySQL/MaxScale/maxscale-1.0.1-beta/maxscale.src.1.0.1-beta.tar.gz
INFO: No upstream for (Source1): maxscale.service
INFO: No upstream for (Source4): maxscale.sysconfig
INFO: No upstream for (Source5): maxscale.tmpfiles.d
INFO: Running checks and generating report
ERROR:
Exception(/home/pcpa/rpmbuild/1083962-maxscale/srpm/maxscale-1.0.1-0.0.beta.1.fc20.src.rpm)
Config(fedora-rawhide-x86_64) 4 minutes 41 seconds
INFO: Results and/or logs in: /home/pcpa/rpmbuild/1083962-maxscale/results
ERROR: Command failed. See logs for output.
ERROR: 'mock build failed, see
/home/pcpa/rpmbuild/1083962-maxscale/results/build.log'

The build log is:
---%<---
Mock Version: 1.2.2
ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64
--nodeps /builddir/build/SPECS/maxscale.spec'],
user='mockbuild'timeout=0uid=1000gid=986chrootPath='/var/lib/mock/fedora-rawhide-x86_64/root'env={'PROMPT_COMMAND':
'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'CCACHE_UMASK': '002',
'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PATH':
'/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'CCACHE_DIR':
'/tmp/ccache', 'HOME': '/builddir', 'TERM':
'vt100'}logger=<mockbuild.trace_decorator.getLog object at
0x7f1de1875518>shell=FalseprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target
x86_64 --nodeps /builddir/build/SPECS/maxscale.spec'] with env
{'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"',
'CCACHE_UMASK': '002', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PATH':
'/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'CCACHE_DIR':
'/tmp/ccache', 'HOME': '/builddir', 'TERM': 'vt100'}
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/maxscale-1.0.1-0.0.beta.1.fc22.src.rpm
Child return code was: 0
LEAVE do --> 

ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64
--nodeps  /builddir/build/SPECS/maxscale.spec '],
user='mockbuild'timeout=0uid=1000gid=986chrootPath='/var/lib/mock/fedora-rawhide-x86_64/root'env={'PROMPT_COMMAND':
'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'CCACHE_UMASK': '002',
'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PATH':
'/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'CCACHE_DIR':
'/tmp/ccache', 'HOME': '/builddir', 'TERM':
'vt100'}logger=<mockbuild.trace_decorator.getLog object at
0x7f1de1875518>shell=FalseprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target
x86_64 --nodeps  /builddir/build/SPECS/maxscale.spec '] with env
{'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"',
'CCACHE_UMASK': '002', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PATH':
'/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'CCACHE_DIR':
'/tmp/ccache', 'HOME': '/builddir', 'TERM': 'vt100'}
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qKP9hn
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf maxscale-1.0.1-beta
+ /usr/bin/gzip -dc /builddir/build/SOURCES/maxscale.src.1.0.1-beta.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd maxscale-1.0.1-beta
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
Patch #0 (maxscale-1.0.1-beta-pidfile.diff):
+ echo 'Patch #0 (maxscale-1.0.1-beta-pidfile.diff):'
+ /usr/bin/cat /builddir/build/SOURCES/maxscale-1.0.1-beta-pidfile.diff
+ /usr/bin/patch -p0 --fuzz=0
patching file server/core/gateway.c
+ perl -pi -e 's|-Wall -fPIC|-O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fPIC|g'
CMakeLists.txt
+ find -type f -name '*.c'
+ xargs perl -pi -e 's|/usr/local/skysql/MaxScale|/var/log/maxscale|g'
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.o5cZiV
+ umask 022
+ cd /builddir/build/BUILD
+ cd maxscale-1.0.1-beta
+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64
-mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64
-mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64
-mtune=generic -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64
-mtune=generic -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG
-DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG
-DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
-DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include
-DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc
-DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64
-DBUILD_SHARED_LIBS:BOOL=ON -DSTATIC_EMBEDDED=false
-DEMBEDDED_LIB=/usr/lib64/mysql
-DINSTALL_DIR=/builddir/build/BUILDROOT/maxscale-1.0.1-0.0.beta.1.fc22.x86_64/var/lib/maxscale
-DCMAKE_INSTALL_PREFIX=/builddir/build/BUILDROOT/maxscale-1.0.1-0.0.beta.1.fc22.x86_64/var/lib/maxscale
-DINSTALL_SYSTEM_FILES=0 -DCMAKE_SKIP_INSTALL_RPATH=1 -DCMAKE_SKIP_RPATH=1
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/lib64/ccache/cc
-- Check for working C compiler: /usr/lib64/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/lib64/ccache/c++
-- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using MySQL headers found at: 
CMake Error at macros.cmake:111 (message):
  Fatal Error: The errmsg.sys file was not found, please define the path to
  it by using -DERRMSG=<path>
Call Stack (most recent call first):
  CMakeLists.txt:14 (check_dirs)
-- Configuring incomplete, errors occurred!
See also
"/builddir/build/BUILD/maxscale-1.0.1-beta/CMakeFiles/CMakeOutput.log".
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.o5cZiV (%build)
    Bad exit status from /var/tmp/rpm-tmp.o5cZiV (%build)
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
 # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps 
/builddir/build/SPECS/maxscale.spec 
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line
84, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.4/site-packages/mockbuild/util.py", line 481, in do
    raise mockbuild.exception.Error("Command failed. See logs for output.\n #
%s" % (command,), child.returncode)
mockbuild.exception.Error: Command failed. See logs for output.
 # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps 
/builddir/build/SPECS/maxscale.spec 
LEAVE do --> EXCEPTION RAISED
---%<---

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]