Opened 19 years ago

Closed 19 years ago

#5055 closed defect (fixed)

NEW: avr-libc-1.2.5

Reported by: me@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: moll@…
Port:

Description

avr-libc-1.2.5

Description: c library for the avr microcontrollers. Homepage: http://www.nongnu.org/avr-libc/ Comments: needed to build avr projects using the avr-gcc port. This also solves bug #4995

Attachments (1)

Portfile (720 bytes) - added by me@… 19 years ago.
Portfile

Download all attachments as: .zip

Change History (9)

Changed 19 years ago by me@…

Attachment: Portfile added

Portfile

comment:1 Changed 19 years ago by moll@…

Cc: moll@… added

This Portfile fails with the following error:

Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_cross_avr-libc/work/ avr-libc-1.2.5" && /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_cross_avr-libc/work/ avr-libc-1.2.5/domake all" returned error 1 Command output: You must run doconf first!

comment:2 Changed 19 years ago by me@…

Could you send me the whole output from attempting to build this package? I've tested it on two systems and it worked on both with no errors. Thank you.

comment:3 Changed 19 years ago by moll@…

# port install avr-libc ---> Fetching avr-libc ---> Verifying checksum(s) for avr-libc ---> Extracting avr-libc ---> Configuring avr-libc ---> Building avr-libc with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_cross_avr-libc/ work/avr-libc-1.2.5" && /opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_cross_avr-libc/ work/avr-libc-1.2.5/domake all" returned error 1 Command output: You must run doconf first! # port installed The following ports are currently installed:

apr 0.9.6_1+darwin_8 (active) apr-util 0.9.6_1 (active) avr-binutils 2.15_0 (active) avr-gcc 3.4.3_0 (active) avrdude 5.0-BETA_0 (active) binutils 2.15_1 (active) bzip2 1.0.3_0 (active) colordiff 1.0.4_0 (active) coreutils 5.2.1_4 (active) DarwinPortsStartup 1.1_0 (active) db4 4.3.28_0+darwin_8 (active) expat 1.95.8_1 (active) gettext 0.14.5_0 (active) glib1 1.2.10_4 (active) gnupg 1.4.2_0 (active) gsl 1.6_0 (active) gtk1 1.2.10_6 (active) kermit 8.0.209_0 (active) libiconv 1.10_0 (active) libtool 1.5.20_0 (active) lrzsz 0.12.20_0 (active) minicom 2.1_1+darwin_8 (active) mpich 1.2.6_0 (active) mtr 0.69_0 (active) neon 0.24.7_0 (active) openssl 0.9.8_1 (active) pkgconfig 0.19_0 (active) popt 1.7_4 (active) pstree 2.26_0 (active) subversion 1.2.3_0 (active) uisp 20050207_0 (active) wget 1.10_0 (active) zlib 1.2.3_0 (active)

comment:4 Changed 19 years ago by me@…

Sorry, I meant build with 'port -v -d install', I'm curious to see why the configure stage is failing. Thank you.

comment:5 Changed 19 years ago by moll@…

I turns out that the avr-gcc package didn't create a sym link from avr-gcc-3.4.3 to avr-gcc. This caused the configure script of avr-libc to break. After I did this:

ln -s /opt/local/bin/avr-gcc-3.4.3 /opt/local/bin/avr-gcc

avr-libc installed fine.

comment:6 Changed 19 years ago by me@…

Ah, that must've caused the configure script to fail. Did you file a bug report for avr-gcc for that symlink?

comment:7 Changed 19 years ago by toby@…

* Bug 4995 has been marked as a duplicate of this bug. *

comment:8 Changed 19 years ago by toby@…

Resolution: fixed
Status: newclosed

committed

Note: See TracTickets for help on using tickets.