Opened 9 years ago

Closed 9 years ago

#24333 closed defect (worksforme)

Neon compile error

Reported by: david.leonardi@… Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: neon Cc:
Port: neon

Description (last modified by raimue (Rainer Müller))

--->  Building neon
DEBUG: Executing org.macports.build (neon)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_neon/work/neon-0.29.3" && /usr/bin/make -j2 all'
/bin/sh ../libtool --quiet --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I/opt/local/include -no-cpp-precomp -I/opt/local/include    -I.. -O2 -arch i386 -c ne_request.c -o ne_request.lo
/bin/sh ../libtool --quiet --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I/opt/local/include -no-cpp-precomp -I/opt/local/include    -I.. -O2 -arch i386 -c ne_session.c -o ne_session.lo
ne_session.c: In function 'ne_set_useragent':
ne_session.c:420: error: syntax error before 'NEON_VERSION'
ne_session.c:423: error: syntax error before 'NEON_VERSION'
make[1]: *** [ne_session.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
ne_request.c: In function 'aborted':
ne_request.c:188: error: syntax error before 'NE_FMT_SSIZE_T'
ne_request.c: In function 'body_fd_send':
ne_request.c:313: error: syntax error before 'NE_FMT_OFF_T'
ne_request.c: In function 'send_request_body':
ne_request.c:369: error: syntax error before 'NE_FMT_SSIZE_T'
ne_request.c:381: error: syntax error before 'NE_FMT_SSIZE_T'
ne_request.c: In function 'set_body_length':
ne_request.c:477: error: syntax error before 'NE_FMT_OFF_T'
ne_request.c: In function 'read_response_block':
ne_request.c:739: error: syntax error before 'NE_FMT_SIZE_T'
ne_request.c:753: error: syntax error before 'NE_FMT_SSIZE_T'
ne_request.c:758: error: syntax error before 'NE_FMT_SSIZE_T'
make[1]: *** [ne_request.lo] Error 1
make: *** [subdirs] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_neon/work/neon-0.29.3" && /usr/bin/make -j2 all " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_neon/work/neon-0.29.3" && /usr/bin/make -j2 all " returned error 2
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for neon): org.macports.destroot org.macports.build
DEBUG: couldn't read file "/opt/local/share/macports/Tcl/darwintrace1.0/pkgIndex.tcl": no such file or directory
    while executing
"source [file join $dir pkgIndex.tcl]"
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (3)

build_log.txt (10.7 KB) - added by david.leonardi@… 9 years ago.
filelist.txt (49.6 KB) - added by david.leonardi@… 9 years ago.
config.h (13.4 KB) - added by david.leonardi@… 9 years ago.

Download all attachments as: .zip

Change History (23)

comment:1 Changed 9 years ago by david.leonardi@…

comment:2 Changed 9 years ago by raimue (Rainer Müller)

Owner: changed from macports-tickets@… to dluke@…

comment:3 Changed 9 years ago by raimue (Rainer Müller)

Description: modified (diff)

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

Are you attempting to upgrade neon? The build may be failing because it's seeing an old installed version of neon. To work around this, you could deactivate neon first and then try building the new one.

Otherwise, please attach the full build log:

sudo port clean neon && sudo port -dv install neon | tee build_log.txt

(and upload the build_log.txt file).

Thanks.

Changed 9 years ago by david.leonardi@…

Attachment: build_log.txt added

comment:5 Changed 9 years ago by david.leonardi@…

same error. find the file attached.

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

Owner: changed from dluke@… to dluke@…
Status: newassigned

Do you perhaps have an old neon installed in /usr/local (or headers in /usr/local/include?)

comment:7 Changed 9 years ago by david.leonardi@…

a find ./ | grep neon in /usr/local returned nothing, so i guess not. i had one installed through ports, but it got uninstalled a while ago.

let me know if i should check anything else!

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

Could you try building again, but with parallel builds disabled?

sudo port clean neon sudo port -dv install neon build.jobs=1

If that works, I'll update the port to disable parallel builds.

comment:9 Changed 9 years ago by david.leonardi@…

dont know if its relevant, but /OPT/local is full with neon stuff.

anyhow i ran clean and the build with the options you reccomended but still no successful compile.

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

It shouldn't be (since I asked you to deactivate neon in my first comment ;-) ).

Try this:

sudo port -f uninstall neon sudo port clean neon sudo port -dv install neon

Perhaps my first thought was correct? (I think there were some older versions of neon that prevent newer versions of neon from building correctly).

comment:11 Changed 9 years ago by david.leonardi@…

same result as always.

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

... but there are no neon files in /opt/local now, right?

Changed 9 years ago by david.leonardi@…

Attachment: filelist.txt added

comment:13 Changed 9 years ago by david.leonardi@…

see the attached file for a list of files there right now.

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

ok, those are all fine.

So you didn't have any luck with running with build.jobs=1 either?

Can you tell me more about your system? (intel mac, 10.5?)

comment:15 Changed 9 years ago by david.leonardi@…

at least thats good news..

no luck using one build job... system is an intel 10.5.8 system.

GCC info: Using built-in specs. Target: i686-apple-darwin9 Configured with: /var/tmp/gcc/gcc-5493~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/[cg][.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9 Thread model: posix gcc version 4.0.1 (Apple Inc. build 5493)

Autobreak info: autoconf (GNU Autoconf) 2.65

Port info: MacPorts 1.8.2 , last updated yesterday or so

is anything else relevant?

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

can you attach the config.h that gets generated after configure is run?

Changed 9 years ago by david.leonardi@…

Attachment: config.h added

comment:17 Changed 9 years ago by david.leonardi@…

find it attached

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

Well, your config.h is the same as mine.

I have no idea why your build would be failing. (One last gasp - do you have some other config.h causing problems, say one in /usr/local?)

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

Priority: HighNormal

closing this due to lack of response, feel free to re-open if you have more information.

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

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.