Bug 137429 - [PATCH] audio/cdparanoia: fix build on !i386
Summary: [PATCH] audio/cdparanoia: fix build on !i386
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Markus Brueffer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-04 15:50 UTC by Dmitry Marakasov
Modified: 2009-08-04 17:00 UTC (History)
1 user (show)

See Also:


Attachments
cdparanoia-3.9.8_8.patch (595 bytes, patch)
2009-08-04 15:50 UTC, Dmitry Marakasov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov 2009-08-04 15:50:04 UTC
cdparanoia doesn't build on !i386:

---
cc -fpic -shared -o libcdda_interface.so.0.9.8 -Wl,-soname -Wl,libcdda_interface.so.0 scan_devices.o	common_interface.o cooked_interface.o interface.o scsi_interface.o smallft.o toc.o test_interface.o -lm -lcam
/usr/bin/ld: scan_devices.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
scan_devices.o: could not read symbols: Bad value
---

(I've just noticed there's -fpic, so maybe it should just be reinplaced to -fPIC).

Full log: http://people.freebsd.org/~amdmi3/cdparanoia-3.9.8_8.log

Port maintainer (markus@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-08-04 15:50:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->markus

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-08-04 16:46:05 UTC
markus      2009-08-04 15:45:47 UTC

  FreeBSD ports repository

  Modified files:
    audio/cdparanoia     Makefile 
  Log:
  Mark port as MAKE_JOBS_UNSAFE
  
  PR:             ports/137313
  Submitted by:   dougb
  
  This also fixes:
  PR:             ports/137429
  Submitted by:   amdmi3
  
  Revision  Changes    Path
  1.16      +1 -0      ports/audio/cdparanoia/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Markus Brueffer freebsd_committer freebsd_triage 2009-08-04 16:47:34 UTC
State Changed
From-To: open->closed

The root cause of the problem ist that the port is not safe for compilation 
with more than one make job and FORCE_MAKE_JOBS is set in your environment. 
I have committed the suggested workaround in ports/137313 until I have time 
to port the new cdparanoia version and look at why it fails exactly with 
multiple make jobs (unless it hasn't been fixed upstream already).  

Thanks for your detailed bugreport!