#22747: libssh2 universal build fails -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: pmq@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: libssh2 -------------------------------------+-------------------------------------- A universal build of libssh2 fails: {{{ MacPorts running without privileges. You may be unable to complete certain actions (eg install). ---> Computing dependencies for libssh2 MacPorts running without privileges. You may be unable to complete certain actions (eg install). ---> Fetching libssh2 MacPorts running without privileges. You may be unable to complete certain actions (eg install). ---> Verifying checksum(s) for libssh2 MacPorts running without privileges. You may be unable to complete certain actions (eg install). ---> Extracting libssh2 MacPorts running without privileges. You may be unable to complete certain actions (eg install). MacPorts running without privileges. You may be unable to complete certain actions (eg install). ---> Configuring libssh2 ---> Configuring libssh2 for architecture x86_64 ---> Configuring libssh2 for architecture i386 MacPorts running without privileges. You may be unable to complete certain actions (eg install). ---> Building libssh2 ---> Building libssh2 for architecture x86_64 ---> Building libssh2 for architecture i386 MacPorts running without privileges. You may be unable to complete certain actions (eg install). ---> Staging libssh2 into destroot ---> Staging libssh2 into destroot for architecture x86_64 ---> Staging libssh2 into destroot for architecture i386 Error: Target org.macports.destroot returned: /mp/lib/pkgconfig/libssh2.pc differs in /mp/var/macports/build/_Users_rschmidt_macports_dports_devel_libssh2/work/destroot-i386 and /mp/var/macports/build/_Users_rschmidt_macports_dports_devel_libssh2/work/destroot-x86_64 and cannot be merged Error: Unable to upgrade port: 1 }}} Here's the difference between those files: {{{ --- work/destroot-i386/mp/lib/pkgconfig/libssh2.pc 2009-12-01 18:24:00.000000000 -0600 +++ work/destroot-x86_64/mp/lib/pkgconfig/libssh2.pc 2009-12-01 18:23:58.000000000 -0600 @@ -11,6 +11,6 @@ URL: http://www.libssh2.org/ Description: Library for SSH based connunication Version: 1.2.1 -Libs: -L${libdir} -lssh2 -L/mp/lib -arch i386 +Libs: -L${libdir} -lssh2 -L/mp/lib -arch x86_64 Libs.private: Cflags: -I${includedir} }}} The arch flags should be removed from the .pc file. -- Ticket URL: <http://trac.macports.org/ticket/22747> MacPorts <http://www.macports.org/> Ports system for Mac OS