Opened 10 years ago

Closed 3 years ago

#46939 closed defect (fixed)

libcaca 0.99beta1 does not build on Mavericks

Reported by: mouse07410 (Mouse) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: trolin421, ryandesign (Ryan Carsten Schmidt), watsodw
Port: libcaca

Description

I'd like to start that I don't really want to run a beta - but there's no choice as I want/need to run gnu plot, which in turn needs imlib2, which in turn needs libcaca.

OS: Mavericks 10.9.5. Xcode-6.1.1. Oracle JDK-8 (1.8.0_31).

Main build log is attached. The complaint seems to be - unable to find file "caca.h".

Help is appreciated. Thanks!

Attachments (4)

libcaca.log (74.4 KB) - added by mouse07410 (Mouse) 10 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libcaca/libcaca/main.log
main.log (106.7 KB) - added by trolin421 10 years ago.
already-installed-main.log.bz2 (12.2 KB) - added by ryandesign (Ryan Carsten Schmidt) 9 years ago.
log of successful build when libcaca is already installed
not-installed-main.log.bz2 (11.3 KB) - added by ryandesign (Ryan Carsten Schmidt) 9 years ago.
log of unsuccessful build when libcaca is not installed

Download all attachments as: .zip

Change History (20)

Changed 10 years ago by mouse07410 (Mouse)

Attachment: libcaca.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libcaca/libcaca/main.log

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

This was not a clean build, so we don't know if that's the real problem. Please clean the port and try again.

comment:2 Changed 10 years ago by mouse07410 (Mouse)

Somehow this time it did not even try to build the port - but downloaded a pre-built binary. I don't know what to say, but since the end result is that gnuplot and its dependent ports got installed - I've no grounds to complain...

$ sudo port clean libcaca
--->  Cleaning libcaca
$ sudo port install libcaca
Password:
--->  Computing dependencies for libcaca
--->  Fetching archive for libcaca
--->  Attempting to fetch libcaca-0.99.beta19_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/libcaca
--->  Attempting to fetch libcaca-0.99.beta19_0.darwin_13.x86_64.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/libcaca
--->  Installing libcaca @0.99.beta19_0
--->  Activating libcaca @0.99.beta19_0
--->  Cleaning libcaca
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.
$ sudo port upgrade outdated
--->  Computing dependencies for gnuplot
--->  Fetching archive for gnuplot
--->  Attempting to fetch gnuplot-5.0.0_0+aquaterm+luaterm+pangocairo+wxwidgets+x11.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gnuplot
--->  Attempting to fetch gnuplot-5.0.0_0+aquaterm+luaterm+pangocairo+wxwidgets+x11.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/gnuplot
--->  Attempting to fetch gnuplot-5.0.0_0+aquaterm+luaterm+pangocairo+wxwidgets+x11.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/gnuplot
--->  Fetching distfiles for gnuplot
--->  Attempting to fetch gnuplot-5.0.0.tar.gz from http://distfiles.macports.org/gnuplot/5.0.0
--->  Verifying checksums for gnuplot
--->  Extracting gnuplot
--->  Configuring gnuplot
--->  Building gnuplot
--->  Staging gnuplot into destroot
--->  Installing gnuplot @5.0.0_0+aquaterm+luaterm+pangocairo+wxwidgets+x11
--->  Cleaning gnuplot
--->  Computing dependencies for gnuplot
--->  Deactivating gnuplot @4.6.6_0+aquaterm+luaterm+pangocairo+wxwidgets+x11
--->  Cleaning gnuplot
--->  Activating gnuplot @5.0.0_0+aquaterm+luaterm+pangocairo+wxwidgets+x11
--->  Cleaning gnuplot
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.
$

comment:3 Changed 10 years ago by trolin421

It's not building for me on Yosemite (10.10.2):

root@alum:~ 552 port clean libcaca
--->  Cleaning libcaca
root@alum:~ 553 port install libcaca
--->  Computing dependencies for libcaca
--->  Fetching archive for libcaca
--->  Attempting to fetch libcaca-0.99.beta19_0.darwin_14.x86_64.tbz2 from http://packages.macports.org/libcaca
--->  Attempting to fetch libcaca-0.99.beta19_0.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/libcaca
--->  Attempting to fetch libcaca-0.99.beta19_0.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/libcaca
--->  Fetching distfiles for libcaca
--->  Verifying checksums for libcaca
--->  Extracting libcaca
--->  Configuring libcaca
--->  Building libcaca
Error: org.macports.build for port libcaca returned: command execution failed
Please see the log file for port libcaca for details:
    /opt/local/var/macports/logs/_Volumes_Apps_MacPorts_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libcaca/libcaca/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port libcaca failed

Changed 10 years ago by trolin421

Attachment: main.log added

comment:4 Changed 10 years ago by trolin421

Cc: tom_olin@… added

Cc Me!

comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Could you please run "sudo port selfupdate" and "sudo port clean libcaca" and then try again? I committed two changes—one (r133310) has a remote possibility of helping, and the other (r133312) will give us a more detailed log if the problem persists.

comment:6 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Cc Me!

comment:7 in reply to:  5 Changed 10 years ago by trolin421

Replying to ryandesign@…:

Could you please run "sudo port selfupdate" and "sudo port clean libcaca" and then try again? I committed two changes—one (r133310) has a remote possibility of helping, and the other (r133312) will give us a more detailed log if the problem persists.

I just did an update and libcaca now builds successfully on Yosemite.

comment:8 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Ok great.

comment:9 Changed 10 years ago by chrpepper

Resolution: fixed
Status: closedreopened

beta19: Still does not build on Snow Leopard. Same error as reported in the first post. Manually fixed it by copying ./caca/caca.h to ./java/ and ./caca/caca_types.h to ./java/ So it looks like the ./caca/ path is not in the include path?

comment:10 Changed 10 years ago by dcelzinga@…

Still does not build on Mavericks, with same errors as above. I tried many times cleaning and installing.

I WAS able to build by manually copying ./caca/caca.h to ./java/ and ./caca/caca_types.h to ./java/ as suggested 10 days ago by cpepper@…

comment:11 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: david.w.watson@… added

Has duplicate #48669.

Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

log of successful build when libcaca is already installed

Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: not-installed-main.log.bz2 added

log of unsuccessful build when libcaca is not installed

comment:12 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Testing on my Yosemite system, I see that the build succeeds if libcaca is already installed (so upgrades work), but the build fails if libcaca is not installed (so new installations fail).

comment:13 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

comment:14 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:15 Changed 3 years ago by mascguy (Christopher Nielsen)

Owner: changed from macports-tickets@… to mascguy
Status: reopenedassigned

comment:16 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy removed
Resolution: fixed
Status: assignedclosed

The latest release was fixed to build on Mavericks a few days ago, per the following blacklist-related commit:

https://github.com/macports/macports-ports/commit/b327e973bfe6df9dfbe768afb3f3b279299cb988

That was subsequently improved upon by @evanmiller today, who removed the blacklist requirement:

https://github.com/macports/macports-ports/commit/d8cc25e3fe2b164b4adaf529d72eb69ff86edb1f

Note: See TracTickets for help on using tickets.