[GitHub] [parquet-mr] steveloughran commented on pull request #970: PARQUET-2150: parquet-protobuf to compile on Mac M1

2022-07-19 Thread GitBox


steveloughran commented on PR #970:
URL: https://github.com/apache/parquet-mr/pull/970#issuecomment-1189454282

   resolved by #973


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@parquet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [parquet-mr] steveloughran commented on pull request #970: PARQUET-2150: parquet-protobuf to compile on Mac M1

2022-07-07 Thread GitBox


steveloughran commented on PR #970:
URL: https://github.com/apache/parquet-mr/pull/970#issuecomment-1177929495

   oh, upgrading is better!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@parquet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [parquet-mr] steveloughran commented on pull request #970: PARQUET-2150: parquet-protobuf to compile on Mac M1

2022-06-20 Thread GitBox


steveloughran commented on PR #970:
URL: https://github.com/apache/parquet-mr/pull/970#issuecomment-1160638077

   this patch is based on Dongjoon;s one for hadoop, tells maven to use the x86 
artifact on macbook m1 builds.
   
   the sunchao one switches to a version of protobuf with a genuine mac m1 
artifacts, a version which should also include some CVE fixes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@parquet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [parquet-mr] steveloughran commented on pull request #970: PARQUET-2150: parquet-protobuf to compile on Mac M1

2022-06-03 Thread GitBox


steveloughran commented on PR #970:
URL: https://github.com/apache/parquet-mr/pull/970#issuecomment-1145835507

   tested lasted patch on
   
   * macbook m1
   * macbook x86
   * ec2 x86
   
   i would set up my raspberry pi for a build too -I just fear having to build 
the thrift compiler


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@parquet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [parquet-mr] steveloughran commented on pull request #970: PARQUET-2150: parquet-protobuf to compile on Mac M1

2022-05-30 Thread GitBox


steveloughran commented on PR #970:
URL: https://github.com/apache/parquet-mr/pull/970#issuecomment-1141216939

   ok, somehow I've broken the default classifier logic, which is of course 
critical.
   
   downgrading this to a draft until it's ready to be reviewed
   
   ```
   Error:  Failed to execute goal 
com.github.os72:protoc-jar-maven-plugin:3.11.4:run (generate-sources) on 
project parquet-protobuf: Error resolving artifact: 
com.google.protobuf:protoc:3.16.1:exe:${os.detected.classifier}: Could not find 
artifact com.google.protobuf:protoc:exe:${os.detected.classifier}:3.16.1 in 
jitpack.io (https://jitpack.io/)
   Error:  
   Error:  Try downloading the file manually from the project website.
   Error:  
   Error:  Then, install it using the command: 
   Error:  mvn install:install-file -DgroupId=com.google.protobuf 
-DartifactId=protoc -Dversion=3.16.1 -Dclassifier=${os.detected.classifier} 
-Dpackaging=exe -Dfile=/path/to/file
   Error:  
   Error:  Alternatively, if you host your own repository you can deploy the 
file there: 
   Error:  mvn deploy:deploy-file -DgroupId=com.google.protobuf 
-DartifactId=protoc -Dversion=3.16.1 -Dclassifier=${os.detected.classifier} 
-Dpackaging=exe -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@parquet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [parquet-mr] steveloughran commented on pull request #970: PARQUET-2150: parquet-protobuf to compile on Mac M1

2022-05-24 Thread GitBox


steveloughran commented on PR #970:
URL: https://github.com/apache/parquet-mr/pull/970#issuecomment-1136296983

   its the maven protoc compiler plugin; wants to pull in something native. i 
have no idea why, but do know, if it is not there, you get to see a stack trace.
   
   ```
   [ERROR] Failed to execute goal 
com.github.os72:protoc-jar-maven-plugin:3.11.4:run (generate-sources) on 
project parquet-protobuf: Error resolving artifact: 
com.google.protobuf:protoc:3.16.1: Could not find artifact 
com.google.protobuf:protoc:exe:osx-aarch_64:3.16.1 in jitpack.io 
(https://jitpack.io)
   [ERROR] 
   [ERROR] Try downloading the file manually from the project website.
   [ERROR] 
   [ERROR] Then, install it using the command: 
   [ERROR] mvn install:install-file -DgroupId=com.google.protobuf 
-DartifactId=protoc -Dversion=3.16.1 -Dclassifier=osx-aarch_64 -Dpackaging=exe 
-Dfile=/path/to/file
   [ERROR] 
   [ERROR] Alternatively, if you host your own repository you can deploy the 
file there: 
   [ERROR] mvn deploy:deploy-file -DgroupId=com.google.protobuf 
-DartifactId=protoc -Dversion=3.16.1 -Dclassifier=osx-aarch_64 -Dpackaging=exe 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
   [ERROR] 
   [ERROR] 
   [ERROR]   com.google.protobuf:protoc:exe:3.16.1
   [ERROR] 
   [ERROR] from the specified remote repositories:
   [ERROR]   jitpack.io (https://jitpack.io, releases=true, snapshots=true),
   [ERROR]   apache.snapshots (https://repository.apache.org/snapshots, 
releases=false, snapshots=true),
   [ERROR]   maven-central (https://repo1.maven.org/maven2, releases=true, 
snapshots=false)
   [ERROR] -> [Help 1]
   [ERROR] 
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR] 
   [ERROR] For more information about the errors and possible solutions, please 
read the following articles:
   [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
   [ERROR] 
   [ERROR] After correcting the problems, you can resume the build with the 
command
   [ERROR]   mvn  -rf :parquet-protobuf
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@parquet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [parquet-mr] steveloughran commented on pull request #970: PARQUET-2150: parquet-protobuf to compile on Mac M1

2022-05-23 Thread GitBox


steveloughran commented on PR #970:
URL: https://github.com/apache/parquet-mr/pull/970#issuecomment-1135004012

   fyi @dongjoon-hyun 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@parquet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org