Opened 9 years ago

Closed 9 years ago

#49890 closed defect (invalid)

soxr 0.1.2 Problem while installing soxr

Reported by: yvan.strahm@… Owned by: casr+macports@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: dbevans (David B. Evans)
Port: soxr

Description

Unable to install soxr

Attachments (3)

main.log (17.5 KB) - added by yvan.strahm@… 9 years ago.
installation log
taglib.log (81.4 KB) - added by yvan.strahm@… 9 years ago.
soxr.log (48.3 KB) - added by yvan.strahm@… 9 years ago.

Download all attachments as: .zip

Change History (19)

Changed 9 years ago by yvan.strahm@…

Attachment: main.log added

installation log

comment:1 Changed 9 years ago by dbevans (David B. Evans)

Cc: devans@… added
Owner: changed from macports-tickets@… to casr+macports@…
Port: soxr added
Version: 2.3.4

When submitting a ticket please copy maintainer.

port info --maintainer soxr
maintainer: casr+macports@darkcog.com, openmaintainer@macports.org

comment:2 Changed 9 years ago by dbevans (David B. Evans)

Owner: changed from casr+macports@… to devans@…
Status: newassigned

comment:3 Changed 9 years ago by dbevans (David B. Evans)

Owner: changed from devans@… to casr+macports@…
Status: assignednew

comment:4 in reply to:  1 Changed 9 years ago by casr+macports@…

Odd that is complaining about missing C standard library header files. Have you tried cleaning the port just in case that fixes it? ( sudo -s -- 'port clean soxr && port install soxr' ) Usually I do not run Xcode but I will install it just to make sure that is not the cause.

Could you try some things and report back:

  1. Edit the Portfile so that the line configure.args reads configure.args-append.
    1. sudo -e `port dir soxr`/Portfile
    2. Edit line 34
    3. sudo -s -- 'port clean soxr && port install soxr'
  2. Install another CMake based port. I want to narrow own that CMake isn't a problem
    1. For this we can use taglib which doesn't have many dependencies
    2. sudo port install taglib
  3. More details about your setup. Operating system, machine type, etc.
Last edited 9 years ago by casr+macports@… (previous) (diff)

Changed 9 years ago by yvan.strahm@…

Attachment: taglib.log added

Changed 9 years ago by yvan.strahm@…

Attachment: soxr.log added

comment:5 Changed 9 years ago by yvan.strahm@…

Hello thanks for taking time for this.

Here the ouptout of the first cleaninstall command

sudo -s -- 'port clean soxr && port install soxr'
Password:
--->  Cleaning soxr
--->  Computing dependencies for soxr
--->  Fetching archive for soxr
--->  Attempting to fetch soxr-0.1.2_0.darwin_15.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/soxr
--->  Attempting to fetch soxr-0.1.2_0.darwin_15.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/soxr
--->  Attempting to fetch soxr-0.1.2_0.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/soxr
--->  Fetching distfiles for soxr
--->  Verifying checksums for soxr
--->  Extracting soxr
--->  Configuring soxr
--->  Building soxr
Error: org.macports.build for port soxr returned: command execution failed
Please see the log file for port soxr for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_soxr/soxr/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port soxr failed
  1. I edited to port file to
    #configure.args      -DBUILD_TESTS=no
    configure.args      configure.args-append
    
    and the install failed again , see log
  1. Taglib also failed, see log
  1. My system
    Darwin macus40.lan 15.0.0 Darwin Kernel Version 15.0.0: Sat Sep 19 15:53:46 PDT 2015; root:xnu-3247.10.11~1/RELEASE_X86_64 x86_64
    

It is a MacBook Pro

  Model Name:	MacBook Pro
  Model Identifier:	MacBookPro8,2
  Processor Name:	Intel Core i7
  Processor Speed:	2,2 GHz
  Number of Processors:	1
  Total Number of Cores:	4
  L2 Cache (per Core):	256 KB
  L3 Cache:	6 MB
  Memory:	8 GB

Hope it is what you wanted.

comment:6 in reply to:  5 Changed 9 years ago by casr+macports@…

Replying to yvan.strahm@…:

  1. I edited to port file to
    #configure.args      -DBUILD_TESTS=no
    configure.args      configure.args-append
    

Ah, you misunderstood me here. It should read more like:

#configure.args      -DBUILD_TESTS=no
configure.args-append  -DBUILD_TESTS=no

You could try that again but I'm starting to think it's nothing to do with that anyway. You should, however, reset that file before you go any further.

I've since built soxr with Xcode without any problems. I've also tried upgrading CMake to the same version as you have but that was okay too.

  1. Taglib also failed, see log

It seems likely to be an issue around CMake. Have you changed any configuration files for CMake or MacPorts? That might have upset the paths for standard libraries. Or perhaps you may have done a non-standard MacPorts installation?

comment:7 Changed 9 years ago by yvan.strahm@…

Not I can remember... Could rootless be a problem?

comment:8 Changed 9 years ago by casr+macports@…

I'm not familiar with running a rootless MacPorts but I don't think it should cause an issue. Perhaps if you've mixed installing things with and without root permissions it may have some peculiarities though.

What version of Xcode are you running?

comment:9 Changed 9 years ago by yvan.strahm@…

I am running Xcode Version 7.1.1 (7B1005)

comment:10 Changed 9 years ago by casr+macports@…

You could try a clean install of cmake and then re-run an install of soxr.

If that does not work, the next step might be the more extreme reinstall of MacPorts..

Last edited 9 years ago by casr+macports@… (previous) (diff)

comment:11 Changed 9 years ago by yvan.strahm@…

I did and but it did not save the problem.... And now all the port are gone ;-(

I will try to create a new user to see if something in my settings is wrong.

comment:12 Changed 9 years ago by yvan.strahm@…

Reinstall xcode both via App Store and downloading via mac developer site and reinstalling macports, nothing worked...

I will try to install soxr on another machine see it it works....

comment:13 Changed 9 years ago by yvan.strahm@…

Nothing worked so far.

Anyone has an idea?

comment:14 Changed 9 years ago by mf2k (Frank Schima)

Works fine here. You mentioned an old version of Xcode. Update to the latest version (7.2) and also make sure your command line tools are updated.

comment:15 Changed 9 years ago by yvan.strahm@…

Xcode 7.2 was installed and running but when I open AppStore to check about the command line tools, AppStore indicated Xcode as not installed. After re-installation of both Xcode and command line tools everything work as it should.

You can close the ticket and thanks again for your time and help.

comment:16 Changed 9 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.