all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Andreas Enge <andreas@enge.fr>
Cc: guix-devel@gnu.org
Subject: Re: Obs on non-x86
Date: Tue, 12 Jul 2016 13:17:49 +0300	[thread overview]
Message-ID: <20160712101749.GB4575@debian-netbook> (raw)
In-Reply-To: <20160712080627.GA4575@debian-netbook>

[-- Attachment #1: Type: text/plain, Size: 1708 bytes --]

On Tue, Jul 12, 2016 at 11:06:27AM +0300, Efraim Flashner wrote:
> On Tue, Jul 12, 2016 at 09:00:19AM +0200, Andreas Enge wrote:
> > Hello,
> > 
> > the obs package fails to build on arm:
> >    http://hydra.gnu.org:3000/build/1298768/nixlog/1/tail-reload
> > since it uses "-msse" and so on.
> > 
> > Can this be disabled on non-x86 architectures, or should we mark it
> > as non available there?
> > 
> > Andreas
> 
> I grepped the source and found the offending code here:
> https://github.com/jp9000/obs-studio/blob/master/libobs/CMakeLists.txt#L350
> 
> A quick fix would be to change `IF(NOT MSVC)' to `IF(MSVC)' and (without
> checking) that would likely get the old functionality back, but I bet
> there's somewhere else we can change it.
> 
> Looking at git blame that code has been there for almost 2 years, so it
> looks like something else changed that caused them to either change the
> default config or finally read and process the flags.
> 

I found debian's obs patch for this issue
https://sources.debian.net/src/obs-studio/0.14.2%2Bdfsg1-3/debian/patches/0002-Buildsystem.patch/
so it looks like I'm on the right path. I don't have easy access to
non-Intel hardware to test my patch, so I'll at least test that it
doesn't break x86_64.  My goal to keep failed builds under 600 went out
the window when I switched a bunch of packages to modular Qt, but I bet
there's a number of similar issues out there for failed builds among
armhf and mips.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-07-12 10:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-12  7:00 Obs on non-x86 Andreas Enge
2016-07-12  8:06 ` Efraim Flashner
2016-07-12 10:17   ` Efraim Flashner [this message]
2016-07-14 15:03   ` Andreas Enge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160712101749.GB4575@debian-netbook \
    --to=efraim@flashner.co.il \
    --cc=andreas@enge.fr \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.