Opened 11 years ago

Closed 11 years ago

#42542 closed defect (invalid)

libgnomeui: rev-upgrade rebuild fails after installing gdb 7.6

Reported by: danielux@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: libgnomeui

Description (last modified by dbevans (David B. Evans))

When I try performing: sudo port install gdb

I get these messages:

--->  Cleaning gdb
--->  Scanning binaries for linking errors: 100.0%
--->  Found 2 broken file(s), matching files to ports
--->  Found 1 broken port(s), determining rebuild order
--->  Rebuilding in order
     libgnomeui @2.24.5 +x11
--->  Computing dependencies for libgnomeui
--->  Cleaning libgnomeui
--->  Scanning binaries for linking errors: 100.0%
--->  Found 2 broken file(s), matching files to ports
--->  Found 1 broken port(s), determining rebuild order
--->  Rebuilding in order
     libgnomeui @2.24.5 +x11
--->  Computing dependencies for libgnomeui
--->  Fetching distfiles for libgnomeui
--->  Verifying checksums for libgnomeui
--->  Extracting libgnomeui
--->  Configuring libgnomeui
--->  Building libgnomeui
Error: org.macports.build for port libgnomeui returned: command execution failed
Please see the log file for port libgnomeui for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libgnomeui/libgnomeui/main.log
Error: Unable to upgrade port: 1
Error rebuilding libgnomeui
    while executing
"error "Error rebuilding $portname""
    (procedure "revupgrade_scanandrebuild" line 382)
    invoked from within
"revupgrade_scanandrebuild broken_port_counts $opts"
    (procedure "macports::revupgrade" line 5)
    invoked from within
"macports::revupgrade $opts"
    (procedure "action_revupgrade" line 2)
    invoked from within
"action_revupgrade $action $portlist $opts"
    (procedure "action_target" line 96)
    invoked from within
"$action_proc $action $portlist [array get global_options]"
    (procedure "process_cmd" line 93)
    invoked from within
"process_cmd $remaining_args"
    invoked from within
