[MacPorts] #24001: curl-7.20 +universal destroot fail
#24001: curl-7.20 +universal destroot fail ------------------------------+--------------------------------------------- Reporter: ToePeu@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: curl destroot | Port: curl ------------------------------+--------------------------------------------- it raise error because ppc and intel has different curl-config file its difference is occured by --configure options: echo " '--prefix=/opt/local' '--enable-ipv6' '--without-gnutls' '--without-gssapi' '--without-libssh2' '--without-spnego' '--disable-ares' '--disable-ldap' '--disable-ldaps' '--with-libidn' '--with- zlib=/opt/local' '--disable-dependency-tracking' '--with-ssl' '--with-ca- bundle=/opt/local/share/curl/curl-ca-bundle.crt' 'CC=/usr/bin/gcc-4.2' 'CFLAGS=-O2 ' 'LDFLAGS=-L/opt/local/lib ' 'CPPFLAGS=-I/opt/local/include'" is for intel, but for ppc, it has more ppc-related options it raise merge failure in destroot path since i removed difference of both curl-config as fake, problem resolved. i think there should not be check curl-config here. ps. when i failed to destroot, and tried -d to make report, destroot failed for everything because it could not recover its state before destroot. it was terrible and i should remove some output of destroot manually. -- Ticket URL: <http://trac.macports.org/ticket/24001> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24001: curl-7.20 +universal destroot fail ------------------------------+--------------------------------------------- Reporter: ToePeu@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: curl ------------------------------+--------------------------------------------- Changes (by jmr@…): * keywords: curl destroot => * owner: macports-tickets@… => ryandesign@… Comment: Please remember to cc the maintainer. -- Ticket URL: <http://trac.macports.org/ticket/24001#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24001: curl-7.20 +universal destroot fail ------------------------------+--------------------------------------------- Reporter: ToePeu@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: curl ------------------------------+--------------------------------------------- Description changed by macsforever2000@…: Old description:
it raise error because ppc and intel has different curl-config file
its difference is occured by --configure options: echo " '--prefix=/opt/local' '--enable-ipv6' '--without-gnutls' '--without-gssapi' '--without-libssh2' '--without-spnego' '--disable- ares' '--disable-ldap' '--disable-ldaps' '--with-libidn' '--with- zlib=/opt/local' '--disable-dependency-tracking' '--with-ssl' '--with-ca- bundle=/opt/local/share/curl/curl-ca-bundle.crt' 'CC=/usr/bin/gcc-4.2' 'CFLAGS=-O2 ' 'LDFLAGS=-L/opt/local/lib ' 'CPPFLAGS=-I/opt/local/include'"
is for intel, but for ppc, it has more ppc-related options
it raise merge failure in destroot path
since i removed difference of both curl-config as fake, problem resolved.
i think there should not be check curl-config here.
ps. when i failed to destroot, and tried -d to make report, destroot failed for everything because it could not recover its state before destroot. it was terrible and i should remove some output of destroot manually.
New description: it raise error because ppc and intel has different curl-config file its difference is occured by --configure options: {{{ echo " '--prefix=/opt/local' '--enable-ipv6' '--without-gnutls' '--without-gssapi' '--without-libssh2' '--without-spnego' '--disable-ares' '--disable-ldap' '--disable-ldaps' '--with-libidn' '--with- zlib=/opt/local' '--disable-dependency-tracking' '--with-ssl' '--with-ca- bundle=/opt/local/share/curl/curl-ca-bundle.crt' 'CC=/usr/bin/gcc-4.2' 'CFLAGS=-O2 ' 'LDFLAGS=-L/opt/local/lib ' 'CPPFLAGS=-I/opt/local/include'" }}} is for intel, but for ppc, it has more ppc-related options it raise merge failure in destroot path since i removed difference of both curl-config as fake, problem resolved. i think there should not be check curl-config here. ps. when i failed to destroot, and tried -d to make report, destroot failed for everything because it could not recover its state before destroot. it was terrible and i should remove some output of destroot manually. -- -- Ticket URL: <http://trac.macports.org/ticket/24001#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24001: curl +universal (ppc/i386) destroot fails ------------------------------+--------------------------------------------- Reporter: ToePeu@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: curl ------------------------------+--------------------------------------------- Changes (by ryandesign@…): * status: new => assigned Comment: Confirmed, for example building ppc/i386 on Tiger Intel: {{{ --- /opt/local/var/macports/build/_Users_rschmidt_macports_dports_net_curl/work /destroot-intel/opt/local/bin/curl-config 2010-03-09 23:47:38.000000000 -0600 +++ /opt/local/var/macports/build/_Users_rschmidt_macports_dports_net_curl/work /destroot-powerpc/opt/local/bin/curl-config 2010-03-09 23:47:40.000000000 -0600 @@ -148,7 +148,7 @@ ;; --configure) - echo " '--prefix=/opt/local' '--enable-ipv6' '--without-gnutls' '--without-gssapi' '--without-spnego' '--disable-ares' '--disable-ldap' '--disable-ldaps' '--with-libidn' '--with-zlib=/opt/local' '--disable- dependency-tracking' '--with-ssl' '--with-ca-bundle=/opt/local/share/curl /curl-ca-bundle.crt' '--with-libssh2' 'CC=/usr/bin/gcc-4.0' 'CFLAGS=-O2 ' 'LDFLAGS=-L/opt/local/lib ' 'CPPFLAGS=-I/opt/local/include'" + echo " '--prefix=/opt/local' '--enable-ipv6' '--without-gnutls' '--without-gssapi' '--without-spnego' '--disable-ares' '--disable-ldap' '--disable-ldaps' '--with-libidn' '--with-zlib=/opt/local' '--disable- dependency-tracking' '--with-ssl' '--with-ca-bundle=/opt/local/share/curl /curl-ca-bundle.crt' '--with-libssh2' '--host=powerpc-apple-darwin8.11.1' 'host_alias=powerpc-apple-darwin8.11.1' 'CC=/usr/bin/gcc-4.0' 'CFLAGS=-O2 ' 'LDFLAGS=-L/opt/local/lib ' 'CPPFLAGS=-I/opt/local/include'" ;; *) }}} -- Ticket URL: <http://trac.macports.org/ticket/24001#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24001: curl +universal (ppc/i386) destroot fails ------------------------------+--------------------------------------------- Reporter: ToePeu@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: curl ------------------------------+--------------------------------------------- Comment(by ryandesign@…): Presumably I should simply remove '--host=.*' and 'host_alias=.*' from curl-config if present. -- Ticket URL: <http://trac.macports.org/ticket/24001#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24001: curl +universal (ppc/i386) destroot fails ------------------------------+--------------------------------------------- Reporter: ToePeu@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: curl ------------------------------+--------------------------------------------- Comment(by ryandesign@…): Has duplicate #24983. -- Ticket URL: <http://trac.macports.org/ticket/24001#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24001: curl +universal (ppc/i386) destroot fails ------------------------------+--------------------------------------------- Reporter: ToePeu@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: curl ------------------------------+--------------------------------------------- Comment(by ryandesign@…): Has duplicate #26797. -- Ticket URL: <https://trac.macports.org/ticket/24001#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24001: curl +universal (ppc/i386) destroot fails ------------------------------+--------------------------------------------- Reporter: ToePeu@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: curl ------------------------------+--------------------------------------------- Changes (by ryandesign@…): * cc: christian.groon@… (added) -- Ticket URL: <https://trac.macports.org/ticket/24001#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24001: curl +universal (ppc/i386) destroot fails -------------------------------+-------------------------------------------- Reporter: ToePeu@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: Port: curl | -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: Should be fixed in r75686. -- Ticket URL: <https://trac.macports.org/ticket/24001#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24001: curl +universal (ppc/i386) destroot fails -----------------------+-------------------------- Reporter: ToePeu@… | Owner: ryandesign@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: | Keywords: Port: curl | -----------------------+-------------------------- Changes (by erik.welander@…): * status: closed => reopened * resolution: fixed => Comment: Hi, i have tried to build the package for quite some time now using a PowerBook G4, but the build always fails at the destroot stage. I have completely purged macports and all of its ports, and tried install variants such as installing zlib beforehand. I have set +universal in variants.conf and tried to install with "sudo port install zlib" followed by "sudo port install curl +ssl" Yet i can never get past the destroot stage. Following the other threads of people having the same problem, i am lead here with a status of the bug being "fixed", yet i cant get past it. Any help in the matter would be appreciated. Maybe this bug should be reopened? -- Ticket URL: <https://trac.macports.org/ticket/24001#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#24001: curl +universal (ppc/i386) destroot fails -----------------------+-------------------------- Reporter: ToePeu@… | Owner: ryandesign@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: | Keywords: Port: curl | -----------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:11 erik.welander@…]:
Hi, i have tried to build the package for quite some time now using a PowerBook G4, but the build always fails at the destroot stage. I have completely purged macports and all of its ports, and tried install variants such as installing zlib beforehand.
I have set +universal in variants.conf
Is there a particular reason why you need to build universal? The only reason you would need this is if you need to build software on your PowerBook that can also be run on an Intel Mac.
and tried to install with "sudo port install zlib" followed by "sudo port install curl +ssl" Yet i can never get past the destroot stage. Following the other threads of people having the same problem, i am lead here with a status of the bug being "fixed", yet i can't get past the part
{{{ ---> Staging curl into destroot Error: org.macports.destroot for port curl returned: curl-config differs in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_curl/curl/work /destroot-powerpc//opt/local/bin and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_curl/curl/work /destroot-intel//opt/local/bin and cannot be merged }}}
Any help in the matter would be appreciated. Maybe this bug should be reopened?
Please attach the two copies of the curl-config file so that I can see how they differ. -- Ticket URL: <https://trac.macports.org/ticket/24001#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#24001: curl +universal (ppc/i386) destroot fails -----------------------+-------------------------- Reporter: ToePeu@… | Owner: ryandesign@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: | Keywords: Port: curl | -----------------------+-------------------------- Comment (by erik.welander@…): Replying to [comment:13 ryandesign@…]:
Replying to [comment:11 erik.welander@…]:
Hi, i have tried to build the package for quite some time now using a PowerBook G4, but the build always fails at the destroot stage. I have completely purged macports and all of its ports, and tried install variants such as installing zlib beforehand.
I have set +universal in variants.conf
Is there a particular reason why you need to build universal? The only reason you would need this is if you need to build software on your PowerBook that can also be run on an Intel Mac. The application will be used within a volunteer organization hosting various activities(prgramming, karaoke, movie nights). The users/members of this organization gets internet access as well as access to network resources by logging in. I love this Powerbook(1.66Ghz 15") so i'm not very keen on upgrading just yet as it's still a wonderful computer to work with, but i do want other people get access to the programs i make.
and tried to install with "sudo port install zlib" followed by "sudo port install curl +ssl" Yet i can never get past the destroot stage. Following the other threads of people having the same problem, i am lead here with a status of the bug being "fixed", yet i can't get past the part
{{{ ---> Staging curl into destroot Error: org.macports.destroot for port curl returned: curl-config differs in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_curl/curl/work /destroot-powerpc//opt/local/bin and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_curl/curl/work /destroot-intel//opt/local/bin and cannot be merged }}}
Any help in the matter would be appreciated. Maybe this bug should be reopened?
Please attach the two copies of the curl-config file so that I can see how they differ. I copied "curl-config" from both folders and named them according to architecture.
-- Ticket URL: <https://trac.macports.org/ticket/24001#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#24001: curl +universal (ppc/i386) destroot fails -----------------------+-------------------------- Reporter: ToePeu@… | Owner: ryandesign@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: | Keywords: Port: curl | -----------------------+-------------------------- Comment (by ryandesign@…): There are differences between the two files, but they're irrelevant differences: just a few repeated flags. Off the top of my head I don't know why that would be happening. -- Ticket URL: <https://trac.macports.org/ticket/24001#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
#24001: curl +universal (ppc/i386) destroot fails -----------------------+-------------------------- Reporter: ToePeu@… | Owner: ryandesign@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: | Keywords: Port: curl | -----------------------+-------------------------- Comment (by erik.welander@…): Replying to [comment:15 ryandesign@…]:
There are differences between the two files, but they're irrelevant differences: just a few repeated flags. Off the top of my head I don't know why that would be happening. Maybe Macports halts as soon as it finds any kind of difference at all? Why does not both versions just share the same file? Any way i can test this theory? Simply copying the intel one to the PPC one did not work since it does not like the face that the directories already exists.
-- Ticket URL: <https://trac.macports.org/ticket/24001#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
#24001: curl +universal (ppc/i386) destroot fails -----------------------+-------------------------- Reporter: ToePeu@… | Owner: ryandesign@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: | Keywords: Port: curl | -----------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:16 erik.welander@…]:
Maybe Macports halts as soon as it finds any kind of difference at all? Why does not both versions just share the same file? Any way i can test this theory? Simply copying the intel one to the PPC one did not work since it does not like the fact that the directories already exists.
Yes, any difference in a text file will halt the merge; this is intentional because there are not expected to be any differences between the files. MacPorts cannot magically know which one of the two is correct. The question is why the curl build system has produced two different files. -- Ticket URL: <https://trac.macports.org/ticket/24001#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
#24001: curl +universal (ppc/i386) destroot fails -----------------------+-------------------------- Reporter: ToePeu@… | Owner: ryandesign@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: | Keywords: Port: curl | -----------------------+-------------------------- Comment (by erik.welander@…): Replying to [comment:17 ryandesign@…]:
Replying to [comment:16 erik.welander@…]:
Maybe Macports halts as soon as it finds any kind of difference at all? Why does not both versions just share the same file? Any way i can test this theory? Simply copying the intel one to the PPC one did not work since it does not like the fact that the directories already exists.
Yes, any difference in a text file will halt the merge; this is intentional because there are not expected to be any differences between the files. MacPorts cannot magically know which one of the two is correct. The question is why the curl build system has produced two different files. I made i quick and dirty fix to it and it works like it should now, something similar should be done but maybe a bit more clean?
Much to my suprise bash syntax and commands does not work and i do not have any experience or knowledge about TCL.
Upon examining the configure files in the ppc build directory, the flags do needlessly repeat themselves. -- Ticket URL: <https://trac.macports.org/ticket/24001#comment:18> MacPorts <http://www.macports.org/> Ports system for OS X
#24001: curl +universal (ppc/i386) destroot fails -----------------------+-------------------------- Reporter: ToePeu@… | Owner: ryandesign@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: | Keywords: Port: curl | -----------------------+-------------------------- Comment (by ryandesign@…): I'm not comfortable simply ignoring the problem by just picking one of the files and ignoring the other; this will prevent us from learning about any future differences as well, and although the current difference is insignificant, differences future versions of curl might produce might not be. I want to figure out why the curl build system is generating two different files here, and make it stop doing that. Or it might not be the fault of the curl build system; it might be something in the muniversal portgroup causing this, in which case we need to fix that. -- Ticket URL: <https://trac.macports.org/ticket/24001#comment:19> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts