#25310 closed defect (worksforme)
sdcc does not build on 10.6.3
Reported by: | john.rayfield@… | Owned by: | nerdling (Jeremy Lavergne) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.0 |
Keywords: | Cc: | michaelld (Michael Dickens) | |
Port: | sdcc |
Description (last modified by jmroot (Joshua Root))
sudo port install sdcc gives (from the logfile)...
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_sdcc/work/sdcc/device/lib/build/large/libsdcc.lib :info:build gnumake[3]: *** [objects] Error 2 :info:build gnumake[2]: *** [models] Error 2 :info:build gnumake[1]: *** [all] Error 2 :info:build gnumake: *** [sdcc-device-lib] Error 2 :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_sdcc/work/sdcc" && /usr/bin/gnumake -j4 all " returned error 2 :error:build Target org.macports.build returned: shell command failed :debug:build Backtrace: shell command failed while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for sdcc): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for sdcc is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_sdcc/main.log
Attachments (1)
Change History (9)
comment:1 Changed 14 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to snc@… |
Port: | sdcc added |
Priority: | High → Normal |
comment:4 Changed 14 years ago by nerdling (Jeremy Lavergne)
Looks like this line:
asranlib: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_sdcc/work/sdcc/device/lib/build/large/liblong.lib: No such file or directory
That's one of sdcc's own files, so this might be indicative of an inability to build in parallel.
comment:5 Changed 14 years ago by nerdling (Jeremy Lavergne)
Let's try the build again like so:
sudo port clean sdcc && sudo port install sdcc build.jobs=1
Please let me know if it has the same error or successfully builds.
comment:6 Changed 14 years ago by john.rayfield@…
I already successfully built by just building a second time (without a clean) suggesting that it could be build order.
comment:7 Changed 14 years ago by nerdling (Jeremy Lavergne)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
It build fine for me without any changes on 2 cores. If this is a >2 core issue I have no way of testing it.
comment:8 Changed 14 years ago by jmroot (Joshua Root)
The nature of parallel build problems is that they are non-deterministic. You can't say that because it built in parallel for you once (or n times) that it always will.
Note: See
TracTickets for help on using
tickets.
Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer. As per the ticket guidelines, the High priority is reserved for the use of MacPorts team members. You haven't provided the part of the log that shows the actual error.