"if { [llength $remaining_args] > 0 } {

    # If there are remaining arguments, process those as a command
    set exit_status [process_cmd $remaining..."
    (file "/opt/local/bin/port" line 4857)

Which apparently means the tool fails building libgnomeui. In the attached main.log file it mentions the file /opt/local/bin/gsed: can't read /opt/local/lib/libgnomevfs-2.la is missing, which is true in my system.

Any clues on what may be happening?

Thanks,

Dan.

Attachments (1)

main.log (34.0 KB) - added by danielux@… 11 years ago.
libgnomeui building log

Download all attachments as: .zip

Change History (9)

Changed 11 years ago by danielux@…

Attachment: main.log added

libgnomeui building log

comment:1 Changed 11 years ago by dbevans (David B. Evans)

Description: modified (diff)
Owner: changed from macports-tickets@… to devans@…
Port: libgnomeui added; gdb 7.6 removed
Priority: HighNormal
Status: newassigned
Summary: Can't install gdb 7.6libgnomeui: rev-upgrade rebuild fails after installing gdb 7.6

It appears that your install of gdb was successful but 'port rev-upgrade', which runs automatically after an install, found a linking error in an already installed version of libgnomeui and attempted a rebuild to resolve the problem. This is unrelated to the gdb build.

Are you saying that port gnome-vfs is not installed and active on your system?

port installed gnome-vfs

If not, does installing gnome-vfs solve the build problem with libgnomeui?

Last edited 11 years ago by dbevans (David B. Evans) (previous) (diff)

comment:2 Changed 11 years ago by dbevans (David B. Evans)

What is the output of

sudo port -d rev-upgrade

This should give more detailed information about the linking error.

comment:3 Changed 11 years ago by danielux@…

Replying to devans@…:

It appears that your install of gdb was successful but 'port rev-upgrade', which runs automatically after an install, found a linking error in an already installed version of libgnomeui and attempted a rebuild to resolve the problem. This is unrelated to the gdb build.

Are you saying that port gnome-vfs is not installed and active on your system?

sudo port installed gnome-vfs

If not, does installing gnome-vfs solve the build problem with libgnomeui?

I've just tried "sudo port install gnome-vfs" and I got this:

---> Computing dependencies for gnome-vfs ---> Cleaning gnome-vfs ---> Scanning binaries for linking errors: 100.0% ---> Found 2 broken file(s), matching files to ports ---> Found 1 broken port(s), determining rebuild order ---> Rebuilding in order

libgnomeui @2.24.5 +x11

---> Computing dependencies for libgnomeui ---> Cleaning libgnomeui ---> Scanning binaries for linking errors: 100.0% ---> Found 2 broken file(s), matching files to ports ---> Found 1 broken port(s), determining rebuild order ---> Rebuilding in order

libgnomeui @2.24.5 +x11

---> Computing dependencies for libgnomeui ---> Fetching distfiles for libgnomeui ---> Verifying checksums for libgnomeui ---> Extracting libgnomeui ---> Configuring libgnomeui ---> Building libgnomeui Error: org.macports.build for port libgnomeui returned: command execution failed Please see the log file for port libgnomeui for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libgnomeui/libgnomeui/main.log

Error: Unable to upgrade port: 1 Error rebuilding libgnomeui

while executing

"error "Error rebuilding $portname""

(procedure "revupgrade_scanandrebuild" line 382) invoked from within

"revupgrade_scanandrebuild broken_port_counts $opts"

(procedure "macports::revupgrade" line 5) invoked from within

"macports::revupgrade $opts"

(procedure "action_revupgrade" line 2) invoked from within

"action_revupgrade $action $portlist $opts"

(procedure "action_target" line 96) invoked from within

"$action_proc $action $portlist [array get global_options]"

(procedure "process_cmd" line 93) invoked from within

"process_cmd $remaining_args"

invoked from within

"if { [llength $remaining_args] > 0 } {

# If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "/opt/local/bin/port" line 4857)

So, more or less essentially what I got before when trying to install gdb. Now, after doing "sudo port installed gnome-vfs" I get this: The following ports are currently installed:

gnome-vfs @2.24.4_1 (active)

The funny thing is, after doing "sudo port installed gdb" I get: The following ports are currently installed:

gdb @7.6_0 (active)

But I still can't use gdb, or at least I don't see it installed in /opt/local/bin as it should be...

When doing sudo port -d rev-upgrade, I get these errors:

grep: /opt/local/lib/libgnomevfs-2.la: No such file or directory /opt/local/bin/gsed: can't read /opt/local/lib/libgnomevfs-2.la: No such file or directory libtool: link: `/opt/local/lib/libgnomevfs-2.la' is not a valid libtool archive make[4]: * [libgnomeui-2.la] Error 1 make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libgnomeui/libgnomeui/work/libgnomeui-2.24.5/libgnomeui' make[3]: * [all-recursive] Error 1 make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libgnomeui/libgnomeui/work/libgnomeui-2.24.5/libgnomeui' make[2]: * [all] Error 2 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libgnomeui/libgnomeui/work/libgnomeui-2.24.5/libgnomeui' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libgnomeui/libgnomeui/work/libgnomeui-2.24.5' make: * [all] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libgnomeui/libgnomeui/work/libgnomeui-2.24.5' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libgnomeui/libgnomeui/work/libgnomeui-2.24.5" && /usr/bin/make -j8 -w all Exit code: 2 Error: org.macports.build for port libgnomeui returned: command execution failed DEBUG: Error code: CHILDSTATUS 89901 2 DEBUG: Backtrace: command execution failed

while executing

"system -nice 0 $fullcmdstring"

("eval" body line 1) invoked from within

"eval system $notty $nice \$fullcmdstring"

invoked from within

"command_exec build"

(procedure "portbuild::build_main" line 8) invoked from within

"$procedure $targetname" Warning: targets not executed for libgnomeui: org.macports.destroot org.macports.build Please see the log file for port libgnomeui for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libgnomeui/libgnomeui/main.log

DEBUG: can not find channel named "debuglog"

while executing

"tcl::puts debuglog {DEBUG: Starting logging for libgnomeui}"

invoked from within

"catch "tcl::puts $args"" Error: Unable to upgrade port: 1 DEBUG: Rebuilding port libgnomeui finished with status 1 Error rebuilding libgnomeui

while executing

"error "Error rebuilding $portname""

(procedure "revupgrade_scanandrebuild" line 382) invoked from within

"revupgrade_scanandrebuild broken_port_counts $opts"

(procedure "macports::revupgrade" line 5) invoked from within

"macports::revupgrade $opts"

(procedure "action_revupgrade" line 2) invoked from within

"$action_proc $action $portlist [array get global_options]"

(procedure "process_cmd" line 93) invoked from within

"process_cmd $remaining_args"

invoked from within

"if { [llength $remaining_args] > 0 } {

# If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "/opt/local/bin/port" line 4857)

comment:4 Changed 11 years ago by dbevans (David B. Evans)

Please remember to use WikiFormatting when quoting logs, terminal output, etc so it is readable.

I've just tried "sudo port install gnome-vfs" and I got this:

---> Computing dependencies for gnome-vfs 
---> Cleaning gnome-vfs 
---> Scanning binaries for linking errors: 100.0% 
---> Found 2 broken file(s), matching files to ports 
---> Found 1 broken port(s), determining rebuild order 
---> Rebuilding in order

    libgnomeui @2.24.5 +x11

---> Computing dependencies for libgnomeui 
---> Cleaning libgnomeui 
---> Scanning binaries for linking errors: 100.0% 
---> Found 2 broken file(s), matching files to ports 
---> Found 1 broken port(s), determining rebuild order ---> Rebuilding in order

    libgnomeui @2.24.5 +x11

---> Computing dependencies for libgnomeui 
---> Fetching distfiles for libgnomeui 
---> Verifying checksums for libgnomeui 
---> Extracting libgnomeui 
---> Configuring libgnomeui 
---> Building libgnomeui Error: org.macports.build for port libgnomeui returned: command execution failed 
Please see the log file for port libgnomeui for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libgnomeui/libgnomeui/main.log

Error: Unable to upgrade port: 1 Error rebuilding libgnomeui

    while executing

"error "Error rebuilding $portname""

    (procedure "revupgrade_scanandrebuild" line 382) invoked from within

"revupgrade_scanandrebuild broken_port_counts $opts"

    (procedure "macports::revupgrade" line 5) invoked from within

"macports::revupgrade $opts"

    (procedure "action_revupgrade" line 2) invoked from within

"action_revupgrade $action $portlist $opts"

    (procedure "action_target" line 96) invoked from within

"$action_proc $action $portlist [array get global_options]"

    (procedure "process_cmd" line 93) invoked from within

"process_cmd $remaining_args"

    invoked from within

"if { [llength $remaining_args] > 0 } {

    # If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "/opt/local/bin/port" line 4857)

So, more or less essentially what I got before when trying to install gdb. Now, after doing "sudo port installed gnome-vfs" I get this:

The following ports are currently installed:

    gnome-vfs @2.24.4_1 (active)

The funny thing is, after doing "sudo port installed gdb" I get:

The following ports are currently installed:

    gdb @7.6_0 (active)

But I still can't use gdb, or at least I don't see it installed in /opt/local/bin as it should be...

When doing sudo port -d rev-upgrade, I get these errors:

grep: /opt/local/lib/libgnomevfs-2.la: No such file or directory /opt/local/bin/gsed: can't read /opt/local/lib/libgnomevfs-2.la: No such file or directory libtool: link: `/opt/local/lib/libgnomevfs-2.la' is not a valid libtool archive make[4]: * [libgnomeui-2.la] Error 1 make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libgnomeui/libgnomeui/work/libgnomeui-2.24.5/libgnomeui' make[3]: * [all-recursive] Error 1 make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libgnomeui/libgnomeui/work/libgnomeui-2.24.5/libgnomeui' make[2]: * [all] Error 2 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libgnomeui/libgnomeui/work/libgnomeui-2.24.5/libgnomeui' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libgnomeui/libgnomeui/work/libgnomeui-2.24.5' make: * [all] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libgnomeui/libgnomeui/work/libgnomeui-2.24.5' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libgnomeui/libgnomeui/work/libgnomeui-2.24.5" && /usr/bin/make -j8 -w all Exit code: 2 Error: org.macports.build for port libgnomeui returned: command execution failed DEBUG: Error code: CHILDSTATUS 89901 2 DEBUG: Backtrace: command execution failed

    while executing

"system -nice 0 $fullcmdstring"

    ("eval" body line 1) invoked from within

"eval system $notty $nice \$fullcmdstring"

    invoked from within

"command_exec build"

    (procedure "portbuild::build_main" line 8) invoked from within

"$procedure $targetname" Warning: targets not executed for libgnomeui: org.macports.destroot org.macports.build Please see the log file for port libgnomeui for details:

    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libgnomeui/libgnomeui/main.log

DEBUG: can not find channel named "debuglog"

    while executing

"tcl::puts debuglog {DEBUG: Starting logging for libgnomeui}"

    invoked from within

"catch "tcl::puts $args"" Error: Unable to upgrade port: 1 DEBUG: Rebuilding port libgnomeui finished with status 1 Error rebuilding libgnomeui

    while executing

"error "Error rebuilding $portname""

    (procedure "revupgrade_scanandrebuild" line 382) invoked from within

"revupgrade_scanandrebuild broken_port_counts $opts"

    (procedure "macports::revupgrade" line 5) invoked from within

"macports::revupgrade $opts"

    (procedure "action_revupgrade" line 2) invoked from within

"$action_proc $action $portlist [array get global_options]"

    (procedure "process_cmd" line 93) invoked from within

"process_cmd $remaining_args"

    invoked from within

"if { [llength $remaining_args] > 0 } {

    # If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "/opt/local/bin/port" line 4857)

comment:5 in reply to:  3 Changed 11 years ago by dbevans (David B. Evans)

Replying to danielux@…:

The funny thing is, after doing "sudo port installed gdb" I get: The following ports are currently installed:

gdb @7.6_0 (active)

But I still can't use gdb, or at least I don't see it installed in /opt/local/bin as it should be...

port gdb names the binary

/opt/local/bin/ggdb

To avoid possible conflicts with

/usr/bin/gdb

You can use this command to see what files are installed

port contents gdb

When doing sudo port -d rev-upgrade, I get these errors:

I was interested in any output from this command before it began the rebuild of libgnomeui. Should say exactly what linking errors were found and in what files.

comment:6 Changed 11 years ago by dbevans (David B. Evans)

I see that you are running Mavericks (from your log file). Any chance that you recently upgraded to Mavericks? If so, did you follow the Migration instructions?

comment:7 in reply to:  6 ; Changed 11 years ago by danielux@…

Interesting! Apparently I already had gdb installed, so I do have /opt/local/bin/ggdb in my system. Now when I do ggdb -v I get:

GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin13.0.0".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.

After doing port contents gdb I get:

Port gdb contains:
  /opt/local/bin/ggdb
  /opt/local/include/ansidecl.h
  /opt/local/include/bfd.h
  /opt/local/include/bfdlink.h
  /opt/local/include/dis-asm.h
  /opt/local/include/gdb/jit-reader.h
  /opt/local/include/symcat.h
  /opt/local/lib/libbfd.a
  /opt/local/lib/libopcodes.a
  /opt/local/lib/x86_64/libiberty.a
  /opt/local/libexec/gnubin/gdb
  /opt/local/share/gdb/python/gdb/__init__.py
  /opt/local/share/gdb/python/gdb/command/__init__.py
  /opt/local/share/gdb/python/gdb/command/explore.py
  /opt/local/share/gdb/python/gdb/command/pretty_printers.py
  /opt/local/share/gdb/python/gdb/command/prompt.py
  /opt/local/share/gdb/python/gdb/command/type_printers.py
  /opt/local/share/gdb/python/gdb/function/__init__.py
  /opt/local/share/gdb/python/gdb/function/strfns.py
  /opt/local/share/gdb/python/gdb/printing.py
  /opt/local/share/gdb/python/gdb/prompt.py
  /opt/local/share/gdb/python/gdb/types.py
  /opt/local/share/gdb/syscalls/amd64-linux.xml
  /opt/local/share/gdb/syscalls/gdb-syscalls.dtd
  /opt/local/share/gdb/syscalls/i386-linux.xml
  /opt/local/share/gdb/syscalls/mips-n32-linux.xml
  /opt/local/share/gdb/syscalls/mips-n64-linux.xml
  /opt/local/share/gdb/syscalls/mips-o32-linux.xml
  /opt/local/share/gdb/syscalls/ppc-linux.xml
  /opt/local/share/gdb/syscalls/ppc64-linux.xml
  /opt/local/share/gdb/syscalls/sparc-linux.xml
  /opt/local/share/gdb/syscalls/sparc64-linux.xml
  /opt/local/share/info/annotate.info
  /opt/local/share/info/bfd.info
  /opt/local/share/info/configure.info
  /opt/local/share/info/ggdb-standards.info
  /opt/local/share/info/ggdb.info
  /opt/local/share/info/ggdbint.info
  /opt/local/share/info/stabs.info
  /opt/local/share/locale/da/LC_MESSAGES/bfd.mo
  /opt/local/share/locale/da/LC_MESSAGES/opcodes.mo
  /opt/local/share/locale/de/LC_MESSAGES/opcodes.mo
  /opt/local/share/locale/es/LC_MESSAGES/bfd.mo
  /opt/local/share/locale/es/LC_MESSAGES/opcodes.mo
  /opt/local/share/locale/fi/LC_MESSAGES/bfd.mo
  /opt/local/share/locale/fi/LC_MESSAGES/opcodes.mo
  /opt/local/share/locale/fr/LC_MESSAGES/bfd.mo
  /opt/local/share/locale/fr/LC_MESSAGES/opcodes.mo
  /opt/local/share/locale/ga/LC_MESSAGES/opcodes.mo
  /opt/local/share/locale/id/LC_MESSAGES/bfd.mo
  /opt/local/share/locale/id/LC_MESSAGES/opcodes.mo
  /opt/local/share/locale/it/LC_MESSAGES/opcodes.mo
  /opt/local/share/locale/ja/LC_MESSAGES/bfd.mo
  /opt/local/share/locale/nl/LC_MESSAGES/opcodes.mo
  /opt/local/share/locale/pt_BR/LC_MESSAGES/opcodes.mo
  /opt/local/share/locale/ro/LC_MESSAGES/bfd.mo
  /opt/local/share/locale/ro/LC_MESSAGES/opcodes.mo
  /opt/local/share/locale/ru/LC_MESSAGES/bfd.mo
  /opt/local/share/locale/rw/LC_MESSAGES/bfd.mo
  /opt/local/share/locale/sv/LC_MESSAGES/bfd.mo
  /opt/local/share/locale/sv/LC_MESSAGES/opcodes.mo
  /opt/local/share/locale/tr/LC_MESSAGES/bfd.mo
  /opt/local/share/locale/tr/LC_MESSAGES/opcodes.mo
  /opt/local/share/locale/uk/LC_MESSAGES/bfd.mo
  /opt/local/share/locale/uk/LC_MESSAGES/opcodes.mo
  /opt/local/share/locale/vi/LC_MESSAGES/bfd.mo
  /opt/local/share/locale/vi/LC_MESSAGES/opcodes.mo
  /opt/local/share/locale/zh_CN/LC_MESSAGES/bfd.mo
  /opt/local/share/locale/zh_CN/LC_MESSAGES/opcodes.mo
  /opt/local/share/man/man1/ggdb.1.gz

And regarding the Migration instructions, I don't remember having seen that page before, I just upgraded to Mavericks last few months and naïvely believed everything would be accordingly updated. I just need to review the whole instruction set there. Thanks for your help!

comment:8 in reply to:  7 Changed 11 years ago by dbevans (David B. Evans)

Resolution: invalid
Status: assignedclosed

Replying to danielux@…:

And regarding the Migration instructions, I don't remember having seen that page before, I just upgraded to Mavericks last few months and naïvely believed everything would be accordingly updated. I just need to review the whole instruction set there. Thanks for your help!

Yes, the migration info should help. If you don't do this then you end up with strange/unpredictable results. If you have any problems with this process, just ask for help on the macports-users email list.

Note: See TracTickets for help on using tickets.