Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1314996 - djview4-debuginfo 4.10.6-1 contains no sources
Summary: djview4-debuginfo 4.10.6-1 contains no sources
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: djview4
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: DebugInfo
TreeView+ depends on / blocked
 
Reported: 2016-03-05 14:21 UTC by Ville Skyttä
Modified: 2016-07-05 04:54 UTC (History)
3 users (show)

Fixed In Version: djview4-4.10.6-3.fc24
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-05 04:54:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.