Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#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)

sdcc.log (375.9 KB) - added by john.rayfield@… 14 years ago.
log from building sdcc

Download all attachments as: .zip

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: HighNormal

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.

comment:2 Changed 14 years ago by michaelld (Michael Dickens)

Cc: michaelld@… added

Cc Me!

Changed 14 years ago by john.rayfield@…

Attachment: sdcc.log added

log from building sdcc

comment:3 Changed 14 years ago by john.rayfield@…

I have attached the full log file.

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: newclosed

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.