Opened 11 years ago

Closed 11 years ago

#39839 closed defect (invalid)

Error: org.macports.build for port pdflib returned: command execution failed

Reported by: avijitshee88@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: cooljeanius (Eric Gallager)
Port: pdflib

Description

Hi, I have recently upgraded my mac from Snow leopard(10.6) to Mountain Lion(10.8.4) and my Xcode version to 4.6.3. When i was running the command 'sudo upgrade outdated', I am getting the following error message.

sudo port install pdflib build.jobs=1
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
--->  Fetching archive for pdflib
--->  Attempting to fetch pdflib-7.0.5_1.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/pdflib
--->  Attempting to fetch pdflib-7.0.5_1.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/pdflib
--->  Attempting to fetch pdflib-7.0.5_1.darwin_12.x86_64.tbz2 from http://packages.macports.org/pdflib
--->  Fetching distfiles for pdflib
--->  Verifying checksum(s) for pdflib
--->  Extracting pdflib
--->  Applying patches to pdflib
--->  Configuring pdflib
--->  Building pdflib
Error: org.macports.build for port pdflib returned: command execution failed
Please see the log file for port pdflib for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_pdflib/pdflib/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port pdflib failed

I have attached my main.log file with this mail.

Attachments (2)

main.log (23.2 KB) - added by avijitshee88@… 11 years ago.
main.2.log (40.2 KB) - added by avijitshee88@… 11 years ago.

Download all attachments as: .zip

Change History (11)

Changed 11 years ago by avijitshee88@…

Attachment: main.log added

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

Port: pdflib added
Type: updatedefect

In the future, please fill in the Port field.

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Please let us know what version of Xcode and clang you have. To find out the Xcode version, get info on it in the Finder. To find out the clang version, run clang -v in the Terminal.

comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Sorry, I see you mentioned Xcode version 4.6.3 already. That's fine. Have you also opened Xcode, gone to its Preferences window, to the Downloads section, and updated the command line tools?

comment:4 Changed 11 years ago by avijitshee88@…

Thank you for the reply. My command line tools are up-to-date (I have checked right now). clang -v in my terminal is providing the following infos:

Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.4.0
Thread model: posix.

some additional infos are, atlas is not in activated in my laptop because I am facing some problems with the present version i.e, atlas @3.10.1_2+gcc45 (active). And I have been unable to install any other version of atlas. If you are interested, please see the main.log of that installation problem..

Changed 11 years ago by avijitshee88@…

Attachment: main.2.log added

comment:5 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

So both atlas and pdflib are failing to build because of error messages from the system headers:

/usr/include/strings.h:74:47: error: expected function body after function declarator

This suggests to me a problem with the system headers, which are part of the Xcode command line tools installation. Although your version of clang is correct for your version of Xcode, perhaps reinstalling the command line tools would help fix your headers. There is a separately installable command line tools download available on Apple's developer web site at http://connect.apple.com that I recommend you download and install. Unfortunately, Apple's developer web site is down right now and I don't know when it will be back.

comment:6 in reply to:  5 Changed 11 years ago by larryv (Lawrence Velázquez)

Replying to ryandesign@…:

There is a separately installable command line tools download available on Apple's developer web site at http://connect.apple.com that I recommend you download and install. Unfortunately, Apple's developer web site is down right now and I don't know when it will be back.

I have a cached copy of the April 2013 installer, if you want it.

comment:7 Changed 11 years ago by avijitshee88@…

Thanks! I have downloaded and installed the command line tools of April 2013. Still, I have not been able to install either 'pdflib' or 'atlas' . Meanwhile, I have updated my macport version to 2.2.0. That also fails.

comment:8 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:9 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

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