Bug 868502 - Build with XFS support, and -qt with $RPM_LD_FLAGS
Summary: Build with XFS support, and -qt with $RPM_LD_FLAGS
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: transmission
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rahul Sundaram
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-20 10:32 UTC by Ville Skyttä
Modified: 2013-02-01 17:02 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-01 16:43:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Build with XFS support, and -qt with $RPM_LD_FLAGS (1.45 KB, patch)
2012-10-20 10:32 UTC, Ville Skyttä
no flags Details | Diff

Description Ville Skyttä 2012-10-20 10:32:51 UTC
Created attachment 630411 [details]
Build with XFS support, and -qt with $RPM_LD_FLAGS

transmission has some apparently non-intrusive XFS support which isn't built, and -qt is not built with $RPM_LD_FLAGS. Fix attached.

Comment 1 Kalev Lember 2012-10-24 18:16:44 UTC
Hi Ville,

Thanks for the patch.

I've been doing some drive-by transmission maintenance lately. Not sure if anyone is currently paying attention to transmission bugs; I discovered this one accidentally.

I don't think the QMAKE_LFLAGS hack is something we should do in this spec file, but it should instead be the default for qmake-qt4. Have you talked to the qt maintainers about this?

Regarding the XFS support, I have no idea what it does so I don't feel confident applying this. Maybe someone else who knows what it does can chime in.

Comment 2 Ville Skyttä 2012-10-24 20:24:08 UTC
Regarding LDFLAGS, that'll be partially handled by #868554. Not sure why you see usage of QMAKE_LFLAGS as a hack - that is the way how one passes LDFLAGS to qmake builds. But after #868554 it is no longer that "urgent".

About XFS, see libtransmission/fdlimit.c. If that's seen undesirable, building without XFS should be done explicitly so that builds are reproducible. I suppose the only way to do that is by BuildConflicts: xfsprogs-devel or patching as there's no --without/disable-xfs build flag.

Comment 3 Kalev Lember 2012-10-24 23:25:02 UTC
Oh this is very nice, the fix in ticket #868554 is exactly what I had in mind when I said it should be the default for qmake-qt4.

Another thing we could do to make it nicer is to create a %{qmake_qt4} macro which would wrap the standard flags, like

%qmake_qt4 \
  QMAKE_LFLAGS="$LDFLAGS" \\\
  qmake-qt4

or similar.


(In reply to comment #2)
> About XFS, see libtransmission/fdlimit.c. If that's seen undesirable,
> building without XFS should be done explicitly so that builds are
> reproducible. I suppose the only way to do that is by BuildConflicts:
> xfsprogs-devel or patching as there's no --without/disable-xfs build flag.

Ah, yes, I see now.

Looks like it's file preallocation fallback code, but on a modern linux distro we already have fallocate64() and posix_fallocate() available in glibc so the XFS-specific code doesn't really add any value, as much as I can tell.

Comment 4 Ville Skyttä 2012-10-25 19:20:31 UTC
(In reply to comment #3)

> Another thing we could do to make it nicer is to create a %{qmake_qt4} macro
> which would wrap the standard flags

Yeah, why not, filed as #870199.

Comment 5 Fedora Update System 2013-01-20 02:25:39 UTC
transmission-2.76-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/transmission-2.76-1.fc18

Comment 6 Fedora Update System 2013-01-20 02:27:06 UTC
transmission-2.76-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/transmission-2.76-1.fc17

Comment 7 Fedora Update System 2013-01-23 01:35:56 UTC
Package transmission-2.76-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing transmission-2.76-1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-1207/transmission-2.76-1.fc17
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2013-02-01 16:43:44 UTC
transmission-2.76-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2013-02-01 17:02:56 UTC
transmission-2.76-1.fc18 has been pushed to the Fedora 18 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.