Mageia Bugzilla – Attachment 10202 Details for
Bug 23091
pdfedit - A complete pdf document editing solution
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
The result of trying to build it using the proposed spec
Build error (text/plain), 8.38 KB, created by
Kristoffer Grundström
on 2018-05-28 03:23:57 CEST
(
hide
)
Description:
The result of trying to build it using the proposed spec
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2018-05-28 03:23:57 CEST
Size:
8.38 KB
patch
obsolete
>[kristoffer@localhost Desktop]$ rpmbuild -ba pdfedit.spec >Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.n2509v >+ umask 022 >+ cd /home/kristoffer/rpmbuild/BUILD >+ '[' 1 -eq 1 ']' >+ '[' 1 -eq 1 ']' >+ '[' 1 -eq 1 ']' >+ cd /home/kristoffer/rpmbuild/BUILD >+ rm -rf pdfedit-0.4.5 >+ /usr/bin/tar -xof - >+ /usr/bin/bzip2 -dc /home/kristoffer/rpmbuild/SOURCES/pdfedit-0.4.5.tar.bz2 >+ STATUS=0 >+ '[' 0 -ne 0 ']' >+ cd pdfedit-0.4.5 >+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . >+ echo 'warning: %apply_patches is deprecated, try %autopatch -p[01] instead' >warning: %apply_patches is deprecated, try %autopatch -p[01] instead >+ /usr/bin/patch -U -s -p1 -b --suffix .0001 --fuzz=0 -i /home/kristoffer/rpmbuild/SOURCES/pdfedit-fixbuild.patch >+ /usr/bin/patch -U -s -p1 -b --suffix .0002 --fuzz=0 -i /home/kristoffer/rpmbuild/SOURCES/pdfedit-0.4.5-format.patch >+ /usr/bin/patch -U -s -p1 -b --suffix .0003 --fuzz=0 -i /home/kristoffer/rpmbuild/SOURCES/pdfedit-0.4.5-fix-posix-switch.patch >+ sed -i 's/\(.path\s\+= \)/\1$(QMAKE_DESTDIR)\//' src/gui/pdfedit.pro >+ exit 0 >Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RrgrjO >+ umask 022 >+ cd /home/kristoffer/rpmbuild/BUILD >+ cd pdfedit-0.4.5 >+ '[' 1 -eq 1 ']' >+ '[' 1 -eq 1 ']' >+ export QMAKESPEC=linux-g++ >+ QMAKESPEC=linux-g++ >++ pkg-config qt-mt --variable=prefix >Package qt-mt was not found in the pkg-config search path. >Perhaps you should add the directory containing `qt-mt.pc' >to the PKG_CONFIG_PATH environment variable >No package 'qt-mt' found >+ export QTDIR= >+ QTDIR= >+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' >+ export CFLAGS >+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' >+ export CXXFLAGS >+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' >+ export FFLAGS >+ LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' >+ export LDFLAGS >+ CONFIGURE_TOP=. >+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool >Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) >+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool >+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking >+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . >+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 >+ cd . >+ '[' '!' -f configure.in -a '!' -f configure.ac ']' >+ libtoolize --copy --force >libtoolize: putting auxiliary files in '.'. >libtoolize: copying file './ltmain.sh' >libtoolize: You should add the contents of the following files to 'aclocal.m4': >libtoolize: '/usr/share/aclocal/libtool.m4' >libtoolize: '/usr/share/aclocal/ltoptions.m4' >libtoolize: '/usr/share/aclocal/ltsugar.m4' >libtoolize: '/usr/share/aclocal/ltversion.m4' >libtoolize: '/usr/share/aclocal/lt~obsolete.m4' >libtoolize: Remember to add 'LT_INIT' to configure.in. >libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, >libtoolize: and rerunning libtoolize and aclocal. >libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. >libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT' >+ '[' -f ./configure.in -o -f ./configure.ac ']' >+ CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' >+ ./configure x86_64-mageia-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/include --x-libraries=/usr/lib64 >configure: WARNING: you should use --build, --host, --target >checking for x86_64-mageia-linux-gnu-g++... x86_64-mageia-linux-gnu-g++ >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 we are using the GNU C++ compiler... yes >checking whether x86_64-mageia-linux-gnu-g++ accepts -g... yes >checking for x86_64-mageia-linux-gnu-gcc... x86_64-mageia-linux-gnu-gcc >checking whether we are using the GNU C compiler... yes >checking whether x86_64-mageia-linux-gnu-gcc accepts -g... yes >checking for x86_64-mageia-linux-gnu-gcc option to accept ISO C89... none needed >checking whether make sets $(MAKE)... yes >checking for x86_64-mageia-linux-gnu-ranlib... x86_64-mageia-linux-gnu-ranlib >checking whether ln -s works... yes >checking how to run the C++ preprocessor... x86_64-mageia-linux-gnu-g++ -E >checking for grep that handles long lines and -e... /usr/bin/grep >checking for egrep... /usr/bin/grep -E >checking for ANSI C header files... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking limits.h usability... yes >checking limits.h presence... yes >checking for limits.h... yes >checking for stdlib.h... (cached) yes >checking for string.h... (cached) yes >checking for unistd.h... (cached) yes >checking for stdbool.h that conforms to C99... yes >checking for _Bool... no >checking for an ANSI C-conforming const... yes >checking for inline... inline >checking for size_t... yes >checking whether struct tm is in sys/time.h or time.h... time.h >checking how to run the C preprocessor... x86_64-mageia-linux-gnu-gcc -E >checking if zlib is wanted... checking for inflateEnd in -lz... yes >checking zlib.h usability... yes >checking zlib.h presence... yes >checking for zlib.h... yes >checking for inflateEnd in -lz... (cached) yes >checking zlib in /usr... ok >checking for boostlib >= 1.20.0... yes >configure: Using default COPY="cp -f" >configure: Using default DEL_FILE="rm -f" >configure: Using default DEL_DIR="sh $(ROOT)/tools/rmdir.sh" >configure: Using default DEL_FORCE_DIR="rm -rf" >configure: Using default SYMLINK="ln -s" >configure: Using default MOVE="mv -f" >configure: Using default CHK_DIR_EXISTS="test -d" >configure: Using default MKDIR="mkdir -p" >configure: Using default ARCH="" >configure: Using default C_EXTRA="-fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing" >configure: Using default EXTRA_UTILS_CFLAGS="" >configure: Using default EXTRA_KERNEL_CFLAGS="" >configure: Using default EXTRA_TESTS_CFLAGS="" >configure: Using default EXTRA_XPDF_CFLAGS="" >configure: Using default CXX_EXTRA="-fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fexceptions" >configure: Using default EXTRA_UTILS_CXXFLAGS="" >configure: Using default EXTRA_KERNEL_CXXFLAGS="" >configure: Using default EXTRA_TESTS_CXXFLAGS="" >configure: Using default EXTRA_GUI_CXXFLAGS="" >configure: Using default EXTRA_XPDF_CXXFLAGS="" >configure: Using default AR="ar cqs" >configure: Using default LIBPREFIX="lib" >checking whether we use stack protector... no >checking whether we are releasing... true >checking whether debug info is included... no >checking whether to enable observer debugging... no >checking for error_at_line... yes >checking for stdlib.h... (cached) yes >checking for GNU libc compatible malloc... yes >checking whether lstat correctly handles trailing slash... yes >checking whether stat accepts an empty string... no >checking for strftime... yes >checking for atexit... yes >checking for floor... yes >checking for ftruncate... yes >checking for localtime_r... yes >checking for memset... yes >checking for mkdir... yes >checking for strdup... yes >checking for strerror... yes >checking for strpbrk... yes >checking for strstr... yes >checking for freetype-config... /usr/bin/freetype-config >checking for FreeType -- version >= 7.0.1... yes >checking whether to use t1 library... maybe >checking where to find the t1 header files... >checking t1lib.h usability... yes >checking t1lib.h presence... yes >checking for t1lib.h... yes >checking for T1_InitLib in -lt1... yes >using t1 library >checking whether we want to prepare pdfedit-core-dev package... no >checking whether we want to build PDFedit gui... yes >configure: error: QTDIR environment variable must be set >error: Bad exit status from /var/tmp/rpm-tmp.RrgrjO (%build) > > >RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.RrgrjO (%build)
[kristoffer@localhost Desktop]$ rpmbuild -ba pdfedit.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.n2509v + umask 022 + cd /home/kristoffer/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/kristoffer/rpmbuild/BUILD + rm -rf pdfedit-0.4.5 + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /home/kristoffer/rpmbuild/SOURCES/pdfedit-0.4.5.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd pdfedit-0.4.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'warning: %apply_patches is deprecated, try %autopatch -p[01] instead' warning: %apply_patches is deprecated, try %autopatch -p[01] instead + /usr/bin/patch -U -s -p1 -b --suffix .0001 --fuzz=0 -i /home/kristoffer/rpmbuild/SOURCES/pdfedit-fixbuild.patch + /usr/bin/patch -U -s -p1 -b --suffix .0002 --fuzz=0 -i /home/kristoffer/rpmbuild/SOURCES/pdfedit-0.4.5-format.patch + /usr/bin/patch -U -s -p1 -b --suffix .0003 --fuzz=0 -i /home/kristoffer/rpmbuild/SOURCES/pdfedit-0.4.5-fix-posix-switch.patch + sed -i 's/\(.path\s\+= \)/\1$(QMAKE_DESTDIR)\//' src/gui/pdfedit.pro + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RrgrjO + umask 022 + cd /home/kristoffer/rpmbuild/BUILD + cd pdfedit-0.4.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export QMAKESPEC=linux-g++ + QMAKESPEC=linux-g++ ++ pkg-config qt-mt --variable=prefix Package qt-mt was not found in the pkg-config search path. Perhaps you should add the directory containing `qt-mt.pc' to the PKG_CONFIG_PATH environment variable No package 'qt-mt' found + export QTDIR= + QTDIR= + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + cd . + '[' '!' -f configure.in -a '!' -f configure.ac ']' + libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: You should add the contents of the following files to 'aclocal.m4': libtoolize: '/usr/share/aclocal/libtool.m4' libtoolize: '/usr/share/aclocal/ltoptions.m4' libtoolize: '/usr/share/aclocal/ltsugar.m4' libtoolize: '/usr/share/aclocal/ltversion.m4' libtoolize: '/usr/share/aclocal/lt~obsolete.m4' libtoolize: Remember to add 'LT_INIT' to configure.in. libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT' + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure x86_64-mageia-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/include --x-libraries=/usr/lib64 configure: WARNING: you should use --build, --host, --target checking for x86_64-mageia-linux-gnu-g++... x86_64-mageia-linux-gnu-g++ 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 we are using the GNU C++ compiler... yes checking whether x86_64-mageia-linux-gnu-g++ accepts -g... yes checking for x86_64-mageia-linux-gnu-gcc... x86_64-mageia-linux-gnu-gcc checking whether we are using the GNU C compiler... yes checking whether x86_64-mageia-linux-gnu-gcc accepts -g... yes checking for x86_64-mageia-linux-gnu-gcc option to accept ISO C89... none needed checking whether make sets $(MAKE)... yes checking for x86_64-mageia-linux-gnu-ranlib... x86_64-mageia-linux-gnu-ranlib checking whether ln -s works... yes checking how to run the C++ preprocessor... x86_64-mageia-linux-gnu-g++ -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking how to run the C preprocessor... x86_64-mageia-linux-gnu-gcc -E checking if zlib is wanted... checking for inflateEnd in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for inflateEnd in -lz... (cached) yes checking zlib in /usr... ok checking for boostlib >= 1.20.0... yes configure: Using default COPY="cp -f" configure: Using default DEL_FILE="rm -f" configure: Using default DEL_DIR="sh $(ROOT)/tools/rmdir.sh" configure: Using default DEL_FORCE_DIR="rm -rf" configure: Using default SYMLINK="ln -s" configure: Using default MOVE="mv -f" configure: Using default CHK_DIR_EXISTS="test -d" configure: Using default MKDIR="mkdir -p" configure: Using default ARCH="" configure: Using default C_EXTRA="-fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing" configure: Using default EXTRA_UTILS_CFLAGS="" configure: Using default EXTRA_KERNEL_CFLAGS="" configure: Using default EXTRA_TESTS_CFLAGS="" configure: Using default EXTRA_XPDF_CFLAGS="" configure: Using default CXX_EXTRA="-fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fexceptions" configure: Using default EXTRA_UTILS_CXXFLAGS="" configure: Using default EXTRA_KERNEL_CXXFLAGS="" configure: Using default EXTRA_TESTS_CXXFLAGS="" configure: Using default EXTRA_GUI_CXXFLAGS="" configure: Using default EXTRA_XPDF_CXXFLAGS="" configure: Using default AR="ar cqs" configure: Using default LIBPREFIX="lib" checking whether we use stack protector... no checking whether we are releasing... true checking whether debug info is included... no checking whether to enable observer debugging... no checking for error_at_line... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for strftime... yes checking for atexit... yes checking for floor... yes checking for ftruncate... yes checking for localtime_r... yes checking for memset... yes checking for mkdir... yes checking for strdup... yes checking for strerror... yes checking for strpbrk... yes checking for strstr... yes checking for freetype-config... /usr/bin/freetype-config checking for FreeType -- version >= 7.0.1... yes checking whether to use t1 library... maybe checking where to find the t1 header files... checking t1lib.h usability... yes checking t1lib.h presence... yes checking for t1lib.h... yes checking for T1_InitLib in -lt1... yes using t1 library checking whether we want to prepare pdfedit-core-dev package... no checking whether we want to build PDFedit gui... yes configure: error: QTDIR environment variable must be set error: Bad exit status from /var/tmp/rpm-tmp.RrgrjO (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.RrgrjO (%build)
View Attachment As Raw
Actions:
View
Attachments on
bug 23091
:
10198
|
10199
|
10200
|
10201
| 10202