#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)
Change History (6)
Changed 9 years ago by tommaso.vinci@…
comment:1 follow-up: 2 Changed 9 years ago by Ionic (Mihai Moldovan)
Owner: | changed from macports-tickets@… to xythobuz@… |
---|
Changed 9 years ago by Ionic (Mihai Moldovan)
Attachment: | cppcheck.patch added |
---|
Simple patch to make cppcheck
use the cxx11
PortGroup.
comment:2 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: | new → closed |
Note: See
TracTickets for help on using
tickets.
Thanks for the report. Please don't forget to CC the maintainer next time (determined by running
port info cppcheck
.) Do not CCnomaintainer
oropenmaintainer
- 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.