Opened 19 years ago

Closed 19 years ago

#6313 closed defect (fixed)

APR build error on 10.3.9

Reported by: bgmnt@… Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: base Version: 1.0
Keywords: Cc: sam@…
Port:

Description

# port install subversion ---> Fetching apr ---> Attempting to fetch apr-1.2.2.tar.bz2 from http://www.apache.org/dist/apr ---> Verifying checksum(s) for apr ---> Extracting apr ---> Configuring apr ---> Building apr with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2" && make all" returned error 2 Command output: /bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I./include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include

-o file_io/unix/seek.lo -c file_io/unix/seek.c && touch file_io/unix/seek.lo

/bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I./include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include

-o file_io/unix/dir.lo -c file_io/unix/dir.c && touch file_io/unix/dir.lo

/bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I./include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include

-o file_io/unix/mktemp.lo -c file_io/unix/mktemp.c && touch file_io/unix/mktemp.lo

/bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I./include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include

-o file_io/unix/filedup.lo -c file_io/unix/filedup.c && touch

file_io/unix/filedup.lo /bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I./include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include

-o file_io/unix/tempdir.lo -c file_io/unix/tempdir.c && touch

file_io/unix/tempdir.lo /bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I./include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include

-o file_io/unix/filepath.lo -c file_io/unix/filepath.c && touch

file_io/unix/filepath.lo /bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I./include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include

-o file_io/unix/pipe.lo -c file_io/unix/pipe.c && touch file_io/unix/pipe.lo

/bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I./include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include

-o file_io/unix/open.lo -c file_io/unix/open.c && touch file_io/unix/open.lo

/bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I./include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include

-o file_io/unix/filestat.lo -c file_io/unix/filestat.c && touch

file_io/unix/filestat.lo /bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I./include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include

-o file_io/unix/copy.lo -c file_io/unix/copy.c && touch file_io/unix/copy.lo

/bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I./include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include

-o file_io/unix/fileacc.lo -c file_io/unix/fileacc.c && touch

file_io/unix/fileacc.lo /bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I./include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include

-o file_io/unix/fullrw.lo -c file_io/unix/fullrw.c && touch file_io/unix/fullrw.lo

/bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I./include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include

-o locks/unix/thread_rwlock.lo -c locks/unix/thread_rwlock.c && touch

locks/unix/thread_rwlock.lo /bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I./include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include

-o locks/unix/thread_mutex.lo -c locks/unix/thread_mutex.c && touch

locks/unix/thread_mutex.lo /bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I./include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include

-o locks/unix/thread_cond.lo -c locks/unix/thread_cond.c && touch

locks/unix/thread_cond.lo /bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I./include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include

-o locks/unix/proc_mutex.lo -c locks/unix/proc_mutex.c && touch

locks/unix/proc_mutex.lo /bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I./include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include

-o locks/unix/global_mutex.lo -c locks/unix/global_mutex.c && touch

locks/unix/global_mutex.lo /bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I./include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include

-o memory/unix/apr_pools.lo -c memory/unix/apr_pools.c && touch

memory/unix/apr_pools.lo /bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I./include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include

-o misc/unix/charset.lo -c misc/unix/charset.c && touch misc/unix/charset.lo

/bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I./include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include

-o misc/unix/env.lo -c misc/unix/env.c && touch misc/unix/env.lo

/bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I./include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include

-o misc/unix/version.lo -c misc/unix/version.c && touch misc/unix/version.lo

/bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I./include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include/arch/unix -I./include/arch/unix -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_apr/work/apr-1.2.2/include

-o misc/unix/rand.lo -c misc/unix/rand.c && touch misc/unix/rand.lo

misc/unix/rand.c: In function `apr_os_uuid_get': misc/unix/rand.c:66: error: `uuid_t' undeclared (first use in this function) misc/unix/rand.c:66: error: (Each undeclared identifier is reported only once misc/unix/rand.c:66: error: for each function it appears in.) misc/unix/rand.c:66: error: parse error before "g" misc/unix/rand.c:68: error: `g' undeclared (first use in this function) make[1]: * [misc/unix/rand.lo] Error 1 make: * [all-recursive] Error 1

Error: The following dependencies failed to build: apr apr-util db4 expat neon Error: /opt/local/bin/port: Status 1 encountered during processing.

Attachments (1)

output.txt (61.0 KB) - added by sam@… 19 years ago.
full output error apr on 10.3.9

Download all attachments as: .zip

Change History (11)

comment:1 Changed 19 years ago by blb@…

Owner: changed from darwinports-bugs@… to dluke@…

Assign to maintainer.

comment:2 Changed 19 years ago by danielluke (Daniel J. Luke)

Status: newassigned

comment:3 Changed 19 years ago by danielluke (Daniel J. Luke)

(In reply to comment #0)

# port install subversion

[snip]

Can you try:

port clean --all apr port -d -v install apr

and attach the output to this bug so I can look at it?

I don't have access to a 10.3.9 machine, but on lamancha.opendarwin.org (10.3.6) apr builds just fine.

comment:4 Changed 19 years ago by danielluke (Daniel J. Luke)

Resolution: worksforme
Status: assignedclosed

I'm marking this WORKSFORME unless/until I get the full build output as I can't seem to replicate this on lamancha.

Changed 19 years ago by sam@…

Attachment: output.txt added

full output error apr on 10.3.9

comment:5 Changed 19 years ago by sam@…

Cc: sam@… added

comment:6 Changed 19 years ago by danielluke (Daniel J. Luke)

Resolution: worksforme
Status: closedreopened

comment:7 Changed 19 years ago by danielluke (Daniel J. Luke)

(In reply to comment #4)

Created an attachment (id=6187) [edit] full output error apr on 10.3.9

I use MacOSX 10.3.9 and apr faild to build. The text fiel is the request full output.

Can you look on your 10.3 system and let me know if there's a uuid.h header anywhere?

comment:8 Changed 19 years ago by sam@…

I find any uuid.h on my system.

comment:9 Changed 19 years ago by danielluke (Daniel J. Luke)

Lamancha is back, but it isn't a 10.3 system anymore.

So, I can't investigate this further easily.

I did receive an email indicating that the ossp-uuid port might be necessary for building on 10.3.

Could one of you try installing it and seeing what happens? I can pretty easily modify the port to require building/installing ossp-uuid on 10.3 systems.

comment:10 Changed 19 years ago by danielluke (Daniel J. Luke)

Resolution: fixed
Status: reopenedclosed

I've just checked in a patch for this issue.

Please update your dports tree and try again.

Note: See TracTickets for help on using tickets.