Opened 6 years ago

Last modified 6 years ago

#56737 closed defect

graphene 1.8.2: difficulty building +universal — at Initial Version

Reported by: kencu (Ken) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.5.2
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: graphene

Description

I've had graphene built as +universal since forever I believe, but on this last update it fails to build. I see it was recently altered to help it build universal. I'm not sure how I had it built universal before, in fact, but I did.

The error comes with three text files that don't lipo, of course. The following fixes it, possibly incorrectly:

# gobject-introspection uses g-ir-scanner, which uses $CC from env
if {[variant_isset universal]} {
    foreach arch ${configure.universal_archs} {
        lappend merger_build_env(${arch})  CC='${configure.cc} -arch ${arch}'
        lappend merger_destroot_env(${arch})  CC='${configure.cc} -arch ${arch}'
    }
+    global merger_dont_diff
+    lappend merger_dont_diff    "${prefix}/lib/pkgconfig/graphene-1.0.pc"
+    lappend merger_dont_diff    "${prefix}/lib/pkgconfig/graphene-gobject-1.0.pc"
+    lappend merger_dont_diff    "${prefix}/lib/graphene-1.0/include/graphene-config.h"
} else {

Change History (1)

Changed 6 years ago by kencu (Ken)

Attachment: graphene.182.universal.log added
Note: See TracTickets for help on using tickets.