Mailinglist Archive: opensuse-packaging (23 mails)

< Previous Next >
[opensuse-packaging] very weird packaging problem on Leap 15.0
  • From: Mathias Homann <Mathias.Homann@xxxxxxxxxxxx>
  • Date: Sun, 23 Sep 2018 10:29:41 +0200
  • Message-id: <9106010.9efyK7DtIs@kumiko>
Hi,

I'm having a really strange packaging issue on Leap 15.0:

the %files se4ction of my spec file fails!
here's the part of the spec file in question:
%files

%defattr(-,root,root,0755)
%doc $RPM_BUILD_DIR/%{_srcname}/build-linux-%{_arch}/newview/packaged/*.txt
%{prefix}
/usr/share/applications/*
/usr/share/pixmaps/*
/usr/games/*
%config /etc/permissions.d/%{name}




and here is the log output:

%files

2685s] Processing files: phoenix-firestorm-lgpl-5.1.9.56359-lp150.7.1.x86_64
[ 2685s] Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZJ8qDk
[ 2685s] + umask 022
[ 2685s] + cd /home/abuild/rpmbuild/BUILD
[ 2685s] + cd phoenix-firestorm-lgpl
[ 2685s] + DOCDIR=/home/abuild/rpmbuild/BUILDROOT/phoenix-firestorm-
lgpl-5.1.9.56359-lp150.7.1.x86_64/usr/share/doc/packages/phoenix-firestorm-
lgpl
[ 2685s] + export LC_ALL=C
[ 2685s] + LC_ALL=C
[ 2685s] + export DOCDIR
[ 2685s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/phoenix-
firestorm-lgpl-5.1.9.56359-lp150.7.1.x86_64/usr/share/doc/packages/phoenix-
firestorm-lgpl
[ 2685s] + cp -pr /home/abuild/rpmbuild/BUILD/phoenix-firestorm-lgpl/build-
linux-x86_64/newview/packaged/FIRESTORM_DESKTOPINSTALL.txt /home/abuild/
rpmbuild/BUILD/phoenix-firestorm-lgpl/build-linux-x86_64/newview/packaged/
README-linux-joystick.txt /home/abuild/rpmbuild/BUILD/phoenix-firestorm-lgpl/
build-linux-x86_64/newview/packaged/README-linux-voice.txt /home/abuild/
rpmbuild/BUILD/phoenix-firestorm-lgpl/build-linux-x86_64/newview/packaged/
README-linux.txt /home/abuild/rpmbuild/BUILD/phoenix-firestorm-lgpl/build-
linux-x86_64/newview/packaged/VivoxAUP.txt /home/abuild/rpmbuild/BUILD/
phoenix-firestorm-lgpl/build-linux-x86_64/newview/packaged/
featuretable_linux.txt /home/abuild/rpmbuild/BUILD/phoenix-firestorm-lgpl/
build-linux-x86_64/newview/packaged/licenses.txt /home/abuild/rpmbuild/
BUILDROOT/phoenix-firestorm-lgpl-5.1.9.56359-lp150.7.1.x86_64/usr/share/doc/
packages/phoenix-firestorm-lgpl
[ 2685s] + exit 0
[ 2685s] error: File not found by glob: /home/abuild/rpmbuild/BUILD/phoenix-
firestorm-lgpl/$RPM_BUILD_DIR/phoenix-firestorm-lgpl/build-linux-x86_64/
newview/packaged/*.txt
[ 2685s]
[ 2685s]
[ 2685s] RPM build errors:
[ 2685s] File not found by glob: /home/abuild/rpmbuild/BUILD/phoenix-
firestorm-lgpl/$RPM_BUILD_DIR/phoenix-firestorm-lgpl/build-linux-x86_64/
newview/packaged/*.txt
[ 2685s]
[ 2685s] lamb78 failed "build phoenix-firestorm-lgpl.spec" at Sun Sep 23
05:42:03 UTC 2018.



On every suse version until now this had worked just fine, but on 15.0 it
almost looks as if $RPM_BUILD_DIR is not defined anymore, or as if variables
are not expanded anymore at that point.

Any ideas?
--
Mathias Homann
Senior Systems Engineer, IT Consultant. IT Trainer
Mathias.Homann@xxxxxxxxxxxx
http://www.tuxonline.tech
gpg key fingerprint: 8029 2240 F4DD 7776 E7D2 C042 6B8E 029E 13F2 C102
< Previous Next >
Follow Ups