Created attachment 1464929 [details] the RPM used Description of problem: xorg-x11-xinit-1.4.0-2 ships empty to /usr/bin/startx Version-Release number of selected component (if applicable): 1.4.0-2 (in Rawhide) How reproducible: always reproducible Steps to Reproduce: 1. mkdir /tmp/test 2. cd /tmp/test 3. dnf download xorg-x11-xinit 4. rpm2cpio ./xorg-x11-xinit-1.4.0-2.fc29.x86_64.rpm | cpio -idmv 5. ls -l ./usr/bin/startx Actual results: zero file size -rwxr-xr-x. 1 avsej avsej 0 jul 15 21:34 ./usr/bin/startx Expected results: non-zero file size -rwxr-xr-x. 1 root root 5650 jul 20 14:31 ./usr/bin/startx Additional info: Koji build: https://koji.fedoraproject.org/koji/buildinfo?buildID=1127335
When I rebuild the current master, it produces correct RPMs. Maybe just need to bump revision and rebuild it once more time?
Well, the cause of this looks like it was missing BuildRequires: gcc-c++ , so if you built with an F28 build root or just built locally, you may have got a working build because you had gcc-c++ installed. Oddly, if the C++ compiler is missing, the build process prints some clear errors and generates garbage (a 0-length startx, and probably some other busted stuff), but 'succeeds' - it exits 0, not 1. I've filed an upstream bug for that: https://bugs.freedesktop.org/show_bug.cgi?id=107368 . I've done an xorg-x11-xinit-1.4.0-3 build with the buildrequire added, and verified that it has a proper startx.