Re: VLC fails to build

2016-04-23 Thread Ryan Schmidt

On Apr 23, 2016, at 5:09 AM, Brandon Allbery wrote:

> On Sat, Apr 23, 2016 at 4:50 AM,  wrote:
>> A search for 'DISPATCH_QUEUE_SERIAL' brought me to
>> 
>> 
>> 
>> which offered a potential solution.
>> 
>> I am not experienced with the phases in macports build process, so here is 
>> my question:
>> 
>> How to pass NULL for the second parameter to dispatch_queue_create() ?
> 
> You would provide a patch file modifying the source code as originally 
> unpacked. See https://guide.macports.org/chunked/development.patches.html 
> (and the rest of https://guide.macports.org/chunked/ for more information on 
> Portfile development). This patch should only be applied on pre-10.7 systems.

The VLC-devel port already uses this patch:

https://trac.macports.org/browser/trunk/dports/multimedia/VLC-devel/files/dispatch_queue_serial.patch

It would be best to keep the VLC and VLC-devel ports as similar as possible, so 
maybe you can use (a copy of) this same patch for VLC.



___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: VLC fails to build

2016-04-23 Thread Brandon Allbery
On Sat, Apr 23, 2016 at 4:50 AM,  wrote:

> A search for 'DISPATCH_QUEUE_SERIAL' brought me to
>
> <
> http://stackoverflow.com/questions/10075083/restkit-undeclared-identifier-dispatch-queue-serial-inside-rkobjectmanager
> >
>
> which offered a potential solution.
>
> I am not experienced with the phases in macports build process, so here is
> my question:
>
> How to pass NULL for the second parameter to dispatch_queue_create() ?
>

You would provide a patch file modifying the source code as originally
unpacked. See https://guide.macports.org/chunked/development.patches.html
(and the rest of https://guide.macports.org/chunked/ for more information
on Portfile development). This patch should only be applied on pre-10.7
systems.


> the config log gives an error, too:
> > conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
> > #include 
>

The filename it's talking about should be a hint... it's a deliberate
failure, and if that had succeeded then configure would have aborted with a
complaint about your C compiler being broken.

Lots of configure tests fail, because configure checks for include files,
libraries, and functions that may or may not exist on any given OS or
release thereof. If the compiler doesn't error out when it should, then it
can't check what functionality works on your system.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Error: Processing of port qt5-qtwebengine failed (installing py34-pyqt5 on OS X 10.8.5)

2016-04-23 Thread Ryan Schmidt

On Apr 23, 2016, at 4:23 AM, Timothy W. Grove wrote:

> See below ...
>>> I'm attempting to install py34-pyqt5 on OS X 10.8.5. All seems to be going 
>>> well until it fails on installing qtwebengine. Trying to install just this 
>>> package on its own with the -v flag gives me the following output. Can 
>>> anyone suggest what this is telling me or how to fix it? Thanks. (Xcode 
>>> 5.5.1)
>>> 
>>> Best regards,
>>> Tim
>>> 
>>> Timothys-Mac:~ timothygrove$ sudo port -v install qt5-qtwebengine
>>> Password:
>>> --->  Computing dependencies for qt5-qtwebengine.
>>> --->  Staging qt5-qtwebengine into destroot
>>> 
>>> 
>>> Error: No files have been installed in the destroot directory!
>>> Error: Please make sure that this software supports 'make install 
>>> DESTDIR=${destroot}' or implement an alternative destroot mechanism in the 
>>> Portfile.
>>> 
>> That message is intended for the developer of the port, and is something 
>> that would certainly have been resolved before the port was committed. The 
>> fact that this happened to you suggests something unusual is happening in 
>> your case. It's hard to know what, because you tried again without cleaning 
>> first; that might even be the cause of this error (and the real original 
>> error was lost by trying again without cleaning). So please "sudo port clean 
>> qt5-qtwebengine", then try again, then file a ticket in the issue tracker 
>> and attach the new main.log there, possibly compressing it first if it is 
>> large.
>> 
>> 
>> https://guide.macports.org/chunked/project.html#project.tickets
> Strangely,  "sudo port clean qt5-webengine" tells me "Port qt5-webengine not 
> found".  And I get exactly the same results as before. No log files to look 
> at in '/opt/local/var/macports/logs'; actually there is not even a macports 
> subdirectory in 'opt/local/var/' !!!

