build failure using boost-python3 on ppc64le

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I am trying a scratch build of libpst, and I don't understand the
error.

http://koji.fedoraproject.org/koji/taskinfo?taskID=35373272

This package uses boost-python3. On x86, the build log contains:

  make[2]: Entering directory
  '/builddir/build/BUILD/libpst-0.6.72/python'
  /bin/sh ../libtool  --tag=CXX   --mode=link g++  -O2 -g -pipe -Wall
  -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
  -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong
  -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
  -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
  -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
  -module  -avoid-version -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now
  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o _libpst.la -rpath
  /usr/lib64/python3.7/site-packages python-libpst.lo -lboost_python37
  ../src/libpst.la -lpthread
  libtool: link: g++  -fPIC -DPIC -shared -nostdlib
  /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crti.o
  /usr/lib/gcc/x86_64-redhat-linux/9/crtbeginS.o  .libs/python-libpst.o
  -Wl,-rpath -Wl,/builddir/build/BUILD/libpst-0.6.72/src/.libs
  -lboost_python37 ../src/.libs/libpst.so -lpthread
  -L/usr/lib/gcc/x86_64-redhat-linux/9
  -L/usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64
  -L/lib/../lib64
  -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/9/../../..
  -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/9/crtendS.o
  /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/crtn.o
  -Wl,-z,now
  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g
  -fstack-protector-strong -grecord-gcc-switches
  -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
  -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
  -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now
  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld   -Wl,-soname
  -Wl,_libpst.so -o .libs/_libpst.so


which works. On ppc, the build log contains:


  make[2]: Entering directory
  '/builddir/build/BUILD/libpst-0.6.72/python'
  /bin/sh ../libtool  --tag=CXX   --mode=link g++  -O2 -g -pipe -Wall
  -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
  -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong
  -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
  -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8
  -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection
  -module  -avoid-version -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now
  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o _libpst.la -rpath
  /usr/lib64/python3.7/site-packages python-libpst.lo -l
  ../src/libpst.la
  -lpthread
  libtool: link: g++  -fPIC -DPIC -shared -nostdlib
  /usr/lib/gcc/ppc64le-redhat-linux/9/../../../../lib64/crti.o
  /usr/lib/gcc/ppc64le-redhat-linux/9/crtbeginS.o
  .libs/python-libpst.o
   -Wl,-rpath -Wl,/builddir/build/BUILD/libpst-0.6.72/src/.libs -l
  ../src/.libs/libpst.so -lpthread
  -L/usr/lib/gcc/ppc64le-redhat-linux/9
  -L/usr/lib/gcc/ppc64le-redhat-linux/9/../../../../lib64
  -L/lib/../lib64
  -L/usr/lib/../lib64 -L/usr/lib/gcc/ppc64le-redhat-linux/9/../../..
  -lstdc++ -lm -lc -lgcc_s
  /usr/lib/gcc/ppc64le-redhat-linux/9/crtendS.o
  /usr/lib/gcc/ppc64le-redhat-linux/9/../../../../lib64/crtn.o
  -Wl,-z,now
  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g
  -fstack-protector-strong -grecord-gcc-switches
  -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
  -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8
  -mtune=power8 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now
  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld   -Wl,-soname
  -Wl,_libpst.so -o .libs/_libpst.so


which fails. Notice that on x86, we have

BUILD/libpst-0.6.72/src/.libs
- -lboost_python37 ../src/.libs/libpst.so -lpthread

but on ppc, we have

BUILD/libpst-0.6.72/src/.libs -l
../src/.libs/libpst.so -lpthread


The -lboost_python37 turns into a plain -l, so the next token
../src/.libs/libpst.so is taken as a library name which fails.




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEAREKAAYFAlz6qS0ACgkQL6j7milTFsGulgCfUhXGs70fysofV8NRlI9LgUlP
mCEAnRmIz6burXpZFkwCpB+7LbIyH4uu
=coL1
-----END PGP SIGNATURE-----


_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux