Opened 14 years ago

Closed 14 years ago

#22669 closed defect (fixed)

elinks-devel: fails to build

Reported by: Damien@… Owned by: lperry (Perry Lee)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: elinks-devel

Description

Default variants are: +ipv6 +quartz +no_x11 -x11 +nls +tls +ssl +with_default_names +ares +idn +aqua +bash_completion +adns +aspell

$ uname -a
Darwin arda.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov  3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386 i386 iMac6,1 Darwin

# port -d install elinks-devel +colors +fsp
...
[MAKE all]   src/viewer
[MAKE all]   src/viewer/dump
      [CC]   src/viewer/action.o
      [CC]   src/viewer/dump/dump.o
      [CC]   src/viewer/timer.o
      [CC]   src/viewer/viewer.o
      [LD]   src/viewer/lib.o
      [LD]   src/viewer/dump/lib.o
[MAKE all]   src/viewer/text
      [CC]   src/viewer/text/draw.o
      [CC]   src/viewer/text/form.o
      [CC]   src/viewer/text/link.o
      [CC]   src/viewer/text/marks.o
      [CC]   src/viewer/text/search.o
      [CC]   src/viewer/text/textarea.o
      [CC]   src/viewer/text/view.o
      [CC]   src/viewer/text/vs.o
      [LD]   src/viewer/text/lib.o
make: *** [all-recursive] Error 1

DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_elinks-devel/work/elinks-0.12pre3" && /usr/bin/make -j2 all " returned error 2
Command output:       [CC]   src/util/fastfind.o
      [CC]   src/util/file.o
      [CC]   src/util/hash.o
      [CC]   src/util/memlist.o
      [CC]   src/util/memory.o
      [CC]   src/util/scanner.o
      [CC]   src/util/secsave.o
      [CC]   src/util/snprintf.o
      [CC]   src/util/string.o
      [CC]   src/util/time.o
      [LD]   src/util/lib.o
[MAKE all]   src/viewer
[MAKE all]   src/viewer/dump
      [CC]   src/viewer/action.o
      [CC]   src/viewer/dump/dump.o
      [CC]   src/viewer/timer.o
      [CC]   src/viewer/viewer.o
      [LD]   src/viewer/lib.o
      [LD]   src/viewer/dump/lib.o
[MAKE all]   src/viewer/text
      [CC]   src/viewer/text/draw.o
      [CC]   src/viewer/text/form.o
      [CC]   src/viewer/text/link.o
      [CC]   src/viewer/text/marks.o
      [CC]   src/viewer/text/search.o
      [CC]   src/viewer/text/textarea.o
      [CC]   src/viewer/text/view.o
      [CC]   src/viewer/text/vs.o
      [LD]   src/viewer/text/lib.o
make: *** [all-recursive] Error 1

    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for elinks-devel): org.macports.activate org.macports.build org.macports.destroot org.macports.archive org.macports.install
Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

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

comment:2 Changed 14 years ago by lperry (Perry Lee)

Sorry for the lack of a response; I've been busy. I'll try to take a look at this problem within the next couple weeks (hopefully sooner than later). I've noticed that elinks-devel no longer builds for me on 10.6, so maybe just a version bump is in order to fix it.

comment:3 in reply to:  2 Changed 14 years ago by kuperman@…

Replying to perry@…:

Sorry for the lack of a response; I've been busy. I'll try to take a look at this problem within the next couple weeks (hopefully sooner than later). I've noticed that elinks-devel no longer builds for me on 10.6, so maybe just a version bump is in order to fix it.

Just tried elinks-0.12pre5 and it too doesn't build right out of the box. There seems to be some sort of issue linking for the x86_64 architecture by ld. I'm not sure exactly how the build environment is setup by macports. I did get it to build fine by just:

% cd `port dir elinks-devel`
% cd work
% sudo make clean
% sudo make -j2 all

or something extremely similar.

comment:4 Changed 14 years ago by lperry (Perry Lee)

Resolution: fixed
Status: newclosed

Sorry for the long delay. It took me awhile to find some time to clean up the Portfile and get elinks-devel updated to 0.12pre5. I've committed an update in r65861 that should fix the build issues (I had to patch Makefile.lib). Please re-open this ticket if this fix doesn't work for you.

Note: See TracTickets for help on using tickets.