Opened 9 years ago

Closed 7 years ago

#49008 closed defect (invalid)

valgrind-devel @3.12.0-r15685 install failure

Reported by: jhi Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: zwaardmeester@…
Port: valgrind-devel

Description (last modified by mf2k (Frank Schima))

Did

sudo port selfupdate

followed by

sudo port upgrade outdated

which then failed with valgrind-devel.

Retry details below, attaching the full log.

sudo port install valgrind-devel
Password:
--->  Computing dependencies for valgrind-devel
--->  Building valgrind-devel
Error: org.macports.build for port valgrind-devel returned: command execution failed
Please see the log file for port valgrind-devel for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind-devel/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port valgrind-devel failed

Attachments (2)

main.log (26.1 KB) - added by jhi 9 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind-devel/main.log
main.2.log (272.7 KB) - added by zwaardmeester@… 8 years ago.

Download all attachments as: .zip

Change History (14)

Changed 9 years ago by jhi

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind-devel/main.log

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

Owner: changed from macports-tickets@… to raimue@…

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers valgrind-devel), if any.

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

Description: modified (diff)

comment:3 Changed 8 years ago by zwaardmeester@…

I also got this problem when installing Valgrind from scratch

comment:4 Changed 8 years ago by zwaardmeester@…

Cc: zwaardmeester@… added

Cc Me!

comment:5 Changed 8 years ago by raimue (Rainer Müller)

Did yours also fail with with -mmacosx-version-min=10.5? Are you also on OS X 10.10?

comment:6 in reply to:  5 Changed 8 years ago by zwaardmeester@…

Replying to raimue@…:

Did yours also fail with with -mmacosx-version-min=10.5? Are you also on OS X 10.10?

Yes I'm on 10.10. How do I pass compiler flags ?

comment:7 Changed 8 years ago by raimue (Rainer Müller)

You should not pass any additional flags. That is the flag that causes the build failure in the main.log attached here. As you said you got the same error, I suppose your main.log shows the same. If not, it is a different error and needs a separate ticket.

I also don't know what would cause the original error in this report and cannot reproduce it on OS X 10.10.

Changed 8 years ago by zwaardmeester@…

Attachment: main.2.log added

comment:8 Changed 8 years ago by zwaardmeester@…

It also has the flag.

comment:9 Changed 8 years ago by raimue (Rainer Müller)

I guess the missing file on your system would be /usr/lib/libgcc_s.10.5.tbd or /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libgcc_s.10.5.tbd. I am not sure where the compiler/linker will search for these. In any case, these files are supposed to be installed with Xcode and the OS X SDKs according to pkgutil.

Make sure you have the latest Xcode and latest Command Line Tools.

$ pkgutil --file-info /usr/lib/libgcc_s.10.5.tbd
volume: /
path: /usr/lib/libgcc_s.10.5.tbd

pkgid: com.apple.pkg.DevSDK_OSX1010
pkg-version: 7.2.0.0.1.1447826929
install-time: 1449756774
uid: 0
gid: 0
$ pkgutil --file-info /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libgcc_s.10.5.tbd
volume: /
path: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libgcc_s.10.5.tbd

pkgid: com.apple.pkg.Xcode
pkg-version: 7.2.1.0.1.1453745985
install-time: 1454499880
uid: 0
gid: 0
mode: 644
mode: 644
$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.10.5
BuildVersion:   14F1808
$ xcodebuild -version
Xcode 7.2.1
Build version 7C1002

comment:10 Changed 8 years ago by zwaardmeester@…

Hi Raimue, Thanks. Indeed I'm on an older version of Xcode, specifically:

$ xcodebuild -version
Xcode 6.1
Build version 6A1052c

Unfortunately I'm unable to update Xcode via the App Store as it complains my OSX version is too low (10.11 is required). I'll give up my resistance now and upgrade to El Capitan and see where that leads me :)

comment:11 Changed 8 years ago by raimue (Rainer Müller)

You can also get disk images for Xcode from developer.apple.com instead of the App Store. Make sure you also install the Command Line Tools.

Last edited 8 years ago by raimue (Rainer Müller) (previous) (diff)

comment:12 Changed 7 years ago by raimue (Rainer Müller)

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