Bug 1314996

Summary: djview4-debuginfo 4.10.6-1 contains no sources
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: djview4Assignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: contribs, rdieter, terje.rosten
Target Milestone: ---Keywords: Regression, Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: djview4-4.10.6-3.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-05 04:54:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 496968    

Description Ville Skyttä 2016-03-05 14:21:01 UTC
djview4-debuginfo 4.10.6-1 contains no sources. Looks like something in the build is removing -g from the compiler flags. 4.10.5-2 did not have this problem.

Comment 1 Terje Røsten 2016-03-05 16:02:13 UTC
Seems to be an issue in fedora 24 (and rawhide) only, might be related to
qmake changes?

Comment 2 Ville Skyttä 2016-03-05 16:37:08 UTC
There was a qt4 change that affected many packages, don't know if a similar thing has been done for qt5 as well. See bug 

See bug 1279265, and https://lists.fedoraproject.org/archives/list/devel%40lists.fedoraproject.org/message/6TLCJFMMVPYHJKDL4XZYUEO66GYM64I7/

Comment 3 Terje Røsten 2016-03-05 16:41:51 UTC
Tried to apply a fix from other package, however did not help.
Pinging Rex.

Comment 4 Rex Dieter 2016-03-05 16:52:16 UTC
I'll take care of it, thanks for the heads-up.

According to README, we can probably use DDJVUAPI_CFLAGS, DDJVUAPI_LIBS here

Comment 5 Rex Dieter 2016-03-05 19:38:43 UTC
Used safer qmake-wrapper approach (starting to think I probably ought to provide a standard wrapper in qt5 packaging somehow, will continue to think on it)

%changelog
* Sat Mar 05 2016 Rex Dieter <rdieter> 4.10.6-2
- djview4-debuginfo 4.10.6-1 contains no sources (1314996)

Comment 6 Ville Skyttä 2016-07-01 12:12:23 UTC
Seems this never actually worked, -debuginfo still lacks sources as of 4.10.6-2. Build log shows that -g and -grecord-gcc-switches are missing from compiler flags used.

Comment 7 Rex Dieter 2016-07-01 15:28:25 UTC
OK, configure tries to be "smart", and if --enable-debug option is not given, it seems to strip out all -g flags.

Comment 8 Terje Røsten 2016-07-01 18:09:51 UTC
Seems ok now:

 http://koji.fedoraproject.org/koji/rpminfo?rpmID=7820345

Thanks for the fix!

Comment 9 Fedora Update System 2016-07-01 23:42:07 UTC
djview4-4.10.6-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-bdec3bde47

Comment 10 Fedora Update System 2016-07-02 20:28:41 UTC
djview4-4.10.6-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-bdec3bde47

Comment 11 Fedora Update System 2016-07-05 04:54:24 UTC
djview4-4.10.6-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.