Oh sorry, it's qt5-qtwebengine, not qt5-webengine.

If the directory /opt/local/var/macports does not exist you have a problem with 
your MacPorts installation and should reinstall MacPorts. (You can re-download 
the installer from our web site.) Reinstalling MacPorts will not affect your 
installed ports. However, it seems unlikely that that directory would be 
missing, unless you deliberately deleted it.


> You quoted a couple of error lines above, but I would be interested in 
> knowing what the ones which follow mean:
> Error: No files have been installed in the destroot directory!
> Error: Please make sure that this software supports 'make install 
> DESTDIR=${destroot}' or implement an alternative destroot mechanism in the 
> Portfile.
> 
> Error: Files might have been installed directly into your system, check 
> before proceeding.

According to the earlier parts of the log you showed, nothing was installed 
anywhere.

> Installing worked fine with macports in OS X 10.9 but not in OS X 10.8, so 
> I'm wondering what changed? Anyway, thanks for your help.

There are countless reasons why a port might fail to build, including that some 
software simply does not build on one version of OS X when it does build on a 
different version of OS X. However, the specific problem you're quoting does 
not initially sound like one of those kinds of problems. 


___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Error: Processing of port qt5-qtwebengine failed (installing py34-pyqt5 on OS X 10.8.5)

2016-04-23 Thread Timothy W. Grove

See below ...

I'm attempting to install py34-pyqt5 on OS X 10.8.5. All seems to be going well 
until it fails on installing qtwebengine. Trying to install just this package 
on its own with the -v flag gives me the following output. Can anyone suggest 
what this is telling me or how to fix it? Thanks. (Xcode 5.5.1)

Best regards,
Tim

Timothys-Mac:~ timothygrove$ sudo port -v install qt5-qtwebengine
Password:
--->  Computing dependencies for qt5-qtwebengine.
--->  Staging qt5-qtwebengine into destroot

Error: No files have been installed in the destroot directory!
Error: Please make sure that this software supports 'make install 
DESTDIR=${destroot}' or implement an alternative destroot mechanism in the 
Portfile.

That message is intended for the developer of the port, and is something that would 
certainly have been resolved before the port was committed. The fact that this happened 
to you suggests something unusual is happening in your case. It's hard to know what, 
because you tried again without cleaning first; that might even be the cause of this 
error (and the real original error was lost by trying again without cleaning). So please 
"sudo port clean qt5-qtwebengine", then try again, then file a ticket in the 
issue tracker and attach the new main.log there, possibly compressing it first if it is 
large.

https://guide.macports.org/chunked/project.html#project.tickets
Strangely,  "sudo port clean qt5-webengine" tells me "Port qt5-webengine 
not found".  And I get exactly the same results as before. No log files 
to look at in '/opt/local/var/macports/logs'; actually there is not even 
a macports subdirectory in 'opt/local/var/' !!!


You quoted a couple of error lines above, but I would be interested in 
knowing what the ones which follow mean:


Error: No files have been installed in the destroot directory!
Error: Please make sure that this software supports 'make install 
DESTDIR=${destroot}' or implement an alternative destroot mechanism in the 
Portfile.
*Error: Files might have been installed directly into your system, check 
before proceeding. *Installing worked fine with macports in OS X 10.9 but not in OS X 10.8, so I'm wondering what changed? Anyway, thanks for your help.


Best regards,
Tim


___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


VLC fails to build

2016-04-23 Thread listmember
Hello all,

VLC 2.2.2 fails to build on 10.6.8

the build log gives me in $BUILDDIR/work/vlc-2.2.2/modules/gui/macosx

>> :info:build intf.m:688:91: error: use of undeclared identifier 
>> 'DISPATCH_QUEUE_SERIAL'
>> :info:build informInputChangedQueue = 
>> dispatch_queue_create("org.videolan.vlc.inputChangedQueue", 
>> DISPATCH_QUEUE_SERIAL);

A search for 'DISPATCH_QUEUE_SERIAL' brought me to



which offered a potential solution. 

I am not experienced with the phases in macports build process, so here is my 
question:

How to pass NULL for the second parameter to dispatch_queue_create() ?

P.S.

the config log gives an error, too:
> conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
> #include 
>  ^

is this somehow related?

thanks in advance
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users