Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#48247 closed defect (fixed)

cppcheck-1.69_0.darwin_10.x86_64 build failed on 10.6.8

Reported by: tommaso.vinci@… Owned by: xythobuz@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: Ionic (Mihai Moldovan)
Port: cppcheck

Description

Hi all,

I cant upgrade 'cause in the process it gives an error (same also after a clean):

sudo port selfupdate && sudo port upgrade outdated
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.3.3 installed,
MacPorts base version 2.3.3 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
--->  Computing dependencies for cppcheck
--->  Fetching archive for cppcheck
--->  Attempting to fetch cppcheck-1.69_0.darwin_10.x86_64.tbz2 from http://lil.fr.packages.macports.org/cppcheck
--->  Attempting to fetch cppcheck-1.69_0.darwin_10.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/cppcheck
--->  Attempting to fetch cppcheck-1.69_0.darwin_10.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/cppcheck
--->  Fetching distfiles for cppcheck
--->  Verifying checksums for cppcheck
--->  Extracting cppcheck
--->  Configuring cppcheck
--->  Building cppcheck
Error: org.macports.build for port cppcheck returned: command execution failed
Please see the log file for port cppcheck for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cppcheck/cppcheck/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

may thanks

Attachments (2)

main.log (9.5 KB) - added by tommaso.vinci@… 9 years ago.
cppcheck.patch (673 bytes) - added by Ionic (Mihai Moldovan) 9 years ago.
Simple patch to make cppcheck use the cxx11 PortGroup.

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by tommaso.vinci@…

Attachment: main.log added

comment:1 Changed 9 years ago by Ionic (Mihai Moldovan)

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

Thanks for the report. Please don't forget to CC the maintainer next time (determined by running port info cppcheck.) Do not CC nomaintainer or openmaintainer - these eMail addresses don't really exist.

There really isn't much we can do about this.

Your stdlib doesn't support C++11, which is required by this port.

It should be using the cxx11 PortGroup and bail out earlier with a more appropriate error message, though.

Changed 9 years ago by Ionic (Mihai Moldovan)

Attachment: cppcheck.patch added

Simple patch to make cppcheck use the cxx11 PortGroup.

comment:2 in reply to:  1 Changed 9 years ago by xythobuz@…

Replying to ionic@…:

It should be using the cxx11 PortGroup and bail out earlier with a more appropriate error message, though.

You're absolutely right. Thanks for the patch. I'll put it in shortly.

comment:3 Changed 9 years ago by Ionic (Mihai Moldovan)

Cc: ionic@… added
Resolution: fixed
Status: newclosed

Committed as r138464 in accordance with #48293.

That's probably as much as we can do about this failure, sadly.

comment:4 Changed 9 years ago by xythobuz@…

Thanks, and sorry about the duplicate ticket.

Note: See TracTickets for help on using tickets.