[MacPorts] #34426: Failed to build VLC-2.0.1_1
#34426: Failed to build VLC-2.0.1_1 ---------------------------------+------------------------------------------ Reporter: ag@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: VLC failed to build | Port: VLC-2.0.1_1 ---------------------------------+------------------------------------------ It was great to port VLC to the last version and it runs really stable. Yesterday I tried to update my tree, but updating from 2.0.1 to VLC-2.0.1_1, the build failed. I cleaned then all installed ports and start the installation again, but was also not successful. Last lines of main.log: :info:build 16 warnings and 5 errors generated. :info:build make[5]: *** [libncurses_plugin_la-ncurses.lo] Error 1 :info:build make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1/modules/gui' :info:build make[4]: *** [all-recursive] Error 1 :info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1/modules/gui' :info:build make[3]: *** [all] Error 2 :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1/modules/gui' :info:build make[2]: *** [all-recursive] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1/modules' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1" && /usr/bin/make -j4 -w all DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1/dest_ignore " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for VLC): org.macports.install org.macports.build org.macports.destroot :notice:build Log for VLC is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/main.log -- Ticket URL: <https://trac.macports.org/ticket/34426> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34426: VLC: error: read-only variable is not assignable ---------------------------+------------------------------------------------ Reporter: ag@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: VLC ---------------------------+------------------------------------------------ Changes (by ryandesign@…): * keywords: VLC failed to build => * port: VLC-2.0.1_1 => VLC Old description:
It was great to port VLC to the last version and it runs really stable. Yesterday I tried to update my tree, but updating from 2.0.1 to VLC-2.0.1_1, the build failed. I cleaned then all installed ports and start the installation again, but was also not successful.
Last lines of main.log:
:info:build 16 warnings and 5 errors generated. :info:build make[5]: *** [libncurses_plugin_la-ncurses.lo] Error 1 :info:build make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1/modules/gui' :info:build make[4]: *** [all-recursive] Error 1 :info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1/modules/gui' :info:build make[3]: *** [all] Error 2 :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1/modules/gui' :info:build make[2]: *** [all-recursive] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1/modules' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1" && /usr/bin/make -j4 -w all DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1/dest_ignore " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for VLC): org.macports.install org.macports.build org.macports.destroot :notice:build Log for VLC is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/main.log
New description: It was great to port VLC to the last version and it runs really stable. Yesterday I tried to update my tree, but updating from 2.0.1 to VLC-2.0.1_1, the build failed. I cleaned then all installed ports and start the installation again, but was also not successful. Last lines of main.log: {{{ :info:build 16 warnings and 5 errors generated. :info:build make[5]: *** [libncurses_plugin_la-ncurses.lo] Error 1 :info:build make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1/modules/gui' :info:build make[4]: *** [all-recursive] Error 1 :info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1/modules/gui' :info:build make[3]: *** [all] Error 2 :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1/modules/gui' :info:build make[2]: *** [all-recursive] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1/modules' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1" && /usr/bin/make -j4 -w all DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/work/VLC-2.0.1/dest_ignore " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for VLC): org.macports.install org.macports.build org.macports.destroot :notice:build Log for VLC is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/VLC/main.log }}} -- Comment: The actual relevant error in the log appears to be: {{{ :info:build In file included from ncurses.c:43: :info:build /opt/local/include/ncurses.h:1244:27: note: instantiated from: :info:build #define mvhline(y,x,c,n) mvwhline(stdscr,y,x,c,n) :info:build ^ :info:build /opt/local/include/ncurses.h:1223:57: note: instantiated from: :info:build #define mvwhline(win,y,x,c,n) (wmove(win,y,x) == ERR ? ERR : whline(win,c,n)) :info:build ^ :info:build /opt/local/include/ncurses.h:314:18: note: instantiated from: :info:build #define ERR (-1) :info:build ^~ :info:build ncurses.c:649:23: error: read-only variable is not assignable :info:build wide[i ] = '.'; :info:build ~~~~~~~~~ ^ :info:build ncurses.c:650:23: error: read-only variable is not assignable :info:build wide[i+1] = '.'; :info:build ~~~~~~~~~ ^ :info:build ncurses.c:655:27: error: read-only variable is not assignable :info:build wide[i-1] = '.'; :info:build ~~~~~~~~~ ^ :info:build ncurses.c:670:46: error: read-only variable is not assignable :info:build wide[i + 2 + i_char_len - j - 1] = '\0'; :info:build ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ :info:build ncurses.c:676:17: error: read-only variable is not assignable :info:build wide[i] = '\0'; :info:build ~~~~~~~ ^ :info:build ncurses.c:1042:5: warning: expression result unused [-Wunused- value] :info:build attrset(A_REVERSE); :info:build ^~~~~~~~~~~~~~~~~~ }}} -- Ticket URL: <https://trac.macports.org/ticket/34426#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34426: VLC: error: read-only variable is not assignable ---------------------------+------------------------------------------------ Reporter: ag@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: VLC ---------------------------+------------------------------------------------ Comment(by ag@…): Since this error I realized there was an update to the port, but I still have the same problem. Do you know any workaround? -- Ticket URL: <https://trac.macports.org/ticket/34426#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34426: VLC: error: read-only variable is not assignable ---------------------------+------------------------------------------------ Reporter: ag@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: VLC ---------------------------+------------------------------------------------ Comment(by nonstop.server@…): Replying to [comment:3 ag@…]:
Do you know any workaround? Take a look at #34741, it seems to me this is a likewise problem.[[BR]] In my case it was an error due to the fact that my XCode was out of date.[[BR]] On advice of Jeremy I upgraded my XCode to the latest available version for OSX 10.6 and was able to install VLC.[[BR]] Note: Upgrading the current port of VLC did not work for me, I had to disable the installed version and perform an install of the latest one.[[BR]] I hope this will help you to get it working.
-- Ticket URL: <https://trac.macports.org/ticket/34426#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34426: VLC: error: read-only variable is not assignable ---------------------------+------------------------------------------------ Reporter: ag@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: VLC ---------------------------+------------------------------------------------ Comment(by ag@…): Thanks! With the update of XCode everything get fine. In my opinion the ticket can be closed. -- Ticket URL: <https://trac.macports.org/ticket/34426#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34426: VLC: error: read-only variable is not assignable ---------------------------+------------------------------------------------ Reporter: ag@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: VLC ---------------------------+------------------------------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => jeremyhu@… -- Ticket URL: <https://trac.macports.org/ticket/34426#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34426: VLC: error: read-only variable is not assignable -------------------------+------------------------ Reporter: ag@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: worksforme | Keywords: Port: VLC | -------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/34426#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts