[MacPorts] #35735: glib2 fails with /usr/include/hfs/hfs_format.h:765
#35735: glib2 fails with /usr/include/hfs/hfs_format.h:765 ----------------------------------+----------------------------------------- Reporter: jan.doumen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: ----------------------------------+----------------------------------------- Build of glib2 fails with the following error: :info:build /usr/include/hfs/hfs_format.h:765: error: expected specifier- qualifier-list before 'uuid_string_t' Solution proposed in Ticket #21282 does not work. Running MacOS 10.6.8. Also tried installing older version of glib2 as proposed in Ticket #32185. Also did an uninstall followed by a self update. -- Ticket URL: <https://trac.macports.org/ticket/35735> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35735: glib2 fails with /usr/include/hfs/hfs_format.h:765 ----------------------------------+----------------------------------------- Reporter: jan.doumen@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: glib2 ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * port: => glib2 Old description:
Build of glib2 fails with the following error:
:info:build /usr/include/hfs/hfs_format.h:765: error: expected specifier- qualifier-list before 'uuid_string_t'
Solution proposed in Ticket #21282 does not work.
Running MacOS 10.6.8.
Also tried installing older version of glib2 as proposed in Ticket #32185.
Also did an uninstall followed by a self update.
New description: Build of glib2 fails with the following error: {{{ :info:build /usr/include/hfs/hfs_format.h:765: error: expected specifier- qualifier-list before 'uuid_string_t' }}} Solution proposed in Ticket #21282 does not work. Running MacOS 10.6.8. Also tried installing older version of glib2 as proposed in Ticket #32185. Also did an uninstall followed by a self update. -- -- Ticket URL: <https://trac.macports.org/ticket/35735#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35735: glib2 fails with /usr/include/hfs/hfs_format.h:765 ----------------------------------+----------------------------------------- Reporter: jan.doumen@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: glib2 ----------------------------------+----------------------------------------- Comment(by jan.doumen@…): Any more information needed? -- Ticket URL: <https://trac.macports.org/ticket/35735#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35735: glib2 fails with /usr/include/hfs/hfs_format.h:765 ----------------------------------+----------------------------------------- Reporter: jan.doumen@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: glib2 ----------------------------------+----------------------------------------- Comment(by ryandesign@…): Could you attach the main.log file? -- Ticket URL: <https://trac.macports.org/ticket/35735#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35735: glib2 fails with /usr/include/hfs/hfs_format.h:765 ---------------------------+-------------------------- Reporter: jan.doumen@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: glib2 | ---------------------------+-------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: {{{:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_Users_DeJean_Attachments_glib2/glib2/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/glib2/glib-2.28.8.tar.bz2' | /usr/bin/gnutar --no-same-owner -xf -'}}} /Users/DeJean/Attachments/glib2 appears to be your own copy of glib2 @2.28.8; we updated the glib2 port to version 2.30.2 in r87469 last November. I recommend you use our version of glib2 would should work fine. -- Ticket URL: <https://trac.macports.org/ticket/35735#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35735: glib2 fails with /usr/include/hfs/hfs_format.h:765 ---------------------------+-------------------------- Reporter: jan.doumen@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: glib2 | ---------------------------+-------------------------- Comment (by jan.doumen@…): I'm not a programmer, so I definitely did not make my 'own copy' of glib2. I've also performed many self updates to make sure I always have the latest versions. Will check again with another self update, but if after that the issue still is the same, then I'd like this ticket to be re- opened. -- Ticket URL: <https://trac.macports.org/ticket/35735#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35735: glib2 fails with /usr/include/hfs/hfs_format.h:765 ---------------------------+-------------------------- Reporter: jan.doumen@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: glib2 | ---------------------------+-------------------------- Comment (by ryandesign@…): What is in the directory /Users/DeJean/Attachments/glib2? What is in the file /opt/local/etc/macports/sources.conf? -- Ticket URL: <https://trac.macports.org/ticket/35735#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35735: glib2 fails with /usr/include/hfs/hfs_format.h:765 ---------------------------+-------------------------- Reporter: jan.doumen@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: glib2 | ---------------------------+-------------------------- Comment (by jan.doumen@…): I removed that glib2 directory. Possibly something I tried before to get glib2 installed. In the conf file there is : rsync://rsync.macports.org/release/ports/ [default] I've just done a self update, and tried again installing glib2 ... still failing. -- Ticket URL: <https://trac.macports.org/ticket/35735#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35735: glib2 fails with /usr/include/hfs/hfs_format.h:765 ---------------------------+-------------------------- Reporter: jan.doumen@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: glib2 | ---------------------------+-------------------------- Comment (by ryandesign@…): Ok, could you attach the new main.log file? -- Ticket URL: <https://trac.macports.org/ticket/35735#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35735: glib2 fails with /usr/include/hfs/hfs_format.h:765 ---------------------------+-------------------------- Reporter: jan.doumen@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: glib2 | ---------------------------+-------------------------- Comment (by jan.doumen@…): Attached ! -- Ticket URL: <https://trac.macports.org/ticket/35735#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35735: glib2 fails with /usr/include/hfs/hfs_format.h:765 ---------------------------+-------------------------- Reporter: jan.doumen@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: glib2 | ---------------------------+-------------------------- Comment (by ryandesign@…): The log says "Skipping completed" meaning this wasn't a clean attempt. Could you "sudo port clean glib2", then try again, then attach the new log? That'll make it easier to compare your output with mine. -- Ticket URL: <https://trac.macports.org/ticket/35735#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35735: glib2 fails with /usr/include/hfs/hfs_format.h:765 ---------------------------+-------------------------- Reporter: jan.doumen@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: glib2 | ---------------------------+-------------------------- Comment (by jan.doumen@…): iMac:~ DeJean$ sudo port clean glib2 Password: ---> Cleaning glib2 iMac:~ DeJean$ sudo port install glib2 ---> Computing dependencies for glib2 ---> Fetching archive for glib2 ---> Attempting to fetch glib2-2.32.4_0.darwin_10.i386.tbz2 from http://lil.fr.packages.macports.org/glib2 ---> Attempting to fetch glib2-2.32.4_0.darwin_10.i386.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/glib2 ---> Attempting to fetch glib2-2.32.4_0.darwin_10.i386.tbz2 from http://packages.macports.org/glib2 ---> Fetching distfiles for glib2 ---> Verifying checksum(s) for glib2 ---> Extracting glib2 ---> Applying patches to glib2 ---> Configuring glib2 ---> Building glib2 Error: org.macports.build for port glib2 returned: command execution failed Please see the log file for port glib2 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_glib2/glib2/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port glib2 failed -- Ticket URL: <https://trac.macports.org/ticket/35735#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35735: glib2 fails with /usr/include/hfs/hfs_format.h:765 ---------------------------+-------------------------- Reporter: jan.doumen@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: glib2 | ---------------------------+-------------------------- Comment (by ryandesign@…): Thanks. Having refreshed my memory, I now recall that we saw this problem before (#21282). The problem was the existence of a uuid.h header which had different contents from and therefore conflicted with one provided by the operating system. That uuid.h header had been installed by the e2fsprogs port. We fixed the problem by changing the e2fsprogs port so that it would no longer install that header. But if something else installed a header by that name on your system, then that would explain the problem. Does the file /usr/local/include/uuid/uuid.h exist on your system? If so, move it aside, clean glib2, and try again. Or does the file /opt/local/include/uuid/uuid.h exist? If so, use "port provides /opt/local/include/uuid/uuid.h" to see what port provided it, then "sudo port -f deactivate" that port, clean glib2, and try again. -- Ticket URL: <https://trac.macports.org/ticket/35735#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35735: glib2 fails with /usr/include/hfs/hfs_format.h:765 ---------------------------+-------------------------- Reporter: jan.doumen@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: glib2 | ---------------------------+-------------------------- Comment (by jan.doumen@…): Seems like the first suggestion was the good one ! Thanks !!! iMac:~ root# cd /usr/local/include/uuid iMac:uuid root# ls uuid.h iMac:uuid root# mv uuid.h uuid.bak iMac:uuid root# exit logout iMac:uuid DeJean$ sudo port clean glib2 Password: ---> Cleaning glib2 iMac:uuid DeJean$ sudo port install glib2 ---> Computing dependencies for glib2 ---> Fetching archive for glib2 ---> Attempting to fetch glib2-2.32.4_0.darwin_10.i386.tbz2 from http://lil.fr.packages.macports.org/glib2 ---> Attempting to fetch glib2-2.32.4_0.darwin_10.i386.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/glib2 ---> Attempting to fetch glib2-2.32.4_0.darwin_10.i386.tbz2 from http://packages.macports.org/glib2 ---> Fetching distfiles for glib2 ---> Verifying checksum(s) for glib2 ---> Extracting glib2 ---> Applying patches to glib2 ---> Configuring glib2 ---> Building glib2 ---> Staging glib2 into destroot ---> Installing glib2 @2.32.4_0 ---> Activating glib2 @2.32.4_0 ---> Cleaning glib2 ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found. -- Ticket URL: <https://trac.macports.org/ticket/35735#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35735: glib2 fails with /usr/include/hfs/hfs_format.h:765 ---------------------------+-------------------------- Reporter: jan.doumen@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: glib2 | ---------------------------+-------------------------- Comment (by ryandesign@…): Good! I'm glad that worked. Software installed in /usr/local can easily conflict with software you want to install with MacPorts, which is why we recommend you do not install any software in /usr/local. P.S: Remember to use WikiFormatting when writing in Trac. -- Ticket URL: <https://trac.macports.org/ticket/35735#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts