Opened 6 years ago

Last modified 6 years ago

#56451 closed defect

librsvg:: not big endian, needs port:cargo added in depends_lib — at Version 3

Reported by: gaming-hacker (G Alexander) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.4.3
Keywords: Cc: pixilla (Bradley Giesbrecht)
Port: librsvg

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hello,

I built and installed

rust @1.25.0_0 (active) 

then proceeded to update librsvg

  $ ./configure --prefix=/opt/local --enable-vala=yes --disable-silent-rules --disable-Bsymbolic --enable-introspection

and got the following error

conftest.c:28:4: error: use of undeclared identifier 'not'
                 not big endian
configure:13833: checking for cargo
configure:13861: result: no
configure:13870: error: cargo is required.  Please install the Rust toolchain from https://www.rust-lang.org/
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "RSVG"
| #define PACKAGE_TARNAME "librsvg"
| #define PACKAGE_VERSION "2.42.2"
| #define PACKAGE_STRING "RSVG 2.42.2"

adding 'port:cargo' in the 'depends_lib'

after about 40 minutes of thrashing around, all dependencies are built but updating librsvg leads to

:info:destroot make: *** No rule to make target `install'.  Stop.

Is this is a relatively easy fix???

Change History (3)

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

Cc: dbevans removed
Keywords: rust cargo removed
Owner: set to dbevans
Status: newassigned

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

port:cargo is already in depends_lib of librsvg, added by the cargo_fetch port group. Do you not see it in port info?

As you run configure manually, I assume you are compiling outside of MacPorts. Could you attach the full config.log showing the error?

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

Description: modified (diff)
Note: See TracTickets for help on using tickets.